/* ============================================================
   DESIGN TOKENS
   Strict palette per brief — no additional colors allowed
============================================================ */
:root {
  /* Color system */
  --bg:        #F1F0EC;   /* Cloud Dancer — base background */
  --blue:      #34558B;   /* Classic Blue — primary brand */
  --yellow:    #F3E04E;   /* Illuminating Yellow — accent/CTA only */
  --gray:      #96999C;   /* Ultimate Gray — secondary/separators */
  --ink:       #0E0E0E;   /* Near-black — text/borders */

  /* Typography — Manrope throughout */
  --font:      'Manrope', sans-serif;

  /* Spacing system — 8pt grid */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;

  /* Border — brutalist: thick, always ink */
  --b1: 1px solid var(--ink);
  --b2: 2px solid var(--ink);
  --b3: 3px solid var(--ink);

  /* Transitions */
  --t: 0.18s ease;
}

/* ============================================================
   RESET
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-4);
}

/* Full-bleed section divider line */
.divider { width: 100%; height: 3px; background: var(--ink); }

/* Section label chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--yellow);
  border: var(--b2);
  padding: 5px 12px 5px 10px;
  line-height: 1;
}
.chip i { font-size: 13px; }

/* Section headline block */
.sec-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.sec-title em {
  font-style: normal;
  color: var(--blue);
}
.sec-title mark {
  background: var(--yellow);
  color: var(--ink);
  padding: 0 6px;
}

/* ============================================================
   BUTTONS
   Thick border, bold, yellow hover — neo-brutalist signature
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 14px 28px;
  border: var(--b3);
  background: var(--blue);
  color: #fff;
  position: relative;
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
  /* Hard offset shadow — core neo-brut element */
  box-shadow: 4px 4px 0 var(--ink);
  white-space: nowrap;
}
.btn:hover {
  background: var(--yellow);
  color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-ghost:hover { background: var(--yellow); color: var(--ink); }

.btn-yellow {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn-yellow:hover { background: var(--ink); color: var(--yellow); }

.btn-sm {
  font-size: 11px;
  padding: 10px 20px;
  box-shadow: 3px 3px 0 var(--ink);
}
.btn-sm:hover { box-shadow: 5px 5px 0 var(--ink); }

.btn i { font-size: 17px; }

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--bg);
  border-bottom: var(--b3);
  transition: all var(--t);
}
.nav.scrolled {
  box-shadow: 0 5px 0 var(--ink);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--sp-3);
  transition: height var(--t);
}
.nav.scrolled .nav-inner {
  height: 60px;
}

/* Brand - Isotype */
.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--t);
}
.nav-brand:hover { transform: scale(1.05); }
.nav-brand img {
  display: block;
  height: 44px;
  width: auto;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.nav-links a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--t);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width var(--t);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--ink); }

.nav-right { display: flex; align-items: center; gap: var(--sp-2); }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--ink);
  transition: transform var(--t), opacity var(--t);
}
.nav-burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: var(--b2);
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  padding: var(--sp-3) var(--sp-4);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: var(--b1);
  transition: background var(--t);
}
.nav-drawer a:hover { background: var(--yellow); }
.nav-drawer .drawer-cta {
  margin: var(--sp-3) var(--sp-4) var(--sp-4);
}

/* ============================================================
   HERO
   Asymmetric split: text left | dark stat panel right
============================================================ */
#hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: calc(100svh - 68px);
  border-bottom: var(--b3);
}

