/* ============================================================
   CECECOB — Landing Page Styles
   Diseño: Limpio, clínico. Base blanca. Verdes solo como acento.
   Paleta: #ffffff / #fffadc / #b6f400 / #a4dd00 / #98cd00
   ============================================================ */

/* --- VARIABLES (Design System) --- */
:root {
  --c-white:       #ffffff;
  --c-cream:       #fffadc;
  --c-cream-dark:  #f0ecb8;
  --c-green:       #b6f400;   /* Verde lima — solo para acentos visuales */
  --c-green-mid:   #a4dd00;
  --c-green-dark:  #98cd00;
  --c-btn:         #25D366;   /* Verde WhatsApp — botones CTA */
  --c-btn-hover:   #1aad52;   /* Verde WhatsApp oscuro — hover */
  --c-text:        #1a1a1a;
  --c-text-muted:  #555555;
  --c-text-light:  #909090;
  --c-border:      #e5e7eb;
  --c-bg-light:    #f8f9fa;
  --c-dark:        #111827;

  --font: 'Inter', system-ui, -apple-system, sans-serif;

  --space-xs:  10px;
  --space-sm:  20px;
  --space-md:  32px;
  --space-lg:  56px;
  --space-xl:  88px;
  --space-2xl: 128px;

  --container: 1440px;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);

  --t-fast:   150ms ease;
  --t-normal: 250ms ease;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- TIPOGRAFÍA BASE --- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--c-text); }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1rem, 2vw, 1.3rem); }
p  { color: var(--c-text-muted); line-height: 1.75; }

/* --- UTILIDADES --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }
.highlight { color: var(--c-green-dark); }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c-green-dark);
  margin-bottom: var(--space-sm);
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: var(--space-sm);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 640px;
  margin-bottom: var(--space-lg);
}

/* --- BOTONES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t-normal);
  line-height: 1;
  white-space: nowrap;
}
.btn--primary {
  background: var(--c-btn);
  color: var(--c-white);
  border-color: var(--c-btn);
}
.btn--primary:hover {
  background: var(--c-btn-hover);
  border-color: var(--c-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}
.btn--outline {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border);
}
.btn--outline:hover {
  border-color: var(--c-green);
  color: var(--c-green-dark);
}
.btn--lg {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: var(--r-lg);
}
.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: var(--c-white);
  border-color: rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--c-green);
  color: var(--c-green);
}

/* ============================================================
   CINTA PROMOCIONAL (Promo Bar)
   ============================================================ */
.promo-bar {
  position: relative;
  background: var(--c-green);        /* #b6f400 — verde fuerte de marca */
  color: var(--c-text);              /* #1a1a1a — máximo contraste */
  height: 44px;
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 200;
}

/* Ticker / carrete que se mueve */
.promo-bar__ticker {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 6%,
    black 88%,
    transparent 100%
  );
}
.promo-bar__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.promo-bar__track:hover { animation-play-state: paused; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.promo-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 0.85rem;
  padding: 0 60px;
  color: var(--c-text);
}
.promo-bar__item strong { font-weight: 800; }

/* Punto pulsante */
.promo-bar__dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--c-text);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

/* CTA dentro de la cinta */
.promo-bar__cta {
  display: inline-flex;
  align-items: center;
  background: var(--c-text);
  color: var(--c-green);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.2px;
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}
.promo-bar__cta:hover {
  background: var(--c-dark);
  color: var(--c-green);
}

/* Botón cerrar */
.promo-bar__close {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(0,0,0,0.12);
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--c-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.promo-bar__close:hover { background: rgba(0,0,0,0.22); }

/* Cuando se cierra la cinta */
.promo-bar.hidden {
  height: 0;
  overflow: hidden;
  transition: height 0.3s ease;
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 9999;
  transition: transform var(--t-normal), box-shadow var(--t-normal);
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 34px; height: 34px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,253,242,0.97);  /* crema muy suave, casi blanco */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-cream-dark);
  padding: 14px 0;
  transition: box-shadow var(--t-normal);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  flex-shrink: 0;   /* Nunca se aplasta en flexbox */
  display: flex;
  align-items: center;
}
.navbar__logo img {
  height: 80px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Logo responsivo */
@media (max-width: 1280px) {
  .navbar__logo img { height: 64px; }
}
@media (max-width: 960px) {
  .navbar__logo img { height: 56px; }
}
@media (max-width: 640px) {
  .navbar__logo img { height: 44px; }
}
.navbar__cta { padding: 10px 22px; font-size: 0.9rem; }

/* --- Menú de anclas --- */
.navbar__nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.navbar__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-muted);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.navbar__link:hover {
  color: var(--c-text);
  background: var(--c-bg-light);
}
.navbar__link.active {
  color: var(--c-green-dark);
  background: var(--c-cream);
}

