/* ══════════════════════════════════════════════════════════════════
   CONVERSA PRO — Sistema de diseño
   Paleta derivada del logo:
     noche  #0B1630 · azul #4C7DFF · agua #19C3A0 · ámbar #FFB020
   Tipografía: Bricolage Grotesque (títulos) + Figtree (texto)
   ══════════════════════════════════════════════════════════════════ */

:root {
  --noche:      #0B1630;
  --noche-2:    #0F1F42;
  --noche-3:    #16274F;
  --azul:       #4C7DFF;
  --azul-osc:   #2E5AD6;
  --agua:       #19C3A0;
  --ambar:      #FFB020;
  --tinta:      #0B1630;
  --texto:      #3D4A63;
  --suave:      #6B7899;
  --linea:      #E4E9F2;
  --fondo:      #FFFFFF;
  --fondo-2:    #F5F8FC;
  --blanco:     #FFFFFF;

  --radio:      14px;
  --radio-gr:   22px;
  --sombra:     0 1px 2px rgba(11,22,48,.06), 0 8px 24px rgba(11,22,48,.06);
  --sombra-gr:  0 2px 4px rgba(11,22,48,.06), 0 24px 60px rgba(11,22,48,.12);
  --max:        1140px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  color: var(--tinta);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.contenedor {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.contenedor-angosto { max-width: 820px; }

.saltar {
  position: absolute; left: -9999px;
  background: var(--blanco); color: var(--tinta);
  padding: 12px 20px; border-radius: 8px; z-index: 999;
}
.saltar:focus { left: 16px; top: 16px; }

/* ── Botones ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 11px;
  font-family: 'Figtree', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-grande { padding: 16px 30px; font-size: 16.5px; border-radius: 13px; }

.btn-primario {
  background: linear-gradient(135deg, var(--azul) 0%, #6A93FF 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(76,125,255,.32);
}
.btn-primario:hover {
  box-shadow: 0 10px 30px rgba(76,125,255,.42);
  transform: translateY(-2px);
}

.btn-fantasma { color: #fff; opacity: .88; }
.btn-fantasma:hover { opacity: 1; }

.btn-vidrio {
  background: rgba(255,255,255,.09);
  border-color: rgba(255,255,255,.22);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-vidrio:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.38);
  transform: translateY(-2px);
}

.btn-borde {
  background: #fff;
  border-color: var(--linea);
  color: var(--tinta);
}
.btn-borde:hover { border-color: var(--azul); color: var(--azul); }

.btn-blanco { background: #fff; color: var(--noche); box-shadow: 0 8px 26px rgba(0,0,0,.18); }
.btn-blanco:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.24); }

/* ── Etiquetas ───────────────────────────────────────────────────── */
.etiqueta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .01em;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #D7E2FF;
}
.etiqueta-clara {
  background: rgba(76,125,255,.09);
  border-color: rgba(76,125,255,.2);
  color: var(--azul-osc);
}
.punto {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--agua);
  box-shadow: 0 0 0 4px rgba(25,195,160,.22);
  animation: latido 2.4s infinite;
}
@keyframes latido {
  0%, 100% { box-shadow: 0 0 0 3px rgba(25,195,160,.22); }
  50%      { box-shadow: 0 0 0 7px rgba(25,195,160,.05); }
}

/* ── Marca ───────────────────────────────────────────────────────── */
.marca { display: inline-flex; align-items: center; gap: 11px; }
.marca-logo { height: 34px; width: auto; display: block; }
/* Dos variantes del logo: cambian según el fondo del menú */
.logo-dia { display: none; }
.nav-solida .logo-dia { display: block; }
.nav-solida .logo-noche { display: none; }
.marca-logo-pie { height: 52px; width: auto; display: block; }