.hero-left {
  padding: var(--sp-8) var(--sp-5) var(--sp-7) var(--sp-4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: var(--b3);
  position: relative;
}

/* Subtle grid texture on hero-left */
.hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.025;
  pointer-events: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.hero-eyebrow-line {
  flex: 1;
  height: 3px;
  background: var(--yellow);
  border: var(--b1);
  max-width: 60px;
}

.hero-h1 {
  font-size: 170px;
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--blue);
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
/* DOMOTICA with yellow underline stroke */
.hero-h1-sub {
  font-size: clamp(64px, 9vw, 132px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--blue);
  position: relative;
  display: inline-block;
  margin-bottom: var(--sp-5);
  z-index: 1;
}
.hero-h1-sub::after {
  content: '';
  display: block;
  height: 27px;
  background: var(--yellow);
  border: var(--b2);
  margin-top: 25px;
  width: 60%;
}

.hero-body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray);
  max-width: 480px;
  margin-bottom: var(--sp-5);
  position: relative;
  z-index: 1;
}
.hero-body strong { color: var(--ink); font-weight: 700; }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  position: relative;
  z-index: 1;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-4);
  left: var(--sp-4);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  z-index: 1;
}
.hero-scroll i { font-size: 16px; animation: bounce 1.8s ease-in-out infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* Hero right — dark panel */
.hero-right {
  background: var(--blue);
  padding: var(--sp-5) var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-3);
  position: relative;
  overflow: hidden;
}

/* Dot-grid overlay on hero-right */
.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Floating "SMART HOME" vertical text */
.hero-right-label {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  white-space: nowrap;
  pointer-events: none;
}

/* Stat cards stacked in right panel */
.stat-card {
  background: var(--bg);
  border: var(--b3);
  padding: var(--sp-3) var(--sp-4);
  position: relative;
  z-index: 1;
  /* Hard shadow for neo-brut depth */
  box-shadow: 5px 5px 0 rgba(0,0,0,0.35);
  transition: transform var(--t), box-shadow var(--t);
}
.stat-card:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 rgba(0,0,0,0.4); }

.stat-number {
  font-size: 52px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-desc {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-top: 4px;
}
/* Yellow accent bar on stat card */
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--yellow);
  border-right: var(--b2);
}

/* Badge — floating top-right */
.hero-badge {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-5);
  background: var(--yellow);
  border: var(--b3);
  padding: var(--sp-2) var(--sp-3);
  z-index: 2;
  text-align: center;
  box-shadow: 4px 4px 0 var(--ink);
}
.hero-badge strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
}
.hero-badge span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ============================================================
   MARQUEE STRIP — brand logos
============================================================ */
.marquee-strip {
  border-bottom: var(--b3);
  background: var(--ink);
  overflow: hidden;
  position: relative;
}
/* Fade edges */
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-strip::before { left: 0; background: linear-gradient(90deg, var(--ink), transparent); }
.marquee-strip::after  { right: 0; background: linear-gradient(-90deg, var(--ink), transparent); }

.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 25s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px;
  border-right: 1px solid #2a2a2a;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  transition: color var(--t);
}
.marquee-item:hover { color: var(--yellow); }
.marquee-item i,
.marquee-item img {
  font-size: 15px;
  color: inherit;
  opacity: 0.8;
  transition: color var(--t), filter var(--t);
}

/* ============================================================
   SERVICES SECTION
============================================================ */
#servicios {
  padding: var(--sp-7) 0;
  border-bottom: var(--b3);
}

.sec-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  align-items: end;
  margin-bottom: var(--sp-6);
}
.sec-header-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: var(--sp-3);
}
.sec-header-right p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray);
}

/* 3-col service grid — borders collapse into unified table */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
}

.svc-card {
  padding: var(--sp-5) var(--sp-4);
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  position: relative;
  overflow: hidden;
  transition: background var(--t);
  cursor: default;
}
.svc-card:hover { background: var(--blue); }

/* Number watermark */
.svc-num {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  font-size: 64px;
  font-weight: 800;
  color: var(--ink);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  transition: opacity var(--t);
}
.svc-card:hover .svc-num { opacity: 0.12; color: #fff; }

.svc-icon-box {
  width: 52px;
  height: 52px;
  background: var(--bg);
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  transition: background var(--t), border-color var(--t);
}
.svc-icon-box i {
  font-size: 24px;
  color: var(--blue);
  transition: color var(--t);
}
.svc-card:hover .svc-icon-box { background: var(--yellow); border-color: var(--yellow); }
.svc-card:hover .svc-icon-box i { color: var(--ink); }

.svc-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-2);
  transition: color var(--t);
}
.svc-card:hover .svc-title { color: #fff; }

.svc-body {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--gray);
  transition: color var(--t);
}
.svc-card:hover .svc-body { color: rgba(255,255,255,0.65); }