/* --- Acciones derecha --- */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* --- Hamburguesa --- */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 8px;
}
.navbar__hamburger span {
  display: block;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: all var(--t-normal);
}
/* Hamburguesa → X cuando está abierto */
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Menú móvil desplegado --- */
@media (max-width: 960px) {
  .navbar__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-white);
    border-top: 1px solid var(--c-border);
    border-bottom: 2px solid var(--c-green);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .navbar__nav.open { display: flex; }
  .navbar__link {
    padding: 14px 24px;
    border-radius: 0;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--c-border);
  }
  .navbar__link:last-child { border-bottom: none; }
  .navbar__hamburger { display: flex; }
  .navbar__cta { display: none; }
}

@media (max-width: 1280px) and (min-width: 961px) {
  .navbar__link { font-size: 0.8rem; padding: 8px 8px; }
}

/* ============================================================
   HERO — Imagen de fondo a pantalla completa
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 132px); /* 100vh menos promo bar (~44px) y navbar (~88px) */
  min-height: 480px;
  max-height: 950px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Imagen de fondo */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Overlay degradado oscuro — legibilidad del texto */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(10, 14, 20, 0.78) 0%,
    rgba(10, 14, 20, 0.55) 55%,
    rgba(10, 14, 20, 0.20) 100%
  );
}

/* Contenido encima del fondo — ligeramente separado del borde izquierdo */
.hero .container {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  padding-left: 120px;
  padding-right: 0;
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding: 5vh 0;
  max-width: 50%;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(182,244,0,0.12);
  border: 1px solid var(--c-green);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-green);
  margin-bottom: 1.2rem;
  letter-spacing: 0.2px;
}
.hero__badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-green);
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.4); }
}

/* Headline — proporcionado para Full HD */
.hero__headline {
  font-size: clamp(1.3rem, 1.7vw, 2rem);
  margin-bottom: 1rem;
  line-height: 1.4;
  color: var(--c-white);
  font-weight: 900;
}
/* Línea intermedia — segunda pregunta, más suave */
.hero__headline--secondary {
  color: rgba(255,255,255,0.68);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.4vw, 1.7rem);
  display: inline-block;
  margin: 0.25rem 0;
}
/* Cierre en verde — la promesa */
.hero__headline .highlight {
  color: var(--c-green);
  font-size: clamp(1.4rem, 1.9vw, 2.2rem);
  display: inline-block;
  margin-top: 0.5rem;
  line-height: 1.3;
}

/* Subheadline */
.hero__subheadline {
  margin-bottom: 1.6rem;
}
.hero__subheadline p {
  font-size: clamp(0.9rem, 1vw, 1.05rem);
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.hero__subheadline p:first-child {
  margin-bottom: 1rem;
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  color: rgba(255,255,255,0.90);
}
.hero__subheadline p:not(:first-child)::before {
  content: '— ';
  color: var(--c-green);
  font-weight: 700;
}

/* Acciones */
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.6rem;
}
.hero__disclaimer {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.44);
  margin: 0;
}

/* Logos de confianza */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero__trust-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.hero__trust-logos {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.hero__trust-logos img {
  height: 24px;
  width: auto;
  opacity: 0.72;
  filter: brightness(0) invert(1);
  transition: opacity var(--t-normal);
}
.hero__trust-logos img:hover { opacity: 1; }

/* ============================================================
   AVALADO POR — Franja logos institucionales
   ============================================================ */
.avalado-por {
  background: var(--c-white);
  padding: var(--space-md) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.avalado-por__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.avalado-por__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c-text-muted);
  white-space: nowrap;
}
.avalado-por__logos {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.avalado-por__logos img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   BARRA DE CREDIBILIDAD
   ============================================================ */
.credibility {
  background: var(--c-dark);
  padding: var(--space-md) 0;
}
.credibility__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.credibility__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: var(--space-xs) var(--space-md);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.credibility__item:last-child { border-right: none; }
.credibility__number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--c-green);
  line-height: 1;
}
.credibility__label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}
.credibility__logo-img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ============================================================
   EMPATÍA
   ============================================================ */
