/* ================================================================
   total.Collect — Landing Page
   Tipografía: Nunito (ecosistema total.Coin)
   Paleta: #001944 navy / #003E70 blue / #F26E25 orange
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #001944;
  --blue:      #003E70;
  --blue-mid:  #0A5A9E;
  --blue-pale: #EBF3FA;
  --orange:    #F26E25;
  --orange-lt: #FF8A47;
  --orange-bg: #FEF2EB;
  --white:     #FFFFFF;
  --off:       #F7F8FA;
  --ink:       #0D1B2E;
  --ink-mid:   #2C3A48;
  --muted:     #607182;
  --line:      #E2E7ED;
  --success:   #0CBD6B;
  --error:     #E53935;

  --font: 'Nunito', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1200px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); color: var(--ink-mid); background: var(--white); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--navy); line-height: 1.2; font-weight: 800; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ----------------------------------------------------------------
   BOTONES
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 700; font-size: 15px;
  border: none; border-radius: 50px; cursor: pointer;
  transition: all .25s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Naranja — CTA principal */
.btn-primary {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-lt) 100%);
  color: var(--white);
  padding: 13px 28px;
  box-shadow: 0 4px 14px rgba(242,110,37,.28);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-lt) 0%, #FFA56B 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(242,110,37,.42);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(242,110,37,.30); }

/* Píldora azul — CTA hero y problema */
.btn-blue-pill {
  background: linear-gradient(135deg, #003E70 0%, #1478C8 100%);
  color: var(--white);
  padding: 13px 32px;
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(0,62,112,.35);
}
.btn-blue-pill:hover { background: linear-gradient(135deg, #004f8f 0%, #2089d9 100%); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(0,62,112,.45); }
.btn-blue-pill:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(0,62,112,.3); }

/* Outline blanco — sobre fondos oscuros */
.btn-outline-white {
  background: transparent; color: var(--white);
  padding: 13px 28px;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }

/* Blanco sólido — sobre fondos oscuros */
.btn-white {
  background: var(--white); color: var(--navy);
  padding: 13px 28px;
  box-shadow: 0 2px 8px rgba(0,25,68,.1);
}
.btn-white:hover { box-shadow: 0 6px 20px rgba(0,25,68,.16); transform: translateY(-1px); }

/* Outline oscuro — sobre fondos claros */
.btn-ghost {
  background: transparent; color: var(--navy);
  padding: 13px 28px;
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--navy); }

.btn-lg { padding: 15px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; padding: 15px; font-size: 16px; }
.btn-nav {
  background: var(--orange); color: var(--white);
  padding: 9px 20px; border-radius: 50px; font-size: 14px; font-weight: 700;
}
.btn-nav:hover { background: var(--orange-lt); }

/* ----------------------------------------------------------------
   NAVEGACIÓN
   ---------------------------------------------------------------- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
  padding: 18px 0;
  transition: all .3s var(--ease);
}
.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,25,68,.08);
  padding: 10px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 34px; width: auto; transition: filter .3s; }
.navbar:not(.scrolled) .logo img { filter: brightness(0) invert(1); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-family: var(--font); font-size: 14px; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--navy); }
.navbar:not(.scrolled) .nav-links a:not(.btn-nav) { color: rgba(255,255,255,.75); }
.navbar:not(.scrolled) .nav-links a:not(.btn-nav):hover { color: var(--white); }
/* Fuerza colores correctos en .btn-nav sin importar el estado del navbar */
.nav-links .btn-nav { color: var(--white); background: var(--orange); }

.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--muted); transition: all .3s var(--ease); border-radius: 2px; }
.navbar:not(.scrolled) .mobile-toggle span { background: rgba(255,255,255,.8); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ----------------------------------------------------------------
   HERO — imagen y fondo fusionados sin reborde
   ---------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  min-height: 100vh; display: flex; align-items: center;
  padding: 140px 0 100px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(242,110,37,.1) 0%, transparent 65%);
  top: -250px; right: -150px;
  pointer-events: none;
}
.hero-bg-text {
  position: absolute; bottom: -10px; right: -10px;
  font-family: var(--font); font-size: clamp(80px, 14vw, 180px);
  font-weight: 900; color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.04);
  pointer-events: none; user-select: none; line-height: 1;
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 46% 1fr;
  gap: 48px; align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--orange);
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  color: var(--white); letter-spacing: -0.02em; line-height: 1.15;
  margin-bottom: 20px; font-weight: 800;
}
.hero h1 em {
  font-style: normal; color: var(--orange);
}

