/* =================================================================
   SPINOFF — MAIN STYLESHEET
   Inspiración: Apple · Dyson · Notion · Linear
   ================================================================= */

/* ── 01. CSS Custom Properties ──────────────────────────────────── */
:root {
  /* Alturas del header */
  --anuncio-h:  36px;
  --nav-h:      72px;
  --header-h:   calc(var(--anuncio-h) + var(--nav-h));

  /* Marca */
  --verde:         #39A84A;
  --verde-dark:    #2d8b3c;
  --verde-light:   #f0faf1;
  --azul:          #0E447A;
  --azul-dark:     #0a3363;
  --azul-light:    #e8f4fd;
  --blanco:        #FFFFFF;
  --gris:          #F5F7F8;
  --texto:         #1F2937;
  --texto-suave:   #6B7280;
  --borde:         #E5E7EB;

  /* Tipografía */
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Espaciado */
  --container-max:     1200px;
  --container-padding: clamp(1.25rem, 5vw, 2.5rem);
  --section-py:        clamp(4rem, 8vw, 7.5rem);

  /* Sombras */
  --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.10);
  --shadow-xl:  0 20px 60px rgba(0,0,0,0.12);

  /* Radios */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Transiciones */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration:   220ms;
  --duration-lg: 400ms;
}

/* ── 02. Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h, 108px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

/* ── 03. Tipografía ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--texto);
}

p { line-height: 1.7; }

.gradient-text {
  background: linear-gradient(135deg, var(--verde) 0%, var(--azul) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 04. Layout ──────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-py) 0;
}

.section--gray { background: var(--gris); }

/* ── 05. Botones ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    transform var(--duration) var(--ease-spring),
    box-shadow var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}

.btn:active { transform: scale(0.97); }

.btn--lg {
  font-size: var(--text-base);
  padding: 1rem 2rem;
}

.btn--sm {
  font-size: var(--text-xs);
  padding: 0.5rem 1rem;
}

.btn--block { width: 100%; }

/* Primary */
.btn--primary {
  background: var(--verde);
  color: var(--blanco);
  box-shadow: 0 4px 14px rgba(57, 168, 74, 0.35);
}
.btn--primary:hover {
  background: var(--verde-dark);
  box-shadow: 0 6px 20px rgba(57, 168, 74, 0.45);
  transform: translateY(-1px);
}

/* Ghost */
.btn--ghost {
  background: transparent;
  color: var(--texto);
  border-color: var(--borde);
}
.btn--ghost:hover {
  background: var(--gris);
  border-color: var(--texto);
}

/* Ghost blanco (sobre fondos oscuros) */
.btn--ghost-white {
  background: rgba(255,255,255,0.1);
  color: var(--blanco);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.btn--ghost-white:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}

/* Blanco (sobre gradients) */
.btn--white {
  background: var(--blanco);
  color: var(--azul);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn--white:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  transform: translateY(-1px);
}

/* ── 06. Badge ───────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.badge--green {
  background: rgba(57, 168, 74, 0.1);
  color: var(--verde-dark);
  border: 1px solid rgba(57, 168, 74, 0.25);
}

.badge--blue {
  background: rgba(14, 68, 122, 0.08);
  color: var(--azul);
  border: 1px solid rgba(14, 68, 122, 0.2);
}

.badge--white {
  background: rgba(255,255,255,0.15);
  color: var(--blanco);
  border: 1px solid rgba(255,255,255,0.3);
}

/* ── 07. Section Header ──────────────────────────────────────────── */
.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section__subtitle {
  font-size: var(--text-lg);
  color: var(--texto-suave);
  line-height: 1.6;
  max-width: 480px;
}

/* ── 08. Navegación ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: var(--anuncio-h);
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top .3s ease;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
  transition:
    background var(--duration-lg) var(--ease),
    box-shadow var(--duration-lg) var(--ease),
    backdrop-filter var(--duration-lg) var(--ease);
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--verde) 0%, var(--azul) 100%);
  opacity: 0.9;
  z-index: 1001;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--borde), 0 4px 20px rgba(0,0,0,0.06);
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-img--footer {
  height: 34px;
  opacity: .92;
}

/* Nav links */
.header__nav { margin-left: auto; }

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header__nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--texto-suave);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
  position: relative;
}

