/* =========================
           TOKENS (Design System) - ACTUALIZADO
        ========================= */
:root {
  --bg-0: #090b10;
  --bg-1: #0d0f15;
  --bg-2: #10121a;

  --bg: #0b0f17;
  --card: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.12);

  --bg-light: #191972;
  --text-light: #ffffff;
  --text-gray: #2b0e0e;
  --text-dark: #1c1c1e;
  --border-radius: 15px;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;

  --txt: #f0f3ff;
  --muted: #b4bac7;

  --accent: #a2ff5e; /* verde neón mejorado */
  --accent2: #4acfff; /* azul eléctrico mejorado */
  --accent3: #c396ff; /* violeta mejorado */

  --grad-page: radial-gradient(
      1200px 600px at 8% 10%,
      rgba(162, 255, 94, 0.22),
      transparent 60%
    ),
    radial-gradient(
      900px 600px at 90% 10%,
      rgba(74, 207, 255, 0.18),
      transparent 55%
    ),
    linear-gradient(180deg, #0b0e14 0%, #090b10 100%);

  --grad-card: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.04)
  );
  --grad-btn: linear-gradient(135deg, #a2ff5e 0%, #4acfff 100%);
  --grad-btn-hover: linear-gradient(135deg, #b9ff8b 0%, #7adcff 100%);

  --glow: 0 0 24px rgba(162, 255, 94, 0.5), 0 0 40px rgba(74, 207, 255, 0.3);
  --shadow-s: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-l: 0 18px 50px rgba(0, 0, 0, 0.6);

  --color-bg-card: rgba(255, 255, 255, 0.05);
  --color-border: rgba(255, 255, 255, 0.1);
  --color-text-muted: #aab0bd;
  --border-radius: 16px;
  --transition: all 0.3s ease;
  --color-primary: #9bff55;
  --color-text: #e7eaf0;

  --ff-h: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-b: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --fs-h1: clamp(1.6rem, 5.2vw, 4.4rem);
  --fs-h2: clamp(2rem, 4vw, 2.8rem);
  --fs-h3: clamp(1.4rem, 2.8vw, 1.6rem);
  --fs-lg: clamp(1.1rem, 1.8vw, 1.3rem);
  --fs-md: clamp(1rem, 1.5vw, 1.1rem);

  --rad: 18px;
  --rad-lg: 24px;
  --rad-xl: 32px;

  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-lg: 28px;

  --container: 1200px;
  --gap: 28px;

  --icon: clamp(20px, 2.2vw, 24px);
  --icon-lg: clamp(28px, 3.2vw, 36px);
  --icon-xl: clamp(36px, 4vw, 48px);

  --t-fast: 0.18s;
  --t: 0.1s;
  --t-slow: 0.1s;

  --primary-gradient-2: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --green-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --dark-bg: #0f0f19;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;

  --padding-container: 100px 0;

  --padding-container: clamp(30px, 5vw, 100px) 0;
  --max-width-container: min(90%, 1200px);
  --color-primary: #0dd241;
  --color-secondary: #13c041;
  /* --color-accent: #2091F9; */

  --primary-gradient: linear-gradient(135deg, #a1ff5e 0%, #00ffcc 100%);
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --accent-color: #a1ff5e;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --border-radius: 20px;
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* =========================
           BASE / RESET
        ========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  color: var(--txt);
  background: var(--grad-page);
  font: 400 var(--fs-md) / 1.7 var(--ff-b);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 24px;
  position: relative;
  z-index: 3;
}
h1,
h2,
h3 {
  font-family: var(--ff-h);
  margin: 0 0 0.75rem;
  font-weight: 600;
}
h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
}
h2 {
  font-size: var(--fs-h2);
  font-weight: 600;
}
h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
}
:focus-visible {
  outline: 2px dashed var(--accent2);
  outline-offset: 4px;
  border-radius: 10px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
           UTILIDADES
        ========================= */
.grid {
  display: grid;
  gap: var(--gap);
}
.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1024px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
}

.section__head {
  text-align: center;
  margin-bottom: 48px;
}
.section__kicker {
  color: #c5f4a3;
  font: 600 0.95rem var(--ff-h);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}
.section__desc {
  color: var(--muted);
  max-width: 860px;
  margin-inline: auto;
  font-size: var(--fs-lg);
}

/* =========================
           COMPONENTES MEJORADOS
        ========================= */
.btn {
  --py: 16px;
  --px: 32px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: var(--py) var(--px);
  border-radius: 999px;
  font: 600 var(--fs-md) / 1 var(--ff-h);
  letter-spacing: 0.3px;
  color: #0a1508;
  background: var(--grad-btn);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--glow);
  transition: all var(--t) cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0),
    transparent
  );
  transition: left 0.7s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn:hover {
  transform: translateY(-3px) scale(1.03);
  filter: saturate(1.1);
  box-shadow: 0 0 32px rgba(162, 255, 94, 0.6), 0 0 50px rgba(74, 207, 255, 0.4);
}
.btn:active {
  transform: translateY(0) scale(0.99);
}
.btn--outline {
  background: transparent;
  color: var(--txt);
  border: 1px solid rgba(162, 255, 94, 0.4);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  background: linear-gradient(
    180deg,
    rgba(162, 255, 94, 0.15),
    rgba(74, 207, 255, 0.1)
  );
  box-shadow: var(--glow);
}
/* ********************************* */
/* 🔹 Glow pulsante premium */
@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(161, 255, 94, 0.349),
      0 0 40px rgba(74, 207, 255, 0.212);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(161, 255, 94, 0.377),
      0 0 60px rgba(74, 207, 255, 0.24);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(161, 255, 94, 0.411),
      0 0 40px rgba(74, 207, 255, 0.226);
  }
}

/* 🔹 Vibración sutil */
@keyframes softVibrate {
  0%,
  100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-1px, 1px);
  }
  40% {
    transform: translate(1px, -1px);
  }
  60% {
    transform: translate(-1px, -1px);
  }
  80% {
    transform: translate(1px, 1px);
  }
}

/* Aplica animaciones internas */
.btn--pulse {
  animation: pulseGlow 2.5s ease-in-out infinite,
    softVibrate 6s ease-in-out infinite;
}

/* 🔹 Onda expansiva */
/* 🔹 Onda expansiva funcional */
.puls {
  position: relative;
  z-index: 0;
  overflow: visible; /* 🔽 permite que la onda sobresalga */
}

.puls::after {
  content: "";
  position: absolute;
  inset: -12px; /* sobresale más allá del botón */
  border-radius: inherit;
  border: 0px solid transparent;
  background: linear-gradient(135deg, #a1ff5e34, #4acfff67);
  opacity: 0;
  transform: scale(0.98);
  z-index: -1; /* 🔽 va por detrás del botón */
  animation: puls 3s infinite ease-out;
}

@keyframes puls {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(1.4);
    opacity: 0;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(74, 207, 255, 0.18);
  border: 1px solid rgba(74, 207, 255, 0.4);
  color: #d6f2ff;
  font: 600 0.85rem var(--ff-h);
  backdrop-filter: blur(8px);
  margin-top: -10rem;
}

.card {
  background: var(--grad-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--rad-lg);
  padding: 28px;
  box-shadow: var(--shadow-s);
  transition: all var(--t) cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-l);
  border-color: rgba(162, 255, 94, 0.4);
}
.card .icon {
  font-size: var(--icon-lg);
  width: var(--icon-lg);
  height: var(--icon-lg);
  display: inline-grid;
  place-items: center;
  color: var(--accent);
  aspect-ratio: 1/1;
  border-radius: 14px;
  background: radial-gradient(
    120% 120% at 30% 20%,
    rgba(162, 255, 94, 0.3),
    rgba(74, 207, 255, 0.22)
  );
  border: 1px solid rgba(162, 255, 94, 0.4);
  box-shadow: inset 0 0 28px rgba(162, 255, 94, 0.22);
  transition: transform var(--t), filter var(--t), color var(--t);
}
.card:hover .icon {
  transform: scale(1.08) rotate(4deg);
  color: #fff;
  filter: drop-shadow(0 0 20px rgba(162, 255, 94, 0.5));
}

/* =========================
           NAV + MENÚ MÓVIL (mejorado)
        ========================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: linear-gradient(
    180deg,
    rgba(19, 23, 35, 0.72),
    rgba(19, 23, 35, 0.42)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font: 700 1.05rem var(--ff-h);
}
.brand i {
  font-size: var(--icon);
  color: var(--accent);
}

.nav__links {
  display: flex;
  gap: 18px;
  align-items: center;
}
.nav__links a {
  padding: 10px 12px;
  border-radius: 10px;

  /* color: var(--muted); */
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__links a:hover {
  color: var(--txt);
  background: rgba(255, 255, 255, 0.06);
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  align-items: center;
  justify-content: center;
  transition: background var(--t);
}
.burger:hover {
  background: rgba(255, 255, 255, 0.09);
}
.burger__bar,
.burger__bar::before,
.burger__bar::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: #e7eaf0;
  border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}
.burger__bar::before {
  transform: translateY(-6px);
}
.burger__bar::after {
  transform: translateY(6px);
}
.burger[aria-expanded="true"] .burger__bar {
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] .burger__bar::before {
  transform: rotate(-90deg);
}
.burger[aria-expanded="true"] .burger__bar::after {
  opacity: 0;
}

/* Panel lateral (mobile) */
@media (max-width: 900px) {
  .burger {
    display: inline-flex;
  }
  .nav__links {
    display: none;
  }
}

/* Overlay UNIVERSAL para el menú (evita ver el fondo) */
.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(9, 12, 16, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t);
}
.nav__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Panel */
.nav__panel {
  position: fixed;
  z-index: 99;
  top: 72px;
  left: 16px;
  right: 16px;
  max-width: 380px;
  background: linear-gradient(
    180deg,
    rgba(22, 26, 38, 0.95),
    rgba(16, 20, 30, 0.92)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transform: translateY(-16px) scale(0.98);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t), opacity var(--t);
}
.nav__panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.nav__panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 14px;
  margin: 8px 0;
  /* color: var(--txt); */
  /* background: rgba(255, 255, 255, 0.04); */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.nav__panel a i {
  font-size: var(--icon);
}
.nav__panel a:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(155, 255, 85, 0.35);
  transform: translateY(-1px);
}
.nav__panel .btn {
  width: 100%;
  justify-content: center;
}

/* Evitar scroll de la página cuando el menú está abierto */
.menu-open {
  overflow: hidden;
}

/* ===== Canvas del hero (encaja con tu sistema de diseño) ===== */

.hero {
  position: relative;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* bajo el contenido del hero */
  display: block;
  /* Suaviza bordes de las luces */
  filter: saturate(1.2) contrast(1.05);
  /* Desvanecimiento superior/inferior para empalmar secciones */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* Mantén el difuminado inferior existente del hero (tu diseño actual) */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-1));
  pointer-events: none;
  z-index: 2;
}

/* En móvil, menos altura de fade inferior y canvas sin parallax */
@media (max-width: 768px) {
  .hero::after {
    height: 60px;
  }
}

/* Respeto a accesibilidad: si el usuario pide menos movimiento,
     ocultamos el canvas animado (se verá tu fondo estático existente) */
@media (prefers-reduced-motion: reduce) {
  .hero__canvas {
    display: none;
  }
}

/* ===== Canvas del hero (encaja con tu sistema de diseño) ===== */
.hero {
  position: relative;
  overflow: hidden;
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* bajo el contenido del hero */
  display: block;
  /* Suaviza bordes de las luces */
  filter: saturate(1.2) contrast(1.05);
  /* Desvanecimiento superior/inferior para empalmar secciones */
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.9) 10%,
    #000 70%,
    transparent 100%
  );
  pointer-events: none;
}

/* Mantén el difuminado inferior existente del hero (tu diseño actual) */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-1));
  pointer-events: none;
  z-index: 2;
}

/* En móvil, menos altura de fade inferior y canvas sin parallax */
@media (max-width: 768px) {
  .hero::after {
    height: 60px;
  }
}

