:root {
  --bg: #0b0f17;
  --card: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.2);
  --primary: #6c63ff;
  --primary-dark: #5651d9;
  --secondary: #00c9a7;
  --text: #e6eaf2;
  --muted: #a7b0c0;
  --brand: #6c8cff; /* Primary */
  --brand-2: #7ef2c6; /* Accent */
  --warn: #ffb86b;
  --danger: #ff6b7a;
  --ok: #5ee39f;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --radius-lg: 28px;
  --grad-1: radial-gradient(
      1200px 600px at 10% -20%,
      rgba(108, 140, 255, 0.25),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 100% 20%,
      rgba(126, 242, 198, 0.18),
      transparent 60%
    ),
    linear-gradient(180deg, #0b0f17 0%, #0a0e16 100%);

  --grad-btn: linear-gradient(135deg, var(--brand), #a78bfa 60%, #7ef2c6 120%);
  --grad-btn-p: linear-gradient(
    135deg,
    var(--brand),
    #35d477 60%,
    #70c2a2 120%
  );

  --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; */

  --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;

  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --tech-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --science-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --humanity-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  --dark-bg: #0a0a0f;
  --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);
  --gold-accent: #d4af37;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: var(--grad-1);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 20px;
  box-sizing: border-box;
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  background: linear-gradient(
    180deg,
    rgba(11, 15, 23, 0.8),
    rgba(11, 15, 23, 0.15)
  );
  /* border-bottom: 1px solid var(--stroke); */
}

.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;
}

/* =========================
                     HERO MEJORADO - 100% VIEWPORT
                  ========================= */

/* HERO ocupa toda la pantalla y el ancho */
/* .hero {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
  align-items: center;
  background: var(--grad-page);
  background: url("IMG.jpg") no-repeat center center;
  background-size: cover;
  padding: 0;
  background-attachment: fixed;
} */

.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;
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  overflow: hidden;

  /* Fondo base con degradado */
  background: var(--grad-page);

  /* Imagen de fondo */
  background-image: url("fondo.jpg");
  background-repeat: no-repeat;
  background-size: cover; /* se ajusta a pantalla */
  background-position: center; /* centrada */
  background-attachment: scroll; /* evitar problemas en móviles */
}

/* Overlay para que la foto no se note demasiado */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.87); /* ajusta opacidad */
  z-index: 1;
}

.hero > * {
  /* position: relative; */
  z-index: 2;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .hero {
    background-size: cover; /* llena pantalla */
    background-position: top; /* centra arriba en móvil */
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.836); /* ajusta opacidad */
    z-index: 1;
  }
}

/* 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;
  }
}

/* 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;
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.brand .logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--grad-btn);
  box-shadow: 0 6px 18px rgba(108, 140, 255, 0.45);
}
.nav ul {
  list-style: none;
  display: none;
  gap: 18px;
  padding: 0;
  margin: 0;
}
.nav a {
  color: var(--muted);
  font-weight: 500;
  opacity: 0.9;
}
.nav a:hover {
  color: var(--text);
}
.nav .cta {
  display: none;
}
.hamb {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: var(--grad-btn);
  color: #0b0f17;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(124, 111, 255, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
  filter: saturate(110%);
  box-shadow: 0 16px 40px rgba(124, 111, 255, 0.35);
}
.btn.outline {
  /* background: transparent; */
  background: rgba(2, 2, 8, 0.692);
  color: var(--text);
  border: 1px solid var(--stroke);
}
.btn.outline:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Animación de gradiente luminoso en movimiento */
/* Animación de gradiente luminoso en movimiento */
@keyframes liquidGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.btn-glow {
  background: linear-gradient(
    135deg,
    var(--brand),
    #bae9b8f6 40%,
    #4fc2f7cb 80%,
    /* 💧 Nuevo color agregado */ #7ecdf2 120%
  );
  background-size: 300% 300%; /* más grande para movimiento fluido */
  animation: liquidGlow 6s ease-in-out infinite;
  color: #0b0f17;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(124, 111, 255, 0.35);
}

.hero-title {
  /* color: white; */
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  line-height: 1.2;
  max-width: 800px;

  /* NUEVO: permite saltos de línea naturales */
  white-space: normal;
  word-break: break-word;

  /* Para efecto escritura */
  overflow: hidden;
  position: relative;
  min-height: 6rem; /* previene salto vertical al inicio */
  text-align: center;
}
#typewriter {
  padding: 12px;
  font-size: 2.4rem;
  margin-bottom: 50px;
}

.hero-grid {
  display: grid;
  gap: 8px;
}

.hero-grid {
  margin-top: -15rem; /* 🔹 sube todo el bloque hacia arriba */
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.kicker {
  color: var(--brand-2);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;

  text-align: center; /* centra en horizontal */
  margin-bottom: 0.8rem; /* separa del título */
}

h1.hero-title {
  font-size: clamp(2rem, 3.6vw + 1rem, 4rem);
  line-height: 1.05;
  margin: 10px 0 14px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin-bottom: 10px;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
  justify-content: center; /* Centra los botones */
}
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex; /* Mantendremos flex pero ajustaremos la dirección */
  flex-direction: column; /* Cambia a apilado vertical */
  align-items: center; /* Centra horizontalmente los elementos */
  text-align: center; /* Centra el texto dentro */
  margin: 14px auto; /* Centra el card como bloque */
  max-width: 700px; /* Ancho máximo legible */
  box-sizing: border-box;
}

.hero-card i {
  font-size: 1.8rem;
  color: var(--primary);
  vertical-align: middle;
  margin-bottom: 10px; /* Espacio entre el icono y el texto */
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 auto; /* Centra el párrafo largo */
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
}

.badge-soft i {
  font-size: 1.2rem;
  color: var(--primary);
}

/* Decorative blobs */
.blob {
  position: absolute;
  filter: blur(48px);
  opacity: 0.75;
  pointer-events: none;
  z-index: -1;
}
.blob.b1 {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #6c8cff, transparent 60%);
  left: -120px;
  top: -120px;
}
.blob.b2 {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 30%, #7ef2c6, transparent 60%);
  right: -180px;
  top: -160px;
}

/* Stats */
.stats {
  margin: 30px 0 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}
.stat {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
}
.stat i {
  font-size: 1.1rem;
  color: var(--brand-2);
  opacity: 0.9;
  animation: iconFadeIn 0.9s ease-out forwards, iconPulse 2.5s infinite 1.2s;
}
.stat b {
  font-size: 1.6rem;
}
.stat small {
  color: var(--muted);
}