.header__nav-link:hover {
  color: var(--verde-dark);
  background: var(--verde-light);
}

.header__nav-link.is-active {
  color: var(--verde-dark);
  background: var(--verde-light);
  font-weight: 600;
}

.header__nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--verde);
}

/* Acciones header */
.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

.header__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  color: var(--texto-suave);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.header__cart:hover {
  color: var(--texto);
  background: var(--gris);
}

.header__cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--verde);
  color: white;
  font-size: 9px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* Hamburguesa */
.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--duration) var(--ease);
  flex-shrink: 0;
}

.header__hamburger:hover { background: var(--gris); }

.header__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--texto);
  border-radius: 2px;
  transition: transform 250ms var(--ease), opacity 200ms var(--ease), width 200ms var(--ease);
}

.header__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Menú mobile — base (siempre presente, oculto con visibility) ── */
.header__mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--borde);
  box-shadow: 0 16px 48px rgba(0,0,0,.12);
  /* Estado cerrado */
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    visibility 0s .22s,
    opacity .2s ease,
    transform .22s var(--ease);
  z-index: 999;
}

.header__mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

/* Inner wrapper */
.mobile-menu__inner {
  padding: 1.25rem var(--container-padding) 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

/* Lista de nav */
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--texto-suave);
  transition: color var(--duration) var(--ease), background var(--duration) var(--ease);
  position: relative;
  min-height: 48px;
}

.mobile-menu__link:hover { color: var(--texto); background: var(--gris); }

.mobile-menu__link.is-active {
  color: var(--verde-dark);
  background: var(--verde-light);
  font-weight: 600;
}

.mobile-menu__link-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gris);
  color: var(--texto-suave);
  transition: background var(--duration), color var(--duration);
}

.mobile-menu__link:hover .mobile-menu__link-icon { background: #e9f0e9; color: var(--verde); }

.mobile-menu__link.is-active .mobile-menu__link-icon {
  background: rgba(57,168,74,.12);
  color: var(--verde-dark);
}

.mobile-menu__link-text { flex: 1; }

.mobile-menu__link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--verde);
  flex-shrink: 0;
}

/* Separador */
.mobile-menu__sep {
  height: 1px;
  background: var(--borde);
  margin: 0 -.25rem;
}

/* Acciones */
.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}

.mobile-menu__btn-comprar {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: .875rem 1.5rem;
}

.mobile-menu__btn-wsp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid #25D366;
  color: #128c4a;
  font-size: .9375rem;
  font-weight: 600;
  background: #f0fdf4;
  transition: background var(--duration), box-shadow var(--duration);
}

.mobile-menu__btn-wsp:hover { background: #dcfce7; box-shadow: 0 2px 12px rgba(37,211,102,.2); }

/* Trust */
.mobile-menu__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.125rem;
  padding: .75rem 1rem;
  background: var(--gris);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.mobile-menu__trust span {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--texto-suave);
}

/* ── 09. Hero ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(150deg, var(--verde-light) 0%, #eef6fd 55%, var(--gris) 100%);
  overflow: hidden;
  position: relative;
}

/* Decoración de fondo */
.hero::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -8%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(57, 168, 74, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(14, 68, 122, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.hero__container {
  flex: 1;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 120px var(--container-padding) 80px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Contenido hero */
.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, var(--text-7xl));
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin: 0;
}

.hero__subtitle {
  font-size: clamp(var(--text-base), 1.5vw, var(--text-xl));
  color: var(--texto-suave);
  line-height: 1.7;
  max-width: 460px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  margin-top: 0.5rem;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--text-sm);
  color: var(--texto-suave);
  font-weight: 500;
}

.hero__trust-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Imagen hero */
.hero__image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__product-wrapper {
  position: relative;
  width: min(340px, 100%);
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__product-img {
  max-height: 380px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  animation: heroFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgba(14, 68, 122, 0.22));
  position: relative;
  z-index: 2;
}