.empathy {
  padding: 50px 0 0 0;
  background: var(--c-white);
  overflow: visible;
}
.empathy__header {
  margin-bottom: var(--space-md);
  width: 100%;
}
.empathy__big-title {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--c-text);
  margin: 0;
  width: 100%;
}
.empathy__big-label {
  display: block;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c-green-dark);
  margin-bottom: 6px;
}
.empathy__body {
  display: grid;
  grid-template-columns: 1.5fr 0.5fr;
  gap: var(--space-md);
  align-items: stretch;
}
/* Márgenes compactos solo en esta sección */
.empathy .section-label { margin-bottom: 6px; }
.empathy .section-title { margin-bottom: 8px; font-size: clamp(1.4rem, 2.5vw, 2rem); }
.empathy .section-subtitle { margin-bottom: var(--space-sm); font-size: 1.1rem; max-width: 100%; }
.empathy__visual {
  display: flex;
  align-items: flex-end;
  margin-bottom: calc(-1 * var(--space-lg) - 168px);
}
.empathy__img {
  width: 120%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  mix-blend-mode: multiply;
}
.empathy__content {
  display: flex;
  flex-direction: column;
}
.empathy__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--space-md);
}
.empathy__btn {
  background: var(--c-bg-light);
  border: 2px solid var(--c-border);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-text-muted);
  cursor: pointer;
  transition: all var(--t-normal);
  font-family: var(--font);
  line-height: 1.2;
}
.empathy__btn:hover {
  border-color: var(--c-green-dark);
  color: var(--c-text);
  background: var(--c-cream);
}
.empathy__btn.active {
  background: var(--c-green);
  border-color: var(--c-green);
  color: var(--c-dark);
  font-weight: 700;
}
.empathy__panel {
  background: var(--c-cream);
  border-left: 4px solid var(--c-green);
  border-radius: var(--r-md);
  padding: var(--space-sm);
  margin-bottom: var(--space-sm);
  min-height: 72px;
}
.empathy__panel-texts p {
  display: none;
  font-size: 1rem;
  color: var(--c-text);
  line-height: 1.7;
  margin: 0;
  animation: fadeIn 0.25s ease;
}
.empathy__panel-texts p.active { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.empathy__close {
  font-size: 1rem;
  text-align: center;
  color: var(--c-text-muted);
  max-width: 640px;
  margin: 0;
  margin-top: 48px;
  margin-bottom: var(--space-lg);
  padding: var(--space-sm);
  background: var(--c-cream);
  border-radius: var(--r-lg);
}
.empathy__close strong { color: var(--c-text); }

/* ============================================================
   PROPUESTA DE VALOR
   ============================================================ */
.value__cta {
  text-align: center;
  margin-top: var(--space-lg);
}
.value .section-label,
.process .section-label,
.faq .section-label,
.testimonials .section-label {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 900;
  color: var(--c-green-dark);
}
.value__hero {
  text-align: center;
  margin: var(--space-xl) 0 var(--space-lg);
}
.value__hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--c-text);
  margin-bottom: var(--space-lg);
}
.value__hero-img {
  width: 100%;
  max-width: 900px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  margin: 0 auto;
}
.value {
  padding: 40px 0 50px 0;
  background: var(--c-bg-light);
}
.value__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.value__card {
  background: var(--c-white);
  border-radius: var(--r-md);
  padding: var(--space-lg) var(--space-md);
  border: 1px solid var(--c-border);
  transition: box-shadow var(--t-normal), transform var(--t-normal);
}
.value__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.value__card-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--c-green);
  line-height: 1;
  margin-bottom: var(--space-sm);
  font-variant-numeric: tabular-nums;
}
.value__card h3 {
  margin-bottom: 8px;
  font-size: 1rem;
  font-weight: 700;
}
.value__card p { font-size: 0.88rem; }