.hero-sub {
  font-size: 17px; font-weight: 300; line-height: 1.8;
  color: rgba(255,255,255,.6); max-width: 500px; margin-bottom: 32px;
}

.hero-checks {
  display: flex; flex-direction: column; gap: 0;
  margin-bottom: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-checks li {
  display: flex; align-items: center; gap: 14px;
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75);
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.hero-checks li .num {
  font-size: 11px; font-weight: 800; color: var(--orange);
  min-width: 18px;
}

.hero-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* Mockup: sin reborde, sin sombra, fusionado con el fondo */
.hero-visual { display: flex; justify-content: flex-end; align-items: center; }
.hero-mockup {
  position: relative;
  /* Sin border-radius ni sombra — imagen directamente sobre el fondo */
}
.hero-mockup img {
  display: block; width: 125%; max-width: none;
  /* Más grande; overflow clipeado por .hero (overflow:hidden) */
}

/* Badge flotante — pequeño, sobre la imagen */
.hero-badge {
  position: absolute; bottom: 16px; left: -8px;
  background: var(--white); border-radius: 10px;
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(0,25,68,.18);
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); flex-shrink: 0;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.hero-badge-text strong { display: block; font-size: 13px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.hero-badge-text span { font-size: 11px; color: var(--muted); font-weight: 400; }

/* ----------------------------------------------------------------
   HERO — Fondo animado (orbs GPU)
   Solo transform/opacity → compositor thread, sin repaints
   ---------------------------------------------------------------- */
.hero-gradient {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none; z-index: 0;
}
.hg-orb {
  position: absolute; border-radius: 50%;
  will-change: transform;
}
.hg-orb--1 {
  width: 820px; height: 820px;
  background: radial-gradient(circle, rgba(14,100,195,.78) 0%, transparent 65%);
  top: -240px; left: -200px;
  animation: orb-drift-1 9s ease-in-out infinite;
}
.hg-orb--2 {
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(255,148,80,.72) 0%, transparent 65%);
  top: 10%; right: -200px;
  animation: orb-drift-2 11s ease-in-out infinite;
}
.hg-orb--3 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,160,90,.68) 0%, transparent 70%);
  bottom: -60px; left: 42%;
  animation: orb-drift-3 8s ease-in-out infinite;
}
.hg-orb--4 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(0,78,152,.75) 0%, transparent 65%);
  bottom: -40px; left: -120px;
  animation: orb-drift-1 10s ease-in-out 2s infinite;
}
@keyframes orb-drift-1 {
  0%,  100% { transform: translate(0,      0)      scale(1);    }
  34%        { transform: translate(140px,  90px)   scale(1.14); }
  68%        { transform: translate(-70px,  150px)  scale(.90);  }
}
@keyframes orb-drift-2 {
  0%,  100% { transform: translate(0,       0)     scale(1);    }
  50%        { transform: translate(-180px,  70px)  scale(1.20); }
}
@keyframes orb-drift-3 {
  0%,  100% { transform: translate(0,     0)      scale(1);    }
  42%        { transform: translate(110px, -90px)  scale(1.12); }
  76%        { transform: translate(-50px,  60px)  scale(.88);  }
}

/* ----------------------------------------------------------------
   HERO — Animaciones de entrada (page load, CSS-only)
   ---------------------------------------------------------------- */
@keyframes hero-slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes hero-visual-in {
  from { opacity: 0; transform: translateX(38px) scale(.97); }
  to   { opacity: 1; transform: translateX(0)    scale(1);   }
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0);     }
  50%       { transform: translateY(-10px); }
}