/* 
********************** */
#areas {
  position: relative;
  background: radial-gradient(
      500px 400px at 50% 80%,
      /* más pequeño y pegado al borde inferior */ rgba(255, 120, 181, 0.116),
      transparent 70%
    ),
    var(--grad-1);
  background-repeat: no-repeat;
  background-size: cover;
  background-blend-mode: screen; /* ayuda a que se note más sobre fondo oscuro */
}

/* Contenedor principal */
#planes {
  position: relative;
  padding: 2rem 1rem;
  background: radial-gradient(
      500px 400px at 40% 30%,
      /* 👈 subido al 30% para evitar borde */ rgba(255, 182, 193, 0.096),
      transparent 50%
    ),
    radial-gradient(
      700px 350px at 30% 30%,
      rgba(173, 216, 230, 0.2),
      transparent 70%
    ),
    linear-gradient(180deg, #0b0f17 0%, #0a0e16 100%);
  background-repeat: no-repeat;
  background-size: cover;
  border-top: none;
  margin-top: 0;
}

/* Contenedor principal */
#diferente {
  background: 
    /* toque rosado */ radial-gradient(
      800px 400px at 80% 70%,
      rgba(255, 182, 193, 0.15),
      transparent 70%
    ),
    /* toque celeste */
      radial-gradient(
        400px 850px at 0% 50%,
        rgba(173, 216, 230, 0.22),
        transparent 70%
      ),
    /* desvanecido superior ajustado */
      linear-gradient(
        to bottom,
        #0b0f17 0%,
        /* sólido desde el inicio */ #0b0f17 45%,
        /* extiende el sólido un poco más */ transparent 65%
          /* transición suave */
      ),
    /* fondo base */ linear-gradient(180deg, #0b0f17 0%, #0a0e16 100%);

  background-repeat: no-repeat;
  background-size: cover;

  border-top: none;
}

#cta {
  position: relative;

  background: 
    /* toque rosado */ radial-gradient(
      600px 800px at 0% 90%,
      rgba(255, 182, 193, 0.103),
      transparent 9%
    ),
    /* toque celeste */
      radial-gradient(
        900px 650px at 1% 70%,
        rgba(173, 216, 230, 0.22),
        transparent 5%
      ),
    /* desvanecido superior ajustado */
      linear-gradient(
        to bottom,
        #0b0f17 0%,
        /* sólido desde el inicio */ #0b0f17 90%,
        /* extiende el sólido un poco más */ transparent 25%
          /* transición suave */
      ),
    /* fondo base */ linear-gradient(180deg, #0b0f17 0%, #0a0e16 10%);

  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 0;
  border-top: none;
}

/* 📱 Móvil: desvanecido más largo */
@media (max-width: 768px) {
  .hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.05)
    );
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-sizing: border-box;
  }
  .hero-card i {
    font-size: 1.15rem;
    color: var(--brand);
  }

  #typewriter {
    font-size: 2rem;
    padding: 12px;
  }

  /* Hero */

  .hero-title {
    /* color: white; */
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3.5rem;
    margin-bottom: 1.8rem;
    line-height: 1.2;
    max-width: 800px;

    /* NUEVO: permite saltos de línea naturales */
    white-space: normal;
    word-break: break-word;

    /* Para efecto escritura */
    overflow: hidden;
    position: relative;
    min-height: 6rem; /* previene salto vertical al inicio */
    text-align: center;
  }
  #typewriter {
    padding: 10px;
  }
}

/* Animación al cargar */
@keyframes iconFadeIn {
  from {
    transform: translateY(-15px) scale(0.85);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Pulso continuo sutil */
@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(59, 130, 246, 0);
  }
  50% {
    transform: scale(1.09);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
  }
}

/* Sections */
section {
  padding: 70px 0;
  box-sizing: border-box;
}

.section-sub-tex {
  color: var(--muted); /* tono secundario */
  font-size: 1rem; /* tamaño legible */
  line-height: 1.6; /* mejora la lectura */
  max-width: 65ch; /* buena longitud óptima */
  margin: 0 0 1.5rem; /* separación limpia */
  font-weight: 400; /* texto ligero */

  /* tipografía más suave en pantallas de alta resolución */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  text-align: center; /* centra el texto */
  margin: 0 auto; /* lo coloca en el medio */
  max-width: 70ch; /* mantiene legibilidad */
  margin: -5px auto 30px; /* se pega un poco más al bloque de abajo */
}

.section-sub-tex-contact {
  color: var(--muted); /* tono secundario */
  font-size: 1rem; /* tamaño legible */
  line-height: 1.6; /* mejora la lectura */
  max-width: 65ch; /* buena longitud óptima */
  margin: 0 0 1.5rem; /* separación limpia */
  font-weight: 400; /* texto ligero */

  /* tipografía más suave en pantallas de alta resolución */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  text-align: center; /* centra el texto */
  margin: 0 auto; /* lo coloca en el medio */
  max-width: 70ch; /* mantiene legibilidad */
  margin: -5px auto 30px; /* se pega un poco más al bloque de abajo */
}

.section-sub {
  color: var(--muted); /* tono secundario */
  font-size: 1rem; /* tamaño legible */
  line-height: 1.6; /* mejora la lectura */
  max-width: 65ch; /* buena longitud óptima */
  margin: 0 0 1.5rem; /* separación limpia */
  font-weight: 400; /* texto ligero */

  /* tipografía más suave en pantallas de alta resolución */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Frase Section ===== */
.frase-section {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(18, 25, 38, 0.95),
    rgba(10, 15, 25, 0.97)
  );
  backdrop-filter: blur(14px);
  overflow: hidden;
}

/* Luces de ambiente difusas */
.frase-section::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -20%;
  width: 160%;
  height: 160%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(142, 197, 252, 0.25),
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(224, 195, 252, 0.2),
      transparent 60%
    );
  filter: blur(100px);
  z-index: 0;
}

.container-frase {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 2rem;
  padding: 3.5rem 2.5rem;
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  animation: floatCard 7s ease-in-out infinite;
}

