/* =========================================================================
   HorusSystem · Landing (tema CLARO corporativo)
   Visual: crema cálido + oro · grid sutil · tarjetas blancas · acento oro oscuro
   Branding: HorusSystem — Sistemas a medida · Infraestructura operativa
   ========================================================================= */

:root {
  /* Base clara (crema de marca) */
  --bg:           #F4EFE2;
  --surface:      #FBF8F0;   /* superficie de tarjeta */
  --surface-2:    #FFFFFF;   /* elevada */
  --paper-tint:   #EFE8D6;

  /* Escala de oro */
  --gold-glow:    #F0D896;
  --gold:         #E6C76B;
  --gold-mid:     #D4AF37;
  --gold-deep:    #A8842B;   /* acento principal sobre claro */
  --gold-dark:    #6B5419;
  --gold-ink:     #3A2D0D;

  /* Texto */
  --fg:           #211C12;   /* titulares / texto principal (cálido casi negro) */
  --fg-soft:      #5A5547;   /* secundario (marca) */
  --muted:        #8B8472;   /* apagado (marca) */
  --muted-deep:   #B8AE97;   /* apagado claro */

  /* Bordes y glass */
  --border:       rgba(168, 132, 43, 0.22);
  --border-soft:  rgba(168, 132, 43, 0.13);
  --border-strong:rgba(168, 132, 43, 0.42);
  --glass-bg:     rgba(255, 255, 255, 0.62);
  --glass-bg-strong: rgba(255, 255, 255, 0.84);

  /* Glows / sombras */
  --glow-gold:    rgba(168, 132, 43, 0.16);
  --glow-strong:  rgba(168, 132, 43, 0.30);
  --shadow-soft:  rgba(60, 45, 15, 0.10);
  --shadow-mid:   rgba(60, 45, 15, 0.16);

  /* Tipografía — Geist (marca HorusSystem) */
  --display: 'Geist', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  --sans:    'Geist', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  --serif:   'Geist', -apple-system, sans-serif;
  --mono:    'Geist Mono', 'SF Mono', 'JetBrains Mono', Menlo, monospace;

  /* Spacing */
  --container: 1200px;
  --container-narrow: 820px;
  --section-py: clamp(80px, 12vw, 160px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--fg); }

/* =========================================================================
   BG-FX: glows suaves + grid + grano (sobre crema)
   ========================================================================= */

.bg-fx {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.glow-1 {
  top: -10%;
  left: -8%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 70%);
}

.glow-2 {
  top: 40%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(168, 132, 43, 0.16), transparent 70%);
}

.glow-3 {
  bottom: -15%;
  left: 30%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(230, 199, 107, 0.18), transparent 70%);
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 132, 43, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 132, 43, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: multiply;
}

/* Todo el contenido por encima del fondo */
nav, header, section, footer { position: relative; z-index: 1; }

/* =========================================================================
   TYPOGRAPHY
   ========================================================================= */

.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
  display: inline-block;
}

.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin-bottom: 32px;
  max-width: 920px;
}

.section-title em {
  font-style: normal;
  font-weight: 600;
  color: var(--gold-deep);
  background: linear-gradient(180deg, var(--gold-deep), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title-center { text-align: center; margin-left: auto; margin-right: auto; }

.section-lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 720px;
  margin-bottom: 56px;
}

/* Variante cita (Hormozi en bloque transformación, etc.) — sub destacado bold con frase en gold */
.section-lead--quote {
  font-family: var(--display);
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 600;
  color: var(--fg);
  max-width: 820px;
  line-height: 1.4;
  letter-spacing: -0.012em;
  display: block;
}

.section-lead--quote strong {
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-lead-attr {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
}

/* =========================================================================
   NAV (glass claro)
   ========================================================================= */

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 11px 14px 11px 24px;

  position: sticky;
  top: 20px;
  z-index: 100;

  max-width: min(1140px, calc(100% - 32px));
  margin: 20px auto 0;

  border-radius: 100px;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 0 0 1px rgba(168, 132, 43, 0.22),
    0 14px 40px var(--shadow-soft),
    0 0 60px rgba(230, 199, 107, 0.10);

  transition: box-shadow 0.4s ease, top 0.3s ease, background 0.4s ease;
}

.nav.scrolled {
  background: var(--glass-bg-strong);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 1px rgba(168, 132, 43, 0.32),
    0 18px 48px var(--shadow-mid),
    0 0 80px rgba(230, 199, 107, 0.16);
}

/* shimmer dorado animado en el borde del nav */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1.5px;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(168, 132, 43, 0)   28%,
    rgba(212, 175, 55, 0.8) 48%,
    rgba(240, 216, 150, 1)  52%,
    rgba(168, 132, 43, 0)   72%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: nav-shimmer 6s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes nav-shimmer {
  0%   { background-position: 220% 50%; }
  100% { background-position: -220% 50%; }
}

.nav .btn { border-radius: 100px; }

.logo {
  text-decoration: none;
  transition: opacity 0.3s;
}
.logo:hover { opacity: 0.82; }

.logo-mark {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  background: linear-gradient(180deg, var(--gold-deep), var(--gold-ink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-small { font-size: 14px; letter-spacing: 0.14em; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--fg-soft);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold-deep); }

/* =========================================================================
   BUTTONS
   ========================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--sans);
  white-space: nowrap;
}

.btn-sm { padding: 10px 18px; font-size: 12.5px; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--gold-ink);
  border-color: var(--gold-deep);
  box-shadow: 0 6px 18px rgba(168, 132, 43, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-glow), var(--gold-mid));
  box-shadow: 0 10px 30px var(--glow-strong), 0 6px 18px var(--shadow-soft);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(168, 132, 43, 0.05);
  color: var(--fg);
  border-color: var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--gold-deep);
  color: var(--gold-deep);
  background: rgba(168, 132, 43, 0.10);
}

.btn-large {
  padding: 20px 48px;
  font-size: 14.5px;
}

/* =========================================================================
   HERO
   ========================================================================= */

.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(60px, 8.5vw, 116px) clamp(20px, 4vw, 60px) clamp(60px, 9vw, 110px);
  text-align: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 100px;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  margin-bottom: 28px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--fg-soft);
  font-weight: 500;
  max-width: 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px var(--border-soft),
    0 8px 24px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(230, 199, 107, 0.10);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-deep);
  box-shadow: 0 0 10px var(--gold);
  flex-shrink: 0;
}

