/* Paleta de marca de Cecilia — la landing es siempre oscura, no depende de ninguna preferencia de
   tema. Estos son los mismos valores que la app real usa para su tema Oscuro (/perfil, ver
   frontend/src/styles.scss :root[data-tema='oscuro']), copiados acá porque esta página vive sola,
   sin el resto de la aplicación Angular. Si la marca cambia de color, ajustar acá también. */
:root {
  --bg: #10151f;
  --surface: #1a2130;
  --surface-border: #2c3547;
  --brand-dark: #020a18;
  --brand-orange: #f97316;
  --text-primary: #e8ecf5;
  --text-secondary: #a8b3c9;
  --accent: #5b8dfd;
  --accent-hover: #7ba1ff;
  --accent-text: #7ba1ff;
  --accent-soft: #1e2c4a;
  --success: #3ddba0;
  --success-soft: #113328;
  --riesgo: #f5a05c;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --font-sans:
    'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg);
  /* Las secciones de ancho completo (hero, cierre) escapan de su contenedor con el truco
     100vw/-50vw más abajo; en Windows eso puede desbordar unos px por el ancho de la scrollbar. */
  overflow-x: hidden;
}

h1,
h2,
h3 {
  color: var(--text-primary);
  font-weight: 700;
  margin: 0;
}

a {
  color: var(--accent-text);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.acento-ia {
  color: var(--brand-orange);
}

.acento-ia-suave {
  color: rgba(249, 115, 22, 0.75);
}

@media (prefers-reduced-motion: no-preference) {
  .acento-ia {
    animation: acento-ia-brillo 2.8s ease-in-out infinite;
  }
}

@keyframes acento-ia-brillo {
  0%,
  100% {
    text-shadow: 0 0 0 rgba(249, 115, 22, 0);
  }
  50% {
    text-shadow: 0 0 12px rgba(249, 115, 22, 0.6);
  }
}

/* Aparición progresiva al entrar en viewport (activada por IntersectionObserver en script.js).
   Sin JS o con prefers-reduced-motion, ".reveal" nunca se marca oculto y queda con su opacidad
   normal — nunca depende del observer para ser visible. */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .reveal--visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media print {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --------------------------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------------------------- */
.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: filter 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.boton--primario {
  background: linear-gradient(135deg, var(--accent), #5b8dfd);
  color: #fff;
}

.boton--primario:hover {
  filter: brightness(1.08);
  text-decoration: none;
  color: #fff;
}

.boton--fantasma {
  border-color: var(--surface-border);
  color: var(--text-primary);
  background: transparent;
}

.boton--fantasma:hover {
  border-color: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
}

.boton--sobre-oscuro {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.boton--sobre-oscuro:hover {
  border-color: #fff;
  color: #fff;
}

/* --------------------------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--brand-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__interior {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__marca {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.nav__logo {
  height: 30px;
  width: auto;
}

.nav__nombre {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.nav__enlaces {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.nav__enlaces a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav__enlaces a:hover {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 780px) {
  .nav__enlaces {
    display: none;
  }
}

section[id] {
  scroll-margin-top: 4.5rem;
}

.seccion__interior {
  max-width: 1320px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

.seccion__interior > h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  text-align: center;
  margin: 0 auto 0.5rem;
}

.seccion__bajada {
  text-align: center;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.seccion__bajada--oscura {
  color: rgba(255, 255, 255, 0.72);
}

/* Manchas de luz muy tenues, versión clara del mismo recurso del hero — evita que las secciones
   claras se sientan "planas" al lado del hero oscuro con resplandor. */
.resplandor-claro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.resplandor-claro::before,
.resplandor-claro::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.resplandor-claro::before {
  width: 26rem;
  height: 26rem;
  top: -12rem;
  right: -6rem;
  background: radial-gradient(circle, rgba(64, 114, 248, 0.1), transparent 70%);
}

.resplandor-claro::after {
  width: 22rem;
  height: 22rem;
  bottom: -10rem;
  left: -6rem;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.09), transparent 70%);
}

/* --------------------------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------------------------- */
.hero {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: var(--brand-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  width: 30rem;
  height: 30rem;
  top: -10rem;
  right: 5%;
  background: radial-gradient(circle, rgba(64, 114, 248, 0.55), transparent 70%);
}

.hero::after {
  width: 24rem;
  height: 24rem;
  bottom: -8rem;
  left: 8%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.4), transparent 70%);
}

.hero__marca-agua {
  position: absolute;
  top: 50%;
  right: -6rem;
  width: 34rem;
  height: auto;
  transform: translateY(-50%);
  opacity: 0.14;
  z-index: -1;
  pointer-events: none;
  filter: drop-shadow(0 0 3.5rem rgba(64, 114, 248, 0.45));
}

@media (max-width: 900px) {
  .hero__marca-agua {
    display: none;
  }
}

.hero__kicker {
  position: absolute;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.4);
}