.section-title {
  font-size: 2.2rem;
  background: linear-gradient(90deg, #8ec5fc, #e0c3fc, #7ef2c6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: 1.2px;

  /* margin-bottom: 12px; */
  line-height: 1.3; /* controla la separación entre líneas */
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal; /* deja que se divida en móviles */
}

.section-title-h2 {
  background: linear-gradient(90deg, #8ec5fc, #e0c3fc, #7ef2c6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  font-size: clamp(2.2rem, 1.8vw + 0.9rem, 2.2rem);
  margin-bottom: 12px;
  line-height: 1.3; /* controla la separación entre líneas */
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal; /* deja que se divida en móviles */
  text-align: center;
}

.dividers {
  width: 90px;
  height: 4px;
  margin: 0 auto 2.2rem auto;
  border-radius: 50px;
  background: linear-gradient(90deg, #ffb6c1, #7ef2c6, #8ec5fc);
  animation: glowDivider 4s ease-in-out infinite;
}

/* 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;
  }
}

.side-content {
  max-width: 500px;
}
/* ====== PANEL QUIÉNES SOMOS ====== */
.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.jpg") center/cover;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.side-panel .logo h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  background: linear-gradient(90deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Contenido en dos columnas en desktop */
.about-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 2.5rem;
}

/* Texto */
.about-text {
  flex: 1 1 500px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 1rem; /* 🔹 separación controlada con la imagen */
}

.about-description {
  margin-bottom: 1rem; /* 🔹 menos espacio entre párrafos */
  text-align: left;
}

/* Imagen */
.about-image {
  /* flex: 1 1 400px; */
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem; /* 🔹 más cerca del texto */
  margin-bottom: 1.5rem; /* 🔹 respiro moderado abajo */
}

.about-image img {
  max-width: 100%;
  width: 300px; /* 🔹 tamaño equilibrado en desktop */
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0px 8px 20px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* ============================= */
/* 💻 Ajustes para pantallas grandes */
/* ============================= */
@media (min-width: 1200px) {
  .about-text {
    font-size: 1.35rem; /* 🔹 un poco más grande */
    line-height: 2; /* 🔹 más aire entre líneas */
    max-width: 950px; /* 🔹 limitar ancho para buena lectura */
    margin: 0 auto; /* 🔹 centrar el bloque */
  }

  .about-description {
    margin-bottom: 1.2rem; /* 🔹 separación equilibrada entre párrafos */
  }

  .about-image img {
    max-width: 180px; /* 🔹 proporción más elegante en desktop grande */
    margin-top: -25px;
    border-radius: 15%;
  }
}

/* ============================= */
/* 📱 Responsive ajustes móviles */
/* ============================= */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column; /* Texto arriba, imagen abajo */
    align-items: center;
    text-align: center;
    padding: 0 0.5rem;
    gap: 0rem;
  }
  .about-text {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 90%;
    margin: 0 auto 0.5rem; /* 🔹 menos separación debajo del texto */
    text-align: center;
  }
  .about-description {
    margin-bottom: 0.5rem; /* 🔹 compactar espacio entre párrafos */
  }
  .about-image {
    margin-top: 0; /* 🔹 eliminamos aire extra arriba */
    margin-bottom: 2rem; /* 🔹 solo un respiro pequeño debajo */
  }
  .about-image img {
    max-width: 80px; /* 🔹 tamaño más proporcionado en móviles */
    height: 180px;
    width: 180px;
    margin-top: -250px;
    border-radius: 15%;
  }
}

/* Ajuste Quiénes Somos */

.mission-vision-section {
  background: var(--dark);
  padding: 80px 0;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 50px;
}

/* === Card principal === */
.mv-card {
  position: relative;
  background: rgba(20, 20, 35, 0.7);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 50px 35px;
  text-align: center;
  transition: all 0.35s ease;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* ✨ Gradiente atrapado arriba */
.mv-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--secondary),
    var(--tertiary)
  );
  background-size: 300% 100%;
  animation: gradientMove 6s ease infinite;
  border-radius: 24px 24px 0 0;
}

/* 🌈 Animación gradiente */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hover moderno */
.mv-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

/* === Ícono circular con aura === */
.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.mv-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.mv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.08),
    transparent
  );
  transition: left 0.6s ease;
}

.mv-card:hover::before {
  left: 100%;
}

.mv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.mv-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  z-index: 1;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
  z-index: 2;
}

/* Aura animada */
/* .mv-icon::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary),
    var(--secondary),
    var(--tertiary),
    var(--quaternary),
    var(--primary)
  );
  animation: spin 6s linear infinite;
  filter: blur(10px);
  z-index: -1;
  opacity: 0.7;
  animation: float 3s ease-in-out infinite;
} */

/* Partículas flotantes */
.mv-icon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.3) 0%,
    transparent 50%
  );
  /* animation: float 3s ease-in-out infinite; */
  z-index: -1;
  margin-top: 2px;

  /* agregados */
  animation: pulseGlow 3.5s ease-in-out infinite,
    softVibrate 6s ease-in-out infinite;
}

/* Íconos con gradiente */
.mv-icon i {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: #ffffff79;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.4s ease;
}

.mv-card:hover .mv-icon i {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

/* Colores específicos por card */
.mv-card:nth-child(1) .mv-icon::before {
  background: conic-gradient(
    var(--primary),
    #8a6cff,
    var(--secondary),
    var(--primary)
  );
}
.mv-card:nth-child(2) .mv-icon::before {
  background: conic-gradient(
    var(--secondary),
    #00e6b8,
    var(--quaternary),
    var(--secondary)
  );
}
.mv-card:nth-child(3) .mv-icon::before {
  background: conic-gradient(
    var(--tertiary),
    #ff8e8e,
    var(--primary),
    var(--tertiary)
  );
}

.mv-card:nth-child(1) .mv-icon i {
  background: linear-gradient(135deg, var(--primary), #8a6cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mv-card:nth-child(2) .mv-icon i {
  background: linear-gradient(135deg, var(--primary), #8a6cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mv-card:nth-child(3) .mv-icon i {
  background: linear-gradient(135deg, var(--primary), #8a6cff);
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
}

.mv-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, var(--text-light), var(--text-muted));
  -webkit-background-clip: text;
  /* -webkit-text-fill-color: transparent; */
}

.mv-description,
.mv-list {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1rem;
}

.mv-list {
  text-align: left;
  list-style: none;
  padding: 0;
}

.mv-list li {
  margin-bottom: 0.8rem;

  position: relative;
  padding-left: 1.8rem; /* un poco más de espacio */
  color: var(--muted);
}
.mv-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-size: 1.9rem; /* 🔹 Aumenta tamaño de la viñeta */
  line-height: 1; /* mantiene alineación */
  top: 0.1rem; /* ajusta verticalmente */
  margin-left: -5px;
}

.mv-list strong {
  color: var(--text-light);
}

/* Animaciones */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.05);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .mv-card {
    padding: 2rem 1.5rem;
  }

  .mv-icon {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
}