/* Respeto a accesibilidad: si el usuario pide menos movimiento,
     ocultamos el canvas animado (se verá tu fondo estático existente) */
@media (prefers-reduced-motion: reduce) {
  .hero__canvas {
    display: none;
  }
}

/* =========================
           HERO MEJORADO - 100% VIEWPORT
        ========================= */

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--grad-page);
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
  padding: 0;
}

/* Efecto de partículas sutiles de fondo */
.hero::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 30%,
      rgba(162, 255, 94, 0.15) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(74, 207, 255, 0.15) 0%,
      transparent 40%
    );
  z-index: 1;
}

/* Difuminado inferior del hero */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--bg-1));
  pointer-events: none;
  z-index: 2;
}

/* Ajuste para móvil */
@media (max-width: 768px) {
  .badge {
    margin-top: -20rem;
  }
  .hero::after {
    height: 60px;
  }
  .hero {
    background-attachment: scroll;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Cambiado a z-index: 1 para estar sobre la imagen pero bajo el contenido */
  display: block;

  /* Eliminamos la propiedad background ya que la imagen estará en otro elemento */
  pointer-events: none;

  /* Mantenemos la máscara de desvanecimiento */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.4) 15%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0.9) 45%,
    rgba(0, 0, 0, 0.95) 60%,
    rgba(0, 0, 0, 0.85) 75%,
    rgba(0, 0, 0, 0.5) 90%,
    rgba(0, 0, 0, 0.1) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.4) 15%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0.9) 45%,
    rgba(0, 0, 0, 0.95) 60%,
    rgba(0, 0, 0, 0.85) 75%,
    rgba(0, 0, 0, 0.5) 90%,
    rgba(0, 0, 0, 0.1) 100%
  );
}
/* Nuevo elemento para la imagen de fondo */
.hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Debajo del canvas de partículas */
  /* background: url('/IMG.jpg') no-repeat center center/cover; */
  opacity: 0.2;
  filter: saturate(1.1) contrast(1.05);
  pointer-events: none;
}

/* Asegurar que el contenido del hero esté por encima */
.hero .container {
  position: relative;
  z-index: 2;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
  padding-top: 80px; /* Compensa la altura de la navegación */
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 1.5rem 0 2rem;
  line-height: 1.15;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  position: relative;
  display: inline-block;
  max-width: 680px; /* 🔹 ancho máximo en desktop */
  min-height: 4.8em; /* Evita saltos de layout durante la animación */
}

/* .hero-title::after {
  content: "";
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
} */
/* 
.hero-title::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent));
  background-size: 200% 100%;
  border-radius: 2px;
  animation: gradientFlow 3s linear infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0 0; }
  100% { background-position: 200% 0; }
} */

.hero-title {
  position: relative;
  display: inline-block;
}

#underline {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  width: 0;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2),
    var(--accent)
  );
  background-size: 200% 100%;
  border-radius: 2px;
  transition: width 0.2s ease-out;
  animation: underlineColors 4s linear infinite;
}

@keyframes underlineColors {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

#underline {
  max-width: 100px; /* ajusta a lo que se vea mejor */
}

.hero__text {
  color: var(--muted);
  max-width: 680px;
  font-size: 20px;
  line-height: 1.7;
  margin-top: -7rem;
}

.hero__cta {
  display: flex;
  gap: 45px;
  flex-wrap: wrap;
  margin-top: 20px;
  justify-content: center;
}

/* Indicador de scroll */
.scroll-indicator {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--muted);
  z-index: 5;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator p {
  margin-bottom: -45px;
  font-size: 0.8rem;
}

.scroll-indicator i {
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  margin-top: -120px;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* =========================
           SECCIÓN HERO-CARD (aparece al hacer scroll)
        ========================= */
.hero-card {
  position: relative;
  padding: 100px 0;
  background: radial-gradient(
      1000px 600px at 10% 20%,
      rgba(162, 255, 94, 0.15),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 100% 10%,
      rgba(74, 207, 255, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #0c0f16 0%, #0a0c12 100%);
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Benefits Section */
.benefits {
  padding: 6rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(155, 255, 85, 0.1);
  color: var(--color-primary);
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: bold;
  background: linear-gradient(
    135deg,
    var(--color-text) 0%,
    var(--color-text-muted) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hero__card-2 {
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 760px;
  margin: 0 auto;
  background: rgba(20, 30, 20, 0.35); /* efecto vidrio */
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 0 25px rgba(255, 255, 255, 0.04); /* inner glow */
  position: relative;
  overflow: hidden;
  text-align: center; /* 🔹 centra todo el contenido */
}

/* 🔹 Brillo sutil en bordes */
.hero__card-2::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(155, 255, 85, 0.4),
    rgba(74, 207, 255, 0.35)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Badge */
/* .card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, rgba(155, 255, 85, 0.2), rgba(74, 207, 255, 0.2));
  color: #d9ffd9;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.2);
} */

.card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* centra el contenido dentro del badge */
  gap: 0.5rem;
  background: linear-gradient(
    135deg,
    rgba(155, 255, 85, 0.2),
    rgba(74, 207, 255, 0.2)
  );
  color: #d9ffd9;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 auto 1.2rem auto; /* 🔹 centrado horizontal */
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.2);
  text-align: center;
}

/* Título */
.card-title {
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.3;
  background: linear-gradient(135deg, #fff, #a2ff5e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Texto */
.card-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.35s ease;
}

.feature:hover {
  background: rgba(155, 255, 85, 0.12);
  border-color: rgba(155, 255, 85, 0.35);
  box-shadow: 0 4px 16px rgba(162, 255, 94, 0.2),
    0 0 24px rgba(74, 207, 255, 0.15);
  transform: translateY(-3px);
}

/* Iconos */
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(155, 255, 85, 0.15),
    rgba(74, 207, 255, 0.15)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9fdf70;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.15);
  transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
  transform: scale(1.15);
}

/* Texto de feature */
.feature-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.feature.active {
  background: rgba(255, 200, 0, 0.25); /* Amarillo suave */
  border-color: rgba(255, 200, 0, 0.6);
  box-shadow: 0 4px 16px rgba(255, 200, 0, 0.4),
    0 0 24px rgba(255, 200, 0, 0.25);
  transform: translateY(-5px) scale(1.05);
  transition: all 0.4s ease;
}

.feature.active .feature-icon {
  transform: scale(1.25);
  color: #ffc107; /* Amarillo */
}

/* 
////////////////////////////////////////////////////////////////////////// */

/* Accordion Block */
.accordion-block {
  background: rgba(15, 15, 25, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ======== ACCORDION ======== */
.accordion-items {
  margin-bottom: 12px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);

  margin-bottom: 2rem;

  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* sombra ligera */
}

.accordion-items {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.accordion-items:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.03);
}

.accordion-items.active .accordion-header {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-title-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.accordion-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
  flex-shrink: 0; /* ✅ evita que el icono se comprima */
}
.accordion-items:nth-child(1) .accordion-icon {
  background: var(--primary-gradient-2);
}

.accordion-items:nth-child(2) .accordion-icon {
  background: var(--secondary-gradient);
}

.accordion-items:nth-child(3) .accordion-icon {
  background: var(--accent-gradient);
}

.accordion-items:nth-child(4) .accordion-icon {
  background: var(--green-gradient);
}

.accordion-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
}

.accordion-title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 600;
}

.accordion-indicator {
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.4s ease;
}

.accordion-indicator::before,
.accordion-indicator::after {
  content: "";
  position: absolute;
  background: var(--text-primary);
  transition: all 0.4s ease;
}

.accordion-indicator::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.accordion-indicator::after {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.accordion-items.active .accordion-indicator {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.accordion-items.active .accordion-content {
  max-height: 1000px;
}

.accordion-body {
  padding: 0 2rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.accordion-feature {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 3px solid;
  transition: all 0.3s ease;
}

.accordion-feature:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.accordion-items:nth-child(1) .accordion-feature {
  border-color: #667eea;
}

.accordion-items:nth-child(2) .accordion-feature {
  border-color: #f093fb;
}

.accordion-items:nth-child(3) .accordion-feature {
  border-color: #4facfe;
}

.accordion-items:nth-child(4) .accordion-feature {
  border-color: #43e97b;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Watermark Number */

/* Estado inicial (cerrado) */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease; /* transición rápida y suave */
}

/* Estado abierto (el JS define la altura real con scrollHeight) */
.accordion-items.active .accordion-content {
  overflow: hidden; /* asegura que no aparezcan scrollbars */
}

/* Opcional: mejorar accesibilidad visual */
.accordion-header {
  cursor: pointer;
  user-select: none;
}

.accordion-header:focus {
  outline: 2px solid var(--primary-color, #43e97b);
  outline-offset: 2px;
}

.accordion-items::after {
  content: attr(data-number);
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  font-size: 10rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}
.delay-4 {
  animation-delay: 0.8s;
}

/* Responsive */
@media (max-width: 900px) {
  .accordion-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .scroll-indicator i {
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    margin-top: -150px;
  }
  .section-title {
    font-size: 2.2rem;
  }

  .accordion-header {
    padding: 1.5rem;
  }

  .accordion-title-wrapper {
    gap: 1rem;
  }

  .accordion-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .accordion-title {
    font-size: 1.3rem;
  }

  .accordion-items::after {
    font-size: 6rem;
    right: 1rem;
  }

  .accordion-body {
    padding: 0 1.5rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .accordion-header {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 3rem; /* espacio para el + */
    position: relative;
  }

  .accordion-indicator {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%); /* ✅ centrado vertical */
  }

  .accordion-title {
    word-break: break-word;
    line-height: 1.4;
  }
  .accordion-title-wrapper {
    align-items: flex-start;
  }

  .accordion-icon {
    margin-bottom: 0.5rem; /* opcional: separa icono del texto en mobile */
  }

  .accordion-title {
    word-break: break-word;
    line-height: 1.4;
  }
}

/* Ajustar el espaciado del primer elemento del acordeón */
.accordion-items:first-child {
  margin-top: 0;
}

/* Aumentar el espacio entre el header y el contenido */
.accordion-content {
  padding-top: 0.5rem;
}

/* Ajustar el espaciado interno del cuerpo del acordeón */
.accordion-body {
  padding: 0.5rem 2rem 2rem;
  gap: 1.2rem;
}

/* Aumentar el margen inferior de cada item del acordeón */
.accordion-items {
  margin-bottom: 1.5rem;
}

/* ///////////////////////////////ajustes//////////////////////////////// */

/* Ajustar el espaciado para dispositivos móviles */
@media (max-width: 768px) {
  .accordion-body {
    padding: 0.5rem 1.5rem 1.5rem;
    gap: 1rem;
  }

  .accordion-items {
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 480px) {
  .accordion-body {
    padding: 0.5rem 1rem 1rem;
    gap: 0.8rem;
  }

  .accordion-items {
    margin-bottom: 1rem;
  }
}

/* 
***************************************** */
/* Contenedor fila scrollable */
.benefits-row {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem;
}

.benefits-row::-webkit-scrollbar {
  height: 10px;
}
.benefits-row::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

/* Cards */
.benefit-card {
  position: relative;
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Marca de agua */
.benefit-card::before {
  content: attr(data-number);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.027);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.modern-timeline {
  margin-top: 1.5rem;
  padding-left: 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  position: relative;
}

.timeline-block {
  position: relative;
  margin-bottom: 1.8rem;
  padding-left: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.timeline-block:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.6rem;
}

.timeline-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-content {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

.timeline-block .dot {
  position: absolute;
  left: -2.2rem;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a1ff5eec, #00ffcc);
  box-shadow: 0 0 12px rgba(161, 255, 94, 0.411);
  transform: scale(0.6);
  opacity: 0;
  transition: all 0.5s ease;
}

.timeline-block.visible .dot {
  opacity: 1;
  transform: scale(1);
}

/* Línea central animada */
.modern-timeline::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, #a2ff5e, #00ffcc);
  animation: drawline 3s ease forwards;
}

@keyframes drawline {
  to {
    height: 100%;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-block .dot {
    margin-left: -2px;
  }

  .modern-timeline {
    padding-left: 1.2rem;
  }

  .timeline-block {
    margin-bottom: 1.4rem;
  }

  .timeline-block .dot {
    left: -1.5rem;
  }
}
/* 
------------------------------------------------------- */

.glass-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg);
}

/* Header con efecto glass premium mejorado */
.premium-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-xl);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), 0 5px 15px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.premium-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(161, 255, 94, 0.1) 0%,
    transparent 70%
  );
  transform: rotate(15deg);
  pointer-events: none;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: var(--primary-gradient);
  color: #0f172a;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(161, 255, 94, 0.3);
  letter-spacing: 0.5px;
}

.premium-title-i {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(90deg, #fff 0%, #a1ff5e 50%, #00ffcc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.premium-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 0.3px;
}

/* Grid de tarjetas mejorado */
.crisis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: var(--spacing-xl);
}
.crisis-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);

  transition: var(--transition);
  opacity: 1;
  transform: translateY(30px);
  position: relative;
  overflow: hidden;
}