/* ── NAV ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .28s var(--ease), box-shadow .28s var(--ease),
              border-color .28s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-solida {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--linea);
  box-shadow: 0 1px 20px rgba(11,22,48,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 74px;
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.82);
}
.nav-links a { transition: color .18s var(--ease); }
.nav-links a:hover { color: #fff; }

.nav-solida .nav-links { color: var(--texto); }
.nav-solida .nav-links a:hover { color: var(--azul); }

.nav-solida .marca-texto { color: var(--tinta); }
.nav-solida .btn-fantasma { color: var(--texto); }

.nav-acciones { display: flex; align-items: center; gap: 10px; }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-btn span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease), background-color .25s;
}
.nav-solida .menu-btn span { background: var(--tinta); }
.menu-btn.activo span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.activo span:nth-child(2) { opacity: 0; }
.menu-btn.activo span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.menu-movil {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 24px 22px;
  background: #fff;
  border-bottom: 1px solid var(--linea);
  box-shadow: 0 20px 40px rgba(11,22,48,.1);
}
.menu-movil.abierto { display: flex; }
.menu-movil a {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--tinta);
  border-bottom: 1px solid #F0F3F8;
}
.menu-movil .btn { margin-top: 12px; border-bottom: 0; }

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--noche);
  color: #fff;
  padding: 150px 0 110px;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 160px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.03));
  pointer-events: none;
}
.hero-brillo {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.hero-brillo-azul {
  width: 620px; height: 620px;
  background: rgba(76,125,255,.30);
  top: -240px; right: -140px;
}
.hero-brillo-verde {
  width: 480px; height: 480px;
  background: rgba(25,195,160,.18);
  bottom: -220px; left: -160px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.4vw, 3.65rem);
  margin: 22px 0 22px;
  letter-spacing: -0.035em;
  line-height: 1.06;
}
.degradado {
  background: linear-gradient(100deg, #6A93FF 0%, var(--agua) 62%, var(--ambar) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18.5px;
  line-height: 1.6;
  color: #B9C6E4;
  max-width: 520px;
}

.hero-acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-nota {
  margin-top: 18px;
  font-size: 14px;
  color: #8295BC;
}

/* ── Mockup teléfono ─────────────────────────────────────────────── */
.hero-visual { position: relative; }

.telefono {
  width: 100%;
  max-width: 372px;
  margin: 0 auto;
  background: #fff;
  border-radius: 26px;
  box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.09);
  overflow: hidden;
  transform: rotate(-1.6deg);
}

.telefono-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  background: #0F1F42;
  color: #fff;
}
.tel-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul), var(--agua));
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px;
}
.tel-info { display: flex; flex-direction: column; line-height: 1.25; }
.tel-info strong { font-size: 14.5px; font-weight: 600; }
.tel-info span { font-size: 11.5px; color: var(--agua); }

.chat {
  padding: 18px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background:
    radial-gradient(circle at 15% 12%, rgba(76,125,255,.05), transparent 38%),
    #EDF1F8;
}

.burbuja {
  position: relative;
  max-width: 84%;
  padding: 10px 13px 18px;
  border-radius: 13px;
  font-size: 13.8px;
  line-height: 1.45;
  color: #12203C;
  animation: entra .5s var(--ease) backwards;
}
.burbuja .hora {
  position: absolute;
  right: 10px; bottom: 5px;
  font-size: 9.5px;
  color: #7C88A3;
}
.burbuja-entra {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(11,22,48,.08);
  animation-delay: .35s;
}
.burbuja-sale {
  align-self: flex-end;
  background: #D9F7EC;
  border-bottom-right-radius: 4px;
  animation-delay: .75s;
}
.burbuja:nth-child(3) { animation-delay: 1.15s; }
.burbuja:nth-child(4) { animation-delay: 1.55s; }

@keyframes entra {
  from { opacity: 0; transform: translateY(9px) scale(.97); }
  to   { opacity: 1; transform: none; }
}

.cita-card {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 6px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(25,195,160,.4);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(25,195,160,.16);
  animation: entra .5s var(--ease) backwards;
  animation-delay: 1.95s;
}
.cita-check {
  width: 26px; height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  background: var(--agua);
  color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}