.eyebrow-brand {
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold-deep);
  background: linear-gradient(180deg, var(--gold-glow), var(--gold-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 11.5px;
}

.eyebrow-sep {
  width: 1px;
  height: 14px;
  background: var(--border-strong);
  flex-shrink: 0;
}

.eyebrow-text {
  color: var(--fg-soft);
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 720px) {
  .hero-eyebrow {
    flex-wrap: wrap;
    justify-content: center;
    padding: 8px 14px;
    font-size: 10.5px;
    text-align: center;
  }
  .eyebrow-sep { display: none; }

  /* Mobile typography: H1 más grande, sub más pequeño para jerarquía clara */
  .hero-title {
    font-size: clamp(38px, 10vw, 52px) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.03em;
  }
  .hero-sub {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-bottom: 26px !important;
  }

  /* Hero compact mobile: benefits y trust con menos peso */
  .hero-benefits { gap: 8px !important; margin: 22px 0 24px !important; max-width: 100%; }
  .hero-benefit { padding: 12px 14px !important; gap: 10px !important; }
  .hero-benefit-icon { width: 28px !important; height: 28px !important; }
  .hero-benefit-icon svg { width: 14px !important; height: 14px !important; }
  .hero-benefit-title { font-size: 13px !important; line-height: 1.25 !important; }
  .hero-benefit-text { font-size: 11.5px !important; line-height: 1.42 !important; }
  .hero-trust { font-size: 10.5px; letter-spacing: 0.04em; }
  .hero-ctas { margin-bottom: 26px; }
}

/* =========================================================================
   QUICK WINS · CONVERSIÓN MOBILE
   ========================================================================= */

/* CTA inline tras cada bloque clave */
.inline-cta {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}
.inline-cta .btn {
  min-width: 280px;
}

@media (max-width: 720px) {
  .inline-cta { margin-top: 36px; }
  .inline-cta .btn {
    width: 100%;
    max-width: 360px;
    min-width: 0;
  }
}

/* Sticky bottom CTA bar — solo mobile · glass + shimmer (igual que el nav) */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 90;
  padding: 6px;
  border-radius: 100px;
  background: rgba(7, 10, 18, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 1px rgba(230, 199, 107, 0.22),
    0 18px 50px rgba(0, 0, 0, 0.55),
    0 0 80px rgba(230, 199, 107, 0.14);
  transform: translateY(160%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.35s ease;
  pointer-events: none;
}

/* Shimmer dorado animado en el borde — mismo efecto que el nav */
.mobile-cta-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1.5px;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(230, 199, 107, 0)    28%,
    rgba(240, 216, 150, 0.85) 48%,
    rgba(255, 235, 180, 1)    52%,
    rgba(230, 199, 107, 0)    72%,
    transparent 100%
  );
  background-size: 220% 100%;
  animation: nav-shimmer 6s linear infinite;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
          mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.mobile-cta-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-cta-btn {
  width: 100%;
  min-height: 50px;
  font-size: 14px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}

/* Hide cuando el modal de Cal está abierto */
.cal-modal[aria-hidden="false"] ~ .mobile-cta-bar {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 720px) {
  .mobile-cta-bar { display: block; }

  /* Tap targets mínimo 44px en mobile (Apple HIG / WCAG AAA) */
  .btn {
    min-height: 44px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .btn-sm {
    min-height: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .btn-large {
    min-height: 54px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Bottom padding extra para que el sticky bar no tape el footer */
  body { padding-bottom: 78px; }
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(30px, 5.0vw, 66px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
  color: var(--fg);
}

.hero-title em {
  font-style: normal;
  font-weight: 700;
  color: var(--gold-deep);
  background: linear-gradient(180deg, var(--gold-deep), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-family: var(--display);
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 600;
  color: var(--fg);
  max-width: 760px;
  margin: 0 auto 44px;
  line-height: 1.5;
  letter-spacing: -0.012em;
}

.hero-sub strong {
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.05em;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-deep);
}

.dot-pulse {
  box-shadow: 0 0 0 0 var(--gold-deep);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(168, 132, 43, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(168, 132, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 132, 43, 0); }
}

/* PRUEBA SOCIAL (hero) */
.hero-social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.avatar-stack {
  display: inline-flex;
  align-items: center;
}

.avatar-stack .avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  box-shadow: 0 2px 8px rgba(168, 132, 43, 0.22);
}
.avatar-stack .avatar:first-child { margin-left: 0; }
.avatar-stack .avatar:nth-child(2) { background: linear-gradient(135deg, var(--gold-mid), var(--gold-dark)); }
.avatar-stack .avatar:nth-child(3) { background: linear-gradient(135deg, var(--gold-deep), var(--gold-ink)); }
.avatar-stack .avatar:nth-child(4) { background: linear-gradient(135deg, var(--gold-glow), var(--gold-mid)); }
.avatar-stack .avatar:nth-child(5) { background: linear-gradient(135deg, var(--gold-dark), var(--gold-deep)); }

.hero-social-text {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-soft);
  letter-spacing: 0.02em;
}

/* =========================================================================
   SECTIONS (genérico)
   ========================================================================= */

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

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.section-inner-narrow { max-width: var(--container-narrow); }

/* =========================================================================
   FEATURES
   ========================================================================= */

.section-features {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.feature {
  position: relative;
  padding: 40px 36px 36px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  transition: all 0.4s;
  overflow: hidden;
  box-shadow: 0 4px 18px var(--shadow-soft);
}

.feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-deep), transparent);
  opacity: 0.5;
  transition: opacity 0.4s;
}

.feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px var(--shadow-mid);
}