.crisis-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.crisis-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.crisis-card:hover {
  /* transform: translateY(-5px) scale(1); */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 10px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.crisis-card:hover::before {
  transform: scaleX(1);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.card-icon {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  border-radius: 14px;
  margin-right: var(--spacing-sm);
  box-shadow: 0 5px 15px rgba(161, 255, 94, 0.3);
  transition: var(--transition);
}

.crisis-card:hover .card-icon {
  /* transform: rotate(10deg) scale(1.1); */
}

.card-icon i {
  font-size: 1.6rem;
  color: #0f172a;
}

.card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.card-list {
  list-style: none;
}

.card-list li {
  position: relative;
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
  font-weight: 300;
  transition: var(--transition);
}

.card-list li:hover {
  color: var(--text-primary);
  transform: translateX(5px);
}

.card-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 1.5rem;
  line-height: 1;
}
/* Sección de cierre mejorada */
.closing-section {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-bottom: var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

.closing-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(0, 255, 204, 0.1),
    transparent 40%
  );
  pointer-events: none;
}

.closing-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(90deg, #fff 0%, #a1ff5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  letter-spacing: -0.5px;
}

.closing-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  font-weight: 300;
}

.highlight {
  color: var(--accent-color);
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.highlight:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Animaciones mejoradas */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}
.delay-6 {
  animation-delay: 0.6s;
}

/* Responsive mejorado */
@media (max-width: 1024px) {
  .premium-title {
    font-size: 3rem;
  }
  .premium-title-2 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .glass-container {
    padding: 0.5px; /* elimina el padding que achica */
    max-width: 100%; /* ocupar todo el ancho */
    width: 100%; /* un poco de margen lateral */
  }

  .premium-title {
    font-size: 2.5rem;
  }
  .premium-title-2 {
    font-size: 2.5rem;
  }

  .premium-subtitle,
  .closing-text {
    font-size: 1.1rem;
  }

  .crisis-grid {
    grid-template-columns: 1fr;
  }

  .crisis-card {
    padding: var(--spacing-md);
  }

  .card-title {
    font-size: 1.5rem;
  }

  .card-icon {
    width: 50px;
    height: 50px;
  }

  .closing-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .premium-title {
    font-size: 2rem;
  }
  .premium-title-2 {
    font-size: 2rem;
  }

  .premium-header,
  .closing-section {
    padding: 1.2rem;
    /* padding: var(--spacing-md); */
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-icon {
    margin-bottom: var(--spacing-sm);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .hero__card-2 {
    padding: 1.5rem;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .card-title {
    font-size: 1.6rem;
  }
  .card-text {
    font-size: 0.95rem;
  }
}

.benefit-card {
  background: var(--color-bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(155, 255, 85, 0.2);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(155, 255, 85, 0.1),
    rgba(57, 199, 255, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.benefit-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.benefit-text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* 🔹 Responsive */
@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr); /* tablets → 2 columnas */
  }
}

@media (max-width: 600px) {
  .benefits-grid {
    grid-template-columns: 1fr; /* móviles → 1 columna */
    gap: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem; /* títulos más compactos en móvil */
    margin-bottom: 20px;
    line-height: 1.3; /* 🔽 más pegado */
    letter-spacing: -0.1px; /* 🔽 ajusta suavemente separación letras */
  }

  .section-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .benefit-card {
    padding: 1.5rem; /* un poco menos de padding en móvil */
  }
}

.hero-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero__card {
  border-radius: var(--rad-xl);
  padding: 32px;
  max-width: 540px;
  margin: 0 auto;
  transform: translateZ(0);
  background: radial-gradient(
      400px 180px at 70% -10%,
      rgba(162, 255, 94, 0.25),
      transparent
    ),
    radial-gradient(
      220px 140px at -10% 110%,
      rgba(74, 207, 255, 0.25),
      transparent
    ),
    var(--grad-card);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);

  text-align: center; /* ✅ centra los elementos inline */
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(74, 207, 255, 0.2);
  border: 1px solid rgba(74, 207, 255, 0.45);
  color: #d6f2ff;
  font: 600 0.9rem var(--ff-h);
  backdrop-filter: blur(8px);

  margin: 0 auto; /* ✅ asegura que se centre */
}

.hero__chip {
  justify-content: center;
  align-items: center;

  text-align: center;
}

@media (max-width: 980px) {
  .hero .container {
    gap: 2rem;
  }
  .hero__card {
    margin: 0 20px;
    max-width: 100%;
  }
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }
  .hero__cta .btn {
    width: 100%;
    max-width: 300px;
  }
}

.hero__card {
  margin-bottom: 32px; /* 🔽 agrega espacio debajo de la primera tarjeta */
}

.hero__card-2 {
  margin-top: 32px; /* 🔽 asegura separación al iniciar la segunda */
}

/* Opcional: en pantallas pequeñas aún más espacio */
@media (max-width: 600px) {
  .hero__card {
    margin-bottom: -90px;
  }

  .hero__card-2 {
    margin-top: 100px;
  }
}

/* 
******************************************************** */

/* Panel lateral con imagen */
.side-panel {
  padding: calc(var(--spacing-xl) + 3.5rem) var(--spacing-xl) var(--spacing-xl);
  text-align: center;
  background: linear-gradient(rgba(11, 17, 32, 0.85), rgba(11, 17, 32, 0.95)),
    url("/IMG-2.jpg") center/cover;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.side-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0.15;
  z-index: -1;
}

/* Panel lateral centrado en web */
.side-panel {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centra verticalmente */
  align-items: center; /* Centra horizontalmente */
  text-align: center; /* Centra el texto */
  min-height: 100vh; /* Ocupa toda la altura de la ventana */
  padding: 2rem;
}

.premium-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(
    to right,
    #00b894,
    #00cec9,
    #0984e3
  ); /* fijo y recto */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  font-weight: bold;
  line-height: 1.19; /* 🔽 más pegado */
  letter-spacing: -0.1px; /* 🔽 ajusta suavemente separación letras */

  font-family: "Playfair Display", serif;
  font-size: 2.5rem;

  background-clip: text;
  color: transparent;
  font-weight: 700;
}

#como-funciona .main-content {
  max-width: 1000px; /* evita que se estire demasiado */
  width: 100%;
  margin: 0 auto; /* centra el bloque */
}

/* Solo centra el título "Base Científica Sólida" */
.studies-section .studies-header .section-title {
  text-align: center;
  margin: 0 auto; /* asegura que quede en el centro */
  display: block; /* se comporta como bloque */
}

/* Solo centra y estiliza "Certificaciones Internacionales" */
.certifications-section .section-title-2 {
  text-align: center;

  font-weight: 700; /* opcional: más énfasis */
  font-size: 2rem; /* opcional: tamaño mayor */
  line-height: 1.19; /* 🔽 más pegado */
  letter-spacing: -0.1px; /* 🔽 ajusta suavemente separación letras */
}

/* Ajustes de ancho para pantallas grandes */
@media (min-width: 992px) {
  .side-panel {
    margin: 0 auto; /* Centrado horizontal */
    padding: calc(var(--spacing-xl) + 1.9rem) var(--spacing-xl)
      var(--spacing-xl);
    text-align: center;
    background: linear-gradient(rgba(11, 17, 32, 0.85), rgba(11, 17, 32, 0.95)),
      url("/IMG-2.jpg") center/cover;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.logo {
  margin-bottom: var(--spacing-xl);
}

.logo h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  background: linear-gradient(90deg, #fff 0%, #a1ff5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

.side-content {
  max-width: 500px;
}

.side-title {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

.side-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-lg);
}

.side-features {
  list-style: none;
}

.side-features li {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-sm);
  font-weight: 500;
}

.side-features li i {
  color: var(--accent-color);
  margin-right: var(--spacing-xs);
  font-size: 1.2rem;
}

/* Contenido principal */
.main-content {
  width: 60%;
  padding: var(--spacing-xl);
  /* overflow-y: auto;
          max-height: 100vh; */
}

.main-header {
  margin-bottom: var(--spacing-xl);
  text-align: center; /* ✅ centra inline-flex hijos */
}

.main-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: var(--primary-gradient);
  color: #0f172a;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  margin: 0 auto var(--spacing-md); /* ✅ centrado */
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(161, 255, 94, 0.3);
}

.main-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
  background: linear-gradient(90deg, #fff 0%, #a1ff5e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
}

/* Grid de estadísticas con imágenes */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: var(--spacing-xl);
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  display: flex;
  align-items: center;
  /* opacity: 0; */
  transform: translateY(20px);
}

.stat-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(161, 255, 94, 0.3);
}

.stat-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  border-radius: 12px;
  margin-right: var(--spacing-md);
  font-size: 1.5rem;
  color: #0f172a;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Sección de alianzas */
.alliances-section {
  margin-bottom: var(--spacing-xl);
  text-align: center; /* ✅ centra el h2 */
}

.section-title-2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  position: relative;
  display: inline-block; /* mantiene el subrayado si lo agregas */
}

.certifications-section {
  margin-bottom: var(--spacing-xl);
  text-align: center; /* centra el h2 */
  line-height: 1.3; /* 🔽 más pegado */
}

.section-title-2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 90px;
  height: 3px;
  /* background: var(--primary-gradient); */
  border-radius: 3px;
}

.alliances-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.alliance-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: var(--transition);
  /* opacity: 0; */
  transform: translateY(20px);
}

.alliance-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.alliance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.alliance-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--spacing-sm);
  border: 3px solid var(--glass-border);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.alliance-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.alliance-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
/* Sección de certificaciones */
.certifications-section {
  margin-bottom: var(--spacing-xl);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.certification-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--border-radius);
  padding: var(--spacing-md);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  transition: var(--transition);
  /* opacity: 0; */
  transform: translateY(20px);
}

.certification-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.certification-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.certification-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  border-radius: 50%;
  margin-right: var(--spacing-md);
  font-size: 1.2rem;
  color: #0f172a;
}

.certification-name {
  font-weight: 500;
  font-size: 0.95rem;
  text-align: left;
}

/* Sección de estudios */
.studies-section {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--border-radius);
  padding: var(--spacing-lg);
  border: 1px solid var(--glass-border);
  margin-bottom: var(--spacing-xl);
}

.studies-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.studies-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-gradient);
  border-radius: 12px;
  margin-right: var(--spacing-md);
  font-size: 1.5rem;
}

.studies-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.study-item {
  display: flex;
  align-items: center;
}