.hero .hero-eyebrow { animation: hero-slide-up .60s var(--ease)  .10s both; }
.hero h1            { animation: hero-slide-up .70s var(--ease)  .24s both; }
.hero .hero-sub     { animation: hero-slide-up .60s var(--ease)  .38s both; }
.hero .hero-checks  { animation: hero-slide-up .60s var(--ease)  .50s both; }
.hero .hero-actions { animation: hero-slide-up .60s var(--ease)  .62s both; }
.hero-visual        { animation: hero-visual-in .80s var(--ease) .28s both; }
.hero-mockup        { animation: hero-float 5s ease-in-out 1.10s infinite;  }

@media (prefers-reduced-motion: reduce) {
  .hg-orb,
  .hero .hero-eyebrow, .hero h1, .hero .hero-sub,
  .hero .hero-checks, .hero .hero-actions,
  .hero-visual, .hero-mockup { animation: none; will-change: auto; }
}

/* ----------------------------------------------------------------
   SECCIONES — base
   ---------------------------------------------------------------- */
.section-label {
  font-family: var(--font); font-size: 11px; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange);
  display: flex; align-items: center; gap: 8px; margin-bottom: 16px;
}
.section-label::before { content: ''; display: block; width: 20px; height: 2px; background: var(--orange); }
.section-label--light { color: rgba(255,255,255,.5); }
.section-label--light::before { background: rgba(255,255,255,.4); }

/* ----------------------------------------------------------------
   PROBLEMA
   ---------------------------------------------------------------- */
.section-problema { padding: 120px 0; background: var(--white); }

.problema-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 80px; align-items: start; }

.problema-left { position: sticky; top: 100px; }
.problema-left h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 16px; }
.problema-left h2 em { font-style: normal; color: var(--orange); }
.problema-left > p { font-size: 16px; font-weight: 400; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }

.problema-items { display: flex; flex-direction: column; }
.problema-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.problema-item:last-child { border-bottom: 1px solid var(--line); }

.prob-icon {
  width: 40px; height: 40px; flex-shrink: 0; margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-pale); border-radius: 8px;
  transition: all .2s;
}
.prob-icon svg { width: 18px; height: 18px; color: var(--blue); }
.problema-item:hover .prob-icon { background: var(--orange); }
.problema-item:hover .prob-icon svg { color: var(--white); }

.prob-body h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.prob-body p { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.6; }

/* ----------------------------------------------------------------
   SOLUCIÓN
   ---------------------------------------------------------------- */
.section-solucion {
  padding: 120px 0; background: var(--navy);
  position: relative; overflow: hidden;
}
.section-solucion::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px; pointer-events: none;
}
.section-solucion::after {
  content: ''; position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(242,110,37,.07) 0%, transparent 70%);
  top: -100px; left: 25%; pointer-events: none;
}

.solucion-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 64px; gap: 32px; position: relative; z-index: 1;
}
.solucion-head-left { max-width: 520px; }
.solucion-head h2 { color: var(--white); font-size: clamp(1.8rem, 2.8vw, 2.4rem); letter-spacing: -0.02em; }

.solucion-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; position: relative; z-index: 1;
}

.step-marker {
  width: 52px; height: 52px; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(242,110,37,.12); border: 1px solid rgba(242,110,37,.22);
  border-radius: 12px;
}
.step-marker span { font-family: var(--font); font-size: 17px; font-weight: 800; color: var(--orange); }

.solucion-step h3 { font-size: 18px; color: var(--white); font-weight: 800; margin-bottom: 8px; }
.solucion-step p { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.5); line-height: 1.7; }

/* ----------------------------------------------------------------
   VIDEO — sin reborde, fusionado con el fondo navy
   ---------------------------------------------------------------- */
.section-video { background: var(--navy); padding: 0 0 80px; }
.video-wrap { max-width: 880px; margin: 0 auto; padding: 0 32px; }
.video-wrap video {
  width: 100%; display: block;
  /* Sin border-radius ni sombra — fluye con el fondo */
}

/* ----------------------------------------------------------------
   FUNCIONALIDADES
   ---------------------------------------------------------------- */