.feature:hover::before { opacity: 1; }

.feature-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.feature-num {
  color: var(--gold-deep);
  font-weight: 600;
}

.feature-tag {
  color: var(--muted);
  padding-left: 14px;
  border-left: 1px solid var(--border);
}

.feature-title {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--fg);
  margin-bottom: 20px;
}

.feature-body {
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.feature-body:last-child { margin-bottom: 0; }

.feature-body strong {
  color: var(--fg);
  font-weight: 600;
}

/* =========================================================================
   GALERÍA DE CAPTURAS
   ========================================================================= */

.section-gallery {
  padding-top: clamp(40px, 6vw, 80px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

/* Cada shot = render del dashboard. Sin frame de navegador, integrado en la página. */
.shot {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.4s ease;
}

.shot.shot-lg { grid-column: 1 / -1; }

.shot:hover {
  transform: translateY(-4px);
}

.shot-img {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-2), var(--paper-tint));
  border: 1px solid var(--border-soft);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 20px 50px var(--shadow-soft),
    0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.shot:hover .shot-img {
  border-color: var(--border-strong);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.10) inset,
    0 32px 70px var(--shadow-mid),
    0 6px 18px rgba(0, 0, 0, 0.14);
}

.shot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}

.shot.shot-lg .shot-img { aspect-ratio: 21 / 8; }

.shot figcaption {
  padding: 18px 4px 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
}

/* Layout 2x2 para 4 capturas */
.gallery-grid--2x2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-disclaimer {
  margin: 18px auto 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-style: italic;
}

/* =========================================================================
   PROBLEMA · quotes + coste
   ========================================================================= */

.section-problem { position: relative; }

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.quote-card {
  position: relative;
  padding: 36px 32px 32px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 4px 18px var(--shadow-soft);
  transition: all 0.3s;
}

.quote-card:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--shadow-mid);
}

.quote-mark {
  position: absolute;
  top: 12px;
  left: 28px;
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--gold-deep);
  opacity: 0.4;
}

.quote-card p {
  color: var(--fg-soft);
  font-size: 16px;
  line-height: 1.65;
  padding-top: 16px;
}

/* COSTE DE LA INACCIÓN (math statement) */
.cost-callout {
  margin-top: 40px;
  padding: 44px 40px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at center, rgba(168, 132, 43, 0.07), transparent 70%),
    var(--surface);
  box-shadow: 0 6px 24px var(--shadow-soft);
}

.cost-label {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
  font-weight: 600;
}

.cost-eq {
  font-family: var(--display);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 16px;
}

.cost-eq span {
  color: var(--gold-deep);
  font-family: var(--mono);
  font-weight: 500;
  padding: 0 4px;
}

.cost-note {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-soft);
  max-width: 620px;
  margin: 0 auto;
}

/* TRANSFORMACIÓN (antes → después) */
.transform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.transform-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 32px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: 0 4px 18px var(--shadow-soft);
  transition: all 0.3s;
}

.transform-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px var(--shadow-mid);
}

.t-label {
  display: block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.t-before .t-label { color: var(--muted); }
.t-after  .t-label { color: var(--gold-deep); }

.t-before p { color: var(--muted); font-size: 15px; line-height: 1.55; }

.t-after {
  border-left: 2px solid var(--gold-deep);
  padding-left: 16px;
}
.t-after p { color: var(--fg); font-size: 16.5px; line-height: 1.55; font-weight: 500; }

.t-arrow {
  align-self: center;
  font-family: var(--mono);
  color: var(--gold-deep);
  font-size: 18px;
  line-height: 1;
  opacity: 0.7;
}

/* =========================================================================
   TRANSFORM v2 · dos columnas (Punto A rojo · Punto B verde)
   ========================================================================= */

.transform-grid--columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1040px;
  margin: 32px auto 0;
}

.transform-col {
  position: relative;
  padding: 30px 30px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: 0 6px 24px var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.transform-col--a {
  background: linear-gradient(180deg, rgba(200, 74, 74, 0.055), rgba(200, 74, 74, 0.015));
  border-color: rgba(200, 74, 74, 0.20);
}

.transform-col--b {
  background: linear-gradient(180deg, rgba(79, 157, 109, 0.055), rgba(79, 157, 109, 0.015));
  border-color: rgba(79, 157, 109, 0.22);
}

.transform-col:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px var(--shadow-mid);
}

.transform-col-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}

.transform-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.transform-dot--a {
  background: #C84A4A;
  box-shadow: 0 0 0 4px rgba(200, 74, 74, 0.14), 0 0 14px rgba(200, 74, 74, 0.55);
}

.transform-dot--b {
  background: #4F9D6D;
  box-shadow: 0 0 0 4px rgba(79, 157, 109, 0.14), 0 0 14px rgba(79, 157, 109, 0.55);
}

.transform-col-titles {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.transform-col-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
}