.cita-card div { display: flex; flex-direction: column; line-height: 1.3; }
.cita-card strong { font-size: 13.5px; color: #0B1630; }
.cita-card span { font-size: 12px; color: #6B7899; }

.flotante {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  background: rgba(255,255,255,.97);
  border-radius: 13px;
  box-shadow: 0 16px 40px rgba(0,0,0,.28);
  animation: flota 5s ease-in-out infinite;
}
.flotante div { display: flex; flex-direction: column; line-height: 1.3; }
.flotante strong { font-size: 13px; color: #0B1630; }
.flotante span { font-size: 11.5px; color: #6B7899; }
.flotante-icono { font-size: 18px; }
.flotante-1 { top: 21%; left: -60px; }
.flotante-2 { bottom: 14%; right: -28px; animation-delay: 1.6s; }

@keyframes flota {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ── RUBROS ──────────────────────────────────────────────────────── */
.rubros {
  background: #fff;
  border-bottom: 1px solid var(--linea);
  padding: 30px 0;
}
.rubros-titulo {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--suave);
  margin-bottom: 16px;
}
.rubros-lista {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.rubros-lista span {
  padding: 8px 17px;
  border: 1px solid var(--linea);
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  color: var(--texto);
  background: var(--fondo-2);
}

/* ── SECCIONES ───────────────────────────────────────────────────── */
.seccion { padding: 100px 0; }
.seccion-suave { background: var(--fondo-2); }
.seccion-oscura { background: var(--noche); color: #fff; }

.seccion-cabeza { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.seccion-cabeza h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  margin: 18px 0 16px;
}
.seccion-cabeza p { font-size: 17.5px; color: var(--suave); }

.seccion-cabeza-oscura h2 { color: #fff; }
.seccion-cabeza-oscura p { color: #A8B8DA; }
.etiqueta-oscura {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.14);
  color: #C9D6F2;
}

/* ── PRODUCTOS ───────────────────────────────────────────────────── */
.productos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.producto {
  position: relative;
  padding: 28px 26px 24px;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radio-gr);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease),
              border-color .22s var(--ease);
  overflow: hidden;
}
.producto::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--acento);
  opacity: 0;
  transition: opacity .22s var(--ease);
}
.producto:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-gr);
  border-color: transparent;
}
.producto:hover::before { opacity: 1; }

.producto-icono {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 22px;
  border-radius: 13px;
  background: color-mix(in srgb, var(--acento) 11%, #fff);
  border: 1px solid color-mix(in srgb, var(--acento) 22%, #fff);
  margin-bottom: 18px;
}
.producto h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--tinta);
}
.producto p {
  font-size: 14.8px;
  line-height: 1.55;
  color: var(--suave);
  min-height: 68px;
}
.producto-ir {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--acento);
  transition: gap .2s var(--ease);
}

/* ── LÍNEA DE TIEMPO ─────────────────────────────────────────────── */
.linea-tiempo {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.paso-linea {
  display: grid;
  grid-template-columns: 84px 1fr 150px;
  align-items: center;
  gap: 20px;
  padding: 20px 22px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
}
.paso-linea-bien {
  border-color: rgba(25,195,160,.34);
  background: rgba(25,195,160,.07);
}
.paso-hora {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #7E90B8;
}
.paso-linea-bien .paso-hora { color: var(--agua); }
.paso-cuerpo { display: flex; flex-direction: column; gap: 3px; }
.paso-cuerpo strong { font-size: 15.5px; color: #fff; font-weight: 600; }
.paso-cuerpo span { font-size: 14.5px; color: #93A5C9; }
.paso-estado {
  justify-self: end;
  padding: 6px 13px;
  border-radius: 100px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.paso-malo { background: rgba(255,110,110,.14); color: #FF9B9B; }
.paso-bueno { background: rgba(25,195,160,.18); color: #5FE3C4; }

.problema-cierre {
  margin-top: 40px;
  text-align: center;
  font-size: 20px;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
}

/* ── PASOS ───────────────────────────────────────────────────────── */
.pasos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.paso {
  padding: 30px 26px;
  border-radius: var(--radio-gr);
  background: #fff;
  border: 1px solid var(--linea);
  box-shadow: var(--sombra);
}
.paso-numero {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(76,125,255,.12), rgba(25,195,160,.12));
  border: 1px solid rgba(76,125,255,.2);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--azul-osc);
  margin-bottom: 18px;
}
.paso h3 { font-size: 19px; margin-bottom: 10px; }
.paso p { font-size: 15px; color: var(--suave); line-height: 1.6; }

.incluye {
  padding: 40px 38px;
  border-radius: var(--radio-gr);
  background: var(--fondo-2);
  border: 1px solid var(--linea);
}
.incluye-titulo {
  font-size: 20px;
  margin-bottom: 24px;
  text-align: center;
}
.incluye-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.incluye-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--texto);
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 11px;
}
.incluye-item span { font-size: 17px; }

/* ── PRECIOS ─────────────────────────────────────────────────────── */
.planes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: var(--radio-gr);
  box-shadow: var(--sombra);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--sombra-gr); }

.plan-destacado {
  border: 2px solid var(--azul);
  box-shadow: 0 20px 50px rgba(76,125,255,.18);
}
.plan-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 100px;
  background: var(--azul);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}
.plan h3 { font-size: 17px; font-weight: 600; color: var(--suave); margin-bottom: 14px; }
.plan-precio {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--tinta);
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 12px;
}
.plan-precio span { font-size: 22px; vertical-align: super; margin-right: 2px; }
.plan-precio small { font-size: 15px; font-weight: 500; color: var(--suave); letter-spacing: 0; }
.plan-desc { font-size: 14.5px; color: var(--suave); margin-bottom: 22px; min-height: 44px; }
.plan ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.plan li {
  position: relative;
  padding-left: 26px;
  font-size: 14.5px;
  color: var(--texto);
  line-height: 1.5;
}
.plan li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--agua);
  font-weight: 700;
}
.plan .btn { width: 100%; margin-top: auto; }