.study-item i {
  color: var(--accent-color);
  margin-right: var(--spacing-sm);
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .side-panel,
  .main-content {
    width: 100%;
    min-height: auto;
  }

  .side-panel {
    padding: var(--spacing-lg);
    text-align: center;
  }

  .side-content {
    max-width: 100%;
  }

  .stats-grid,
  .alliances-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .stats-grid,
  .alliances-grid,
  .studies-content {
    grid-template-columns: 1fr;
  }

  .main-title {
    font-size: 2rem;
  }

  .side-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .side-panel,
  .main-content {
    padding: var(--spacing-md);
  }

  .stat-card {
    flex-direction: column;
    text-align: center;
  }

  .stat-icon {
    margin-right: 0;
    margin-bottom: var(--spacing-sm);
  }

  .main-title {
    font-size: 1.8rem;
  }

  .side-title {
    font-size: 1.8rem;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 1s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}
.delay-2 {
  animation-delay: 0.2s;
}
.delay-3 {
  animation-delay: 0.3s;
}
.delay-4 {
  animation-delay: 0.4s;
}
.delay-5 {
  animation-delay: 0.5s;
}
.delay-6 {
  animation-delay: 0.6s;
}

/* 
///////////////////////////////////////////////////////////////////////////////////////////////////////////// */
/* Premium Check List */
.premium-check-block {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 4rem;
  border: 1px solid var(--glass-border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.premium-check-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(255, 255, 255, 0.1),
    transparent 70%
  );
  z-index: 0;
}

.check-list {
  list-style: none;
  position: relative;
  z-index: 2;
}

.check-item {
  display: flex;
  align-items: flex-start;
  padding: 2rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  border-left: 4px solid;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* overlay sutil que aparece al hover (ya lo tenías) */
.check-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.check-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.check-item:hover::before {
  opacity: 1;
}

/* Colores por ítem */
.check-item:nth-child(1) {
  border-color: #667eea;
}
.check-item:nth-child(2) {
  border-color: #f093fb;
}
.check-item:nth-child(3) {
  border-color: #4facfe;
}
.check-item:nth-child(4) {
  border-color: #43e97b;
}

.check-icon {
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 1.5rem;
  font-size: 1.5rem;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.check-item:nth-child(1) .check-icon {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.2) 0%,
    rgba(118, 75, 162, 0.2) 100%
  );
  color: #667eea;
}

.check-item:nth-child(2) .check-icon {
  background: linear-gradient(
    135deg,
    rgba(240, 147, 251, 0.2) 0%,
    rgba(245, 87, 108, 0.2) 100%
  );
  color: #f093fb;
}

.check-item:nth-child(3) .check-icon {
  background: linear-gradient(
    135deg,
    rgba(79, 172, 254, 0.2) 0%,
    rgba(0, 242, 254, 0.2) 100%
  );
  color: #4facfe;
}

.check-item:nth-child(4) .check-icon {
  background: linear-gradient(
    135deg,
    rgba(67, 233, 123, 0.2) 0%,
    rgba(56, 249, 215, 0.2) 100%
  );
  color: #43e97b;
}

.check-icon::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
}

.check-icon i {
  position: relative;
  z-index: 2;
}

.check-content {
  flex-grow: 1;
}

/* Títulos de cada ítem */
.check-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #08af7d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.21;
  letter-spacing: -0.1px;
}

.check-text {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-primary);
}

/* --- ESTILOS QUE FALTABAN: VISUAL PARA .active (cuando JS añade la clase) --- */
.check-item.active {
  transform: translateY(0) scale(1.04);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.158),
    rgba(255, 255, 255, 0.04)
  );
  /* background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04)); */
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.25);
  border-left-width: 6px;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1),
    box-shadow 0.6s ease, background 0.6s ease;
}

/* brillos puntuales en el icono cuando está activo */
.check-item.active .check-icon {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12) inset,
    0 6px 24px rgba(0, 0, 0, 0.12);
  transform: translateZ(0);
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  background: linear-gradient(135deg, #ffffff, #a2b6ff);
  animation: float 15s infinite ease-in-out;
}

.floating-element:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 20%;
  left: 5%;
  animation-delay: 0s;
}
.floating-element:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 65%;
  left: 8%;
  animation-delay: -5s;
}
.floating-element:nth-child(3) {
  width: 100px;
  height: 100px;
  top: 40%;
  right: 5%;
  animation-delay: -10s;
}
.floating-element:nth-child(4) {
  width: 60px;
  height: 60px;
  top: 75%;
  right: 10%;
  animation-delay: -7s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(10deg);
  }
  66% {
    transform: translateY(20px) rotate(-10deg);
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes checkReveal {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease forwards;
}

.check-reveal {
  opacity: 0;
  transform: translateX(-30px);
  animation: checkReveal 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}
.delay-4 {
  animation-delay: 0.8s;
}

/* Responsive */
@media (max-width: 900px) {
  .premium-check-block {
    padding: 3rem;
  }
  .check-item {
    padding: 1.5rem;
  }
  .check-icon {
    min-width: 50px;
    height: 50px;
    font-size: 1.2rem;
    margin-right: 1.2rem;
  }
  .check-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .invert {
    padding: 5rem 0;
  }
  .section__head h2 {
    font-size: 2.5rem;
  }
  .premium-check-block {
    padding: 2.5rem;
  }
  .check-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .check-icon {
    margin-bottom: 1rem;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .section__head h2 {
    font-size: 2rem;
  }
  .section__desc {
    font-size: 1rem;
  }
  .premium-check-block {
    padding: 1.5rem;
  }
  .check-item {
    padding: 1.2rem;
  }
  .check-text {
    font-size: 1rem;
  }
  .floating-element {
    display: none;
  }
}

/* Respect user reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .floating-element,
  .reveal,
  .check-reveal,
  .check-item,
  .check-item.active {
    animation: none !important;
    transition: none !important;
  }
}

/* 
*********************************************************************** */
.plans-section .section-title {
  text-align: center; /* ✅ centra el texto */
  display: block; /* asegura que ocupe toda la línea */
  width: 100%; /* se expande para usar el centrado */
}

/* ---------------------------
       PLANES MEJORADOS (ACTUALIZADO)
    --------------------------- */
.plans-section {
  position: relative;
}

.share-container {
  text-align: center;
  margin-bottom: 4rem;
}

.compartir-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 2px solid rgba(218, 165, 32, 0.705);
  color: rgba(218, 165, 32, 0.705);
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 4rem;
}

.compartir-btn:hover {
  background: rgba(218, 165, 32, 0.466);
  /* background: var(--primary); */
  color: white;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.plan-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  /* border: 1px solid rgba(36, 211, 144, 0.76); */
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.plan-card.featured {
  transform: scale(1.03);
  border: 2px solid rgba(162, 248, 23, 0.541);
  /* border: 2px solid var(--primary); */
  box-shadow: 0 15px 35px rgba(108, 99, 255, 0.2);
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  /* border-color: var(--primary); */
  border: 1px solid rgba(36, 211, 144, 0.76);
}

.plan-card.featured:hover {
  transform: translateY(-8px) scale(1.03);
}

.plan-header {
  padding: 2rem;
  text-align: center;
  position: relative;
}

.plan-header-gratis {
  background: linear-gradient(135deg, #91d18b, #c1e1a6b4);
  border-radius: 14px;
}

/* 
    ************************ */

.plan-header-gratis {
  background: linear-gradient(
    135deg,
    rgba(145, 209, 139, 0.589),
    rgba(193, 225, 166, 0.35)
  );
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 8px 25px rgba(145, 209, 139, 0.25),
    inset 0 0 15px rgba(255, 255, 255, 0.08);
  color: #fff; /* para mantener buen contraste */
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}

/* efecto de brillo sutil animado */
.plan-header-gratis::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 234, 234, 0),
    transparent 60%
  );
  transform: rotate(25deg);
  animation: shine 8s linear infinite;
}

@keyframes shine {
  0% {
    transform: translate(-30%, -30%) rotate(25deg);
  }
  50% {
    transform: translate(30%, 30%) rotate(25deg);
  }
  100% {
    transform: translate(-30%, -30%) rotate(25deg);
  }
}

.plan-header-standard {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(108, 184, 230, 0.25),
    rgba(157, 217, 243, 0.15)
  );
  border-radius: 14px;
  padding: 1.2rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15),
    /* sombra realista */ inset 0 1px 1px rgba(255, 255, 255, 0.4),
    /* brillo interno */ inset 0 -1px 2px rgba(0, 0, 0, 0.1); /* contraste interno */
  overflow: hidden;
}

/* Efecto de brillo/reflejo diagonal */
.plan-header-standard::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.05) 40%,
    transparent 60%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}
.plan-header-mind {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(108, 212, 143, 0.25),
    rgba(230, 157, 179, 0.15)
  );
  border-radius: 14px;
  padding: 1.2rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 1px rgba(81, 252, 209, 0.4), inset 0 -1px 2px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: #fff;
}

/* Reflejo de cristal */
.plan-header-mind::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    transparent 60%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
}

/* Canvas de partículas */
.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* *********************************     */
.plan-header-evolut {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(65, 195, 255, 0.651),
    /* #a177e8 */ rgba(207, 230, 245, 0.397) /* #c7b5ff */
  );
  border-radius: 14px;

  /* Efecto glass */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  /* Bordes y sombras sutiles */
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15),
    /* sombra externa */ inset 0 1px 1px rgba(255, 255, 255, 0.4),
    /* brillo interno superior */ inset 0 -1px 2px rgba(0, 0, 0, 0.1); /* sombra interna inferior */
  overflow: hidden;
}

/* Reflejo de cristal */
.plan-header-evolut::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    transparent 60%
  );
  transform: skewX(-25deg);
  pointer-events: none;
}

.plan-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.price-01 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.plan-content {
  padding: 1.5rem;
  /* margin-left: -20px; */
}

.plan-content ul {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-content li {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.li-destacado {
  font-weight: 600;
  color: var(--text-light) !important;
}

.li-destacado {
  display: flex;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  padding: 10px 0;
  list-style: none;
  margin-bottom: 1rem;
  border-bottom: 0.3px solid #ddd;
}

.plan-content li i {
  color: var(--secondary);
  min-width: 20px;
}

.note {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-style: italic;
}

/*     
    ***************************************PDF**************** */
.btn-pdf {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  background-color: #0066cc;
  color: white;
  border: none;
}

.btn-pdf:hover {
  background-color: #004a99;
}

.pdf-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  overflow-y: auto; /* Permite scroll en el modal */
}

.pdf-modal-content {
  position: relative;
  margin: 5% auto;
  width: 95%;
  max-width: 600px;
  max-height: 99vh; /* Altura máxima */
  background: #301111b4;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto; /* Scroll interno si el contenido es muy largo */
}

#pdfCanvas {
  max-width: 100%;
  max-height: 99vh; /* Ajusta según necesidad */
  margin-bottom: 1rem;
}

/* Resto del CSS se mantiene igual */
.pdf-close {
  position: absolute;
  top: 8px;
  right: 17px;
  font-size: 37px;
  font-weight: bold;
  color: #61dd0f;
  cursor: pointer;
}

.pdf-controls {
  margin-top: 10px;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.pdf-controls button {
  padding: 6px 12px;
  font-size: 18px;
  cursor: pointer;
}

.pdf-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: #0f0; /* Verde */
  font-weight: bold;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top: 4px solid #0f0; /* Verde brillante */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* 

///////////////////////////// */
/* En escritorio → PDF más ancho */
@media (min-width: 992px) {
  .pdf-modal-content {
    max-width: 90%; /* Ocupa casi todo el ancho */
    width: 95%;
    height: 95vh; /* Altura más grande */
    max-height: 90vh;
    background: #301111b4;
    padding: 2rem;
  }

  #pdfCanvas {
    max-width: 100%;
    max-height: 145vh; /* Aprovecha casi toda la pantalla */
  }
}

.popular-badge {
  position: absolute;
  top: 30px;
  right: -32px;
  background: linear-gradient(135deg, #ff4d4f, #ff6a00);
  color: white;
  padding: 6px 50px;
  font-size: 0.75rem;
  font-weight: 500;
  transform: rotate(45deg);
  z-index: 1;
  animation: fadeBounce 2s ease-in-out infinite;
  box-shadow: 0 4px 10px rgba(255, 77, 79, 0.2);
  letter-spacing: 1px;
}
/*     
        .discount-badge {
          position: absolute;
          top: 10px;
          left: 10px;
          background: linear-gradient(135deg, #00c9a7, #00a98a);
          color: white;
          padding: 5px 10px;
          border-radius: 20px;
          font-size: 0.75rem;
          font-weight: 500;
          z-index: 1;
          box-shadow: 0 4px 10px rgba(0, 201, 167, 0.2);
          display: flex;
          align-items: center;
          gap: 5px;
        } */

@keyframes fadeBounce {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }
  50% {
    transform: rotate(45deg) scale(1.08);
    opacity: 0.9;
  }
}