.svc-arrow {
  margin-top: var(--sp-3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--t), transform var(--t), color var(--t);
}
.svc-arrow i { font-size: 14px; }
.svc-card:hover .svc-arrow { opacity: 1; transform: translateX(0); color: var(--yellow); }

/* ============================================================
   HOW IT WORKS — dark blue band
============================================================ */
#proceso {
  background: var(--blue);
  border-bottom: var(--b3);
  padding: var(--sp-7) 0;
}
#proceso .sec-title { color: #fff; }
#proceso .sec-title em { color: var(--yellow); }
#proceso .chip { background: var(--yellow); color: var(--ink); border-color: var(--ink); }

.proceso-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}
.proceso-header p {
  max-width: 340px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 3px solid var(--bg);
  border-left: 3px solid var(--bg);
}

.step {
  padding: var(--sp-5) var(--sp-4);
  border-right: 3px solid var(--bg);
  border-bottom: 3px solid var(--bg);
  position: relative;
}
.step-count {
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.08);
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
}

.step-icon-box {
  width: 48px;
  height: 48px;
  border: 3px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  transition: background var(--t), border-color var(--t);
}
.step-icon-box i { font-size: 22px; color: var(--yellow); }
.step:hover .step-icon-box { background: var(--yellow); border-color: var(--yellow); }
.step:hover .step-icon-box i { color: var(--ink); }

.step-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-1);
}
.step-body {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   BENEFITS — alternating full rows
============================================================ */
#beneficios {
  border-bottom: var(--b3);
  padding: var(--sp-7) 0;
}

.benefits-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  align-items: center;
  margin-bottom: var(--sp-6);
}

.benefits-big-text {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 200;
  line-height: 1.25;
  color: var(--gray);
}
.benefits-big-text strong {
  font-weight: 800;
  color: var(--ink);
  display: block;
}

/* 2-col grid, borders collapse */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
}

.ben-item {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-4);
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  transition: background var(--t);
}
.ben-item:hover { background: var(--yellow); }

.ben-icon-box {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--blue);
  border: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}
.ben-icon-box i { font-size: 22px; color: #fff; transition: color var(--t); }
.ben-item:hover .ben-icon-box { background: var(--ink); }

.ben-content h4 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 6px;
  transition: color var(--t);
}
.ben-content p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray);
  transition: color var(--t);
}
.ben-item:hover .ben-content p { color: var(--ink); }

/* ============================================================
   INTEGRATIONS — ecosystem grid
============================================================ */
#integraciones {
  padding: var(--sp-7) 0;
  border-bottom: var(--b3);
}

.int-header {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--sp-5);
  align-items: end;
  margin-bottom: var(--sp-6);
}
.int-header p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--gray);
}

.int-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 3px solid var(--ink);
  border-left: 3px solid var(--ink);
}

.int-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--sp-4) var(--sp-3);
  border-right: 3px solid var(--ink);
  border-bottom: 3px solid var(--ink);
  text-align: center;
  transition: background var(--t);
  cursor: default;
}
.int-card:hover { background: var(--yellow); }

.int-icon-box {
  width: 48px;
  height: 48px;
  border: 3px solid var(--ink);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t), border-color var(--t);
}
.int-icon-box i { font-size: 22px; color: var(--blue); transition: color var(--t); }
.int-card:hover .int-icon-box { background: var(--ink); border-color: var(--ink); }
.int-card:hover .int-icon-box i { color: var(--yellow); }

.int-name {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color var(--t);
}
.int-card:hover .int-name { color: var(--ink); }

/* ============================================================
   ABOUT — two-panel section
============================================================ */
#nosotros {
  border-bottom: var(--b3);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.about-left {
  background: var(--ink);
  padding: var(--sp-7) var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: var(--b3);
  position: relative;
  overflow: hidden;
}

/* Decorative isotype image in the background */
.about-deco-img {
  position: absolute;
  right: -40px;
  bottom: -60px;
  height: 400px; /* Gigante */
  width: auto;
  opacity: 0.05; /* Muy sutil, casi transparente */
  pointer-events: none;
  user-select: none;
  transform: rotate(-10deg);
}