/* Halo glow detrás del producto */
.hero__halo {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(57, 168, 74, 0.12) 0%, rgba(14, 68, 122, 0.06) 50%, transparent 70%);
  filter: blur(20px);
  animation: heroPulse 7s ease-in-out infinite;
  z-index: 1;
}

/* Pills flotantes */
.hero__pill {
  position: absolute;
  background: white;
  border-radius: var(--radius-full);
  padding: 8px 16px 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--texto);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
}

.hero__pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__pill--1 { top: 8%; left: -18%; animation: heroFloat 5s ease-in-out infinite 0.5s; }
.hero__pill--1::before { background: var(--verde); }

.hero__pill--2 { top: 42%; right: -16%; animation: heroFloat 5s ease-in-out infinite 1.2s; }
.hero__pill--2::before { background: var(--azul); }

.hero__pill--3 { bottom: 18%; left: -10%; animation: heroFloat 5s ease-in-out infinite 0.8s; }
.hero__pill--3::before { background: #f59e0b; }

/* Scroll indicator */
.hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.hero__scroll-text {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--texto-suave);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__scroll-arrow {
  width: 20px;
  height: 32px;
  border: 2px solid var(--borde);
  border-radius: 10px;
  position: relative;
}

.hero__scroll-arrow::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--verde);
  animation: scrollBounce 1.8s ease-in-out infinite;
}

/* ── 10 & 11. Tabs — Beneficios + Cómo Funciona ─────────────────── */
.tabs-section { background: var(--blanco); }

/* Wrapper con borde/sombra sutil */
.tabs-wrap {
  background: var(--blanco);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 24px rgba(0,0,0,.07);
  border: 1px solid var(--borde);
  overflow: hidden;
}

/* Nav de pestañas */
.tabs-nav {
  display: flex;
  background: var(--gris);
  border-bottom: 1px solid var(--borde);
  padding: .375rem;
  gap: .25rem;
}

.tabs-nav__btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  background: transparent;
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--texto-suave);
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  white-space: nowrap;
}

.tabs-nav__btn:hover {
  background: rgba(255,255,255,.7);
  color: var(--texto);
}

.tabs-nav__btn.is-active {
  background: var(--blanco);
  color: var(--azul);
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
}

/* Panels */
.tab-panel {
  padding: 2.5rem;
  animation: tabFadeIn .25s ease;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Benefits grid (dentro del tab panel) ──────────────────────── */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  background: var(--gris);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  border: 1px solid transparent;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease-spring);
}

.benefit-card:hover {
  border-color: var(--verde-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.benefit-card__icon { width: 48px; height: 48px; flex-shrink: 0; }
.benefit-card__icon svg { width: 48px; height: 48px; }

.benefit-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--texto);
  line-height: 1.3;
}

.benefit-card__text {
  font-size: var(--text-sm);
  color: var(--texto-suave);
  line-height: 1.7;
  flex: 1;
}

/* ── Steps (dentro del tab panel) ─────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step {
  background: var(--gris);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--borde);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease-spring);
}

.step:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.step__number {
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--verde) 0%, var(--azul) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.step__icon { width: 64px; height: 64px; }
.step__icon svg { width: 64px; height: 64px; }

.step__title { font-size: var(--text-lg); font-weight: 700; }

.step__text {
  font-size: var(--text-sm);
  color: var(--texto-suave);
  line-height: 1.7;
}

.step__connector {
  display: flex;
  align-items: flex-start;
  padding-top: 3.5rem;
  opacity: 0.5;
}

.step__connector svg { width: 60px; height: 24px; }

/* ── 12. Protege lo que más valoras ─────────────────────────────── */
.protect-values { background: var(--blanco); }

.protect-values__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.protect-values__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.protect-values__text {
  font-size: var(--text-lg);
  color: var(--texto-suave);
  line-height: 1.75;
}

.protect-values__list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin: 0.5rem 0;
}

.protect-values__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--texto);
}