/* Tabla comparativa */
.comparison {
  background: var(--c-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.comparison-title {
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  padding: var(--space-md);
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
}
.comparison table {
  width: 100%;
  border-collapse: collapse;
}
.comparison thead tr {
  background: var(--c-dark);
}
.comparison th {
  padding: 14px var(--space-md);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: left;
  color: rgba(255,255,255,0.7);
}
.comparison th:first-child { width: 40%; }
.comparison th.th-good {
  background: var(--c-green);
  color: var(--c-text);
}
.comparison td {
  padding: 13px var(--space-md);
  font-size: 0.88rem;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text-muted);
  vertical-align: top;
}
.comparison tr:last-child td { border-bottom: none; }
.comparison td.bad { color: var(--c-text-light); }
.comparison td.bad::before { content: '✗  '; color: #e5534b; font-weight: 700; }
.comparison td.good { color: var(--c-green-dark); font-weight: 600; }
.comparison td.good::before { content: '✓  '; font-weight: 700; }

/* Bloque institución */
.institution-block {
  margin-top: var(--space-xl);
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-green);
}
.institution-block p { font-size: 0.95rem; margin-bottom: var(--space-sm); }
.institution-block p:last-child { margin-bottom: 0; }

/* ============================================================
   PROCESO
   ============================================================ */
.process {
  padding: var(--space-xs) 0 50px 0;
  background: var(--c-white);
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
  margin-top: var(--space-xl);
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 4px);
  right: calc(12.5% + 4px);
  height: 2px;
  background: linear-gradient(90deg, var(--c-green) 0%, var(--c-green-dark) 100%);
  z-index: 0;
}
.process__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
}
.process__number {
  width: 56px; height: 56px;
  background: var(--c-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--c-text);
  border: 4px solid var(--c-white);
  box-shadow: 0 0 0 2px var(--c-green);
  flex-shrink: 0;
}
.process__step h3 { font-size: 0.98rem; margin-bottom: 4px; }
.process__step p { font-size: 0.85rem; }
.process__tag {
  display: inline-block;
  background: var(--c-cream);
  color: var(--c-green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
}
.process__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonials {
  padding: 40px 0;
  background-image: url('../img/fotos/header_cececob_5.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 250, 220, 0.88);
  z-index: 0;
}
.testimonials .container {
  position: relative;
  z-index: 1;
}
.full-img-strip {
  width: 100%;
  line-height: 0;
}
.full-img-strip__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.testimonial-card {
  background: var(--c-white);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  border-top: 4px solid var(--c-green);
  transition: box-shadow var(--t-normal), transform var(--t-normal);
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.testimonial-card__stars {
  color: var(--c-green-dark);
  font-size: 1rem;
  letter-spacing: 3px;
}
.testimonial-card__text {
  font-size: 0.93rem;
  color: var(--c-text-muted);
  font-style: italic;
  flex: 1;
  line-height: 1.75;
  margin: 0;
}
.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--c-border);
}
.testimonial-card__photo {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--c-green);
  flex-shrink: 0;
}
.testimonial-card__initial {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--c-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--c-text);
  flex-shrink: 0;
}
.testimonial-card__name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--c-text);
  display: block;
}
.testimonial-card__source {
  font-size: 0.76rem;
  color: var(--c-text-light);
  display: block;
}
/* Video testimonio */
.testimonial-video {
  margin-top: var(--space-xl);
  text-align: center;
}
.testimonial-video__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
}
.testimonial-video__player {
  width: 100%;
  max-width: 680px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  margin: 0 auto;
  background: var(--c-dark);
}

.testimonials__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}
.testimonials__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
.testimonials__link:hover { color: var(--c-text); }

/* ============================================================
   FAQ
   ============================================================ */
.faq .section-label {
  display: block !important;
  width: 100%;
  text-align: center !important;
}
.faq .section-subtitle {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.faq {
  padding: 40px 0;
  background-image: url('../img/fotos/header_cececob_2.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 0;
}
.faq .container {
  position: relative;
  z-index: 1;
}
.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq__item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-normal);
}
.faq__item.open { border-color: var(--c-green); }
.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--c-text);
  transition: background var(--t-fast);
}
.faq__question:hover { background: var(--c-bg-light); }
.faq__item.open .faq__question { background: var(--c-cream); }
.faq__icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--c-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-text);
  transition: transform var(--t-normal);
  line-height: 1;
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
  padding: 0 var(--space-md);
}
.faq__item.open .faq__answer {
  max-height: 600px;
  padding: 0 var(--space-md) var(--space-md);
}
.faq__answer p { font-size: 0.93rem; line-height: 1.75; }
.faq__answer strong { color: var(--c-text); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding: var(--space-md) 0;
  background: #0d3320;
}
.cta-final__inner {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}
/* Contador regresivo */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: var(--space-md) 0;
  flex-wrap: wrap;
}
.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(182,244,0,0.08);
  border: 1px solid rgba(182,244,0,0.25);
  border-radius: var(--r-md);
  padding: 16px 24px;
  min-width: 90px;
}
.countdown__num {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--c-green);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
}
.countdown__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
}
.countdown__sep {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(182,244,0,0.4);
  line-height: 1;
  margin-bottom: 20px;
}