.precios-nota {
  margin-top: 34px;
  text-align: center;
  font-size: 15px;
  color: var(--suave);
}

/* ── SERVICIO ────────────────────────────────────────────────────── */
.servicio {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 64px;
  align-items: center;
}
.servicio h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 18px 0 16px; }
.servicio p { font-size: 16.5px; color: var(--suave); margin-bottom: 14px; }
.servicio-detalle { font-size: 15.5px !important; }
.servicio .btn { margin-top: 12px; }

.servicio-lista { display: flex; flex-direction: column; gap: 12px; }
.servicio-item {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--fondo-2);
  border: 1px solid var(--linea);
  border-left: 3px solid var(--agua);
}
.servicio-item strong { display: block; font-size: 15px; color: var(--tinta); margin-bottom: 3px; }
.servicio-item span { font-size: 14.5px; color: var(--suave); }

/* ── FAQ ─────────────────────────────────────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--linea);
  border-radius: 14px;
  padding: 4px 22px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq details[open] {
  border-color: rgba(76,125,255,.34);
  box-shadow: 0 8px 26px rgba(76,125,255,.08);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 34px 18px 0;
  position: relative;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--tinta);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--azul);
  transition: transform .22s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  padding: 0 0 20px;
  font-size: 15.5px;
  color: var(--suave);
  line-height: 1.65;
  max-width: 640px;
}

/* ── CTA FINAL ───────────────────────────────────────────────────── */
.cta-final {
  position: relative;
  padding: 104px 0;
  background: linear-gradient(135deg, var(--noche) 0%, #10224A 55%, #0B2A45 100%);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: rgba(76,125,255,.22);
  filter: blur(130px);
  top: -280px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.cta-final-inner { position: relative; }
.cta-final h2 {
  color: #fff;
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  margin-bottom: 16px;
}
.cta-final p { font-size: 18px; color: #B3C2E0; }
.cta-final .hero-acciones { justify-content: center; margin-top: 34px; }
.cta-nota { margin-top: 18px; font-size: 14px; color: #8295BC; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.pie { background: var(--noche); color: #93A5C9; padding: 70px 0 30px; }
.pie-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pie-marca p { font-size: 14.5px; margin-top: 16px; max-width: 300px; line-height: 1.6; }
.pie-col { display: flex; flex-direction: column; gap: 10px; }
.pie-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 4px;
}
.pie-col a { font-size: 14.5px; transition: color .18s var(--ease); }
.pie-col a:hover { color: var(--agua); }

.pie-bajo {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 26px;
  font-size: 13.5px;
  color: #7183A8;
}

/* ── Animación de aparición ──────────────────────────────────────── */
.aparece { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.aparece.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .aparece { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-texto { text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-acciones { justify-content: center; }
  .flotante-1 { left: -10px; }
  .flotante-2 { right: -10px; }

  .productos { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: 1fr; }
  .incluye-grid { grid-template-columns: repeat(2, 1fr); }
  .planes { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-destacado { order: -1; }
  .servicio { grid-template-columns: 1fr; gap: 40px; }
  .pie-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-links, .nav-acciones { display: none; }
  .menu-btn { display: flex; }
  .hero { padding: 128px 0 80px; }
  .seccion { padding: 76px 0; }
  .paso-linea { grid-template-columns: 64px 1fr; gap: 14px; }
  .paso-estado { grid-column: 2; justify-self: start; margin-top: 6px; }
  .problema-cierre { font-size: 17.5px; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .contenedor { padding: 0 18px; }
  .hero-inner { gap: 44px; }
  .hero h1 { font-size: 2.05rem; }
  .hero-sub { font-size: 16.5px; }
  .hero-acciones { flex-direction: column; }
  .hero-acciones .btn { width: 100%; }
  .telefono { max-width: 100%; transform: none; }
  .flotante { display: none; }
  .productos { grid-template-columns: 1fr; }
  .incluye { padding: 28px 20px; }
  .incluye-grid { grid-template-columns: 1fr; }
  .pie-inner { grid-template-columns: 1fr; gap: 32px; }
  .pie-bajo { flex-direction: column; }
  .cta-final { padding: 76px 0; }
  .seccion-cabeza { margin-bottom: 40px; }
}