.protect-values__list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Galería mosaico */
.gallery-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 200px;
  gap: 12px;
}

.gallery-mosaic__item--tall {
  grid-row: 1 / 3;
}

.gallery-mosaic__item--wide {
  grid-column: 1 / 3;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-lg) var(--ease-spring);
}

.gallery-placeholder:hover { transform: scale(1.02); }

.gallery-placeholder svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.gallery-placeholder::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px;
  left: 12px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--texto-suave);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ── 13. Comparativa ─────────────────────────────────────────────── */
.comparison { background: var(--gris); }

.comparison__table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--borde);
}

.comparison__table {
  width: 100%;
  border-collapse: collapse;
  background: var(--blanco);
  font-size: var(--text-sm);
}

.comparison__table thead tr {
  border-bottom: 2px solid var(--borde);
}

.comparison__table thead th {
  padding: 1.25rem 1.5rem;
  font-weight: 700;
  color: var(--texto-suave);
  text-align: center;
  background: var(--gris);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.comparison__table thead th:first-child {
  text-align: left;
  border-radius: var(--radius-xl) 0 0 0;
}

.comparison__col--highlight {
  background: rgba(57, 168, 74, 0.06) !important;
  border-left: 2px solid var(--verde) !important;
  border-right: 2px solid var(--verde) !important;
}

.comparison__table thead th.comparison__col--highlight {
  color: var(--verde-dark);
  border-top: 2px solid var(--verde) !important;
  border-radius: 0;
}

.comparison__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--verde-dark);
}

.comparison__table tbody tr {
  border-bottom: 1px solid var(--borde);
  transition: background var(--duration) var(--ease);
}

.comparison__table tbody tr:last-child { border-bottom: none; }
.comparison__table tbody tr:hover td { background: rgba(0,0,0,0.015); }
.comparison__table tbody tr:hover td.comparison__col--highlight { background: rgba(57,168,74,0.09); }

.comparison__table tbody td {
  padding: 1.25rem 1.5rem;
  color: var(--texto);
  font-weight: 500;
  text-align: center;
}

.comparison__table tbody td:first-child {
  text-align: left;
  color: var(--texto);
}

.comparison__check,
.comparison__x,
.comparison__partial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.comparison__check {
  background: rgba(57, 168, 74, 0.1);
}

.comparison__check svg { width: 18px; height: 18px; }

.comparison__x {
  background: rgba(156, 163, 175, 0.12);
}

.comparison__x svg { width: 16px; height: 16px; }

.comparison__partial {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  font-weight: 800;
  font-size: var(--text-lg);
}

/* ── 14. Testimonios ─────────────────────────────────────────────── */
.testimonials { background: var(--blanco); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--gris);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid transparent;
  transition:
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease-spring);
}

.testimonial-card:hover {
  border-color: var(--borde);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.testimonial-card__stars {
  display: flex;
  gap: 3px;
}

.testimonial-card__quote {
  font-size: var(--text-base);
  color: var(--texto);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 1rem;
  border-top: 1px solid var(--borde);
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--verde);
  color: white;
  font-size: var(--text-sm);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--texto);
}

.testimonial-card__location {
  font-size: var(--text-xs);
  color: var(--texto-suave);
  margin-top: 2px;
}

/* ── 15. FAQ ──────────────────────────────────────────────────────── */
.faq { background: var(--gris); }

.faq__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.faq__header {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq__title {
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-4xl));
}

.faq__contact-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq__item {
  background: var(--blanco);
  border-radius: var(--radius-lg);
  border: 1px solid var(--borde);
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease);
}

.faq__item:has(.faq__question[aria-expanded="true"]) {
  box-shadow: var(--shadow-sm);
  border-color: rgba(57, 168, 74, 0.2);
}

.faq__question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--texto);
  text-align: left;
  transition: background var(--duration) var(--ease);
}

.faq__question:hover { background: var(--gris); }

.faq__question[aria-expanded="true"] { color: var(--verde-dark); }

.faq__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--texto-suave);
  transition: transform var(--duration) var(--ease);
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
  color: var(--verde);
}