.hero__kicker--arriba {
  top: 2rem;
  right: 2rem;
  text-align: right;
}

.hero__kicker--abajo {
  bottom: 2rem;
  left: 2rem;
}

@media (max-width: 1150px) {
  .hero__kicker {
    display: none;
  }
}

/* Red de nodos animada real (tsparticles, ver script.js) en el lugar de las 6 líneas fijas
   dibujadas a mano de la primera versión. Si tsparticles no llega a cargar (por ejemplo, sin
   conexión al CDN), este div queda vacío y el hero se ve igual de bien solo con el resplandor y
   la huella de fondo. */
.hero__particulas {
  position: absolute;
  inset: 0;
  z-index: -1;
}

@media (max-width: 900px) {
  .hero__particulas {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero::before {
    animation: resplandor-flota 9s ease-in-out infinite;
  }
  .hero::after {
    animation: resplandor-flota 12s ease-in-out infinite reverse;
  }
}

@keyframes resplandor-flota {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-2rem, 1.5rem) scale(1.08);
  }
}

.hero__interior {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__interior {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero__copy {
  max-width: 640px;
}

.hero__eyebrow {
  display: inline-flex;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.1rem;
}

.hero__titulo {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.2;
  margin: 0 0 1.1rem;
  color: #fff;
}

.hero__degradado {
  background: linear-gradient(90deg, #7ba1ff, var(--brand-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__bajada {
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 1.75rem;
  max-width: 46ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Mockup ilustrativo del chat, no una captura real (esas viven en el carrusel de "Así se ve por
   dentro"). */
.chat {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  max-width: 320px;
  margin: 0 auto;
  font-size: 0.9rem;
}

.chat__cabecera {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.9rem;
  background: var(--bg);
  border-bottom: 1px solid var(--surface-border);
}

.chat__logo {
  height: 24px;
  width: auto;
}

.chat__identidad {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.chat__identidad strong {
  color: var(--text-primary);
  font-size: 0.85rem;
}

.chat__identidad span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-secondary);
  font-size: 0.68rem;
}

.chat__en-linea {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.chat__cuerpo {
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.chat__mensaje {
  margin: 0;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  line-height: 1.4;
  max-width: 86%;
}

.chat__mensaje--usuario {
  align-self: flex-end;
  background: var(--accent-soft);
  color: var(--text-primary);
  border-bottom-right-radius: 4px;
}

.chat__mensaje--cecilia {
  align-self: flex-start;
  background: var(--bg);
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
  border-bottom-left-radius: 4px;
}

.chat__insignia {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--success);
}

.chat__escribiendo {
  display: none;
  align-self: flex-start;
  gap: 0.28rem;
  padding: 0.45rem 0.7rem;
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
}

.chat__escribiendo i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-secondary);
}

@media (prefers-reduced-motion: no-preference) {
  .chat__en-linea {
    animation: chat-pulso 2s ease-in-out infinite;
  }
  .chat__escribiendo {
    display: inline-flex;
    animation: chat-tipeo-vida 0.8s ease both;
  }
  .chat__escribiendo i {
    animation: chat-punto-salta 1s ease-in-out infinite;
  }
  .chat__escribiendo i:nth-child(2) {
    animation-delay: 0.15s;
  }
  .chat__escribiendo i:nth-child(3) {
    animation-delay: 0.3s;
  }
  .chat__mensaje {
    animation: chat-mensaje-entra 0.35s ease both;
  }
  .chat__cuerpo > :nth-child(1) {
    animation-delay: 0.1s;
  }
  .chat__cuerpo > :nth-child(2) {
    animation-delay: 0.1s;
  }
  .chat__cuerpo > :nth-child(3) {
    animation-delay: 0.9s;
  }
  .chat__cuerpo > :nth-child(4) {
    animation-delay: 1.3s;
  }
  .chat__cuerpo > :nth-child(5) {
    animation-delay: 1.3s;
  }
  .chat__cuerpo > :nth-child(6) {
    animation-delay: 2.1s;
  }
}

@keyframes chat-pulso {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(23, 138, 104, 0.55);
  }
  70% {
    box-shadow: 0 0 0 5px rgba(23, 138, 104, 0);
  }
}

@keyframes chat-mensaje-entra {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chat-tipeo-vida {
  0%,
  100% {
    opacity: 0;
  }
  15%,
  75% {
    opacity: 1;
  }
}

@keyframes chat-punto-salta {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-3px);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------------------------
   Problema
   -------------------------------------------------------------------------------------------- */
.problema__grilla {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .problema__grilla {
    grid-template-columns: repeat(2, 1fr);
  }
}

.problema__grilla p {
  margin: 0;
  padding: 1.1rem 1.3rem 1.1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-left: 3px solid var(--riesgo);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 26px rgba(41, 48, 74, 0.06);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------------------------
   Características
   -------------------------------------------------------------------------------------------- */
.caracteristicas {
  background: var(--surface);
}

.caracteristicas__grilla {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.tarjeta {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 34px rgba(64, 114, 248, 0.1);
  padding: 1.5rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tarjeta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--brand-orange));
}

.tarjeta:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(64, 114, 248, 0.2);
}

.tarjeta__icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent), #5b8dfd);
  color: #fff;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px rgba(64, 114, 248, 0.35);
}

