/* ==========================================================================
   PABLO NASARRE — WEBS PARA PROFESIONALES
   Tema claro, editorial. CSS nativo sin dependencias.
   ========================================================================== */

:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-alt: rgba(244, 244, 240, 0.82);
  --ink: #0d1321;
  --ink-2: #3b4454;
  --muted: #6b7280;
  --line: rgba(13, 19, 33, 0.09);
  --line-strong: rgba(13, 19, 33, 0.16);

  --accent: #00E5FF;
  /* azul cielo de marca (fondos, bordes) */
  --accent-ink: #0e7490;
  /* azul cielo oscuro para texto legible sobre blanco */
  --accent-soft: rgba(0, 229, 255, 0.12);
  --blue-solid: #1a56db;
  /* azul fuerte, vivo y rotundo (no negro, no celeste) */
  --blue-solid-hover: #1344b0;
  --wa: #25D366;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --container: 1120px;
  --pad: clamp(20px, 4vw, 32px);
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
  position: relative;
  z-index: 2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   FONDO DE VÍDEO (sincronizado con scroll)
   -------------------------------------------------------------------------- */
.video-bg-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--bg);
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

/* Mientras el vídeo original sea oscuro, se invierte para obtener fondo blanco
   conservando el tono azul de las líneas. Quitar la clase con el vídeo blanco. */
.video-bg.is-dark-source {
  filter: invert(1) hue-rotate(180deg) saturate(0.9) contrast(0.9);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(250, 250, 248, 0.55) 0%, rgba(250, 250, 248, 0.2) 70%),
    linear-gradient(180deg, rgba(250, 250, 248, 0.15) 0%, rgba(250, 250, 248, 0.45) 100%);
}

/* --------------------------------------------------------------------------
   HEADER (oculto en el hero inicial, visible al llegar al final y en la web)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  opacity: 0;
  pointer-events: none;
  transition: border-color 0.3s ease, background 0.3s ease, opacity 0.35s ease;
}

/* Solo se muestra al llegar a la parte final del hero o en el resto de la web */
.site-header.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* En el hero sobre fondo negro */
.site-header.is-visible:not(.is-scrolled-past-hero) .brand {
  color: #ffffff;
}

.site-header.is-visible:not(.is-scrolled-past-hero) .nav-links a {
  color: rgba(255, 255, 255, 0.85);
}

.site-header.is-visible:not(.is-scrolled-past-hero) .nav-links a:hover {
  color: #ffffff;
}

/* Selector de idioma sobre fondo negro (Hero) */
.site-header.is-visible:not(.is-scrolled-past-hero) .lang-selector {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header.is-visible:not(.is-scrolled-past-hero) .lang-btn {
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.site-header.is-visible:not(.is-scrolled-past-hero) .lang-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

.site-header.is-visible:not(.is-scrolled-past-hero) .lang-btn.is-active,
.site-header.is-visible:not(.is-scrolled-past-hero) .lang-btn.active {
  background: var(--blue-solid);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(26, 86, 219, 0.45);
}

.site-header.is-visible:not(.is-scrolled-past-hero) .mobile-nav-toggle span {
  background: #ffffff;
}

/* Al salir del Hero y entrar en el contenido claro de la web */
.site-header.is-scrolled-past-hero {
  border-bottom-color: var(--line);
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
}

.site-header.is-scrolled-past-hero .brand {
  color: var(--ink);
}

.site-header.is-scrolled-past-hero .nav-links a {
  color: var(--ink-2);
}

.site-header.is-scrolled-past-hero .nav-links a:hover {
  color: var(--ink);
}

.site-header.is-scrolled-past-hero .lang-selector {
  background: rgba(13, 19, 33, 0.05);
  border: 1px solid var(--line-strong);
}

.site-header.is-scrolled-past-hero .lang-btn {
  color: var(--muted);
  cursor: pointer;
}

.site-header.is-scrolled-past-hero .lang-btn:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
}

.site-header.is-scrolled-past-hero .lang-btn.is-active,
.site-header.is-scrolled-past-hero .lang-btn.active {
  background: var(--blue-solid);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(26, 86, 219, 0.3);
}

.site-header.is-scrolled-past-hero .mobile-nav-toggle span {
  background: var(--ink);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
}

.brand:hover {
  color: var(--blue-solid);
}

#main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 26px;
}