.transform-col--a .transform-col-tag { color: #C84A4A; }
.transform-col--b .transform-col-tag { color: #4F9D6D; }

.transform-col-title {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0;
  line-height: 1.2;
}

.transform-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.transform-list li {
  position: relative;
  padding: 11px 0 11px 22px;
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.55;
}

.transform-list li:not(:last-child) {
  border-bottom: 1px dashed var(--border-soft);
}

.transform-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.transform-col--a .transform-list li::before { background: rgba(200, 74, 74, 0.75); }
.transform-col--b .transform-list li::before { background: rgba(79, 157, 109, 0.75); }

@media (max-width: 760px) {
  .transform-grid--columns { grid-template-columns: 1fr; gap: 16px; }
}

/* Dark mode: rojo y verde más vivos para mejor contraste */
[data-theme="dark"] .transform-col--a {
  background: linear-gradient(180deg, rgba(242, 107, 92, 0.07), rgba(242, 107, 92, 0.02));
  border-color: rgba(242, 107, 92, 0.22);
}
[data-theme="dark"] .transform-col--b {
  background: linear-gradient(180deg, rgba(108, 193, 138, 0.07), rgba(108, 193, 138, 0.02));
  border-color: rgba(108, 193, 138, 0.24);
}
[data-theme="dark"] .transform-dot--a {
  background: #F26B5C;
  box-shadow: 0 0 0 4px rgba(242, 107, 92, 0.18), 0 0 18px rgba(242, 107, 92, 0.55);
}
[data-theme="dark"] .transform-dot--b {
  background: #6CC18A;
  box-shadow: 0 0 0 4px rgba(108, 193, 138, 0.18), 0 0 18px rgba(108, 193, 138, 0.55);
}
[data-theme="dark"] .transform-col--a .transform-col-tag      { color: #F26B5C; }
[data-theme="dark"] .transform-col--b .transform-col-tag      { color: #6CC18A; }
[data-theme="dark"] .transform-col--a .transform-list li::before { background: rgba(242, 107, 92, 0.85); }
[data-theme="dark"] .transform-col--b .transform-list li::before { background: rgba(108, 193, 138, 0.85); }

/* =========================================================================
   PROCESO / TIMELINE
   ========================================================================= */

.timeline {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 36px;
  top: 36px;
  bottom: 36px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-deep) 10%, var(--gold-deep) 90%, transparent);
  opacity: 0.5;
}

.timeline-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 24px 0;
  align-items: flex-start;
  position: relative;
}

.step-num {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-deep);
  background: var(--surface-2);
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 6px 18px var(--shadow-soft);
  letter-spacing: 0.02em;
}

.step-body h3 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 6px;
}

.step-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.step-body > p:not(.step-meta) {
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 640px;
}

/* =========================================================================
   PROYECTOS / CASOS REALES
   ========================================================================= */

.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.projects-head .section-lead { margin-bottom: 0; }

.projects-head-cta { flex-shrink: 0; margin-top: 6px; }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 36px 30px 30px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: 0 4px 18px var(--shadow-soft);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-deep));
}

.project-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: 0 24px 50px var(--shadow-mid);
}

.project-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.project-name {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.project-chip {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--fg-soft);
  padding: 5px 11px;
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 100%;
}

.project-client {
  color: var(--fg-soft);
  font-size: 14.5px;
  margin-bottom: 24px;
}

.project-metrics {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.metric-num {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--gold-deep);
  background: linear-gradient(180deg, var(--gold-deep), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  word-break: break-word;
}

.metric-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.3;
}

.project-desc {
  color: var(--fg-soft);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-tags span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--fg-soft);
  padding: 5px 11px;
  border: 1px solid var(--border-soft);
  border-radius: 100px;
  background: rgba(168, 132, 43, 0.04);
}

.project-link {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
  text-decoration: none;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  transition: color 0.2s;
}

.project-link:hover { color: var(--gold-dark); }

/* =========================================================================
   PARA QUIÉN
   ========================================================================= */

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.fit-col {
  padding: 36px 32px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  box-shadow: 0 4px 18px var(--shadow-soft);
}

.fit-yes {
  border-top: 2px solid var(--gold-deep);
  background: linear-gradient(180deg, rgba(168, 132, 43, 0.06), var(--surface));
}
.fit-no {
  border-top: 2px solid var(--muted-deep);
}

.fit-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}

.fit-mark {
  font-family: var(--display);
  font-size: 22px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 600;
}

.fit-yes .fit-mark { background: rgba(168, 132, 43, 0.14); color: var(--gold-deep); }
.fit-no  .fit-mark { background: rgba(90, 85, 71, 0.10); color: var(--muted); }

.fit-header h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.fit-col ul { list-style: none; }

.fit-col li {
  padding: 14px 0 14px 24px;
  position: relative;
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.55;
  border-bottom: 1px solid var(--border-soft);
}
.fit-col li:last-child { border-bottom: none; }

.fit-col li strong { color: var(--fg); font-weight: 600; }

.fit-yes li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-deep);
  font-weight: 600;
}
.fit-no li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--muted);
}

/* =========================================================================
   FIT v2 · checklist corporativa "Si ya tienes..."
   ========================================================================= */

.fit-list {
  list-style: none;
  padding: 0;
  margin: 36px auto 40px;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fit-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 26px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.fit-list li:hover {
  border-color: var(--border-strong);
  transform: translateX(4px);
  background: linear-gradient(180deg, rgba(230,199,107,0.05), rgba(230,199,107,0.015));
}

.fit-marker {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-glow), var(--gold-mid));
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 0 0 4px rgba(230, 199, 107, 0.12), 0 0 16px rgba(230, 199, 107, 0.18);
  margin-top: 2px;
}

.fit-text {
  color: var(--fg-soft);
  font-size: 15.5px;
  line-height: 1.6;
}