.cta-final__tag {
  display: inline-block;
  background: rgba(182,244,0,0.18);
  color: var(--c-green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(182,244,0,0.25);
  margin-bottom: var(--space-md);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cta-final__headline {
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  color: var(--c-white);
  margin-bottom: var(--space-md);
}
.cta-final__headline span { color: var(--c-green); }
.cta-final__body {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-lg);
  line-height: 1.85;
}
.cta-final__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cta-final__note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.cta-final__stats {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(182,244,0,0.25);
  flex-wrap: nowrap;
}
.cta-final__stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--c-green);
  line-height: 1;
}
.cta-final__stat-label {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.45);
  margin-top: 6px;
  display: block;
}

/* ============================================================
   UBICACIÓN / MAPA
   ============================================================ */
.location {
  padding: var(--space-lg) 0;
  background-image: url('../img/fotos/fondo_2_cececob.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}
.location::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 60, 20, 0.75);
  z-index: 0;
}
.location .container {
  position: relative;
  z-index: 1;
}
.location .section-label {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 900;
  color: var(--c-green);
}
.location .section-title {
  color: var(--c-white);
}
.location .section-subtitle {
  color: rgba(255,255,255,0.75);
}
.location__inner {
  display: grid;
  grid-template-columns: 0.7fr 1.8fr;
  gap: var(--space-lg);
  align-items: start;
}
.location__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.location__detail {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}
.location__icon {
  width: 42px; height: 42px;
  background: var(--c-cream);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.location__detail-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-green);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.location__detail-text p,
.location__detail-text a { font-size: 0.93rem; color: rgba(255,255,255,0.85); margin: 0; }
.location__detail-text a:hover { color: var(--c-green); }
.location__hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}
.location__hours-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
}
.location__hours-day { color: rgba(255,255,255,0.65); }
.location__hours-time { font-weight: 600; color: var(--c-white); }
.location__hours-time.closed { color: rgba(255,255,255,0.4); font-weight: 400; }
.location__map iframe {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.location__right {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: calc(-1 * var(--space-2xl) - 140px);
  max-width: 460px;
  margin-left: auto;
}
.location__form-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 800;
  color: var(--c-white);
  line-height: 1.3;
  margin-bottom: var(--space-sm);
}
.location__form {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-lg);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.location__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.location__form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.location__form-group label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--c-green);
}
.location__form-group input,
.location__form-group textarea {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: var(--font);
  color: var(--c-white);
  outline: none;
  transition: border-color var(--t-normal);
  resize: none;
}
.location__form-group input::placeholder,
.location__form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}
.location__form-group input:focus,
.location__form-group textarea:focus {
  border-color: var(--c-green);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0d3320;
  padding: var(--space-lg) 0;
  border-top: 1px solid rgba(182,244,0,0.15);
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto;
  gap: var(--space-lg) var(--space-xl);
  align-items: start;
}
.footer__logos {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}
.footer__brand {
  display: flex;
  align-items: center;
}
.footer__logo {
  height: 100px;
  width: auto;
}
.footer__logos img {
  height: 36px;
  width: auto;
  mix-blend-mode: normal;
  opacity: 1;
  transition: opacity var(--t-normal);
}
.footer__logos img:hover { opacity: 0.8; }
.footer__nav,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__nav-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--c-green);
  margin-bottom: 4px;
}
.footer__nav-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--t-fast);
}
.footer__nav-link:hover { color: var(--c-green); }
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.footer__social-link {
  color: rgba(255,255,255,0.65);
  transition: color var(--t-fast);
}
.footer__social-link:hover { color: var(--c-green); }
.footer__copy {
  text-align: right;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: right;
  margin: 0;
}
.footer__copy a { color: rgba(255,255,255,0.45); }
.footer__copy a:hover { color: var(--c-green); }

.footer__bottom {
  text-align: center;
  padding: var(--space-sm) 0 0;
  border-top: 1px solid rgba(182,244,0,0.1);
  margin-top: var(--space-md);
}
.footer__made {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
}
.footer__made a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer__made a:hover { color: var(--c-green); }