/* === Títulos y texto === */
.mv-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}

.mv-description {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: left;
}

/* Sección de Valores Detallados */
.values-detailed-section {
  background: var(--dark-light);
}

.values-detailed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.value-detailed-card {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 15px;
  padding: 30px;
  transition: var(--transition);
}

.value-detailed-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

.value-detailed-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.value-detailed-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.value-detailed-description {
  color: var(--muted);
}

/* Sección Valor Agregado */
.value-added-section {
  background: var(--dark);
}

.value-added-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.value-added-text {
  padding-right: 20px;
}

.value-added-title {
  font-family: "Poppins", sans-serif;
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.value-added-list {
  list-style: none;
  margin-top: 30px;
}

.value-added-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
}

.value-added-list .value-added-icon {
  color: var(--primary);
  margin-right: 15px;
  margin-top: 5px;
  font-size: 1.5rem;
  min-width: 30px;
}

.value-added-item-content h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--light);
}

.value-added-item-content p {
  color: var(--muted);
}

.value-added-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.value-added-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Sección CTA final */
.final-cta {
  background: linear-gradient(135deg, var(--dark-light) 0%, var(--dark) 100%);
  text-align: center;
}

.final-cta .section-title {
  margin-bottom: 20px;
}

.final-cta .section-subtitle {
  margin-bottom: 40px;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .about-content,
  .value-added-content {
    grid-template-columns: 1fr;
  }

  .about-text,
  .value-added-text {
    padding-right: 0;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  section {
    padding: 70px 0;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== EFECTOS DE REVEAL ====== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.fade-in.delay-1 {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    font-size: 1rem;
  }

  .about-image img {
    max-width: 220px;
  }
}

/* Areas grid */
.areas {
  display: grid;
  gap: 14px;
}
.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}
.card .icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  margin-bottom: 10px;
  animation: iconFadeIn 0.9s ease-out forwards, iconPulse 2.5s infinite 1.2s;
}
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  color: var(--muted);
}

/* How it works */
.steps {
  display: grid;
  gap: 14px;
}
.step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.badge {
  width: 98px;
  height: 50px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--card);
  border: 1px solid var(--stroke);
  font-weight: 800;
  animation: iconFadeIn 0.9s ease-out forwards, iconPulse 2.5s infinite 1.2s;
}

/* Badges */

.badge i {
  animation: iconFadeIn 0.9s ease-out forwards, iconPulse 2.5s infinite 1.2s;
}

/* Benefits list */
.benefits {
  display: grid;
  gap: 12px;
}
.benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.benefit i {
  color: var(--brand-2);
}

/* 
******************************************************************* */

.btn-premium {
  display: inline-block;
  background: linear-gradient(135deg, #6c63ff, #9b8fff);
  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(108, 99, 255, 0.4);
}

/* efecto hover */
.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.6),
    0 0 40px rgba(155, 143, 255, 0.4);
}

/* animación suave de glow */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(108, 99, 255, 0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.4);
  }
}

.btn-premium {
  animation: glowPulse 3s infinite ease-in-out;
}

/* ---------------------------
       APPROACH SECTION MEJORADA
    --------------------------- */
.approach-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.approach-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.approach-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}
.approach-card i {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--secondary),
    var(--primary)
  );
  background-size: 250% 250%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease-in-out infinite,
    pulseGlow 6s ease-in-out infinite;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: inline-block;
}

/* Hover */
.approach-card:hover i {
  transform: scale(1.2) rotate(-4deg);
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.4));
}

/* Gradiente líquido más fluido */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Pulso realista, suave */

/* Pulso realista, suave (solo glow, no usa transform) */
@keyframes pulseGlow {
  0% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
  }
  25% {
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.35));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.45));
  }
  75% {
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.35));
  }
  100% {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
  }
}

.approach-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.approach-card p {
  color: var(--text-muted);
}

/* ---------------------------
       BENEFICIOS MEJORADOS
    --------------------------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.benefit-item {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  box-sizing: border-box;
}

.benefit-item:hover {
  background: var(--glass);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--stroke);
  transform: translateY(-5px);
}

.benefit-item i {
  color: rgba(238, 234, 234, 0.945);
  font-size: 1.8rem;
  background: rgba(165, 164, 189, 0.1);
  padding: 0.8rem;
  border-radius: 10px;
  min-width: 60px;
  text-align: center;
}

.benefit-item p {
  margin: 0;
  font-weight: 500;
  color: var(--text-light);
}

.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%;
  }
}

/* CTA */
#cta {
  margin-top: 90px; /* agrega espacio antes del CTA */
}

#cta {
  margin-top: 80px; /* espacio antes del CTA */
  margin-bottom: 60px; /* 💡 espacio después del CTA */
}

.cta-wrap {
  display: grid;
  gap: 5px;
  padding: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke);
  background: linear-gradient(
    135deg,
    rgba(108, 140, 255, 0.18),
    rgba(126, 242, 198, 0.14)
  );
  box-shadow: var(--shadow);
}

/* Badge: mantiene forma pill */
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
}

/* ******************************** */

/* === BLUR DEL FONDO VIA OVERLAY === */

/* Al abrir menú */
body.menu-open #nav-overlay {
  opacity: 1;
  pointer-events: auto; /* captura clic para cerrar */
}

/* === PANEL MÓVIL === */
.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 90%;
  max-width: 420px;
  height: 100dvh;

  background: #0b0f17;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.445);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 100; /* por encima del overlay */
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.mobile-panel.open {
  transform: translateX(0);
}

/* Evita scroll de la página cuando el menú está abierto */
body.menu-open {
  overflow: hidden;
}

/* Preferencias de reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  #particles-canvas {
    display: none;
  }
}

/* Contenedor reveal */
.reveal-img {
  display: flex;
  justify-content: center; /* centra horizontal */
  align-items: center; /* centra vertical si el contenedor tiene altura */
  margin: 20px auto;
  max-width: 1200px; /* límite en pantallas grandes */
  padding: 0 16px; /* espacio lateral en móviles */
}

/* Imagen */
.reveal-img img {
  width: 60%; /* ocupa todo el ancho disponible */
  max-width: 900px; /* límite en desktop */
  height: auto;
  border-radius: 24px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  object-fit: cover;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  margin-top: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  height: 40px; /* ajusta el tamaño del logo */
  width: auto;
  border-radius: 10px; /* opcional: esquinas redondeadas */
}

/* Efecto hover en desktop */
@media (hover: hover) {
  .reveal img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  }
}