/* Entrada suave */
@keyframes badgeFadeIn {
  from {
    transform: translateY(-20px) scale(0.7);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Pulsación suave */
@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 77, 79, 0.3);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(255, 77, 79, 0.5);
  }
}

/* Badge animado para ahorro */
.discount-badge.animated-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #ff6a00, #ff4d4f);
  color: white;
  font-size: 0.65rem; /* reducido */
  font-weight: 600; /* más ligero */
  padding: 3px 9px; /* reducido */
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0 2px 10px rgba(255, 77, 79, 0.3);
  z-index: 10;
  text-transform: uppercase;
  animation: badgeFadeIn 1s ease-out forwards, badgePulse 2.5s infinite 1.2s;
  opacity: 0;
}

.discount-badge.animated-badge i {
  font-size: 0.85rem;
}

/* Entrada suave */
@keyframes badgeFadeIn {
  from {
    transform: translateY(-20px) scale(0.7);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Pulsación suave */
@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px rgba(255, 77, 79, 0.3);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(255, 77, 79, 0.5);
  }
}

.btn-center-wrapper {
  text-align: center;
  margin-top: 3rem;
}

.btn-pdf {
  display: inline-block;
  background: linear-gradient(135deg, #7bf18b98, #27e797);
  color: #fff;
  padding: 1rem 5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(202, 201, 229, 0.4);
}

.btn-pdf:hover {
  background-color: #004a99;
}

.btn-wrapper {
  text-align: center; /* centra el botón */
  margin-top: 20px;
}
.btn-wrapper {
  text-align: center;
  margin-top: 30px;
}

.btn-p {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  color: #070603;
  background: linear-gradient(135deg, #d4af37, #ffd900d8, #f5d76e, #b8860b);
  background-size: 300% 300%;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  animation: goldGlow 6s ease infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-p:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 35px rgba(255, 215, 0, 0.7);
  filter: brightness(1.1);
}

/* Animación gradiente líquido oro */
@keyframes goldGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/*     
///////////////////////////////////horario    */

/* ===== Horarios Premium ===== */
.schedule-section {
  padding: 5rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(15, 20, 30, 0.95),
    rgba(18, 25, 38, 0.98)
  );
  backdrop-filter: blur(12px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.schedule-section::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  /* background: radial-gradient(circle at 30% 40%, rgba(142, 197, 252, 0.1), transparent 70%),
              radial-gradient(circle at 70% 60%, rgba(224, 195, 252, 0.08), transparent 70%); */
  filter: blur(120px);
  z-index: 0;
  animation: ambientGlow 15s infinite alternate;
}

@keyframes ambientGlow {
  0% {
    opacity: 0.5;
  }
  100% {
    opacity: 0.9;
  }
}

.section-title-frase {
  background: linear-gradient(90deg, #7ef2c6, #8ec5fc, #e0c3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(2rem, 4vw, 2.7rem);
  margin-bottom: 1rem;
  line-height: 1.25; /* 🔽 más pegado */
  letter-spacing: -0.1px; /* 🔽 ajusta suavemente separación letras */
}

.testimonials-section .section-title {
  text-align: center;
  font-size: 2rem; /* opcional: más grande */
  font-weight: 700; /* opcional: más elegante */
  margin-bottom: 1rem; /* espacio con el divisor */
}

.divider {
  width: 90px;
  height: 4px;
  margin: 0 auto 2rem;
  border-radius: 50px;
  background: linear-gradient(90deg, #ffb6c1, #7ef2c6, #8ec5fc);
  box-shadow: 0 0 10px rgba(126, 242, 198, 0.3);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.time-block {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.03)
  );
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.time-block::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05),
    transparent 70%
  );
  z-index: 0;
  transition: transform 0.6s ease;
}

.time-block:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 32px rgba(126, 242, 198, 0.151);
}

.time-block:hover::after {
  transform: translate(20%, 20%);
}

.time-block h3 {
  font-size: clamp(1.2rem, 2vw, 1.35rem);
  margin-bottom: 0.5rem;
  color: #e0c3fc;
  position: relative;
  z-index: 1;
}

.time-block p {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.time-block i {
  font-size: clamp(1.6rem, 2.5vw, 1.9rem);
  color: #7ef2c6;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease, color 0.5s ease, text-shadow 0.5s ease;
  display: inline-block;
}

/* Animaciones por periodo */

.morning i {
  animation: sunrise 8s infinite ease-in-out;
  background: linear-gradient(45deg, #ffeb3b, #ff9800, #ffe082);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255, 235, 59, 0.3);
}

.afternoon i {
  animation: midday 8s infinite ease-in-out;
  background: linear-gradient(45deg, #ffeb3b, #f9a825, #ffca28);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 10px rgba(255, 235, 59, 0.3);
}

.night i {
  animation: moonlight 10s infinite ease-in-out;
  background: linear-gradient(45deg, #b0bec5, #455a64, #263238);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 8px rgba(176, 190, 197, 0.3),
    0 0 15px rgba(255, 255, 255, 0.1); /* Estrellas */
}

.time-block.active i {
  transform: scale(1.3);
  color: #fff;
  text-shadow: 0 0 20px rgba(126, 242, 198, 0.6),
    0 0 30px rgba(255, 255, 255, 0.2);
  animation: activeGlow 2s infinite alternate;
}

@keyframes activeGlow {
  0% {
    text-shadow: 0 0 15px rgba(126, 242, 198, 0.5),
      0 0 25px rgba(255, 255, 255, 0.1);
  }
  100% {
    text-shadow: 0 0 25px rgba(126, 242, 198, 0.7),
      0 0 35px rgba(255, 255, 255, 0.3);
  }
}

/* Animaciones del ciclo del día */
@keyframes sunrise {
  0% {
    transform: translateY(15px) rotate(-10deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-5px) rotate(5deg);
    opacity: 0.9;
  }
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
}
@keyframes midday {
  0% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15) rotate(5deg);
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 235, 59, 0.8);
  }
  100% {
    transform: scale(1) rotate(-5deg);
    opacity: 0.9;
  }
}

@keyframes moonlight {
  0% {
    transform: translateY(10px) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-10px) scale(1.1);
    opacity: 0.9;
    text-shadow: 0 0 10px #fff, 0 0 20px #b0bec5;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 0.7;
  }
}