.footer__privacy-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
  transition: color var(--t-fast);
}
.footer__privacy-btn:hover { color: var(--c-green); }

/* ============================================================
   MODAL — Aviso de Privacidad
   ============================================================ */
.privacy-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
  backdrop-filter: blur(4px);
}
.privacy-overlay.open { display: flex; }

.privacy-modal {
  background: var(--c-white);
  border-radius: var(--r-lg);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3);
  animation: modalIn 0.25s ease;
  position: relative;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.privacy-modal__close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--c-text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  transition: background var(--t-fast), color var(--t-fast);
}
.privacy-modal__close:hover { background: var(--c-bg-light); color: var(--c-text); }

.privacy-modal__body {
  overflow-y: auto;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  flex: 1;
}
.privacy-modal__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--c-green-dark);
  margin-bottom: 4px;
}
.privacy-modal__date {
  font-size: 0.78rem;
  color: var(--c-text-light);
  margin-bottom: var(--space-md);
}
.privacy-modal__body h3 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--c-text);
  margin: var(--space-sm) 0 6px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--c-green);
  display: inline-block;
}
.privacy-modal__body p {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-bottom: 8px;
}
.privacy-modal__body ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
.privacy-modal__body ul li {
  font-size: 0.875rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 3px;
}
.privacy-modal__body a { color: var(--c-green-dark); }
.privacy-modal__body a:hover { text-decoration: underline; }

.privacy-modal__footer {
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--c-border);
  text-align: right;
}

/* ============================================================
   WOW EFFECTS — Visual polish & micro-interactions  [INTENSIFIED]
   ============================================================ */

/* 1 ── Barra de progreso de scroll */
.scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 6px;
  width: 0%;
  background: linear-gradient(90deg, #25D366 0%, var(--c-green) 45%, #fff176 100%);
  z-index: 10001;
  box-shadow: 0 0 14px rgba(182,244,0,1), 0 0 32px rgba(182,244,0,0.6), 0 2px 8px rgba(0,0,0,0.3);
  pointer-events: none;
  transition: width 80ms linear;
  border-radius: 0 4px 4px 0;
}

/* 2 ── Cursor glow (desktop only) */
@media (hover: hover) {
  .cursor-glow {
    position: fixed;
    width: 600px; height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
      rgba(182,244,0,0.13) 0%,
      rgba(182,244,0,0.06) 30%,
      transparent 65%);
    transition: opacity 0.4s ease;
    opacity: 0;
  }
}

/* 3 ── Hero aurora blobs */
.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero__aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
}
.hero__aurora-blob:nth-child(1) {
  width: 800px; height: 580px;
  background: radial-gradient(circle, rgba(182,244,0,0.42) 0%, rgba(182,244,0,0.12) 45%, transparent 70%);
  top: -20%; left: -8%;
  animation: aurora1 16s ease-in-out infinite alternate;
}
.hero__aurora-blob:nth-child(2) {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(37,211,102,0.35) 0%, rgba(37,211,102,0.10) 45%, transparent 70%);
  top: 20%; right: 2%;
  animation: aurora2 20s ease-in-out infinite alternate;
}
.hero__aurora-blob:nth-child(3) {
  width: 380px; height: 420px;
  background: radial-gradient(circle, rgba(182,244,0,0.28) 0%, transparent 65%);
  bottom: 5%; left: 30%;
  animation: aurora3 13s ease-in-out infinite alternate;
}
@keyframes aurora1 {
  from { transform: translate(0, 0)      scale(1)    rotate(0deg); }
  to   { transform: translate(55px,-40px) scale(1.14) rotate(8deg); }
}
@keyframes aurora2 {
  from { transform: translate(0, 0)       scale(1)    rotate(0deg); }
  to   { transform: translate(-35px,28px) scale(1.12) rotate(-7deg); }
}
@keyframes aurora3 {
  from { transform: translate(0, 0)       scale(1); }
  to   { transform: translate(28px,-24px) scale(1.18); }
}

/* 4 ── Hero floating particles */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 6px rgba(182,244,0,0.9), 0 0 14px rgba(182,244,0,0.5);
  opacity: 0;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  6%   { opacity: 1; }
  80%  { opacity: 0.85; }
  100% { transform: translateY(-108vh) translateX(var(--drift,30px)) scale(0.1); opacity: 0; }
}