/* Ajustes para tablets */
@media (max-width: 992px) {
  .reveal img {
    max-width: 700px;
  }
  .kicker {
    font-size: 0.9rem;
    letter-spacing: 0.22em;
  }
}

/* Ajustes para móviles */
@media (max-width: 576px) {
  .reveal img {
    max-width: 100%;
    border-radius: 16px;
  }
}

/* En pantallas pequeñas: centrar */

@media (max-width: 768px) {
  /* Imagen */
  .reveal-img img {
    width: 100%; /* ocupa todo el ancho disponible */
    max-width: 900px; /* límite en desktop */
    height: auto;
    border-radius: 24px;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    object-fit: cover;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
  }

  .foot-grid > div:first-child .center {
    justify-content: center;
    text-align: center;
  }
}

/* Pulsation */

/* Pulsation */
.puls {
  position: relative;
}
.puls:after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(126, 242, 198, 0.35);
  transform: scale(0.9);
  opacity: 0;
  animation: puls 2.2s infinite ease-out;
}
@keyframes puls {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.66s ease, transform 0.66s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Responsive */
@media (min-width: 768px) {
  .nav ul {
    display: flex;
  }
  .nav .cta {
    display: inline-flex;
  }
  .hamb {
    display: none;
  }
  .kicker {
    color: var(--brand-2);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.58rem;
  }
  .hero-grid {
    /* grid-template-columns: 1.1fr 0.9fr; */
    align-items: center;
  }
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
  .areas {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .testis {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  /* .foot-grid{ grid-template-columns: 1.2fr .8fr .8fr 1fr } */
}

@media (min-width: 1024px) {
}

/* Mobile menu */
.mobile-panel {
  display: none;
}
.mobile-panel.open {
  display: block;
  border-top: 1px solid var(--stroke);
  background: rgba(11, 15, 23, 0.945);
  backdrop-filter: blur(80px);
  padding: 12px 0;
  position: absolute;
  width: 100%;
  left: 0;
  top: 70px;
  z-index: 100;
}
.mobile-panel a {
  display: block;
  padding: 10px 20px;
  color: var(--muted);
}
.mobile-panel a:hover {
  color: var(--text);
}

/* ==== Extensiones suaves sin romper estilo ==== */

/* Animación sutil de blobs (realista) */
@keyframes blobFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 10px, 0) scale(1.03);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}
.blob {
  animation: blobFloat 12s ease-in-out infinite;
}
.blob.b2 {
  animation-duration: 16s;
}

/* Micro-tilt en cards (sin cambiar tu hover base) */
.card.tilt-aware {
  will-change: transform;
  transform-style: preserve-3d;
}

/* Grid para diferenciales y planes */
.grid-3 {
  display: grid;
  gap: 14px;
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tarjetas mini */
.mini {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.03)
  );
  box-shadow: var(--shadow);
}
.mini i {
  color: var(--brand);
  font-size: 1.05rem;
}

/* Barra de progreso de scroll */
.scrollbar {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  z-index: 60;
  box-shadow: 0 0 12px rgba(108, 140, 255, 0);
}
/* .scrollbar{ position:fixed; inset:0 auto auto 0; height:3px; width:0; background:var(--grad-btn); z-index:60; box-shadow:0 0 12px rgba(108, 140, 255, 0) } */

/* Cinta CTA móvil */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 34px;
  margin: auto;
  width: min(94%, 520px);
  z-index: 55;
  display: none;
}
.sticky-cta .wrap {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(11, 15, 23, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}
.sticky-cta .wrap b {
  font-size: 0.95rem;
  margin-left: 5px;
}
.sticky-cta .cta-close {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  transition: opacity 0.2s ease;
}

.sticky-cta .cta-close:hover {
  opacity: 0.7;
}

@media (max-width: 767px) {
  .sticky-cta {
    display: block;
  }
}

/* Badges */
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------------------------
       FOOTER MEJORADO
    --------------------------- */
/* ---------------------------
   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%);
  /* box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.05); */
}

/* Grid de columnas */
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Marca */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.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);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Social links */
.social-links {
  display: flex;
  gap: 1rem;
  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.2rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

/* Links */
footer ul {
  list-style: none;
}

footer ul li {
  margin: 1rem 0;
  margin-left: -20px;
}

footer ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
  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.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Accessibilidad: foco visible */
/* a:focus, button:focus{ outline:2px solid var(--brand-2); outline-offset:2px } */

/* Respeta reduce-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* MEJORAS PARA MÓVIL - Solución a problemas específicos */

/* Ajustar blobs para móviles */
@media (max-width: 767px) {
  .sticky-cta .cta-close {
    border: none;
    color: #12db6d;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 6px;
    transition: opacity 0.2s ease;

    /* 🔹 Borde interno con sombra */
    box-shadow: inset 0 0 0 0px #12db6d;
  }

  .blob.b1,
  .blob.b2 {
    display: none;
  }
}

/* Mejorar visualización de stats en móviles */
@media (max-width: 480px) {
  .sticky-cta .cta-close {
    border: none;
    color: #12db6d;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 6px;
    transition: opacity 0.2s ease;

    /* 🔹 Borde interno con sombra */
    box-shadow: inset 0 0 0 0px #12db6d;
  }
  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    flex-direction: column;
    text-align: center;
    padding: 12px;
  }

  .stat b {
    font-size: 1.4rem;
  }
}

/* Ajustar grid de áreas en móviles */
@media (max-width: 767px) {
  .areas {
    grid-template-columns: 1fr;
  }
}