.nav-links a {
  font-size: 0.9rem;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--blue-solid);
  color: #fff;
  transition: transform 0.2s var(--ease), background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.25);
}

.nav-cta:hover {
  background: var(--blue-solid-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26, 86, 219, 0.35);
}

.mobile-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.mobile-nav-toggle span {
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   BOTONES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: var(--blue-solid);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.3);
}

.btn-primary:hover {
  background: var(--blue-solid-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(26, 86, 219, 0.42);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn-wa {
  background: var(--wa);
  color: #06210f;
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.3);
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   HERO SCROLL-SCRUBBING CON VÍDEO 1028 (1).mov
   -------------------------------------------------------------------------- */
.hero-scroll-wrapper {
  position: relative;
  height: 130vh;
  /* Pista de scroll compacta y ágil */
  background: #000000;
  z-index: 2;
}

.hero-sticky-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  color: #ffffff;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.hero-scrub-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  background: #000000;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 30%, rgba(0, 0, 0, 0.65) 90%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 20%, transparent 70%, rgba(0, 0, 0, 0.85) 100%);
  pointer-events: none;
}

/* Título inicial al inicio del vídeo en las nubes */
.hero-initial-intro {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--pad);
  pointer-events: none;
  perspective: 1400px;
  transform-style: preserve-3d;
  will-change: opacity, transform;
}

.hero-initial-title {
  color: #041937;
  font-size: clamp(3.2rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
  max-width: 1050px;
  margin-inline: auto;
  text-shadow: 0 4px 30px rgba(255, 255, 255, 0.95), 0 0 60px rgba(255, 255, 255, 0.9), 0 8px 32px rgba(4, 25, 55, 0.18);
  will-change: transform, opacity;
}

/* Capa de opciones y conversión: emerge sobre el fondo negro al terminar el vídeo */
.hero-step-final {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  padding: var(--pad);
}

.hero-final-content {
  max-width: 920px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-choices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 420px));
  gap: clamp(20px, 3.5vw, 32px);
  width: 100%;
  justify-content: center;
  pointer-events: auto;
}

.hero-choice-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  padding: clamp(32px, 4.5vw, 44px) clamp(24px, 3.5vw, 36px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 255, 255, 0.06);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  min-height: 220px;
}

.hero-choice-wa {
  border-color: rgba(37, 211, 102, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(37, 211, 102, 0.15);
}

.hero-choice-wa:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(37, 211, 102, 0.65);
  background: rgba(37, 211, 102, 0.08);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.75), 0 0 55px rgba(37, 211, 102, 0.28);
}

.hero-choice-buy {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.65), 0 0 40px rgba(56, 189, 248, 0.15);
}

.hero-choice-buy:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(56, 189, 248, 0.08);
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.75), 0 0 55px rgba(56, 189, 248, 0.28);
}

.hero-choice-label {
  font-size: clamp(1.65rem, 3.2vw, 2.3rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #ffffff;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.85);
}

.hero-step-final .btn-hero-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #25d366;
  color: #04210d;
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease;
  width: 100%;
}

.hero-step-final .btn-hero-wa:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(37, 211, 102, 0.65);
  filter: brightness(1.06);
}

.hero-step-final .btn-hero-wa:active {
  transform: translateY(0) scale(0.97);
}

.hero-step-final .btn-primary {
  background: var(--blue-solid);
  color: #ffffff;
  padding: 18px 32px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 30px rgba(26, 86, 219, 0.45);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
  justify-content: center;
}

.hero-step-final .btn-primary:hover {
  background: var(--blue-solid-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 40px rgba(26, 86, 219, 0.65);
}

.hero-step-final .btn-primary:active {
  transform: translateY(0) scale(0.97);
}

@media (max-width: 768px) {
  .hero-scroll-wrapper {
    height: 125vh;
  }

  .hero-initial-title {
    font-size: clamp(2.4rem, 8.5vw, 3.6rem);
  }

  .hero-choices-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    width: 100%;
    gap: 18px;
  }
}

/* --------------------------------------------------------------------------
   PARA QUIÉN (marquee)
   -------------------------------------------------------------------------- */
.audience {
  position: relative;
  z-index: 2;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 0 18px var(--pad);
  overflow: hidden;
}

.audience-label {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  padding-inline: 22px;
  position: relative;
}

.marquee-track span::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.audience:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   SECCIONES GENÉRICAS
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  z-index: 2;
  padding-block: clamp(36px, 4.5vh, 54px);
}