.section-funcionalidades { padding: 120px 0; background: var(--off); }

.func-layout { display: grid; grid-template-columns: 320px 1fr; gap: 72px; align-items: start; }
.func-left { position: sticky; top: 100px; }
.func-left h2 { font-size: clamp(1.7rem, 2.5vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 12px; }
.func-left p { font-size: 15px; font-weight: 400; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }

.func-list { display: flex; flex-direction: column; }
.func-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px 0; border-top: 1px solid var(--line);
}
.func-item:last-child { border-bottom: 1px solid var(--line); }

.func-num { font-size: 11px; font-weight: 800; color: var(--orange); min-width: 24px; padding-top: 3px; }

.func-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  transition: all .2s;
}
.func-icon svg { width: 18px; height: 18px; color: var(--blue); }
.func-item:hover .func-icon { background: var(--blue); border-color: var(--blue); }
.func-item:hover .func-icon svg { color: var(--white); }

.func-text h3 { font-size: 15px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.func-text p { font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.6; }

/* ----------------------------------------------------------------
   ACERCA — total.Collect by totalcoin
   ---------------------------------------------------------------- */
.section-acerca { padding: 110px 0; background: var(--white); }
.acerca-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.acerca-inner .section-label { justify-content: center; text-transform: none; letter-spacing: 0.08em; }
.acerca-inner h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  letter-spacing: -0.02em; margin-bottom: 22px;
}
.acerca-inner h2 em { font-style: normal; color: var(--orange); }
.acerca-lead {
  font-size: 17px; font-weight: 400; color: var(--muted);
  line-height: 1.8;
}
.acerca-lead strong { color: var(--navy); font-weight: 700; }

/* ----------------------------------------------------------------
   BENEFICIOS
   ---------------------------------------------------------------- */
.section-beneficios { padding: 120px 0; background: var(--navy); position: relative; overflow: hidden; }
.section-beneficios::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,90,158,.18) 0%, transparent 55%),
              radial-gradient(ellipse at 90% 90%, rgba(242,110,37,.05) 0%, transparent 55%);
  pointer-events: none;
}

.ben-head { margin-bottom: 64px; max-width: 500px; position: relative; z-index: 1; }
.ben-head h2 { color: var(--white); font-size: clamp(1.8rem, 2.8vw, 2.4rem); letter-spacing: -0.02em; margin-top: 12px; }

.ben-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,.07);
  border-radius: 16px; overflow: hidden; position: relative; z-index: 1;
}
.ben-cell { background: rgba(10,30,60,.6); padding: 40px 28px; transition: background .2s; }
.ben-cell:hover { background: rgba(10,30,60,.8); }

.ben-metric {
  font-family: var(--font); font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 900; letter-spacing: -0.03em;
  color: var(--orange); line-height: 1; margin-bottom: 14px;
}
.ben-cell h3 { font-size: 16px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.ben-cell p { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.82); line-height: 1.6; }

/* ----------------------------------------------------------------
   SOPORTE
   ---------------------------------------------------------------- */
.section-soporte { background: var(--navy); padding: 80px 0; border-top: 1px solid rgba(255,255,255,.06); }
.soporte-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 36px 40px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08); border-radius: 14px;
}
.soporte-left { display: flex; align-items: center; gap: 16px; }
.soporte-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(242,110,37,.14); border: 1px solid rgba(242,110,37,.2); border-radius: 10px;
}
.soporte-icon svg { width: 20px; height: 20px; color: var(--orange); }
.soporte-copy h3 { font-size: 16px; font-weight: 800; color: var(--white); line-height: 1.3; }
.soporte-copy p { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.4); margin-top: 2px; }

/* ----------------------------------------------------------------
   CONTACTO
   ---------------------------------------------------------------- */
.section-contacto { padding: 120px 0; background: var(--white); }

.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }

.contacto-left h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); letter-spacing: -0.02em; margin: 14px 0 14px; }
.contacto-left > p { font-size: 15px; font-weight: 400; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }

.c-checks { display: flex; flex-direction: column; }
.c-check {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 600; color: var(--ink-mid);
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.c-check:first-child { border-top: 1px solid var(--line); }
.c-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); flex-shrink: 0; }

/* Formulario */
.form-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 36px;
  box-shadow: 0 4px 24px rgba(0,25,68,.06);
}
.form-card-title { font-size: 17px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }

.c-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 5px; }
.fg label { font-size: 12px; font-weight: 800; color: var(--ink); letter-spacing: 0.02em; }
.fg .opt { color: var(--muted); font-weight: 400; }
.fg input {
  font-family: var(--font); font-size: 14px; font-weight: 400;
  padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: 8px; background: var(--off); color: var(--ink); outline: none;
  transition: all .18s;
}
.fg input::placeholder { color: #b5bfc9; }
.fg input:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(0,62,112,.08); }
.fg input.error { border-color: var(--error); background: #fff5f5; }
.fg textarea {
  font-family: var(--font); font-size: 14px; font-weight: 400;
  padding: 11px 13px; border: 1.5px solid var(--line);
  border-radius: 8px; background: var(--off); color: var(--ink); outline: none;
  transition: all .18s; resize: vertical; min-height: 80px;
}
.fg textarea::placeholder { color: #b5bfc9; }
.fg textarea:focus { border-color: var(--blue); background: var(--white); box-shadow: 0 0 0 3px rgba(0,62,112,.08); }
.fg textarea.error { border-color: var(--error); background: #fff5f5; }
.err-msg { font-size: 12px; color: var(--error); margin-top: 2px; }

/* Nota SMTP */
.form-note {
  font-size: 12px; font-weight: 400; color: var(--muted);
  margin-top: 8px; text-align: center;
}

.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.active { display: block; animation: fadeup .4s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.ok-icon {
  width: 52px; height: 52px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12,189,107,.1); border-radius: 50%;
}
.ok-icon svg { width: 26px; height: 26px; color: var(--success); }
.form-success h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.footer { background: #0A1220; padding: 56px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand img { height: 28px; filter: brightness(0) invert(1); margin-bottom: 12px; }
.footer-brand p { font-size: 13px; font-weight: 400; color: rgba(255,255,255,.3); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.22); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; font-weight: 400; color: rgba(255,255,255,.45); padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.18); }

/* ----------------------------------------------------------------
   SCROLL REVEAL
   ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .08s; }
.rd2 { transition-delay: .16s; }
.rd3 { transition-delay: .24s; }
.rd4 { transition-delay: .32s; }

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-mockup { max-width: 560px; margin: 0 auto; }
  .problema-grid { grid-template-columns: 1fr; gap: 48px; }
  .problema-left { position: static; }
  .solucion-steps { grid-template-columns: 1fr; gap: 24px; }
  .func-layout { grid-template-columns: 1fr; gap: 48px; }
  .func-left { position: static; }
  .ben-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--white); flex-direction: column; align-items: stretch;
    padding: 72px 24px 24px; gap: 4px;
    box-shadow: -8px 0 32px rgba(0,25,68,.12);
    transition: right .4s var(--ease); z-index: 99;
  }
  .nav-links.active { right: 0; }
  .nav-links a { color: var(--muted) !important; padding: 12px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-links .btn-nav { text-align: center; margin-top: 14px; border-bottom: none; padding: 12px; }
  .mobile-toggle { display: flex; z-index: 101; }

  .hero { padding: 90px 0 60px; min-height: auto; }
  .hero h1 { font-size: 1.75rem; }
  .hg-orb  { animation: none; will-change: auto; } /* static en mobile */
  .hero-mockup { animation: none; }                 /* sin float en mobile */
  .solucion-head { flex-direction: column; gap: 20px; }
  .ben-grid { grid-template-columns: 1fr; }
  .soporte-inner { flex-direction: column; text-align: center; padding: 28px 20px; }
  .soporte-left { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .footer-inner { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .video-wrap { padding: 0 18px; }
}

/* Nav overlay */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(0,25,68,.35); backdrop-filter: blur(4px);
  z-index: 98; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.nav-overlay.active { opacity: 1; pointer-events: all; }