/* Media Query para móviles */
@media (max-width: 768px) {
  .scroll-down-indicator-pro {
    position: absolute;
    bottom: 10rem; /* distancia desde abajo */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 4; /* sobre el overlay */
  }

  .schedule-section {
    padding: 3.5rem 1rem;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .time-block {
    padding: 1.5rem 1rem;
    border-radius: 1.2rem;
  }

  .time-block i {
    font-size: clamp(1.5rem, 2.5vw, 1.6rem);
  }
}

@media (max-width: 768px) {
  .section-sub {
    font-size: 0.95rem; /* ligeramente más pequeño en móvil */
    line-height: 1.5; /* menos espaciado */
    margin: 0 0 1rem;
  }
}

/* ===========================
   Centro: blockquote + author
   =========================== */
.testimonial,
.frase {
  display: flex;
  flex-direction: column;
  align-items: center; /* centra horizontalmente */
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Ajuste de la cita para mantener legibilidad y centrado */
.testimonial blockquote,
.frase blockquote {
  max-width: 72ch;
  margin: 0;
  padding: 0 1rem;
  font-size: 1.35rem;
  line-height: 1.85;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  word-break: break-word;
  display: block;
  transition: transform 0.3s ease;
}

.testimonial blockquote:hover,
.frase blockquote:hover {
  transform: scale(1.01);
}

/* Firma / autor centrado y elegante */
.testimonial .author,
.frase .author {
  display: inline-block;
  margin-top: 0.25rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: #7ef2c6;
  letter-spacing: 0.8px;
  opacity: 0.95;
  text-align: center;
}

/* Guion decorativo controlado por pseudo-elemento */
.testimonial .author::before,
.frase .author::before {
  content: "—";
  margin-right: 0.6rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

/* Evitar doble guion si el HTML ya lo incluye */
.testimonial .author[data-hassymbol="true"]::before,
.frase .author[data-hassymbol="true"]::before {
  content: "";
}

/* Animaciones */
@keyframes glowDivider {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(255, 182, 193, 0.6);
  }
  50% {
    box-shadow: 0 0 28px rgba(126, 242, 198, 0.7);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive ajustes */
@media (max-width: 600px) {
  .testimonial blockquote,
  .frase blockquote {
    font-size: 1.05rem;
    max-width: 48ch;
    padding: 0 0.75rem;
  }
  .testimonial .author,
  .frase .author {
    font-size: 0.95rem;
  }
}

/* 
/////////////////////////////////////// */

/* =========================
           SECCIONES GENERALES
        ========================= */
section {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0;
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1;
  pointer-events: none;
}

section:not(.invert)::before {
  bottom: 0;
  background: linear-gradient(to bottom, transparent, var(--bg-1));
}

section.invert::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-1), transparent);
}

section:not(.invert) {
  background: var(--grad-page);
}

.invert {
  background: radial-gradient(
      1000px 600px at 10% 20%,
      rgba(162, 255, 94, 0.15),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 100% 10%,
      rgba(74, 207, 255, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #0c0f16 0%, #0a0c12 100%);
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

/* TRUST */
.trust__grid .card {
  height: 100%;
}
.trust__logo {
  font-size: var(--icon-lg);
  color: #d5f0c6;
}

/* STEPS */
.step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: #0a1508;
  font: 700 1.1rem var(--ff-h);
  background: var(--grad-btn);
  box-shadow: 0 0 18px rgba(161, 255, 94, 0.253);
}

/* SERVICES */
.service__title {
  margin: 16px 0 8px;
}
.service .icon {
  font-size: var(--icon-xl);
}

/* STATS */
.stat {
  display: grid;
  gap: 10px;
  place-items: center;
  text-align: center;
  padding: 28px;
  background: linear-gradient(
    145deg,
    rgba(162, 255, 94, 0.12),
    rgba(74, 207, 255, 0.1)
  );
  border: 1px solid rgba(162, 255, 94, 0.32);
  border-radius: var(--rad);
  backdrop-filter: blur(12px);
}
.stat strong {
  font: 700 1.8rem var(--ff-h);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat span {
  color: var(--muted);
  font-size: var(--fs-md);
}

/* LIST CHECK */
.list-check {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 24px auto 0;
  padding: 0;
}
.list-check li {
  list-style: none;
  position: relative;
  padding-left: 42px;
  color: var(--muted);
  line-height: 1.7;
}
.list-check li strong {
  color: var(--txt);
  font-weight: 600;
}
.list-check li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: radial-gradient(
    110% 110% at 30% 20%,
    rgba(162, 255, 94, 0.95),
    rgba(74, 207, 255, 0.75)
  );
  box-shadow: 0 0 20px rgba(162, 255, 94, 0.7);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 512 512"><path d="M173.9 439.4L7 272.5c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0L192 312.7 448.5 56.1c9.4-9.4 24.6-9.4 33.9 0L505 78.7c9.4 9.4 9.4 24.6 0 33.9L205.6 439.4c-9.4 9.4-24.6 9.4-33.7 0z"/></svg>')
    center/18px 18px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 512 512"><path d="M173.9 439.4L7 272.5c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0L192 312.7 448.5 56.1c9.4-9.4 24.6-9.4 33.9 0L505 78.7c9.4 9.4 9.4 24.6 0 33.9L205.6 439.4c-9.4 9.4-24.6 9.4-33.7 0z"/></svg>')
    center/18px 18px no-repeat;
}

/* PAIN */
.pain .card {
  border-color: rgba(255, 140, 140, 0.25);
}
.pain .icon {
  color: #ffc9c9;
  background: radial-gradient(
    120% 120% at 30% 20%,
    rgba(255, 160, 160, 0.35),
    rgba(255, 230, 230, 0.15)
  );
}

/* VIDEO */
.video {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--rad-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-s);
  background: linear-gradient(
    145deg,
    rgba(162, 255, 94, 0.1),
    rgba(74, 207, 255, 0.08)
  );
  display: grid;
  place-items: center;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-placeholder {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  color: var(--muted);
  cursor: pointer;
  transition: all var(--t);
}
.video-placeholder:hover {
  color: var(--txt);
}
.video-placeholder i {
  font-size: 64px;
  color: var(--accent);
  transition: transform var(--t);
}
.video-placeholder:hover i {
  transform: scale(1.1);
}

/* FAQ */
.faq {
  max-width: 920px;
  margin-inline: auto;
}
.faq-item {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--rad);
  padding: 20px 24px;
  transition: all var(--t);
  backdrop-filter: blur(12px);
}
.faq-item + .faq-item {
  margin-top: 16px;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  font: 600 var(--fs-lg) / 1.4 var(--ff-h);
}
.faq-q i {
  font-size: var(--icon);
  transition: transform var(--t);
}
.faq-a {
  color: var(--muted);
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow);
}
.faq-a > div {
  overflow: hidden;
}
.faq-item[aria-expanded="true"] {
  background: linear-gradient(
    180deg,
    rgba(162, 255, 94, 0.15),
    rgba(255, 255, 255, 0.08)
  );
  border-color: rgba(162, 255, 94, 0.4);
}
.faq-item[aria-expanded="true"] .faq-a {
  grid-template-rows: 1fr;
}
.faq-item[aria-expanded="true"] .faq-q i {
  transform: rotate(180deg);
}
/* Más espacio entre la pregunta y el texto de la respuesta */
.faq-a p {
  margin-top: 12px; /* agrega espacio arriba del párrafo */
  line-height: 1.6; /* mejora legibilidad */
}

.faq-list {
  list-style: none; /* elimina viñetas por defecto */
  /* padding: 0;
  margin: 0; */
}

.faq-list li {
  margin: 16px 0; /* separa más entre cada li */
  /* font-size: 1rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px; */
}

.faq-list li i {
  color: var(--primary, #a2ff5e); /* verde wellness */
  font-size: 1.2em;
  margin-top: 4px; /* baja un poquito el icono para centrar */
}

.link-registro {
  color: var(--accent); /* usa tu color de acento */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.link-registro:hover {
  color: #5ccf52;
  text-shadow: 0 0 8px var(--accent);
}

/* TESTIMONIOS */
.testis {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .testis {
    grid-template-columns: 1fr;
  }
}
.quote {
  font-style: italic;
  color: var(--txt);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--rad-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.quote::before {
  content: '"';
  position: absolute;
  top: 15px;
  left: 20px;
  font-size: 60px;
  color: rgba(162, 255, 94, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
}
.quote p {
  z-index: 1;
  margin-bottom: 20px;
}
.quote .who {
  margin-top: auto;
  color: #d8edd6;
  font-weight: 600;
  font-style: normal;
  font-size: 0.95rem;
}

/* CTA */
/* --- CTA Container --- */
.cta-final {
  text-align: center;
  border-radius: var(--rad-xl);
  padding: 80px 40px;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  background: rgba(20, 20, 30, 0.6); /* base translúcida */
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

/* 🎨 Gradiente animado fluido */
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, #68ff4a91, transparent 50%),
    radial-gradient(circle at 80% 70%, #5ed9ff7e, transparent 50%),
    radial-gradient(circle at 50% 50%, #ff7ef92c, transparent 60%);
  animation: gradientShift 3s ease-in-out infinite alternate;
  filter: blur(80px);
  z-index: 0;
}

/* ✨ Animación de los gradientes (fluido, sin cortes bruscos) */
@keyframes gradientShift {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2) translate(-5%, 5%);
    opacity: 1;
  }
  100% {
    transform: scale(1.1) translate(5%, -5%);
    opacity: 0.9;
  }
}

/* Contenido encima */
.cta-final h2 {
  font-size: 2.8rem;
  color: #ffffffb0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.19;
  letter-spacing: -0.1px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.cta-final h2.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-final h2 .highlight {
  background: linear-gradient(90deg, #a2ff5e, #4affe1, #ff7ef8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  display: inline-block;
  animation: gradientFlow 4s ease infinite;
  background-size: 200% auto;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cta-final h2 span {
  display: inline-block;
  animation: breathing 4s ease-in-out infinite;
}

/* 🌊 Efecto de respiración (brillo suave + movimiento vertical) */
@keyframes breathing {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: brightness(1);
  }
  50% {
    transform: translateY(-3px) scale(1.05);
    opacity: 0.9;
    filter: brightness(1.2);
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: brightness(1);
  }
}

/* CTA h2 */
.cta-final h2 {
  font-size: 2.8rem;
  color: #ffffffb0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.19;
  letter-spacing: -0.1px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
  white-space: nowrap;
  overflow: hidden;
}

/* Cuando ya es visible */
.cta-final h2.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cursor parpadeante */
@keyframes blinkCursor {
  0%,
  50% {
    border-color: #a2ff5e;
  }
  51%,
  100% {
    border-color: transparent;
  }
}
#typing-title {
  animation: blinkCursor 0.8s infinite;
  min-height: 6rem; /* previene salto vertical al inicio */
}

/* Highlight con gradiente animado */
.cta-final h2 .highlight {
  /* background: linear-gradient(90deg, #a2ff5e, #4acfff, #ff7ef8); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  display: inline-block;
  background-size: 200% auto;
  animation: gradientFlow 6s ease infinite;
}
@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ✅ En pantallas pequeñas, permitir salto de línea en el typing */
@media (max-width: 768px) {
  #typing-title {
    white-space: normal; /* permite que el texto se divida en varias líneas */
    text-align: center; /* centra el texto en móvil */
    line-height: 1.3; /* más aire entre líneas */
    min-height: 6rem; /* previene salto vertical al inicio */
  }
}

.cta-final p {
  font-size: 1.2rem;
  color: #eee;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* Botones */
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.btn {
  padding: 15px 38px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  position: relative;
  z-index: 2;
}
.btn i {
  font-size: 1.2rem;
}

/* Botón primario */
.btn-primary {
  background: linear-gradient(135deg, #4acfff, #00aaff);
  color: #0e8b8b;
  box-shadow: 0 0 25px rgba(74, 207, 255, 0.6);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 35px rgba(74, 207, 255, 0.9);
}

/* Botón secundario */
.btn-secondary {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

/* Efecto Pulse en botón principal */
.pulse {
  animation: pulseGlow 3s infinite;
}
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 207, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 25px rgba(74, 207, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 207, 255, 0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cta-final {
    padding: 60px 24px;
  }
  .cta-final h2 {
    font-size: 2rem;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* 🎯 Botón con gradiente animado + ondas vibrantes */
.btn.pulse {
  position: relative;
  color: #250202;
  background: linear-gradient(135deg, #a2ff5e, #4acfff, #ff6b9d);
  background-size: 200% 200%;
  animation: gradientMove 6s ease infinite;
  box-shadow: 0 0 20px rgba(162, 255, 94, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 50px;
  overflow: visible; /* ✅ ahora las ondas sobresalen */
}

/* 🌊 Ondas vibrantes que sobresalen */
.btn.pulse::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 255, 94, 0.4), transparent 70%);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0.6;
  filter: blur(12px);
  animation: wavePulse 3s infinite ease-out;
  z-index: -1;
}

/* Texto e icono encima */
.btn.pulse span,
.btn.pulse i {
  position: relative;
  z-index: 2;
}

/* ✨ Movimiento suave del gradiente */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 🌊 Ondas expansivas que sobresalen */
@keyframes wavePulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.6;
  }
  70% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
}

/* Hover más dinámico */
.btn.pulse:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 0 35px rgba(162, 255, 94, 0.9), 0 0 60px rgba(74, 207, 255, 0.7);
}

/* Botones mejorados */
.hero__cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--rad-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--secondary),
    var(--primary),
    var(--accent)
  );
  background-size: 200% 200%;
  z-index: -1;
  transition: transform 0.3s ease;
  animation: buttonGradient 6s ease infinite;
}

.btn.pulse {
  /* color: var(--dark); */
  box-shadow: 0 0 50px rgba(162, 255, 94, 0.5);
  animation: pulse 2s infinite;
}

.btn.pulse:hover {
  animation: none;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(162, 255, 94, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline::before {
  background: rgba(255, 255, 255, 0.1);
  transform: scaleX(0);
  transform-origin: left;
  animation: none;
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover::before {
  transform: scaleX(1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(162, 255, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(162, 255, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(162, 255, 94, 0);
  }
}

@keyframes buttonGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* 

.cta-final::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  background: radial-gradient(circle at 20% 30%, rgba(74, 255, 74, 0.4), transparent 70%),
              radial-gradient(circle at 80% 70%, rgba(94, 105, 255, 0.623), transparent 70%),
              radial-gradient(circle at 50% 50%, rgba(255, 126, 248, 0.4), transparent 80%);
  filter: blur(120px);
  animation: auraMove 18s ease-in-out infinite alternate;
  z-index: 0;
} */

/* ✨ Movimiento fluido tipo aurora */
/* @keyframes auraMove {
  0% {
    background: radial-gradient(circle at 20% 30%, rgba(74,207,255,0.4), transparent 70%),
                radial-gradient(circle at 80% 70%, rgba(162,255,94,0.4), transparent 70%),
                radial-gradient(circle at 50% 50%, rgba(255,126,248,0.4), transparent 80%);
  }
  50% {
    background: radial-gradient(circle at 40% 40%, rgba(0,180,255,0.4), transparent 70%),
                radial-gradient(circle at 60% 80%, rgba(180,255,120,0.4), transparent 70%),
                radial-gradient(circle at 30% 60%, rgba(255,160,200,0.4), transparent 80%);
  }
  100% {
    background: radial-gradient(circle at 20% 70%, rgba(10, 165, 23, 0.4), transparent 70%),
                radial-gradient(circle at 80% 30%, rgba(162,255,94,0.4), transparent 70%),
                radial-gradient(circle at 50% 50%, rgba(126, 255, 126, 0.4), transparent 80%);
  }
}
 */
/* 🎨 Aura animada debajo del CTA */
/* 
.cta-final::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at 20% 30%, rgba(74, 207, 255, 0.219), transparent 70%),
              radial-gradient(circle at 80% 70%, rgba(161, 255, 94, 0.247), transparent 70%),
              radial-gradient(circle at 50% 50%, rgba(255, 126, 249, 0.336), transparent 80%);
  filter: blur(120px) hue-rotate(0deg);
  animation: auraHue 25s linear infinite, auraFloat 18s ease-in-out infinite alternate;
  z-index: 0;
  border-radius: 50%; 
}

@keyframes auraHue {
  0%   { filter: blur(120px) hue-rotate(0deg); }
  50%  { filter: blur(120px) hue-rotate(180deg); }
  100% { filter: blur(120px) hue-rotate(360deg); }
}


@keyframes auraFloat {
  0%   { transform: translateY(-8%) scale(1); }
  50%  { transform: translateY(8%) scale(1.15); }
  100% { transform: translateY(-5%) scale(1.05); }
} */

/* HISTORIAS DE ÉXITO */
.stories {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.story {
  background: var(--grad-card);
  border-radius: var(--rad-lg);
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.story:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-l);
  border-color: rgba(162, 255, 94, 0.4);
}

.story-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.story-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #0a1508;
}

.story-content {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.story-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.story-rating {
  color: #ffd700;
}

.story-avatar img {
  width: 60px; /* ajusta al tamaño que quieras */
  height: 60px;
  border-radius: 50%; /* para hacerlo circular */
  object-fit: cover; /* recorte elegante */
}

/* DIFERENCIAL */
.differential {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
/* 
//////////////////////////////////////////// */
:root {
  --accent: #a2ff5e;
  --gradient: linear-gradient(
    180deg,
    rgba(162, 255, 94, 1) 0%,
    rgba(74, 207, 255, 1) 100%
  );
  --shadow-l: 0 8px 20px rgba(0, 0, 0, 0.25);

  /* Ajustes finos */
  --timeline-left: 22px; /* posición de la línea vertical */
  --icon-lg: 46px; /* tamaño de los íconos */
  --icon-offset: 14px; /* centra ícono sobre la barra */
  --icon-bg: #0f172a; /* base sólida bajo el ícono */
  --card-bg: rgba(255, 255, 255, 0.06);
}

/* === Contenedor principal === */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 10px;
  z-index: 0;
}

/* Línea base (siempre debajo) */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--timeline-left);
  width: 3px;
  height: 100%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  z-index: 0;
}

/* Barra de progreso (debajo) */
.timeline-progress {
  position: absolute;
  top: 0;
  left: var(--timeline-left);
  width: 3px;
  height: 0;
  background: var(--gradient);
  border-radius: 4px;
  transition: height 0.65s cubic-bezier(0.25, 0.9, 0.3, 1);
  z-index: 0;
}

/* === Ítems === */
.timeline-item {
  position: relative;
  padding: 30px 0; /* Espacio vertical igual arriba y abajo */
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: all 0.65s cubic-bezier(0.25, 0.9, 0.3, 1);
  z-index: 1;
  display: flex;
  align-items: center; /* Centra verticalmente el contenido */
  min-height: 100px; /* Altura mínima consistente */
}

.timeline-item.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* === Íconos (centrados verticalmente con el contenido) === */
.timeline-icon {
  font-size: 1.2rem;
  width: var(--icon-lg);
  height: var(--icon-lg);
  display: grid;
  place-items: center;
  color: var(--accent);
  border-radius: 50%;
  background: radial-gradient(
      120% 120% at 30% 20%,
      rgba(162, 255, 94, 0.24),
      rgba(74, 207, 255, 0.16)
    ),
    var(--icon-bg);
  border: 1px solid rgba(162, 255, 94, 0.35);
  box-shadow: inset 0 0 14px rgba(162, 255, 94, 0.18),
    0 6px 16px rgba(0, 0, 0, 0.28);
  transition: transform 0.55s cubic-bezier(0.25, 0.9, 0.3, 1), filter 0.55s ease,
    color 0.55s ease, box-shadow 0.55s ease;
  position: absolute;
  left: calc(var(--timeline-left) - var(--icon-offset));
  top: 50%; /* Centrado vertical perfecto */
  transform: translateY(-50%);
  z-index: 3;
  /* Animación de flotación suave */
  animation: floatIcon 12s ease-in-out infinite;
  margin-top: 25px;
  margin-left: -12px;
}

/* Animación de flotación para los iconos */
@keyframes floatIcon {
  0%,
  100% {
    transform: translateY(-50%) translateY(0);
  }
  50% {
    transform: translateY(-50%) translateY(-5px);
  }
}

/* Hover manual o automático - mantiene los estilos originales pero con animación mejorada */
.timeline-icon.hovered,
.timeline-icon:hover {
  animation: hoverFloat 1.2s ease-in-out infinite;
  color: #fff;
  filter: drop-shadow(0 0 18px rgba(161, 255, 94, 0.301));
  box-shadow: 0 0 26px rgba(161, 255, 94, 0.178),
    inset 0 0 20px rgba(161, 255, 94, 0.171);
}

@keyframes hoverFloat {
  0%,
  100% {
    transform: translateY(-50%) translateY(-3px) scale(1.1);
  }
  50% {
    transform: translateY(-50%) translateY(2px) scale(1.05);
  }
}

/* Estado completado opcional con animación */
.timeline-item.completed .timeline-icon {
  background: linear-gradient(
    135deg,
    rgba(162, 255, 94, 1),
    rgba(74, 207, 255, 1)
  );
  color: #06121a;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(74, 207, 255, 0.25),
    inset 0 0 14px rgba(0, 0, 0, 0.12);
  animation: completedPulse 12s ease-in-out infinite;
}

@keyframes completedPulse {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
    box-shadow: 0 8px 20px rgba(74, 207, 255, 0.25),
      inset 0 0 14px rgba(0, 0, 0, 0.12);
  }
  50% {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 12px 28px rgba(74, 207, 255, 0.4),
      inset 0 0 18px rgba(0, 0, 0, 0.18);
  }
}

/* Diferentes delays para crear efecto de onda */
.timeline-item:nth-child(1) .timeline-icon {
  animation-delay: 0s;
}

.timeline-item:nth-child(2) .timeline-icon {
  animation-delay: 0.3s;
}

.timeline-item:nth-child(3) .timeline-icon {
  animation-delay: 0.6s;
}

.timeline-item:nth-child(4) .timeline-icon {
  animation-delay: 0.9s;
}

.timeline-item:nth-child(5) .timeline-icon {
  animation-delay: 1.2s;
}

/* === Tarjetas (contenido) === */
.timeline-content {
  margin-left: calc(var(--timeline-left) + var(--icon-lg) + 20px);
  padding: 20px 24px;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.089),
    rgba(255, 255, 255, 0.055)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.55);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  min-height: 100px; /* Altura mínima consistente */
  display: flex;
  flex-direction: column;

  justify-content: center; /* Centra el contenido verticalmente */
}

.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(2, 6, 23, 0.65);
}

.timeline-content h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  line-height: 1.3;
}

.timeline-content p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: #cbd5e1;
}
/* === Responsive === */
@media (max-width: 640px) {
  :root {
    --timeline-left: 16px;
    --icon-lg: 38px;
    --icon-offset: 11px;
  }

  .timeline-item {
    margin-bottom: 26px;
    padding-top: 22px;
  }
  .timeline-icon {
    top: -12px;
  }
  .timeline-content {
    margin-left: 60px;
    padding: 14px 16px;
  }
}