.section-alt {
  background: var(--surface-alt);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-block: 1px solid var(--line);
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(24px, 4vh, 36px);
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.section-desc {
  margin-top: 14px;
  font-size: 0.98rem;
  color: var(--ink-2);
  max-width: 56ch;
  line-height: 1.55;
}

/* Revelado al hacer scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* --------------------------------------------------------------------------
   SERVICIO (VÍDEO SCROLL-SCRUBBING CON TEXTOS MINIMALISTAS GRANDES)
   -------------------------------------------------------------------------- */
.service-scroll-wrapper {
  position: relative;
  height: 150vh;
  /* Pista de scroll ágil y continua */
  background: #000000;
  z-index: 2;
}

.service-sticky-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
}

.service-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.service-scrub-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.service-video-overlay {
  display: none;
}

/* Escenario minimalista: textos grandes, centrados, limpios, sin cajas ni fondos ni números */
.service-minimal-stage {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 var(--pad);
  pointer-events: none;
}

.service-minimal-texts {
  position: relative;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-minimal-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow:
    0 4px 28px rgba(0, 0, 0, 0.98),
    0 8px 50px rgba(0, 0, 0, 0.95),
    0 1px 3px rgba(0, 0, 0, 1);
  opacity: 0;
  transform: translateY(28px) scale(0.96);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  margin: 0;
}

.service-minimal-text.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --------------------------------------------------------------------------
   DEMOSTRACIÓN (VÍDEO SCROLL-SCRUBBING CON CHECKLIST MINIMALISTA)
   -------------------------------------------------------------------------- */
.demo-scroll-wrapper {
  position: relative;
  height: 160vh;
  /* Fondo unificado en azul noche #041937 idéntico al frame final y al proceso */
  background: #041937;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.demo-sticky-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
}

.demo-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.demo-color-transition {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #041937;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.demo-scrub-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.demo-video-overlay {
  display: none;
}

/* Contenido de la demostración: solo los 6 ticks minimalistas flotando en el vídeo */
.demo-stage-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 var(--pad);
  pointer-events: none;
}

/* Checklist vertical de 6 puntos minimalista */
.demo-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vh, 14px);
  max-width: 440px;
  width: 100%;
}