.about-left .chip {
  margin-bottom: var(--sp-4);
  align-self: flex-start;
}
.about-left .sec-title { color: #fff; margin-bottom: var(--sp-4); }
.about-left .sec-title em { color: var(--yellow); }
.about-left p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  position: relative;
  z-index: 1;
}

.about-right {
  padding: var(--sp-7) var(--sp-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.about-val {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4) 0;
  border-bottom: 3px solid var(--ink);
  transition: background var(--t), padding var(--t);
  position: relative;
}
.about-val:first-child { border-top: 3px solid var(--ink); }
.about-val:hover { background: var(--bg); padding-left: var(--sp-2); }

.about-val-letter {
  font-size: 36px;
  font-weight: 800;
  color: var(--yellow);
  background: var(--ink);
  border: 3px solid var(--ink);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.about-val-text h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.about-val-text p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--gray);
}

/* ============================================================
   FAQ SECTION
============================================================ */
#faq {
  padding: var(--sp-7) 0;
  border-bottom: var(--b3);
}

.faq-grid {
  margin-top: var(--sp-6);
  max-width: 800px;
  border-top: var(--b3);
}

.faq-item {
  border-bottom: var(--b3);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-4) 0;
  text-align: left;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  transition: color var(--t);
  background: none;
  border: none;
  cursor: pointer;
}

.faq-trigger i {
  font-size: 20px;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  color: var(--blue);
}

.faq-trigger:hover {
  color: var(--blue);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-content p {
  padding-bottom: var(--sp-4);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray);
}

/* Open State */
.faq-item.open .faq-trigger {
  color: var(--blue);
}

.faq-item.open .faq-trigger i {
  transform: rotate(45deg);
}

.faq-item.open .faq-content {
  max-height: 1000px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

/* ============================================================
   CONTACT SECTION
============================================================ */
#contacto {
  padding: var(--sp-7) 0;
  border-bottom: var(--b3);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  border: var(--b3);
  margin-top: var(--sp-6);
}

/* Left — info panel */
.contact-info {
  background: var(--blue);
  padding: var(--sp-6) var(--sp-5);
  border-right: var(--b3);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}
.contact-info h3 {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.0;
  color: #fff;
  position: relative;
  z-index: 1;
  margin-bottom: var(--sp-3);
}
.contact-info h3 span { color: var(--yellow); display: block; }
.contact-info > p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
  position: relative;
  z-index: 1;
  margin-bottom: var(--sp-5);
}

.contact-detail-list { position: relative; z-index: 1; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.contact-detail i { font-size: 20px; color: var(--yellow); flex-shrink: 0; }
.contact-detail-text { font-size: 14px; font-weight: 700; color: #fff; }
.contact-detail-text span { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; color: rgba(255,255,255,0.45); text-transform: uppercase; margin-bottom: 2px; }

.contact-wsp-btn {
  position: relative;
  z-index: 1;
  margin-bottom: var(--sp-5);
}

/* Right — form */
.contact-form-wrap { padding: var(--sp-6) var(--sp-5); }
.contact-form-wrap h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-2);
  border-bottom: var(--b2);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }

.fgroup { margin-bottom: var(--sp-3); }
.fgroup label {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.fgroup input,
.fgroup select,
.fgroup textarea {
  width: 100%;
  padding: 13px 16px;
  background: #fff;
  border: var(--b2);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
}
.fgroup input:focus,
.fgroup select:focus,
.fgroup textarea:focus {
  border-color: var(--blue);
  box-shadow: 4px 4px 0 var(--yellow);
}
.fgroup textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--blue);
  border-top: var(--b3);
  color: #fff;
  width: 100%;
  max-width: 1905px;
  margin: 0 auto;
  height: 350px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex: 1;
}
.fcol {
  padding: var(--sp-4) var(--sp-4);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.fcol:last-child { border-right: none; }

.footer-brand-logo {
  margin-bottom: var(--sp-2);
}

.footer-tagline {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  max-width: 260px;
  margin-bottom: var(--sp-3);
}

.social-row { display: flex; gap: 10px; }
.social-btn {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: border-color var(--t), background var(--t), color var(--t);
}
.social-btn:hover { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }

.fcol-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: var(--sp-2);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.fcol ul li { padding: 4px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.fcol ul li a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color var(--t);
}
.fcol ul li a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-4);
  gap: var(--sp-2);
  flex-wrap: wrap;
  background: rgba(0,0,0,0.1);
  height: 40px;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.5); }