.tarjeta__icono svg {
  width: 1.4rem;
  height: 1.4rem;
}

.tarjeta h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text-primary);
}

.tarjeta p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.5;
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------------------------
   Vos tenés el control
   -------------------------------------------------------------------------------------------- */
.control {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--brand-dark);
}

.control__etiqueta {
  text-align: center;
  margin: 0 auto 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-orange);
}

.control__particulas {
  position: absolute;
  inset: 0;
  z-index: -1;
}

@media (max-width: 900px) {
  .control__particulas {
    display: none;
  }
}

.control .seccion__interior > h2 {
  color: #fff;
}

.control__grilla {
  display: grid;
  gap: 1.75rem;
  margin-top: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.control__item {
  text-align: center;
}

.control__item h3 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.control__item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
  line-height: 1.5;
}

.control__icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--brand-orange);
  margin-bottom: 1rem;
}

.control__icono svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* --------------------------------------------------------------------------------------------
   Capturas reales del producto + carrusel
   -------------------------------------------------------------------------------------------- */
.producto {
  background: var(--surface);
}

.carrusel {
  position: relative;
  max-width: 760px;
  margin: 2.5rem auto 0;
  padding: 0 3.25rem;
}

.carrusel__slide {
  display: none;
  margin: 0;
}

.carrusel__slide--activo {
  display: block;
}