/* Ajustar grid de pasos en móviles */
@media (max-width: 767px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Ajustar grid de testimonios en móviles */
@media (max-width: 767px) {
  .testis {
    grid-template-columns: 1fr;
  }
}

/* Ajustar hero para móviles */
@media (max-width: 767px) {
  .hero {
    padding: 60px 0 30px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Ajustar botones para móviles */
@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center; /* centra los botones */
    margin-bottom: 80px;
  }

  .hero-actions .btn {
    width: 95%; /* ocupa el 95% */
    max-width: 400px; /* opcional: límite para que no se vean demasiado anchos en tablets */
    justify-content: center;
    text-align: center;
    /* 🔥 Animación de pulso */
    @keyframes pulse {
      0% {
        box-shadow: 0 0 0 0 rgba(124, 111, 255, 0.6);
      }
      70% {
        box-shadow: 0 0 0 20px rgba(124, 111, 255, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(124, 111, 255, 0);
      }
    }

    /* Efecto de entrada + latido solo en "Empieza ahora" */
    .btn.pulse {
      animation: fadeInUp 0.8s ease-out, pulse 2s infinite;
    }
    /* Entrada + latido solo en botones con .pulse */
    .btn.pulse {
      animation: fadeInUp 0.8s ease-out, pulse 2s infinite;
      animation-delay: 0.2s; /* opcional: acompasa con delay-2 */
      animation-fill-mode: both;
    }

    /* ✅ Solo aplica al botón con clase .pulse */
    .btn.pulse {
      animation: pulse 2s infinite;
    }

    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(20px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes pulse {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.05);
      }
      100% {
        transform: scale(1);
      }
    }

    .pulse {
      animation: pulse 2s infinite;
    }

    @keyframes float {
      0% {
        transform: translateY(0) rotate(0deg);
      }
      50% {
        transform: translateY(-20px) rotate(5deg);
      }
      100% {
        transform: translateY(0) rotate(0deg);
      }
    }

    .hero-actions {
      flex-direction: column;
    }
  }
}
/* Ajustar grid de beneficios en móviles */
@media (max-width: 767px) {
  .benefits {
    grid-template-columns: 1fr;
  }
}

/* Ajustar footer para móviles */
@media (max-width: 767px) {
  /* .foot-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }
    } */
}

/* Asegurar que las imágenes no causen desbordamiento */
img {
  max-width: 100%;
  height: auto;
}

/* Mejorar visualización de iconos */
.icon i {
  font-size: 1.5rem;
}

/* Ajustar grid-3 para móviles */
@media (max-width: 767px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Ajustar navegación para móviles */
@media (max-width: 767px) {
  .nav {
    padding: 0 10px;
  }
}

/* Ajustar secciones para móviles */
@media (max-width: 767px) {
  section {
    padding: 40px 0;
  }
}

/* Ajustar padding del container para móviles pequeños */
@media (max-width: 480px) {
  .kicker {
    color: var(--brand-2);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.7rem;
  }
  .container {
    padding: 0 15px;
    /* padding: 0 5px; */
  }
}

.btn-f {
  width: 100%;
  height: 24px;
  border-radius: 25px;
  outline: none;

  background-size: 200%;
  font-size: 1.2rem;
  color: #110707ec;

  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  margin: 1rem 0;
  cursor: pointer;
  transition: 0.6s;
  align-items: center;
  text-align: center;
  margin-top: 150px;
}

.btn-f {
  cursor: pointer;
  border: 1px solid #fff;

  background-color: #0dd241;
  background-image: linear-gradient(to right, #86dc15d0, #59d338e1, #6ff02446);
  box-shadow: 8px 8px 10px #0000005d;
  align-items: center;
  text-align: center;
  margin-left: -52px;
}

.btn-f:hover {
  background-position: right;

  background-image: linear-gradient(to right, #3bff66, #74f158, #12ff22c0);
  box-shadow: 8px 8px 10px #0000005d;
}

@keyframes animate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

label {
  color: #e4faea;
}

/* ***************ICONO SVG************ */

.service-icon-box img {
  width: 45px;
  margin-left: 400px;
  /* margin-left: 700px;
    /* margin-right: 90px; */
  margin-top: 40px;
  animation: animate 2s infinite;
}

.styled-list {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.styled-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

.styled-list li::before {
  content: "•";
  color: var(--color-primary);
  position: absolute;
  left: 0;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;

  font-weight: 500;
  transition: var(--transition);

  color: #c0dce9;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
  margin-left: 0px;
}

.whatsapp-link-contactar {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  /* color: var(--color-primary); */
  font-weight: 500;
  transition: var(--transition);

  color: #c0dce9;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
  margin-left: -50px;
}

.whatsapp-link:hover {
  color: var(--color-secondary);
}

#whatsapp-link-contactar-01 {
  text-decoration: none;
}

.swal2-popup .swal2-title {
  font-size: 0.7rem; /* reduce tamaño del título */

  text-align: center; /* centra el texto */
  margin-bottom: 0.7rem; /* espacio debajo del título */
}

/* 
**********boton hacia abajo******* */

.scroll-down-indicator-pro {
  position: absolute;
  bottom: 12rem; /* distancia desde abajo */
  left: 50%;
  transform: translateX(-50%); /* centra horizontalmente */

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;

  z-index: 10; /* por encima del overlay */
}

.scroll-down-indicator-pro .arrow {
  width: 16px;
  height: 16px;
  border-bottom: 2px solid white;
  border-right: 2px solid white;
  transform: rotate(45deg);
  animation: arrowDown 1.8s infinite;
  opacity: 0;
}

.scroll-down-indicator-pro .arrow.delay-1 {
  animation-delay: 0.3s;
}
.scroll-down-indicator-pro .arrow.delay-2 {
  animation-delay: 0.6s;
}

@keyframes arrowDown {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(45deg) scale(0.8);
  }
  50% {
    opacity: 1;
    transform: translateY(6px) rotate(45deg) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(12px) rotate(45deg) scale(0.8);
  }
}
/* =============================== */
/* 🔹 Scroll to Top Button (Izquierda) */
/* =============================== */
.scroll-top-btn {
  position: fixed;
  bottom: -120px; /* 👈 oculto bien abajo */
  left: 30px; /* 👈 pegado a la izquierda */
  background-color: #2b7c94;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: bottom 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
  z-index: 999;
}

.scroll-top-btn.show {
  bottom: 100px; /* 👈 aparece más arriba */
  opacity: 1;
  visibility: visible;
}

/* =============================== */
/* 🔹 WhatsApp Float (Derecha) */
/* =============================== */
.whatsapp-float {
  position: fixed;
  bottom: -120px; /* 👈 oculto bien abajo */
  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: 100px; /* 👈 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);
  }
}

/* ======== ESTILO DE NAVEGACIÓN EN MODO ESCRITORIO ======== */

/* Opcional: que el hero ocupe al menos el 80% de la altura de pantalla en móviles */
/* Ajuste del HERO en móviles */
/* HERO ocupa toda la pantalla en móviles */

@media (max-width: 768px) {
  .scroll-down-indicator-pro {
    position: absolute;
    bottom: 15rem; /* distancia desde abajo */
    left: 50%;
    transform: translateX(-50%); /* centra horizontalmente */

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

    z-index: 10; /* por encima del overlay */
  }

  .scroll-down-indicator-pro .arrow {
    width: 16px;
    height: 16px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    animation: arrowDown 1.8s infinite;
    opacity: 0;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-top: 28px; /* <-- separa botones del texto */
  }

  .hero-actions a {
    width: 100%;
    padding: 15px;
  }

  .hero-grid {
    max-width: 600px;
    z-index: 2;
  }

  .kicker {
    margin-top: 0; /* lo asegura pegado al título */
    margin-bottom: 50px; /* separación mínima antes del h1 */

    font-size: 0.7rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.3;
  }

  .hero-sub {
    font-size: 1.1rem;
    margin: 12px 0 20px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
    padding: 14px;
  }
}

@media (min-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 30, 32, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: top 0.3s;
  }

  .navbar.hide {
    top: -100px;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    align-items: center;
    padding: 1rem 1rem;
    background: transparent;
    position: static;
    height: auto;
  }

  .nav-link {
    color: #00e676;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    position: relative;
    padding-bottom: 4px;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: #ffaa00;
    transition: width 0.3s ease;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .close-menu-btn,
  .mobile-menu-btn {
    display: none;
  }

  .nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: color 0.3s ease;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: #1dd1a1; /* verde lima */
    transition: width 0.3s ease;
  }

  .nav-link:hover {
    color: #1dd1a1;
  }

  .nav-link:hover::after {
    width: 100%;
  }

  .logo-inicio {
    margin-top: 150px;
  }

  .title-inicio {
    margin-top: 200px;
  }

  .cta-box {
    background-color: #080b25;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 12px rgba(0, 255, 100, 0.1);
  }

  #whatsapp-link-contactar-01 {
    text-decoration: none;
  }
}
#reserva-consulta {
  padding: 2rem 0rem;
}
.cta-box {
  text-align: center;
  background-color: #48725156;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.cta-box strong {
  color: #ffffff;
}

.btn-2 {
  padding: 0.6rem 1.2rem;
  border-radius: var(--border-radius);
  background: none;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition);
  margin-top: -150px;
  margin-left: 1px;
}