.demo-check-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(4, 25, 55, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  opacity: 0.55;
  transform: translateX(-6px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  pointer-events: none;
}

.demo-check-item.is-completed {
  opacity: 0.9;
  color: #ffffff;
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateX(0);
}

.demo-check-item.is-active {
  opacity: 1;
  color: #ffffff;
  background: rgba(26, 86, 219, 0.45);
  border-color: rgba(96, 165, 250, 0.75);
  box-shadow: 0 0 24px rgba(26, 86, 219, 0.5);
  font-weight: 800;
  transform: translateX(8px) scale(1.02);
}

.demo-check-icon {
  width: clamp(26px, 3.2vw, 32px);
  height: clamp(26px, 3.2vw, 32px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.demo-check-item.is-completed .demo-check-icon {
  background: rgba(16, 185, 129, 0.3);
  border-color: #10b981;
  color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.demo-check-item.is-active .demo-check-icon {
  background: var(--blue-solid);
  border-color: #ffffff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(26, 86, 219, 0.6);
  transform: scale(1.1);
}

.demo-check-label {
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  font-weight: 650;
  letter-spacing: -0.015em;
  color: inherit;
  transition: color 0.3s ease;
}

/* --------------------------------------------------------------------------
   PROCESO (CÓMO FUNCIONA CON VÍDEO SCROLL-SCRUBBING Y TIMELINE CENTRAL DESLIZANTE)
   -------------------------------------------------------------------------- */
.process-scroll-wrapper {
  position: relative;
  height: 140vh;
  /* Fondo unificado en azul noche #041937 exacto para fusión continua */
  background: #041937;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.process-sticky-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #041937;
}

.process-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.process-scrub-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* Calibración de color para concordancia exacta y fluida con el vídeo de arriba */
  filter: brightness(1.04) contrast(1.02);
}

/* --------------------------------------------------------------------------
   TIMELINE CENTRAL DESLIZANTE DE PROCESO
   -------------------------------------------------------------------------- */
.process-timeline-viewport {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1100px;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
}

.process-timeline-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.process-timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0.32;
  transform: scale(0.94);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  padding: 0 16px;
}

.process-timeline-step.is-active {
  opacity: 1;
  transform: scale(1.04);
}

.process-timeline-step.is-completed {
  opacity: 0.72;
  transform: scale(0.97);
}

.process-step-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  margin-bottom: 12px;
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
}

.process-step-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.process-step-tick {
  display: none;
}

.process-timeline-step.is-active .process-step-node {
  background: linear-gradient(135deg, #38bdf8, #2563eb);
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.85);
  transform: scale(1.12);
}

.process-timeline-step.is-completed .process-step-node {
  background: #10b981;
  border-color: #ffffff;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
}

.process-timeline-step.is-completed .process-step-num {
  display: none;
}

.process-timeline-step.is-completed .process-step-tick {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.process-step-heading {
  color: #ffffff;
  font-size: clamp(2rem, 5.2vw, 4rem);
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
  text-shadow:
    0 4px 28px rgba(0, 0, 0, 0.95),
    0 8px 50px rgba(0, 0, 0, 0.9),
    0 1px 3px rgba(0, 0, 0, 1);
  margin: 0;
  padding: 0;
  transition: color 0.3s ease;
}

.process-timeline-step.is-active .process-step-heading {
  color: #ffffff;
  text-shadow:
    0 0 36px rgba(56, 189, 248, 0.45),
    0 4px 28px rgba(0, 0, 0, 0.95),
    0 8px 50px rgba(0, 0, 0, 0.9);
}

/* Línea conectora central vertical */
.process-central-line {
  width: 3px;
  height: clamp(50px, 9vh, 90px);
  background: rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  margin: 8px 0;
}

.process-central-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, #38bdf8, #60a5fa);
  box-shadow: 0 0 14px #38bdf8;
  transition: height 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}



/* --------------------------------------------------------------------------
   ZONA INTERMEDIA: ¿QUIERES VER CÓMO QUEDARÍA TU WEB? (INTERACTIVO CON VÍDEO)
   -------------------------------------------------------------------------- */
.request-scroll-wrapper {
  position: relative;
  height: 160vh;
  background: #041937;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.request-sticky-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #041937;
}

.request-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.request-scrub-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.request-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(4, 25, 55, 0.38) 0%, rgba(4, 25, 55, 0.82) 100%);
  pointer-events: none;
  z-index: 2;
  transition: background 0.5s ease;
}

.request-stage-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  padding: 0 var(--pad);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.request-stage-title {
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.request-stage-subtitle {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.request-stage-action {
  margin-top: 14px;
  opacity: 0;
  transform: translateY(26px) scale(0.92);
  pointer-events: none;
  will-change: opacity, transform;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-wa-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #25d366;
  color: #04210d;
  padding: 18px 36px;
  border-radius: 999px;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45), 0 0 26px rgba(37, 211, 102, 0.3);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, filter 0.2s ease;
}

.btn-wa-request:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 42px rgba(37, 211, 102, 0.65), 0 0 35px rgba(37, 211, 102, 0.5);
  filter: brightness(1.06);
}

.btn-wa-request:active {
  transform: translateY(0) scale(0.97);
}

/* --------------------------------------------------------------------------
   OFERTA (CON VÍDEO DE FONDO INTERACTIVO Y 4 PASOS PROGRESIVOS)
   -------------------------------------------------------------------------- */
.offer-scroll-wrapper {
  position: relative;
  height: 150vh;
  /* Fondo unificado en azul noche #041937 exacto */
  background: #041937;
  z-index: 2;
  margin: 0;
  padding: 0;
}

.offer-sticky-stage {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #041937;
}

.offer-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.offer-scrub-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.offer-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(4, 25, 55, 0.45) 0%, rgba(4, 25, 55, 0.88) 100%);
  pointer-events: none;
  z-index: 2;
}

.offer-stage-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
  padding: 0 var(--pad);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.offer-stage-question {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 850;
  letter-spacing: -0.04em;
  color: #ffffff;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.offer-stage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.offer-stage-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(4, 25, 55, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.18;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.offer-stage-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.15);
}

.offer-stage-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.6);
}