.fit-text strong {
  color: var(--fg);
  font-weight: 600;
}

/* CTA card de cierre */
.fit-cta {
  max-width: 860px;
  margin: 8px auto 0;
  padding: 36px 32px 32px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(230,199,107,0.07), rgba(230,199,107,0.02)),
    var(--surface);
  border: 1px solid var(--border);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 16px 40px var(--shadow-soft),
    0 0 60px rgba(230, 199, 107, 0.10);
  text-align: center;
}

.fit-cta-lead {
  font-family: var(--display);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  color: var(--fg);
  line-height: 1.45;
  margin: 0 auto 22px;
  max-width: 620px;
  letter-spacing: -0.012em;
}

.fit-cta-lead strong {
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold-glow), var(--gold-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fit-cta-promise {
  margin: 16px 0 0;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .fit-list li { padding: 16px 18px; gap: 14px; }
  .fit-cta { padding: 28px 22px; }
}

/* =========================================================================
   CTA FINAL
   ========================================================================= */

.section-cta {
  text-align: center;
  padding: clamp(100px, 14vw, 180px) 0;
  position: relative;
}

.section-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(168, 132, 43, 0.10), transparent 60%);
  pointer-events: none;
}

.section-cta .section-eyebrow {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

.cta-title {
  font-family: var(--display);
  font-size: clamp(42px, 5.6vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--fg);
  margin: 28px auto 24px;
  letter-spacing: -0.035em;
}

.cta-sub {
  font-size: 18px;
  color: var(--fg-soft);
  max-width: 660px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.cta-sub strong {
  font-weight: 700;
  color: var(--fg);
  background: linear-gradient(180deg, var(--gold-glow), var(--gold-mid));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-promise {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* =========================================================================
   FOOTER
   ========================================================================= */

.footer {
  border-top: 1px solid var(--border-soft);
  padding: 48px 0;
  background: var(--paper-tint);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 8px;
}

.footer-meta { text-align: right; }

.footer-meta p {
  color: var(--muted);
  font-size: 12.5px;
  font-family: var(--mono);
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/* =========================================================================
   ANIMATION: scroll reveal
   ========================================================================= */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 1080px) {
  .quotes-grid { grid-template-columns: 1fr; }
  .transform-grid { grid-template-columns: 1fr; gap: 16px; }
  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .projects-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .projects-head { flex-direction: column; }
}

@media (max-width: 720px) {
  .fit-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }

  .nav {
    top: 12px;
    margin: 12px auto 0;
    padding: 9px 10px 9px 18px;
    max-width: calc(100% - 20px);
    gap: 8px;
  }
  .nav-link { display: none; }

  .hero { padding-top: 80px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }

  .timeline-step { grid-template-columns: 56px 1fr; gap: 18px; }
  .step-num { width: 52px; height: 52px; font-size: 18px; }
  .timeline::before { left: 26px; }

  .glow { filter: blur(70px); }
  .glow-1 { width: 320px; height: 320px; }
  .glow-2 { width: 280px; height: 280px; }
  .glow-3 { width: 400px; height: 400px; }
}

/* =========================================================================
   PANELS EMBED · demo interactiva del centro de mando (iframe)
   ========================================================================= */

.panels-embed {
  margin-top: 36px;
  position: relative;
  width: 100%;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.panels-iframe {
  display: block;
  width: 100%;
  height: 720px; /* fallback hasta que el JS ajuste a la altura real */
  border: 0;
  background: transparent;
  transition: height 0.35s ease;
}

/* =========================================================================
   DASH SLIDER · 4 mockups de dashboard renderizados en HTML/CSS
   ========================================================================= */

.dash-slider {
  margin-top: 36px;
  user-select: none;
}

.dash-slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 20px 50px var(--shadow-soft),
    0 4px 12px rgba(0,0,0,0.08);
  aspect-ratio: 16 / 9;
}

.dash-slider-track {
  display: flex;
  width: 400%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.dash-slide {
  width: 25%;
  height: 100%;
  flex-shrink: 0;
  overflow: hidden;
}

/* ---- Estructura general del mockup de dashboard ---- */
.mock-dash {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: clamp(110px, 11%, 160px) 1fr;
  background: var(--surface);
  color: var(--fg);
  font-size: clamp(10px, 0.85vw, 13px);
}

.mock-dash-nav {
  background: linear-gradient(180deg, var(--paper-tint), var(--surface));
  border-right: 1px solid var(--border-soft);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

[data-theme="dark"] .mock-dash-nav {
  background: linear-gradient(180deg, var(--ink-900), var(--ink-800));
}

.mock-dash-nav-tag {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: var(--gold-deep);
  text-transform: uppercase;
  font-weight: 600;
}

.mock-dash-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mock-dash-nav li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--fg-soft);
  font-size: 0.92em;
  letter-spacing: -0.005em;
}

.mock-dash-nav li.is-active {
  background: rgba(168, 132, 43, 0.10);
  color: var(--fg);
  font-weight: 600;
}

[data-theme="dark"] .mock-dash-nav li.is-active {
  background: rgba(230, 199, 107, 0.10);
}

.mock-icon {
  color: var(--gold-deep);
  font-size: 0.85em;
}

.mock-dash-main {
  padding: clamp(16px, 1.6vw, 22px);
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 16px);
}

[data-theme="dark"] .mock-dash-main { background: var(--ink-900); }

.mock-dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.mock-dash-head h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 19px);
  letter-spacing: -0.018em;
  color: var(--fg);
  margin: 0 0 3px;
}

.mock-dash-head p {
  font-size: 0.95em;
  color: var(--muted);
  margin: 0;
}