.btn-2:hover {
  background-color: var(--color-primary);
  color: var(--text-dark);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--text-dark);
  border: none;
}

.btn-primary:hover {
  background-color: var(--color-secondary);
}

.problems-image img:hover {
  transform: scale(1.05);
}

.problems-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.problem-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 25px;
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  color: var(--text-light);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.35s ease;
  opacity: 0;
  transform: translateY(30px);
}
.problem-item i {
  font-size: 1.6rem;
  /* color: var(--color-secondary); */
  color: #00e676;
  text-shadow: 0 0 8px rgba(150, 158, 173, 0.205);
  animation: iconFadeIn 0.9s ease-out forwards, iconPulse 2.5s infinite 1.2s;
}
.problem-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 30px rgba(23, 32, 28, 0.205);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 50px;
}
.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  backdrop-filter: blur(16px);
  color: var(--text-light);
  box-shadow: 0 8px 25px rgba(38, 52, 65, 0.45);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-card p {
  color: var(--muted); /* tono secundario */
  font-size: 1rem; /* tamaño legible */
  line-height: 1.6; /* mejora la lectura */
  max-width: 65ch; /* buena longitud óptima */
  margin: 0 0 1.5rem; /* separación limpia */
  font-weight: 400; /* texto ligero */

  /* tipografía más suave en pantallas de alta resolución */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.service-card i {
  font-size: 2.2rem;
  margin-bottom: 15px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.4s;
  animation: iconFadeIn 0.7s ease-out forwards, iconPulse 2.5s infinite 1.2s;
}
.service-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: #000000c4;
  /* box-shadow: 0 15px 40px rgba(10, 3, 24, 0.466))); */
}
.service-card:hover i {
  transform: scale(1.2);
}

/* ====== Animaciones Scroll ====== */
.scroll-item {
  animation: fadeUp 0.9s ease forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .btnprograma,
  .btnimg {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .booking-form .form-group {
    margin-bottom: 1.5rem;
  }

  .interes-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}
/* ======== MEDIA QUERIES ======== */
@media (max-width: 768px) {
  booking-form label {
    color: #ffffff;
    font-weight: 600;
    font: 0.8rem;
    margin-top: 30px;
  }

  /* ======== FORMULARIO ======== */
  .contenedor-formulario {
    background-color: rgba(255, 255, 255, 0.062);
    backdrop-filter: blur(7px);
    border-radius: var(--border-radius);
    padding: 1rem;
    width: 90%;
    max-width: 500px;
    margin: 2rem auto;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(23, 158, 95, 0.3);
    margin-top: 250px;
  }

  .accordion-toggle {
    background-color: rgba(255, 255, 255, 0.062);
    backdrop-filter: blur(7px);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(23, 158, 95, 0.3);
    margin-top: 50px;
    background-color: rgba(255, 255, 255, 0.062);
  }

  .booking-section {
    background-color: rgba(255, 255, 255, 0.062);
  }
}

input:invalid ~ .btn[type="button"] {
  opacity: 0.6;
  cursor: pointer;
}

/* 
**************************** */

/* Elegant color palette */
:root {
  --primary-bg: #1a1a2e; /* Deep navy */
  --accent-color: #e6b800; /* Soft gold */
  --text-color: #ffffff; /* White */
  --card-bg: rgba(255, 255, 255, 0.1); /* Glassmorphism background */
  --shadow-color: rgba(0, 0, 0, 0.3);
  --gradient-bg: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

/* Container for content */

/* Section title with elegant typography and animation */

.section-title.scroll-item--active {
  opacity: 1;
  transform: translateY(0);
}

/* Divider with animated gradient */
.divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--accent-color), transparent);
  margin: 0 auto 40px;
  border-radius: 2px;
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.6s ease-out 0.2s;
}

.divider.scroll-item--active {
  opacity: 1;
  transform: scaleX(1);
}

/* Featured image with shadow and subtle animation */
.problems-image-2 {
  max-width: 600px;
  margin: 0 auto 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px var(--shadow-color);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.problems-image-2.scroll-item--active {
  opacity: 1;
  transform: translateY(0);
}

.problems-image-2 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ****************problems-image************* */

.problems-image {
  text-align: center;
  margin-top: 40px;
}
.problems-image-2 img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  object-fit: cover;
  max-height: 550px;
}

/* Benefits grid layout */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

/* Benefit item with glassmorphism and animated shadow */
.benefit-item {
  background: var(--card-bg);
  backdrop-filter: blur(10px); /* Glassmorphism blur effect */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  box-shadow: 0 4px 12px var(--shadow-color);
}