.offer-stage-text {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.offer-stage-action {
  width: 100%;
  margin-top: 8px;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.offer-stage-action.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.offer-action-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.offer-action-amount {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 850;
  color: #38bdf8;
  line-height: 1;
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.offer-action-recurrence {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}

.offer-buy-btn {
  background: #1a56db;
  color: #ffffff;
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, background 0.2s ease;
  width: 100%;
}

.offer-buy-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(26, 86, 219, 0.6);
}

/* --------------------------------------------------------------------------
   SOBRE MÍ (COHERENCIA CON FONDO AZUL NOCHE #041937 Y ENFOQUE HUMANO)
   -------------------------------------------------------------------------- */
.section-about-dark {
  background-color: #041937;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}

.about-photo {
  margin: 0;
  max-width: 360px;
  width: 100%;
  align-self: center;
}

.about-photo-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 25, 55, 0.9);
  box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.7), 0 0 40px rgba(56, 189, 248, 0.12);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s ease;
}

.about-photo:hover .about-photo-wrapper {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 28px 65px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(56, 189, 248, 0.2);
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.4s var(--ease);
}

.about-photo:hover img {
  transform: scale(1.02);
}

.about-photo figcaption {
  margin-top: 14px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: left;
}

.about-photo figcaption strong {
  color: #ffffff;
  font-weight: 650;
}

.about-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
  margin-bottom: 24px;
}

.about-contact-box {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 500px;
}

.about-contact-box .btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #06210f;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease, filter 0.2s ease;
}

.about-contact-box .btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  filter: brightness(1.05);
}

.email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 100%;
}

.email-row-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.email-link {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.email-link:hover {
  color: #38bdf8;
}

.btn-copy {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-copy.is-done {
  background: rgba(16, 185, 129, 0.3);
  color: #34d399;
  border-color: #10b981;
}

.contact-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* --------------------------------------------------------------------------
   FAQ (COHERENCIA OSCURA UNIFICADA EN #041937)
   -------------------------------------------------------------------------- */
#preguntas {
  background-color: #041937;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#preguntas .section-tag {
  color: #38bdf8;
}

#preguntas .section-title {
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.faq-list {
  max-width: 780px;
  margin-inline: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 1.08rem;
  font-weight: 600;
  color: #ffffff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: #38bdf8;
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding-bottom: 22px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 64ch;
}

/* --------------------------------------------------------------------------
   CTA FINAL + FOOTER
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  z-index: 2;
  padding-block: clamp(60px, 9vh, 90px);
  background: #020b18;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.final-inner {
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #ffffff;
}

.final-cta p {
  margin: 12px 0 28px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.5;
}

.final-cta .btn-outline {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.final-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.4);
}

.site-footer {
  position: relative;
  z-index: 2;
  background: #01060e;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   MODAL
   -------------------------------------------------------------------------- */
.modal {
  margin: auto;
  width: min(480px, 92vw);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 80px -20px rgba(13, 19, 33, 0.4);
}

.modal::backdrop {
  background: rgba(13, 19, 33, 0.35);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.modal-head h2 {
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.modal-close:hover {
  background: #f1f1ed;
  color: var(--ink);
}

.modal-body {
  padding: 24px;
  display: grid;
  gap: 18px;
}

.modal-summary {
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}

.modal-summary div {
  display: flex;
  justify-content: space-between;
}

.modal-summary dt {
  color: var(--muted);
}

.modal-total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  font-size: 1.05rem;
}

.modal-note {
  font-size: 0.85rem;
  color: var(--muted);
}

.modal-price {
  color: var(--blue-solid);
  font-weight: 700;
}

.modal-paths-info {
  margin: 4px 0 6px;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: left;
  font-size: 0.88rem;
}

.modal-paths-title {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.88rem;
}

.modal-path-row {
  margin-top: 6px;
  line-height: 1.45;
  color: var(--ink-2);
}

.modal-path-row.is-fav {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.path-tag {
  font-weight: 700;
  display: inline-block;
  color: var(--ink);
  margin-right: 4px;
}

.path-tag.tag-fav {
  color: var(--blue-solid);
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.modal-form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.modal-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal-input:focus {
  outline: none;
  border-color: var(--blue-solid);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.terms-accept-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
}

.terms-accept-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue-solid);
  cursor: pointer;
}

.terms-accept-box span {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-2);
}

.terms-accept-box a {
  color: var(--blue-solid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {

  .example-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 360px;
    margin: 0 auto;
  }

  .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-contact-box {
    align-items: center;
  }
}

@media (max-width: 860px) {
  .mobile-nav-toggle {
    display: flex;
  }

  #main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(250, 250, 248, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
  }

  .site-header.menu-open #main-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 18px;
    text-align: center;
    padding: 14px;
  }
}

@media (max-width: 640px) {
  .offer-card {
    padding: 22px 16px;
    border-radius: 20px;
  }

  .offer-check-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .offer-price-row {
    flex-direction: column;
    gap: 8px;
  }

  .offer-price-divider {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-step-heading {
    font-size: clamp(1.75rem, 6.8vw, 2.6rem);
  }

  .process-central-line {
    height: 44px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .mockup-stage {
    padding: 0 0 60px;
  }

  .phone {
    width: 130px;
    right: -6px;
  }

  .demo-hero {
    grid-template-columns: 1fr;
  }

  .demo-hero .demo-photo {
    display: none;
  }

  .audience {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   SELECTOR DE IDIOMA
   ========================================================================== */
.lang-selector {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.lang-btn {
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 999px;
  color: var(--muted);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  line-height: 1;
}

.lang-btn:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.04);
}

.lang-btn.is-active {
  background: var(--blue-solid);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(26, 86, 219, 0.28);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   BANNER DE COOKIES NATIVO (CONFORME AEPD)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  width: min(720px, calc(100vw - 32px));
  z-index: 9999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -10px rgba(13, 19, 33, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.02);
  padding: 20px 24px;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
}

.cookie-banner.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(24px);
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookie-banner-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.cookie-banner-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.cookie-banner-desc a {
  color: var(--blue-solid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.2s var(--ease);
}

.cookie-btn-accept {
  background: var(--blue-solid);
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background: var(--blue-solid-hover);
  transform: translateY(-1px);
}

.cookie-btn-deny {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}

.cookie-btn-deny:hover {
  background: #f1f1ed;
  color: var(--ink);
}

/* ==========================================================================
   TARJETA DEL PLAN GESTIONADO PARA NEGOCIOS
   ========================================================================== */
.managed-solution-card {
  margin: 24px 0 20px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: #f6f8fd;
  border: 1.5px solid rgba(26, 86, 219, 0.35);
  box-shadow: 0 8px 30px rgba(26, 86, 219, 0.08);
  text-align: left;
}

.managed-solution-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.managed-solution-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink);
}

.managed-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-solid);
  color: #ffffff;
}

.managed-pricing-split {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin: 10px 0 16px;
  flex-wrap: wrap;
}

.managed-setup-val {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--blue-solid);
}