/* 5 ── Button shimmer sweep */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.48), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn:hover::after { animation: btnShimmer 0.65s ease forwards; }
@keyframes btnShimmer {
  from { left: -130%; }
  to   { left: 165%; }
}

/* 6 ── Countdown numbers — glow intenso siempre visible */
.countdown__num {
  animation: numGlow 2.4s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(182,244,0,0.6));
}
@keyframes numGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(182,244,0,0.6),
                 0 0 24px rgba(182,244,0,0.35);
  }
  50% {
    text-shadow: 0 0 22px rgba(182,244,0,1),
                 0 0 45px rgba(182,244,0,0.7),
                 0 0 80px rgba(182,244,0,0.35);
  }
}

/* 7 ── Navbar link sliding underline */
.navbar__link { position: relative; }
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0%; height: 2px;
  background: var(--c-green);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease;
}
.navbar__link:hover::after { width: 70%; }
.navbar__link.active::after { width: 70%; }

/* 8 ── Credibility items hover lift + glow */
.credibility__item {
  transition: transform 0.3s ease;
  cursor: default;
}
.credibility__item:hover { transform: translateY(-8px) scale(1.03); }
.credibility__item:hover .credibility__number {
  text-shadow: 0 0 28px rgba(152,205,0,0.85), 0 0 50px rgba(152,205,0,0.4);
  transition: text-shadow 0.3s ease;
}

/* 9 ── Value & testimonial cards: tilt setup + inner glow */
.value__card { position: relative; overflow: hidden; }
.testimonial-card { position: relative; overflow: hidden; }
.value__card::before,
.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(182,244,0,0.14) 0%, rgba(182,244,0,0.04) 40%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.value__card:hover::before,
.testimonial-card:hover::before { opacity: 1; }
.value__card:hover {
  box-shadow: 0 8px 32px rgba(182,244,0,0.18), var(--shadow-md);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(182,244,0,0.18), var(--shadow-md);
}

/* 10 ── WhatsApp float: pulsing rings más gruesos y visibles */
.whatsapp-float { position: fixed; }
.whatsapp-float::before,
.whatsapp-float::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  animation: waPulseRing 2.2s ease-out infinite;
  pointer-events: none;
}
.whatsapp-float::before {
  inset: -10px;
  border: 3px solid rgba(37,211,102,0.85);
  animation-delay: 0s;
}
.whatsapp-float::after {
  inset: -22px;
  border: 3px solid rgba(37,211,102,0.45);
  animation-delay: 0.6s;
}
@keyframes waPulseRing {
  0%   { transform: scale(0.82); opacity: 1; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* 11 ── Process connector: línea con luz que fluye visible */
.process__steps::before {
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(182,244,0,0.3) 5%,
    var(--c-green) 25%,
    #fff176 50%,
    var(--c-green) 75%,
    rgba(182,244,0,0.3) 95%,
    transparent 100%);
  background-size: 200% auto;
  animation: connectorFlow 3.5s linear infinite;
  box-shadow: 0 0 10px rgba(182,244,0,0.6);
}
@keyframes connectorFlow {
  from { background-position:  200% center; }
  to   { background-position: -200% center; }
}

/* 12 ── Process step number: glow permanente + intenso en hover */
.process__number {
  box-shadow: 0 0 0 2px var(--c-green), 0 0 12px rgba(182,244,0,0.35);
  transition: box-shadow 0.3s ease;
}
.process__step:hover .process__number {
  box-shadow: 0 0 0 3px var(--c-green), 0 0 28px rgba(182,244,0,0.85), 0 0 50px rgba(182,244,0,0.35);
}

/* 13 ── Avalado logos lift on hover */
.avalado-por__logos img {
  transition: transform 0.3s ease, filter 0.3s ease;
}
.avalado-por__logos img:hover {
  transform: translateY(-7px) scale(1.08);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.25));
}

/* 14 ── FAQ item abierto: borde verde prominente */
.faq__item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq__item.open {
  border-color: rgba(182,244,0,0.5) !important;
  box-shadow: 0 0 0 2px rgba(182,244,0,0.25), var(--shadow-sm);
}

/* 15 ── Scroll reveal (aplicado por JS) */
.wow-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1),
              transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.wow-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 16 ── Stats CTA: números siempre con brillo, más intenso en hover */