.benefit-item.scroll-item--active {
  opacity: 1;
  transform: translateY(0);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

/* Icon styling with subtle pulse animation */
.benefit-item i {
  font-size: 2rem;
  /* color: var(--accent-color); */

  color: #12db6d;
  margin-bottom: 15px;
  display: block;
  animation: pulse 2s infinite ease-in-out;
}

/* Text styling for benefit items */
.benefit-item p {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1.5;
}

/* Pulse animation for icons */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Scroll animation trigger */
.scroll-item {
  transition-delay: calc(0.1s * var(--scroll-index));
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .problems-image-2 {
    max-width: 100%;
  }
}

/*  
 ************************************************************************
  */

:root {
  --bg: #0b0f17;
  --card: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.2);
  --primary: #6c63ff;
  --primary-dark: #5651d9;
  --secondary: #00c9a7;
  --text: #e6eaf2;
  --muted: #a7b0c0;
  --brand: #6c8cff;
  --brand-2: #7ef2c6;
  --warn: #ffb86b;
  --danger: #ff6b7a;
  --ok: #5ee39f;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 24px;
  --radius-lg: 32px;
  --grad-1: radial-gradient(
      1400px 700px at 10% -20%,
      rgba(108, 140, 255, 0.28),
      transparent 65%
    ),
    radial-gradient(
      1100px 600px at 100% 20%,
      rgba(126, 242, 198, 0.22),
      transparent 65%
    ),
    linear-gradient(180deg, #0b0f17 0%, #0a0e16 100%);
  --grad-btn: linear-gradient(135deg, var(--brand), #a78bfa 60%, #7ef2c6 120%);
  --grad-btn-p: linear-gradient(
    135deg,
    var(--brand),
    #35d477 60%,
    #70c2a2 120%
  );
  --padding-container: clamp(40px, 6vw, 120px) 0;
  --max-width-container: min(90%, 1400px);
  --color-primary: #0dd241;
  --color-secondary: #13c041;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.3s ease;
}

/* Mobile Menu */

/* Section styling */
.helpy-story-section {
  background: var(--grad-1);
  padding: var(--padding-container);
  position: relative;
  overflow: hidden;
}

/* Section title - Enhanced typography */
.section-title {
  font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
  font-weight: 900;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
  line-height: 1.2;
  padding: 0 10px;
}

.section-title.scroll-item--active {
  opacity: 1;
  transform: translateY(0);
}

/* Divider - Smoother animation */
.divider {
  width: 120px;
  height: 4px;
  background: var(--grad-btn);
  margin: 0 auto 48px;
  border-radius: 4px;
  opacity: 0;
  transform: scaleX(0);
  transition: var(--transition) 0.2s;
}

.divider.scroll-item--active {
  opacity: 1;
  transform: scaleX(1);
}

/* Subtitle */
.section-subtitle {
  font-size: clamp(2.2rem, 2.5vw + 1rem, 2rem);
  font-weight: 700;
  /* color: var(--text); */
  color: #000;
  text-align: center;
  margin: 48px 0 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition) 0.3s;
  line-height: 1.3;
  padding: 0 10px;

  background: linear-gradient(90deg, #8ec5fc, #e0c3fc, #7ef2c6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.section-subtitle.scroll-item--active {
  opacity: 1;
  transform: translateY(0);
}

/* Story content - Premium glassmorphism with deeper shadows */
.story-content {
  /* background: var(--glass); */
  background-color: #07182b81;
  backdrop-filter: blur(12px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition) 0.4s;
  overflow: hidden;
}

.story-content-inicio {
  /* background: var(--glass); */
  backdrop-filter: blur(12px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition) 0.4s;
  overflow: hidden;
}

.story-content.scroll-item--active {
  opacity: 1;
  transform: translateY(0);
}

.story-content p {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 18px;
  line-height: 1.7;
  overflow-wrap: break-word;
}

.story-content .highlight {
  font-weight: 700;
  font-size: 1.4rem;
  /* background: linear-gradient(90deg, var(--brand), var(--brand-2)); */
  background: #00e676;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  margin: 20px 0;
  line-height: 1.4;
  padding: 0 10px;
}

/* Story grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin: 28px 0;
}

.story-item {
  background: var(--card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
  overflow: hidden;
}

.story-item.scroll-item--active {
  opacity: 1;
  transform: translateY(0);
}

.story-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  background: rgba(255, 255, 255, 0.18);
}

.story-item i {
  font-size: 2.2rem;
  color: var(--brand-2);
  margin-bottom: 18px;
  animation: pulse 2.2s infinite ease-in-out;
}

.story-item p {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
  overflow-wrap: break-word;
}

/* Story list */
.story-list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
}

.story-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 20px;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  margin-bottom: 14px;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition);
  overflow: hidden;
}

.story-list li.scroll-item--active {
  opacity: 1;
  transform: translateY(0);
}

.story-list i {
  font-size: 1.4rem;
  color: var(--brand-2);
  margin-top: 4px;
  animation: iconPulse 2.2s infinite ease-in-out;
  flex-shrink: 0;
}

.story-list li span {
  overflow-wrap: break-word;
}

/* Call to action - Enhanced button */
.story-actions {
  text-align: center;
  margin-top: 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition) 0.5s;
  padding: 0 10px;
}

.story-actions.scroll-item--active {
  opacity: 1;
  transform: translateY(0);
}

.btn-glow {
  background: var(--grad-btn);
  background-size: 300% 300%;
  animation: liquidGlow 5s ease-in-out infinite;
  color: #0b0f17;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 12px 30px rgba(124, 111, 255, 0.35);
  padding: 16px 32px;
  border-radius: 20px;
  border: 1px solid var(--stroke);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-glow:hover {
  transform: translateY(-4px);
  filter: saturate(120%) brightness(105%);
  box-shadow: 0 20px 50px rgba(124, 111, 255, 0.45);
}

/* Animations - Smoother and more premium */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes iconPulse {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

@keyframes liquidGlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Responsive adjustments - Full device compatibility */

@media (max-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-content {
    padding: 20px;
  }

  .story-content p {
    font-size: 1rem;

    color: var(--muted);
  }

  .story-item {
    padding: 20px;
  }

  .btn-glow {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .story-list li {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .story-content .highlight {
    font-size: 1.2rem;
  }

  .story-content,
  .story-item {
    border-radius: 16px;
  }

  .btn-glow {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 15px;
  }

  .story-content,
  .story-item {
    padding: 16px;
  }

  .btn-glow {
    font-size: 0.9rem;
    padding: 12px 20px;
  }
}

/* ==========================
             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 */
  }
}