.mock-dash-pill {
  font-family: var(--mono);
  font-size: 0.78em;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
  background: rgba(168, 132, 43, 0.10);
  border: 1px solid var(--border-soft);
  padding: 5px 10px;
  border-radius: 100px;
  font-weight: 600;
  white-space: nowrap;
}

.mock-dash-pill--alert {
  color: #C84A4A;
  background: rgba(200, 74, 74, 0.10);
  border-color: rgba(200, 74, 74, 0.25);
}
[data-theme="dark"] .mock-dash-pill--alert {
  color: #F26B5C;
  background: rgba(242, 107, 92, 0.12);
  border-color: rgba(242, 107, 92, 0.30);
}

/* ---- KPI cards ---- */
.mock-kpi-grid {
  display: grid;
  gap: clamp(8px, 0.8vw, 12px);
}

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

.mock-kpi {
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: clamp(10px, 1vw, 14px) clamp(12px, 1.1vw, 16px);
}

[data-theme="dark"] .mock-kpi {
  background: rgba(255, 255, 255, 0.025);
  border-color: var(--border-soft);
}

.mock-kpi-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.66em;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 5px;
}

.mock-kpi-value {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 24px);
  color: var(--fg);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.mock-kpi-big .mock-kpi-value { font-size: clamp(20px, 2.2vw, 30px); }

.mock-kpi-accent {
  background: linear-gradient(180deg, var(--gold-deep), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .mock-kpi-accent {
  background: linear-gradient(180deg, #F0D896, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mock-kpi-delta {
  display: block;
  font-family: var(--mono);
  font-size: 0.72em;
  color: #4F9D6D;
  margin-top: 6px;
  letter-spacing: 0.04em;
}
[data-theme="dark"] .mock-kpi-delta { color: #6CC18A; }

/* ---- Funnel (slide 2) ---- */
.mock-funnel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}

.mock-funnel-step {
  position: relative;
  width: var(--w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px 18px;
  background: linear-gradient(90deg, rgba(168,132,43,0.06), rgba(168,132,43,0.14), rgba(168,132,43,0.06));
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  min-height: 38px;
  transition: width 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="dark"] .mock-funnel-step {
  background: linear-gradient(90deg, rgba(230,199,107,0.05), rgba(230,199,107,0.12), rgba(230,199,107,0.05));
}

.mock-funnel-step--win {
  background: linear-gradient(90deg, rgba(79,157,109,0.10), rgba(79,157,109,0.25), rgba(79,157,109,0.10));
  border-color: rgba(79,157,109,0.40);
}
[data-theme="dark"] .mock-funnel-step--win {
  background: linear-gradient(90deg, rgba(108,193,138,0.10), rgba(108,193,138,0.25), rgba(108,193,138,0.10));
  border-color: rgba(108,193,138,0.40);
}

.mock-funnel-label {
  font-family: var(--mono);
  font-size: 0.72em;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.mock-funnel-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 20px);
  color: var(--fg);
  letter-spacing: -0.02em;
}

.mock-funnel-pct {
  font-family: var(--mono);
  font-size: 0.72em;
  color: var(--fg-soft);
  text-align: right;
  letter-spacing: 0.04em;
}

/* ---- Inconsistencias (slide 3) ---- */
.mock-issues {
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: hidden;
}

.mock-issue-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-issue-group-title {
  font-family: var(--mono);
  font-size: 0.74em;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.mock-issue-group-title em {
  font-style: normal;
  color: var(--fg-soft);
  background: var(--surface-2);
  padding: 1px 7px;
  border-radius: 8px;
  font-size: 0.95em;
}

.mock-issue-emoji {
  font-size: 1.1em;
  filter: saturate(0.7);
}

.mock-issue-row {
  display: grid;
  grid-template-columns: 6px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  background: var(--surface-2);
}

[data-theme="dark"] .mock-issue-row { background: rgba(255,255,255,0.02); }

.mock-issue-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-top: 0;
  align-self: center;
}

.mock-issue-status--high { background: #C84A4A; box-shadow: 0 0 8px rgba(200,74,74,0.6); }
.mock-issue-status--mid  { background: #F4BF4F; box-shadow: 0 0 8px rgba(244,191,79,0.5); }

.mock-issue-title {
  font-size: 0.96em;
  font-weight: 600;
  color: var(--fg);
}

.mock-issue-meta {
  display: block;
  font-size: 0.82em;
  color: var(--muted);
  grid-column: 2;
  grid-row: 2;
  margin-top: 2px;
}

.mock-issue-row { grid-template-rows: auto auto; }

.mock-issue-count {
  font-family: var(--mono);
  font-size: 0.78em;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  background: rgba(200,74,74,0.12);
  color: #C84A4A;
  grid-row: 1 / span 2;
  align-self: center;
}
[data-theme="dark"] .mock-issue-count {
  background: rgba(242,107,92,0.15);
  color: #F26B5C;
}

/* ---- Atribución (slide 4) ---- */
.mock-attr {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 12px;
  height: 100%;
  overflow: hidden;
}

.mock-attr-charts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  background: var(--surface-2);
  min-height: 0;
}
[data-theme="dark"] .mock-attr-charts { background: rgba(255,255,255,0.025); }

.mock-donut {
  width: clamp(80px, 9vw, 120px);
  height: clamp(80px, 9vw, 120px);
  flex-shrink: 0;
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 100%;
  min-height: 80px;
  padding: 6px 4px 0;
}

.mock-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  height: 100%;
}

.mock-bar span {
  width: 100%;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  display: block;
  min-height: 8px;
  transition: height 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.mock-bar em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 0.7em;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.mock-table {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-soft);
  border-radius: 6px;
  overflow: hidden;
}

.mock-table-head,
.mock-table-row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr 0.8fr 0.6fr;
  gap: 10px;
  align-items: center;
  padding: 7px 12px;
  background: var(--surface-2);
}

[data-theme="dark"] .mock-table-head,
[data-theme="dark"] .mock-table-row { background: var(--ink-800); }

.mock-table-head {
  font-family: var(--mono);
  font-size: 0.7em;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.mock-table-row {
  font-size: 0.85em;
  color: var(--fg-soft);
}

.mock-table-row span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  font-weight: 500;
}

.mock-table-row i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.mock-roas {
  font-family: var(--mono);
  color: var(--gold-deep);
  font-weight: 600;
  text-align: right;
}
[data-theme="dark"] .mock-roas { color: var(--gold); }

/* ---- Controles (flechas + dots) ---- */
.dash-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.dash-slider-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--fg-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.dash-slider-arrow:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: scale(1.05);
}

.dash-slider-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dash-slider-dots {
  display: flex;
  gap: 6px;
  padding: 0 6px;
}

.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
  -webkit-appearance: none;
  appearance: none;
}