.faq__answer {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--borde);
  animation: fadeSlideDown 200ms var(--ease-out);
}

.faq__answer p {
  font-size: var(--text-sm);
  color: var(--texto-suave);
  line-height: 1.75;
  padding-top: 1rem;
}

/* ── 16. CTA Final ───────────────────────────────────────────────── */
.cta-final { background: var(--blanco); }

.cta-final__card {
  background: linear-gradient(135deg, var(--verde) 0%, #1a7d50 40%, var(--azul) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(3rem, 6vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.cta-final__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.cta-final__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 800;
  color: var(--blanco);
  letter-spacing: -0.03em;
}

.cta-final__subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
}

.cta-final__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Decoración */
.cta-final__decoration { position: relative; z-index: 0; }

.cta-final__circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
}

.cta-final__circle--1 {
  width: 350px;
  height: 350px;
  top: -175px;
  right: -120px;
}

.cta-final__circle--2 {
  width: 200px;
  height: 200px;
  top: -100px;
  right: -50px;
  border-color: rgba(255,255,255,0.1);
}

/* ── 17. Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--texto);
  color: rgba(255,255,255,0.65);
}

.footer__main { padding: 5rem 0 3rem; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-lg);
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.footer__logo strong {
  font-weight: 800;
  color: var(--verde);
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.625rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.footer__social-link:hover {
  background: rgba(255,255,255,0.15);
  color: white;
}

.footer__col-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  transition: color var(--duration) var(--ease);
}

.footer__links a:hover { color: white; }

.footer__contact-text {
  font-size: var(--text-sm);
  margin-bottom: 1rem;
}

.footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(37, 211, 102, 0.25);
  transition: background var(--duration) var(--ease);
  margin-bottom: 0.75rem;
}

.footer__whatsapp:hover {
  background: rgba(37, 211, 102, 0.25);
}

.footer__hours {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

/* Footer bottom */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
}

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.3);
}

.footer__bottom-right { color: rgba(255,255,255,0.4) !important; }

/* ── 18. Animaciones ─────────────────────────────────────────────── */
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.7; transform: scale(1.05); }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%       { transform: translateX(-50%) translateY(10px); opacity: 0.4; }
}

@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}