@media (max-width: 900px) {
  .differential {
    grid-template-columns: 1fr;
  }
}

.differential-content {
  padding-right: 20px;
}

.differential-image {
  position: relative;
  border-radius: var(--rad-lg);
  overflow: hidden;
  box-shadow: var(--shadow-l);
}

.differential-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(162, 255, 94, 0.1),
    rgba(74, 207, 255, 0.1)
  );
  z-index: 1;
}

.differential-feature {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.differential-feature i {
  color: var(--accent);
  font-size: 24px;
  margin-top: 5px;
}

/* FOOTER */
footer {
  background: #0a0c12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  padding-block: 40px;
  font-size: 0.95rem;
}
.fgrid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
}
.fgrid h3 {
  color: var(--txt);
  font-size: 1.1rem;
  margin-bottom: 18px;
  font-weight: 600;
}
.fgrid a {
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
  transition: color var(--t-fast);
}
.fgrid a:hover {
  color: var(--txt);
  transform: translateX(4px);
}
@media (max-width: 900px) {
  .fgrid {
    grid-template-columns: 1fr;
  }
}

/* Reset general, mantiene lo original en web */
footer .foot-grid h4 {
  margin-top: 0;
}

/* 📱 Solo en móviles */
@media (max-width: 768px) {
  footer .foot-grid div:nth-of-type(2) h4 {
    margin-top: 25px; /* ajusta a gusto */
  }
}

/* TO TOP - posición por defecto (móvil) */
.to-top {
  position: fixed;
  right: 24px; /* móvil: lado derecho */
  bottom: 150px;
  z-index: 40;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #0a1508;
  background: var(--grad-btn);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--glow);
  transition: all var(--t);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.to-top.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  transform: translateY(-4px) scale(1.05);
}

.to-top:active {
  transform: translateY(0) scale(0.95);
}

/* WEB: cambiar posición a izquierda en pantallas grandes */
@media (min-width: 769px) {
  .to-top {
    left: 24px;   /* posición izquierda */
    right: auto;  /* eliminar right para que no interfiera */
  }
}







/* =============================== */
/* 🔹 WhatsApp Float (Derecha) */
/* =============================== */
.whatsapp-float {
  position: fixed;
  bottom: 204px;
  right: 30px;   /* 👉 siempre a la derecha */
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff !important; /* 👈 ícono siempre blanco */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
  transition: all 0.5s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.whatsapp-float.visible {
  bottom: 300px; /* 👈 aparece más arriba */
  opacity: 1;
  visibility: visible;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  animation: none;
  transform: scale(1.1) translateY(0);
  background: #128C7E; /* verde oscuro */
  color: #fff !important; /* 👈 ícono sigue blanco */
}


/* Forzar ícono blanco dentro del botón de WhatsApp */
.whatsapp-float i,
.whatsapp-float svg {
  color: #fff !important;
  fill: #fff !important; /* para SVG */
}


/* =============================== */
/* 🔹 Animación de WhatsApp */
/* =============================== */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}











/* ANIMACIONES */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.fadeIn {
  animation: fadeIn 1s ease forwards;
}
.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}
.delay-3 {
  animation-delay: 0.6s;
}
.delay-4 {
  animation-delay: 0.8s;
}
.delay-5 {
  animation-delay: 1s;
}
.delay-6 {
  animation-delay: 1.2s;
}
.delay-7 {
  animation-delay: 1.4s;
}
.delay-8 {
  animation-delay: 1.6s;
}
.delay-9 {
  animation-delay: 1.8s;
}
.delay-10 {
  animation-delay: 2s;
}

/* ANIMACIÓN DE TEXTO GRADIENTE */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

/* ANIMACIÓN DE PULSO SUAVE */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(162, 255, 94, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(162, 255, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(162, 255, 94, 0);
  }
}
.pulse {
  animation: pulse 2s infinite;
}

/* ANIMACIÓN DE FLOTACIÓN */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}
.float {
  animation: float 3s ease-in-out infinite;
}

/* ANIMACIÓN DE APARICIÓN POR SCROLL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .hero-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 1.5rem 0 2rem;
    line-height: 1.15;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    position: relative;
    display: inline-block;
    max-width: 680px; /* 🔹 ancho máximo en desktop */
    min-height: 4.8em; /* Evita saltos de layout durante la animación */
  }

  .hero__card {
    border-radius: var(--rad-xl);
    padding: 32px;
    max-width: 540px;
    margin: -40px auto 0; /* 🚀 sube la tarjeta hacia arriba */
    transform: translateZ(0);
    background: radial-gradient(
        400px 180px at 70% -10%,
        rgba(162, 255, 94, 0.25),
        transparent
      ),
      radial-gradient(
        220px 140px at -10% 110%,
        rgba(74, 207, 255, 0.25),
        transparent
      ),
      var(--grad-card);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center; /* centra todo lo que esté dentro */
  }
}

/* Mejorar texto */
.hero__text {
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

.hero-title {
  position: relative;
  display: inline-block;
}

#underline {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  height: 4px;
  width: 0;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2),
    var(--accent)
  );
  background-size: 200% 100%;
  border-radius: 2px;
  transition: width 0.2s ease-out;
  animation: underlineColors 4s linear infinite;
}

@keyframes underlineColors {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

#underline {
  max-width: 100px; /* ajusta a lo que se vea mejor */
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Cambiado a z-index: 1 para estar sobre la imagen pero bajo el contenido */
  display: block;

  /* Eliminamos la propiedad background ya que la imagen estará en otro elemento */
  pointer-events: none;

  /* Mantenemos la máscara de desvanecimiento */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.4) 15%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0.9) 45%,
    rgba(0, 0, 0, 0.95) 60%,
    rgba(0, 0, 0, 0.85) 75%,
    rgba(0, 0, 0, 0.5) 90%,
    rgba(0, 0, 0, 0.1) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.4) 15%,
    rgba(0, 0, 0, 0.8) 30%,
    rgba(0, 0, 0, 0.9) 45%,
    rgba(0, 0, 0, 0.95) 60%,
    rgba(0, 0, 0, 0.85) 75%,
    rgba(0, 0, 0, 0.5) 90%,
    rgba(0, 0, 0, 0.1) 100%
  );
}
/* Nuevo elemento para la imagen de fondo */
.hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Debajo del canvas de partículas */
  background: url("/IMG.jpg") no-repeat center center/cover;
  opacity: 0.2;
  filter: saturate(1.1) contrast(1.05);
  pointer-events: none;

  /* Máscara para desvanecer la parte inferior de la imagen */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.822) 0%,
    rgba(0, 0, 0, 0.411) 30%,
    rgba(0, 0, 0, 0.7) 60%,
    rgba(0, 0, 0, 0.267) 80%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.74) 0%,
    rgba(0, 0, 0, 0.9) 30%,
    rgba(0, 0, 0, 0.7) 60%,
    rgba(0, 0, 0, 0.4) 80%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* =========================
           COMPONENTES MEJORADOS
        ========================= */