.dash-dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-dark));
  border-radius: 100px;
}
[data-theme="dark"] .dash-dot.is-active {
  background: linear-gradient(90deg, var(--gold), var(--gold-glow));
}

/* ---- Caption sincronizada ---- */
.dash-slider-captions {
  position: relative;
  height: 18px;
  margin-top: 8px;
  text-align: center;
}

.dash-caption {
  position: absolute;
  left: 0;
  right: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.10em;
  color: var(--muted);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.dash-caption.is-active { opacity: 1; }

@media (max-width: 720px) {
  .mock-dash { grid-template-columns: 80px 1fr; font-size: 9px; }
  .mock-kpi-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .mock-kpi-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .mock-attr-charts { grid-template-columns: 1fr; }
  .mock-donut { margin: 0 auto; }
  .dash-slider-viewport { aspect-ratio: 4 / 3; }
}

/* =========================================================================
   CAL.COM BOOKING MODAL
   ========================================================================= */

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

.cal-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 32px);
}

.cal-modal[aria-hidden="false"] {
  display: flex;
}

.cal-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, 0.65);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  animation: cal-fade-in 0.28s ease-out;
}

.cal-modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  height: 100%;
  max-height: 92vh;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 8px 24px rgba(0, 0, 0, 0.30),
    0 0 0 1px var(--border-soft);
  animation: cal-pop-in 0.34s cubic-bezier(0.22, 0.61, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.cal-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--fg);
  border: 1px solid var(--border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.cal-modal-close:hover {
  background: var(--gold);
  color: var(--bg);
  transform: scale(1.06);
}

#my-cal-inline-30min {
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

@keyframes cal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cal-pop-in {
  from { opacity: 0; transform: scale(0.94) translateY(18px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* En móvil ocupa pantalla completa con padding mínimo */
@media (max-width: 720px) {
  .cal-modal { padding: 8px; }
  .cal-modal-content { max-height: 96vh; border-radius: 14px; }
}

/* En tema oscuro la sombra es más profunda */
[data-theme="dark"] .cal-modal-backdrop { background: rgba(0, 0, 0, 0.72); }
[data-theme="dark"] .cal-modal-content {
  background: var(--ink-900);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 32px 80px rgba(0, 0, 0, 0.70),
    0 8px 24px rgba(0, 0, 0, 0.50);
}

/* =========================================================================
   HERO BENEFITS (bullets destacados debajo del sub-hero)
   ========================================================================= */

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 32px auto 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 880px;
  text-align: left;
}

.hero-benefit {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.hero-benefit:hover {
  transform: translateY(-1px);
  border-color: var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
  box-shadow: 0 6px 18px var(--shadow-soft), 0 0 20px var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-benefit-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(230, 199, 107, 0.18), rgba(168, 132, 43, 0.06));
  color: var(--gold-deep);
}

.hero-benefit-icon svg {
  width: 16px;
  height: 16px;
}

.hero-benefit-body {
  flex: 1;
  min-width: 0;
}

.hero-benefit-title {
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--fg);
  margin-bottom: 3px;
}

.hero-benefit-text {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--fg-soft);
  margin: 0;
}

@media (max-width: 960px) {
  .hero-benefits { grid-template-columns: 1fr; gap: 10px; max-width: 520px; }
}

/* Dark mode tweaks para hero-benefit */
[data-theme="dark"] .hero-benefit {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border-color: var(--border-soft);
}
[data-theme="dark"] .hero-benefit:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  box-shadow: 0 6px 18px var(--shadow-soft), 0 0 24px var(--glow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .hero-benefit-icon {
  background: linear-gradient(135deg, rgba(230, 199, 107, 0.18), rgba(212, 175, 55, 0.05));
  color: var(--gold-deep);
}

/* =========================================================================
   HERO LOGOS · marquee centrado con bucle infinito y fade en bordes
   ========================================================================= */

.hero-logos {
  margin: 36px auto 0;
  max-width: 560px;
  width: 100%;
}

.hero-logos-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin: 0 0 16px;
  font-weight: 500;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 22%, black 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 22%, black 78%, transparent 100%);
}

.logo-marquee-track {
  display: flex;
  gap: 56px;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
  will-change: transform;
}

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

.logo-item {
  height: 30px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.7;
  /* Logos vienen en blanco. En tema claro los invertimos para que se vean. */
  filter: invert(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
}

/* Nimed es casi cuadrado (incluye círculo + texto), necesita más altura para distinguirse */
.logo-item--square {
  height: 42px;
  max-width: 60px;
}

.logo-item:hover {
  opacity: 1;
  transform: scale(1.06);
}

/* En tema oscuro NO invertimos — el blanco original se ve perfecto sobre dark */
[data-theme="dark"] .logo-item {
  filter: none;
  opacity: 0.8;
}
[data-theme="dark"] .logo-item:hover {
  opacity: 1;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 28px)); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation-duration: 60s; }
}