.reveal--right {
  transform: translateX(28px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger para hijos */
.benefits__grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.benefits__grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.benefits__grid .reveal:nth-child(3) { transition-delay: 0.19s; }
.benefits__grid .reveal:nth-child(4) { transition-delay: 0.26s; }
.benefits__grid .reveal:nth-child(5) { transition-delay: 0.33s; }

.testimonials__grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.testimonials__grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.testimonials__grid .reveal:nth-child(3) { transition-delay: 0.25s; }

/* ── 19. Responsive — Tablet (< 1024px) ─────────────────────────── */
@media (max-width: 1023px) {

  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .benefits__grid .benefit-card:nth-child(4) { grid-column: 1; }
  .benefits__grid .benefit-card:nth-child(5) { grid-column: 2; }

  .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .step__connector {
    display: none;
  }

  .tab-panel { padding: 2rem 1.5rem; }
  .tabs-nav { gap: .25rem; }
  .tabs-nav__btn { padding: .625rem 1.125rem; }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__col--brand { grid-column: 1 / -1; }
}

/* ── 20. Responsive — Mobile (< 768px) ──────────────────────────── */
@media (max-width: 767px) {

  /* Nav */
  .header__nav { display: none; }
  .header__hamburger { display: flex; }
  .header__inner { gap: .75rem; }

  /* CTA compacto en mobile */
  .header__cta {
    font-size: .8125rem;
    padding: .4rem .875rem;
  }

  /* Hero */
  .hero__container {
    grid-template-columns: 1fr;
    padding-top: 100px;
    padding-bottom: 3rem;
    gap: 3rem;
    text-align: center;
  }

  .hero__content { align-items: center; }
  .hero__trust   { justify-content: center; }

  .hero__image { order: -1; }

  .hero__product-wrapper { height: 260px; }
  .hero__product-img { max-height: 240px; }

  .hero__pill--1 { left: 0; top: 0; }
  .hero__pill--2 { right: 0; top: auto; bottom: 20%; }
  .hero__pill--3 { display: none; }

  /* Benefits */
  .benefits__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .benefits__grid .benefit-card:nth-child(4),
  .benefits__grid .benefit-card:nth-child(5) {
    grid-column: auto;
  }

  .tab-panel { padding: 1.25rem 1rem; }
  .tabs-nav { flex-wrap: wrap; }
  .tabs-nav__btn { font-size: .8rem; padding: .5rem .875rem; }

  /* Protect values */
  .protect-values__layout { grid-template-columns: 1fr; }

  .gallery-mosaic {
    grid-template-rows: 200px 180px;
  }



  /* Comparison */
  .comparison__table thead th:nth-child(4),
  .comparison__table tbody td:nth-child(4) {
    display: none;
  }

  /* Testimonials */
  .testimonials__grid { grid-template-columns: 1fr; }

  /* FAQ */
  .faq__layout { grid-template-columns: 1fr; }

  .faq__header {
    position: static;
    text-align: center;
    align-items: center;
  }

  /* CTA Final */
  .cta-final__card {
    flex-direction: column;
    text-align: center;
  }

  .cta-final__content { max-width: 100%; align-items: center; }
  .cta-final__circle--1,
  .cta-final__circle--2 { display: none; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__col--brand { grid-column: auto; }

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ── 21. Responsive — Small mobile (< 480px) ─────────────────────── */
@media (max-width: 479px) {

  .hero__actions { flex-direction: column; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .cta-final__actions { flex-direction: column; }
  .cta-final__actions .btn { width: 100%; justify-content: center; }

  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
  }
}

/* ── 22. Accesibilidad ────────────────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--verde);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ─── Botones flotantes y Mejoras visuales ─────────────────────── */
.botones-flotantes {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.btn-flotante {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s var(--ease);
}

.btn-flotante:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.btn-flotante--whatsapp {
  background: #25D366;
}

.btn-flotante--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

/* Pulso WhatsApp */
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.35); }
  50%       { box-shadow: 0 4px 26px rgba(37,211,102,.75), 0 0 0 6px rgba(37,211,102,.1); }
}
.btn-flotante--whatsapp { animation: waPulse 2.4s ease-in-out infinite; }
.btn-flotante--whatsapp:hover { animation: none; transform: scale(1.1) translateY(-2px); }

/* ── Announcement bar (elemento fijo independiente) ────────────── */
body.no-anuncio { --anuncio-h: 0px; }

.anuncio-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--anuncio-h);
  background: linear-gradient(90deg, #0a3363 0%, #0e447a 50%, #1a6abf 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .01em;
  overflow: hidden;
  transition: height .3s ease, opacity .3s ease;
}
.anuncio-bar.is-hidden {
  height: 0;
  opacity: 0;
  pointer-events: none;
}
.anuncio-bar__texto {
  display: flex;
  align-items: center;
  gap: .625rem;
  flex-wrap: wrap;
  justify-content: center;
}
.anuncio-bar__sep { opacity: .35; }
.anuncio-bar__highlight {
  background: rgba(255,255,255,.18);
  padding: .15rem .5rem;
  border-radius: 4px;
  font-weight: 700;
}
.anuncio-bar__cerrar {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,.65);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  padding: .375rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .15s, background .15s;
}
.anuncio-bar__cerrar:hover { color: #fff; background: rgba(255,255,255,.15); }
@media (max-width: 767px) {
  .anuncio-bar__sep,
  .anuncio-bar__sep + span { display: none; }
}

/* ── Exit Intent Popup ────────────────────────────────────────── */
.popup-salida {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.popup-salida[hidden] { display: none; }
.popup-salida__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,15,25,.6);
  backdrop-filter: blur(4px);
  animation: fadeIn .25s ease;
}
.popup-salida__box {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 100px rgba(0,0,0,.25);
  animation: scaleIn .3s cubic-bezier(.34,1.56,.64,1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.popup-salida__cerrar {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gris);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--texto-suave);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.popup-salida__cerrar:hover { background: var(--borde); }
.popup-salida__badge {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-weight: 700;
  font-size: .78rem;
  padding: .3rem .875rem;
  border-radius: 9999px;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.popup-salida__titulo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--texto);
}
.popup-salida__desc {
  color: var(--texto-suave);
  font-size: .9375rem;
  line-height: 1.65;
  margin: 0;
}
.popup-salida__codigo {
  background: var(--gris);
  border: 2.5px dashed var(--borde);
  border-radius: 12px;
  padding: .875rem 1.5rem;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--azul);
  width: 100%;
  user-select: all;
  cursor: copy;
}
.popup-salida__cta { width: 100%; justify-content: center; }
.popup-salida__skip {
  background: none;
  border: none;
  font-size: .8125rem;
  color: var(--texto-suave);
  cursor: pointer;
  text-decoration: underline;
  font-family: var(--font);
  transition: color .15s;
}
.popup-salida__skip:hover { color: var(--texto); }
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.88); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Problema → Solución ──────────────────────────────────────── */
.prob-sol {
  background: linear-gradient(180deg, #fff 0%, var(--gris) 60%, var(--gris) 100%);
}
.prob-sol__layout {
  display: grid;
  grid-template-columns: 1fr 72px 1fr;
  gap: 2rem;
  align-items: stretch;
  margin-top: 3rem;
}
.prob-sol__card {
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.prob-sol__card--problema {
  background: #fff1f2;
  border: 1px solid #fecdd3;
  border-top: 4px solid #ef4444;
  box-shadow: 0 4px 28px rgba(220,38,38,.08);
}
.prob-sol__card--solucion {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-top: 4px solid #22c55e;
  box-shadow: 0 4px 28px rgba(34,197,94,.1);
}
.prob-sol__label {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.prob-sol__label-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.prob-sol__card--problema .prob-sol__label { color: #dc2626; }
.prob-sol__card--problema .prob-sol__label-icon { background: #fee2e2; color: #dc2626; }
.prob-sol__card--solucion .prob-sol__label { color: #16a34a; }
.prob-sol__card--solucion .prob-sol__label-icon { background: #dcfce7; color: #16a34a; }
.prob-sol__title {
  font-size: 1.1875rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}
.prob-sol__card--problema .prob-sol__title { color: #991b1b; }
.prob-sol__card--solucion .prob-sol__title { color: #166534; }
.prob-sol__lista {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.prob-sol__lista li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .875rem;
  line-height: 1.5;
}
.prob-sol__icon-wrap {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.prob-sol__card--problema .prob-sol__icon-wrap { background: #fee2e2; color: #dc2626; }
.prob-sol__card--solucion .prob-sol__icon-wrap { background: #dcfce7; color: #16a34a; }
.prob-sol__card--problema .prob-sol__lista li { color: #7f1d1d; }
.prob-sol__card--solucion .prob-sol__lista li { color: #14532d; }
.prob-sol__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--verde) 0%, var(--azul) 100%);
  color: #fff;
  flex-shrink: 0;
  justify-self: center;
  align-self: center;
  box-shadow: 0 6px 20px rgba(14,68,122,.3);
}
.prob-sol__cta {
  text-align: center;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .875rem;
}
.prob-sol__cta-note {
  font-size: .8125rem;
  color: var(--texto-suave);
  text-align: center;
}
@media (max-width: 767px) {
  .prob-sol__layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .prob-sol__arrow {
    justify-self: center;
    transform: rotate(90deg);
  }
}

.header__cta {
  position: relative;
  overflow: hidden;
  animation: ctaPulse 3s infinite alternate;
}

@keyframes ctaPulse {
  0% {
    box-shadow: 0 4px 14px rgba(57, 168, 74, 0.35);
  }
  100% {
    box-shadow: 0 4px 22px rgba(57, 168, 74, 0.7);
    transform: scale(1.02);
  }
}