.footer-bottom a { color: #fff; font-weight: 700; }
.footer-bottom a:hover { color: var(--yellow); }

/* ============================================================
   FLOATING ACTIONS
============================================================ */
.fab-container {
  position: fixed;
  bottom: var(--sp-4);
  right: var(--sp-4);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab-wsp, .fab-top {
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--b3);
  box-shadow: 4px 4px 0 var(--ink);
  transition: all var(--t);
  cursor: pointer;
  text-decoration: none;
}

.fab-top {
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: #fff;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

.fab-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-top:hover {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: translate(-2px, -2px);
}

.fab-wsp {
  width: 60px;
  height: 60px;
  background: var(--yellow);
  font-size: 26px;
}

.fab-wsp i { color: var(--ink); }

.fab-wsp:hover {
  background: var(--ink);
  box-shadow: 6px 6px 0 var(--blue);
  transform: translate(-2px, -2px);
}
.fab-wsp:hover i { color: var(--yellow); }

/* ============================================================
   SCROLL REVEAL ANIMATION
============================================================ */
.sr {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sr.visible { opacity: 1; transform: translateY(0); }
.sr-delay-1 { transition-delay: 0.1s; }
.sr-delay-2 { transition-delay: 0.2s; }
.sr-delay-3 { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE — 1024px
============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-right .btn { display: none; }

  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: var(--sp-6) var(--sp-4); border-right: none; border-bottom: var(--b3); }
  .hero-right { min-height: 360px; }
  .hero-scroll { display: none; }

  .services-grid { grid-template-columns: 1fr 1fr; }

  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: none; }
  .step:nth-child(odd):last-child { border-right: 2px solid rgba(255,255,255,0.15); }

  .int-grid { grid-template-columns: repeat(3, 1fr); }
  .int-card:nth-child(3n) { border-right: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-left { border-right: none; border-bottom: var(--b3); }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: var(--b3); }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .fcol:nth-child(2) { border-right: none; }
  .fcol:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.1); }
  .fcol:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); border-right: none; }

  .sec-header { grid-template-columns: 1fr; }
  .int-header { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — 768px
============================================================ */
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .svc-card:nth-child(odd) { border-right: none; }

  .steps-grid { grid-template-columns: 1fr; }
  .step { border-right: none; }

  .benefits-top { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .ben-item { border-right: none; }
  .ben-item:nth-last-child(-n+1) { border-bottom: none; }

  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .int-card:nth-child(2n) { border-right: none; }

  .form-row { grid-template-columns: 1fr; }

  .footer-main { grid-template-columns: 1fr; }
  .fcol { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .fcol:last-child { border-bottom: none; }

  .hero-badge { top: var(--sp-2); right: var(--sp-3); }

  .about-val-letter { width: 44px; height: 44px; font-size: 26px; }
}

@media (max-width: 480px) {
  :root {
    --sp-7: 64px;
    --sp-8: 80px;
  }
  .hero-h1 { font-size: 80px; }
  .hero-h1-sub { font-size: 48px; }
  .hero-h1-sub::after { height: 12px; margin-top: 10px; }
  .hero-right { min-height: 300px; padding: var(--sp-4) var(--sp-3); }
  .stat-card { padding: var(--sp-2) var(--sp-3); }
  .stat-number { font-size: 38px; }
  .sec-title { font-size: 36px; }
  .benefits-big-text { font-size: 28px; }
  .btn { width: 100%; padding: 12px 20px; font-size: 12px; }
  .int-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { padding: 0; }
  .fcol { padding: var(--sp-3) var(--sp-2); }
}