@media (max-width: 540px) {
  .hero-logos { max-width: 360px; }
  .logo-item { font-size: 17px; }
  .logo-marquee-track { gap: 44px; }
  @keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-50% - 22px)); }
  }
}

[data-theme="dark"] .logo-item:hover { color: var(--gold); }

/* =========================================================================
   DARK THEME OVERRIDES
   Cambia los tokens base y reglas con valores hardcodeados.
   El resto se adapta solo porque usa var(--bg), var(--fg), etc.
   ========================================================================= */

[data-theme="dark"] {
  /* Base oscura */
  --bg:           #0A0A0C;
  --surface:      #131319;
  --surface-2:    #1B1B23;
  --paper-tint:   #15151C;

  /* Texto invertido */
  --fg:           #F4EFE2;
  --fg-soft:      #C9C2B0;
  --muted:        #8B8472;
  --muted-deep:   #5A5547;

  /* En dark el accent principal pasa a ser el gold brillante (no el deep mate) */
  --gold-deep:    #E6C76B;
  --gold-dark:    #D4AF37;
  --gold-ink:     #F0D896;

  /* Bordes / glass / shadows */
  --border:       rgba(230, 199, 107, 0.18);
  --border-soft:  rgba(230, 199, 107, 0.10);
  --border-strong:rgba(230, 199, 107, 0.32);
  --glass-bg:     rgba(10, 10, 12, 0.55);
  --glass-bg-strong: rgba(10, 10, 12, 0.82);

  --glow-gold:    rgba(230, 199, 107, 0.22);
  --glow-strong:  rgba(230, 199, 107, 0.40);
  --shadow-soft:  rgba(0, 0, 0, 0.45);
  --shadow-mid:   rgba(0, 0, 0, 0.65);
}

/* Body & selection */
[data-theme="dark"] body { background: var(--bg); color: var(--fg); }
[data-theme="dark"] ::selection { background: var(--gold-deep); color: var(--bg); }

/* Grain: en claro era multiply (oscurecer), en oscuro debe ser overlay/screen (iluminar) */
[data-theme="dark"] .grain {
  opacity: 0.05;
  mix-blend-mode: overlay;
}

/* Grid lines: en claro usan gold-mate oscuro, en dark gold brillante */
[data-theme="dark"] .grid-overlay {
  background-image:
    linear-gradient(rgba(230, 199, 107, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230, 199, 107, 0.055) 1px, transparent 1px);
}

/* Glows un pelín más intensos sobre fondo oscuro */
[data-theme="dark"] .glow   { opacity: 0.62; filter: blur(85px); }
[data-theme="dark"] .glow-1 { background: radial-gradient(circle, rgba(230, 199, 107, 0.32), transparent 70%); }
[data-theme="dark"] .glow-2 { background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 70%); }
[data-theme="dark"] .glow-3 { background: radial-gradient(circle, rgba(168, 132, 43, 0.22), transparent 70%); }

/* Botón primario: en dark, oro brillante con texto oscuro */
[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, var(--gold-glow, #F0D896), var(--gold-mid, #D4AF37));
  color: #0A0A0C;
  border-color: var(--gold, #E6C76B);
}
[data-theme="dark"] .btn-primary:hover {
  background: linear-gradient(135deg, var(--gold, #E6C76B), var(--gold-glow, #F0D896));
  box-shadow: 0 0 40px rgba(230, 199, 107, 0.35), 0 8px 24px rgba(0,0,0,0.6);
}

/* Botón ghost: borde gold suave en dark */
[data-theme="dark"] .btn-ghost {
  background: rgba(230, 199, 107, 0.04);
  color: var(--fg);
  border-color: var(--border);
}
[data-theme="dark"] .btn-ghost:hover {
  border-color: var(--gold, #E6C76B);
  color: var(--gold, #E6C76B);
  background: rgba(230, 199, 107, 0.08);
}

/* Logo gradient: en dark va de gold-glow a gold-mid */
[data-theme="dark"] .logo-mark {
  background: linear-gradient(180deg, #F0D896, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav glass refinada en dark */
[data-theme="dark"] .nav {
  background: rgba(10, 10, 12, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 0 1px rgba(230, 199, 107, 0.20),
    0 14px 40px rgba(0, 0, 0, 0.50),
    0 0 80px rgba(230, 199, 107, 0.10);
}
[data-theme="dark"] .nav.scrolled {
  background: rgba(10, 10, 12, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 0 0 1px rgba(230, 199, 107, 0.30),
    0 18px 48px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(230, 199, 107, 0.18);
}

/* Section titles em: usar gold brillante en dark */
[data-theme="dark"] .section-title em,
[data-theme="dark"] .hero-title em,
[data-theme="dark"] .cta-title em {
  background: linear-gradient(180deg, #F0D896, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero title gradient (en claro era fg→fg-soft, en dark es similar pero con tonos del dark) */
[data-theme="dark"] .hero-title,
[data-theme="dark"] .cta-title {
  background: linear-gradient(180deg, var(--fg) 60%, var(--fg-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Eyebrow color (en claro usa gold-deep mate, en dark gold brillante) */
[data-theme="dark"] .section-eyebrow,
[data-theme="dark"] .feature-num,
[data-theme="dark"] .feature-tag,
[data-theme="dark"] .step-meta,
[data-theme="dark"] .dashboard-bar-right,
[data-theme="dark"] .channel-value,
[data-theme="dark"] .promesa-num {
  color: var(--gold-deep);
}