.cta-final__stat-value {
  text-shadow: 0 0 16px rgba(182,244,0,0.45);
  transition: text-shadow 0.3s ease;
}
.cta-final__stat:hover .cta-final__stat-value {
  text-shadow: 0 0 30px rgba(182,244,0,1), 0 0 55px rgba(182,244,0,0.5);
}

/* Disable heavy effects on touch/mobile */
@media (hover: none) {
  .cursor-glow { display: none !important; }
  .hero__aurora-blob { animation: none !important; opacity: 0.6; }
}

/* ============================================================
   ANIMATED WOW — efectos que se mueven solos
   ============================================================ */

/* ── A. Hero: entrada cinematográfica ─────────────────────── */
/* Estado inicial: invisibles. JS aplica la animación escalonada */
.hero-anim-init {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(5px);
}

/* ── B. Highlight text: shimmer de luz continuo ───────────── */
.hero__headline .highlight {
  background: linear-gradient(90deg,
    var(--c-green)  0%,
    #d4ff66        28%,
    #ffffff        50%,
    #d4ff66        72%,
    var(--c-green) 100%);
  background-size: 280% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: highlightShimmer 8s linear infinite;
}
@keyframes highlightShimmer {
  from { background-position: 200% center; }
  to   { background-position: -200% center; }
}

/* ── C. CTA botón hero: pulso de neón ─────────────────────── */
.hero__actions .btn--primary {
  animation: ctaPulse 2.5s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37,211,102,0.4),
                0 0 0 0   rgba(37,211,102,0);
  }
  50% {
    box-shadow: 0 8px 32px rgba(37,211,102,0.65),
                0 0 0 10px rgba(37,211,102,0);
  }
}

/* ── D. Value cards float: eliminado por petición ─────────── */

/* ── E. Section title: wipe reveal de izquierda a derecha ─── */
.title-wipe {
  overflow: hidden;   /* recorta el hijo durante la animación */
  display: block;
}
.title-wipe-inner {
  display: block;
  transform: translateX(-100%);
  opacity: 0;
  transition:
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    opacity   0.4s ease;
}
.title-wipe.is-visible .title-wipe-inner {
  transform: translateX(0);
  opacity: 1;
}

/* ── F. Ripple en clicks de botones ──────────────────────── */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: rippleGrow 0.65s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleGrow {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(1); opacity: 0; }
}

/* ── G. Badge hero: pulso de entrada ─────────────────────── */
.hero__badge {
  animation: badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}
@keyframes badgePop {
  from { opacity: 0; transform: scale(0.7) translateY(-10px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* ── H. Process numbers bounce: eliminado por petición ─────── */

/* ── I. Countdown separadores: parpadeo ──────────────────── */
.countdown__sep {
  animation: sepBlink 1.1s step-start infinite;
}
@keyframes sepBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

/* ============================================================
   RESPONSIVE — Tablet (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__image { display: none; }
  .hero__subheadline { max-width: 100%; }
  .credibility__grid { grid-template-columns: repeat(3, 1fr); }
  .credibility__item:nth-child(3n) { border-right: none; }
  .value__grid { grid-template-columns: repeat(2, 1fr); }
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .process__steps::before { display: none; }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .location__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — Móvil (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root { --space-2xl: 72px; --space-xl: 48px; --space-lg: 36px; }
  .container { padding: 0 20px; }
  .navbar__cta { display: none; }
  .credibility__grid { grid-template-columns: repeat(2, 1fr); }
  .credibility__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .credibility__item:nth-child(even),
  .credibility__item:last-child { border-bottom: none; }
  .empathy__body { grid-template-columns: 1fr; }
  .empathy__visual { position: static; }
  .empathy__img { height: 300px; }
  .empathy__list { grid-template-columns: 1fr; }
  .value__grid { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; gap: var(--space-md); }
  .hero__actions { align-items: stretch; }
  .btn--lg { font-size: 1rem; padding: 16px 24px; }
  .cta-final__stats { gap: var(--space-md); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__copy { text-align: left; }
  .footer__logos { justify-content: center; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}

/* ============================================================
   PERFORMANCE — Deshabilitar parallax en móvil (≤ 768px)
   background-attachment: fixed causa repintado constante en
   dispositivos móviles, penalizando fuertemente el rendimiento
   ============================================================ */
@media (max-width: 768px) {
  .testimonials,
  .faq,
  .location {
    background-attachment: scroll;
  }
}