.carrusel__slide figcaption {
  margin-top: 0.9rem;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

@media (prefers-reduced-motion: no-preference) {
  .carrusel__slide--activo {
    animation: carrusel-aparece 0.35s ease;
  }
}

@keyframes carrusel-aparece {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.carrusel__flecha {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(64, 114, 248, 0.14);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.carrusel__flecha:hover {
  border-color: var(--accent);
  color: var(--accent-text);
}

.carrusel__flecha--izq {
  left: 0;
}

.carrusel__flecha--der {
  right: 0;
}

.carrusel__puntos {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carrusel__punto {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--surface-border);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.carrusel__punto:hover {
  background: var(--accent-hover);
}

.carrusel__punto--activo {
  background: var(--accent);
  transform: scale(1.3);
}

.producto__marco {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(64, 114, 248, 0.16);
  border: 1px solid var(--surface-border);
  background: var(--bg);
}

.producto__marco img {
  display: block;
  width: 100%;
  height: auto;
}

.producto__barra {
  display: flex;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
}

.producto__barra span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--surface-border);
}

.producto__barra span:first-child {
  background: #f2867e;
}

.producto__barra span:nth-child(2) {
  background: #f6c453;
}

.producto__barra span:nth-child(3) {
  background: #3ddba0;
}

/* --------------------------------------------------------------------------------------------
   "La colega que siempre está"
   -------------------------------------------------------------------------------------------- */
.colega {
  background: var(--accent-soft);
}

.colega__interior {
  text-align: center;
  max-width: 780px;
}

.colega__interior p {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------------------------
   Cómo funciona
   -------------------------------------------------------------------------------------------- */
.como-funciona {
  background-image: radial-gradient(circle, var(--surface-border) 1px, transparent 1.6px);
  background-size: 22px 22px;
}

.pasos {
  position: relative;
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (min-width: 700px) {
  .pasos::before {
    content: '';
    position: absolute;
    top: 1.2rem;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--surface-border);
  }
}

.paso {
  position: relative;
  text-align: center;
}

.paso__numero {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #5b8dfd);
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.paso h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.paso p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------------------------
   Planes
   -------------------------------------------------------------------------------------------- */
.planes {
  background: var(--surface);
}

.planes__grilla {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  align-items: stretch;
}

@media (min-width: 960px) {
  .planes__grilla {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  gap: 1rem;
  box-shadow: 0 10px 26px rgba(64, 114, 248, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(64, 114, 248, 0.2);
}

.plan--destacado {
  border-color: var(--accent);
  box-shadow: 0 16px 40px rgba(64, 114, 248, 0.18);
}

@media (min-width: 960px) {
  .plan--destacado {
    transform: translateY(-0.5rem);
  }
  .plan--destacado:hover {
    transform: translateY(calc(-0.5rem - 4px));
  }
}

.plan__cinta {
  position: absolute;
  top: -0.75rem;
  left: 1.75rem;
  background: linear-gradient(135deg, var(--accent), #5b8dfd);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.plan h3 {
  margin: 0;
  font-size: 1.15rem;
}

.plan__precio {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  color: var(--text-primary);
}

.plan__precio span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.plan__para-quien {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.45;
  min-height: 2.6em;
}

.plan__lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.plan__lista li {
  padding-left: 1.6rem;
  position: relative;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.plan__lista li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.65rem;
  font-weight: 700;
}

.plan .boton {
  width: 100%;
}

/* --------------------------------------------------------------------------------------------
   Preguntas frecuentes
   -------------------------------------------------------------------------------------------- */
.preguntas__lista {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  max-width: 760px;
  margin-inline: auto;
}

.pregunta {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  box-shadow: 0 8px 22px rgba(64, 114, 248, 0.07);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pregunta:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(64, 114, 248, 0.14);
}

.pregunta summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-primary);
}

.pregunta p {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
  line-height: 1.55;
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------------------------
   Cierre + pie
   -------------------------------------------------------------------------------------------- */
.cierre {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: var(--brand-dark);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.cierre__particulas {
  position: absolute;
  inset: 0;
  z-index: -1;
}

@media (max-width: 900px) {
  .cierre__particulas {
    display: none;
  }
}

.cierre__interior {
  text-align: center;
  max-width: 720px;
}

.cierre__interior h2 {
  color: #fff;
}

.cierre__interior p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0 auto 1.75rem;
}

.cierre__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.pie {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.pie__marca {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1rem;
}

.pie__logo {
  height: 26px;
  width: auto;
}

.pie__producto {
  font-weight: 500;
  margin-left: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.pie__lema {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}

.pie__copyright {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}