.managed-monthly-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink-2);
}

.managed-perks {
  list-style: none;
  padding: 0;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.managed-perks li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.managed-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-solid);
  font-weight: 800;
  font-size: 0.95rem;
}

.security-callout {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(26, 86, 219, 0.06);
  border-left: 3px solid var(--blue-solid);
  border-radius: 4px var(--radius) var(--radius) 4px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.security-callout strong {
  display: block;
  color: var(--blue-solid);
  margin-bottom: 4px;
}

/* ==========================================================================
   ESTILOS DE PÁGINAS Y MODALES LEGALES
   ========================================================================== */
.legal-body {
  background: var(--bg);
  color: var(--ink);
}

.legal-page {
  padding-top: clamp(32px, 6vw, 64px);
  padding-bottom: clamp(64px, 10vw, 100px);
}

.legal-card {
  max-width: 860px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 16px 40px -10px rgba(13, 19, 33, 0.06);
}

.legal-header {
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 8px;
}

.legal-date {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 10px;
}

.legal-section {
  margin-top: 32px;
}

.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: var(--ink);
}

.legal-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--ink);
}

.legal-section p {
  color: var(--ink-2);
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 0.98rem;
}

.legal-section a {
  color: var(--blue-solid);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-list li {
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
  color: var(--ink-2);
  font-size: 0.95rem;
}

.legal-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--blue-solid);
  font-weight: bold;
}

.legal-highlight {
  margin: 20px 0;
  padding: 18px 22px;
  background: #f0f7ff;
  border: 1px solid rgba(26, 86, 219, 0.25);
  border-radius: var(--radius);
}

.legal-highlight p {
  margin-bottom: 0;
  color: var(--ink-2);
  line-height: 1.65;
}

.legal-box {
  margin: 16px 0;
  padding: 16px 20px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.6;
}

.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.legal-table th,
.legal-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table th {
  background: #f8fafc;
  color: var(--ink);
  font-weight: 600;
  width: 28%;
}

.legal-table td {
  color: var(--ink-2);
}