.btn {
  --py: 16px;
  --px: 32px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: var(--py) var(--px);
  border-radius: 999px;
  font: 600 var(--fs-md) / 1 var(--ff-h);
  letter-spacing: 0.3px;
  color: #0a1508;
  background: var(--grad-btn);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--glow);
  transition: all var(--t) cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0),
    transparent
  );
  transition: left 0.7s ease;
}
.btn:hover::before {
  left: 100%;
}
.btn:hover {
  transform: translateY(-3px) scale(1.03);
  filter: saturate(1.1);
  box-shadow: 0 0 32px rgba(162, 255, 94, 0.6), 0 0 50px rgba(74, 207, 255, 0.4);
}
.btn:active {
  transform: translateY(0) scale(0.99);
}
.btn--outline {
  background: transparent;
  color: var(--txt);
  border: 1px solid rgba(162, 255, 94, 0.4);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  background: linear-gradient(
    180deg,
    rgba(162, 255, 94, 0.15),
    rgba(74, 207, 255, 0.1)
  );
  box-shadow: var(--glow);
}
/* ********************************* */
/* 🔹 Glow pulsante premium */
@keyframes pulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(161, 255, 94, 0.349),
      0 0 40px rgba(74, 207, 255, 0.212);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(161, 255, 94, 0.377),
      0 0 60px rgba(74, 207, 255, 0.24);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(161, 255, 94, 0.411),
      0 0 40px rgba(74, 207, 255, 0.226);
  }
}

/* 🔹 Vibración sutil */
@keyframes softVibrate {
  0%,
  100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-1px, 1px);
  }
  40% {
    transform: translate(1px, -1px);
  }
  60% {
    transform: translate(-1px, -1px);
  }
  80% {
    transform: translate(1px, 1px);
  }
}

/* Aplica animaciones internas */
.btn--pulse {
  animation: pulseGlow 2.5s ease-in-out infinite,
    softVibrate 6s ease-in-out infinite;
}

/* 🔹 Onda expansiva */
/* 🔹 Onda expansiva funcional */
.puls {
  position: relative;
  z-index: 0;
  overflow: visible; /* 🔽 permite que la onda sobresalga */
}

.puls::after {
  content: "";
  position: absolute;
  inset: -12px; /* sobresale más allá del botón */
  border-radius: inherit;
  border: 0px solid transparent;
  background: linear-gradient(135deg, #a1ff5e34, #4acfff67);
  opacity: 0;
  transform: scale(0.98);
  z-index: -1; /* 🔽 va por detrás del botón */
  animation: puls 3s infinite ease-out;
}

@keyframes puls {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Efecto de desvanecimiento adicional en la parte inferior */
/* .hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(
    to top,
    var(--bg-1) 0%,
    rgba(13, 15, 21, 0.103) 90%,
    transparent 40%
  );
  z-index: 0;
  pointer-events: none;
} */

/* Asegurar que el contenido del hero esté por encima */
.hero .container {
  position: relative;
  z-index: 2;
  padding-bottom: 10vh; /* Espacio adicional en la parte inferior */
}

/* Ajustar posición del contenido */
.hero .container {
  text-align: center;
  margin-top: 10vh;
}

/* Asegurar que el contenido del hero esté por encima */
.hero .container {
  position: relative;
  z-index: 2;
}

:root {
  --gap: 20px;
}
.container {
  padding-inline: 20px;
}
.section__head {
  margin-bottom: 36px;
}
.hero__text {
  font-size: var(--fs-md);
  color: var(--muted);
  max-width: 680px;
  margin-top: 0;

  line-height: 1.7;
}
.hero-title {
  margin: 1rem 0 1.5rem;
}
.scroll-indicator {
  bottom: 20px;
}
.scroll-indicator p {
  display: none;
}

/* ---------------------------
   FOOTER GLASS ELEGANTE
--------------------------- */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 40px 0 60px;
  background: rgba(20, 20, 20, 0.45); /* semitransparente */
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  /* border-radius: 18px 18px 0 0; */
}

/* Grid flexible */
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.2rem;
  margin-bottom: 3rem;
}

/* Marca */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  margin-top: -35px; /* súbelo un poco */
}

.footer-brand img {
  height: 120px; /* puedes reducir el tamaño si lo ves muy grande */
  max-width: 100%;
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.footer-brand p {
  /* color: rgba(255, 255, 255, 0.75); */
  color: var(--color-text);
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 360px;
  margin-top: -30px; /* súbelo un poco */
}

/* Social links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.social-links a i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, #7dd87d, #4fb14f);
  transform: translateY(-3px) scale(1.05);
}

.social-links a:hover i {
  color: #fff;
}

/* Títulos */
footer h4 {
  margin-left: 5px;
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* Links */
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin: 0.9rem 0;
}

footer ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

footer ul li a i {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  transition: all 0.3s ease;
}

footer ul li a:hover {
  color: #7dd87d;
  transform: translateX(4px);
}

footer ul li a:hover i {
  color: #7dd87d;
}

/* Copyright */
footer .copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* 🔹 Responsividad */
@media (max-width: 768px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr; /* dos columnas en tablets */
    gap: 1.8rem;
  }

  footer h4 {
    font-size: 1.05rem;
  }

  footer ul li a {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .foot-grid {
    grid-template-columns: 1fr; /* una sola columna en móvil */
    gap: 1.6rem;
  }

  .footer-brand {
    align-items: flex-start; /* 🔹 ya no centrado en móvil */
  }

  .footer-brand p {
    max-width: 100%;
    text-align: left; /* 🔹 párrafos alineados a la izquierda */
  }

  .social-links {
    justify-content: flex-start; /* 🔹 iconos alineados a la izquierda */
  }
}

/* 

////////////////////////////NUEVO////////////////////// */
/* ==========================
   Partners Slider - CSS
   ========================== */

/* Animación scroll infinito */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Contenedor principal */
.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
  background: transparent; /* 🔹 Mantener fondo transparente */
  padding: 20px 0;
}

/* Pista de logos */
.logo-track {
  display: flex;
  gap: 60px;
  animation: scroll 45s linear infinite; /* 🔹 Velocidad más lenta en desktop */
  width: max-content;
  will-change: transform;
}

/* Logos */
.logo-track img {
  height: 80px;
  width: auto;
  object-fit: contain;
  /* filter: grayscale(100%) brightness(0) invert(1);  */
  /* filter: grayscale(100%) sepia(100%) hue-rotate(90deg) saturate(200%) brightness(50%); */
  filter: grayscale(100%) contrast(50%) brightness(120%);

  transition: filter 0.3s ease, transform 0.3s ease;
}

/* Hover: vuelve al color original */
.logo-track img:hover {
  filter: none; /* 🔹 Quita el filtro y se ve el color natural */
  transform: scale(1.1);
}

/* ==========================
   Responsive
   ========================== */

/* Tablets */
@media (max-width: 768px) {
  .logo-track {
    gap: 50px;
    animation-duration: 60s; /* 🔹 Más lento */
  }
  .logo-track img {
    height: 100px; /* 🔹 Logos más grandes */
  }
}

/* Móviles */
@media (max-width: 480px) {
  .logo-track {
    gap: 40px;
    animation-duration: 70s; /* 🔹 Mucho más lento */
  }
  .logo-track img {
    height: 85px; /* 🔹 Aún más grandes en móvil */
  }
}








/* ===============================
   RESPONSIVE (solo móviles)
=================================*/
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text {
    margin: -20px auto 0 auto; /* lo sube 20px */
  }

  .image-card {
    margin: 30px auto 0 auto;
  }
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.about-image {
  /* border-radius: 20px; */
  /* overflow: hidden; */
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0); */
}

.about-image img {
  max-width: 120px; /* opcional, evita que sea enorme en pantallas pequeñas */

  width: 100%;
  height: auto;
  display: block;
}

/* Centrar solo en móviles */
@media (max-width: 768px) {
  .about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%; /* ✅ asegura que el contenedor ocupe el ancho */
    z-index: -1;
  }

  .about-image img {
    width: 80%; /* ✅ asegura que se vea */
    max-width: 90px; /* opcional, evita que sea enorme en pantallas pequeñas */
    height: auto;
  }
 
.image-card::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: rgba(255, 255, 255, 0.87); */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1;
}

.image-card img {
  position: relative;
  z-index: 2; /* Imagen siempre por encima */
  max-width: 260px;
  height: auto;
  display: block;
}
}

/* Logo con animación */
.about-image img {
  width: 250px; /* ajusta según tamaño */
  height: auto;
  display: block;

  /* Para aplicar gradiente animado dentro */
  /* filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0)); */
  animation: premiumColorShift 8s ease-in-out infinite;
  
  z-index: 2; /* Imagen por encima del blur */
}

/* Animación premium (cambio fluido de tonos) */
@keyframes premiumColorShift {
  0% {
    filter: drop-shadow(0 0 12px #ff6ec76c) hue-rotate(0deg);
  }
  25% {
    filter: drop-shadow(0 0 16px #845ec2) hue-rotate(90deg);
  }
  50% {
    filter: drop-shadow(0 0 20px #00c9326e) hue-rotate(180deg);
  }
  75% {
    filter: drop-shadow(0 0 16px #f9f97179) hue-rotate(270deg);
  }
  100% {
    filter: drop-shadow(0 0 12px #6e95ff67) hue-rotate(360deg);
  }
}


/* --- Contenedor visual del contador de visitas --- */
.visit-counter-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  /* tamaño y posición */
  width: 260px;
  max-width: 90%;
  margin: 2.5rem auto 4rem auto; /* separa del footer inferior */
  padding: 1rem 1.2rem;

  /* estilo */
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Título */
.visit-counter-title {
  margin: 0 0 0.6rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Contenido del contador */
.visit-counter-wrapper #sfcrgax9zz2rfflxa8xddqk2k48p9ka998j {
  display: flex;
  justify-content: center;
  align-items: center;
}

.visit-counter-wrapper img {
  display: block !important;
  max-width: 85px !important; /* tamaño más pequeño */
  height: auto !important;
  margin: 0 auto !important;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
  opacity: 0.9;
}

/* --- Responsivo (móvil) --- */
@media (max-width: 768px) {
  .visit-counter-wrapper {
    width: 200px;
    padding: 0.8rem 1rem;
    margin-bottom: 3rem; /* separa más del borde */
  }

  .visit-counter-title {
    font-size: 0.9rem;
  }

  .visit-counter-wrapper img {
    max-width: 70px !important;
  }
}


#sfcrgax9zz2rfflxa8xddqk2k48p9ka998j,
#sfcrgax9zz2rfflxa8xddqk2k48p9ka998j * {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

p.version-info {
  text-align: center;
  margin: 0 auto;
  color: #ccc;
  font-size: 0.8rem;
  line-height: 1.6;
  padding: 8px 0;
}

/* 🔒 Elimina cualquier subrayado y forzará estilo en todos los navegadores */
p.version-info a.footer-link,
p.version-info a.footer-link:link,
p.version-info a.footer-link:visited,
p.version-info a.footer-link:hover,
p.version-info a.footer-link:focus,
p.version-info a.footer-link:active {
  text-decoration: none !important;    /* elimina subrayado */
  border: none !important;             /* elimina bordes inferiores de frameworks */
  outline: none !important;
  color: #4ea8de !important;           /* color base del enlace */
  font-weight: 500;
}

p.version-info a.footer-link:hover {
  color: #90cdf4 !important;           /* color más claro al pasar el cursor */
}
