/* ══════════════════════════════════════
   KARTA STUDIO — styles.css  v4 (Dark Premium Rebrand)
   ══════════════════════════════════════ */

/* ══════════════════════════════════════
   DESIGN TOKENS
══════════════════════════════════════ */
:root {
  /* Palette — Light Premium Theme */
  --deep-black:    #FAF8F3;   /* main section bg (warm off-white) */
  --dark-green:    #EDE8DC;   /* alt section bg (warm light beige) */
  --green:         #0E3B2E;
  --green-light:   #1F6F54;
  --gold:          #1F6F54;   /* verde bosque — acento principal */
  --gold-light:    #4D9E84;   /* verde medio — hover/secundario */
  --cream-text:    #14201B;   /* primary text (near-black, green-tinted) */
  --cream:         #FFFFFF;
  --grey-body:     #4A4845;   /* body text */
  --grey-mid:      #9A9895;   /* muted/meta */
  --grey-border:   rgba(14,31,26,0.1);
  --white:         #FFFFFF;
  --wa:            #25D366;

  /* Typography */
  --font-serif:    'Cormorant Garamond', 'Georgia', serif;
  --font-sans:     'Inter', system-ui, -apple-system, sans-serif;
  --font-logo:     'Tenor Sans', 'Century Gothic', 'Futura', sans-serif;

  /* Radius */
  --r-sm:    6px;
  --r-md:    12px;
  --r-lg:    20px;
  --r-xl:    28px;
  --r-pill:  100px;

  /* Shadows — suaves para fondo claro */
  --shadow-sm:    0 2px 10px rgba(14,31,26,0.08);
  --shadow-md:    0 4px 24px rgba(14,31,26,0.10);
  --shadow-lg:    0 8px 48px rgba(14,31,26,0.14);
  --shadow-gold:  0 4px 30px rgba(31,111,84,0.18);
  --shadow-phone: 0 30px 70px rgba(14,31,26,0.22), 0 0 0 1px rgba(14,31,26,0.08);

  /* Transitions */
  --t:      220ms ease;
  --t-slow: 400ms ease;

  /* Layout */
  --nav-h: 120px;
  --mw:    1200px;
  --mw-n:  720px;
}

/* ══════════════════════════════════════
   RESET
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--grey-body);
  background: var(--deep-black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
ul, ol { list-style: none; }
textarea, input { font-family: inherit; }

/* ══════════════════════════════════════
   LAYOUT
══════════════════════════════════════ */
.container { width: 100%; max-width: var(--mw); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: var(--mw-n); }

/* ══════════════════════════════════════
   TYPOGRAPHY UTILS
══════════════════════════════════════ */
.eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 14px; display: block;
}
.eyebrow--green { color: var(--green-light); }
.eyebrow--gold  { color: var(--gold); }
.eyebrow--light { color: rgba(14,31,26,0.45); }

/* Section title — sans, bold (legacy hero/social-proof) */
.section-title {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.12;
  color: var(--cream-text);
}
.section-title em { font-style: italic; color: var(--gold); }

/* Section title — serif (primary headings) */
.section-title-serif {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 500; line-height: 1.15;
  color: var(--cream-text);
  letter-spacing: 0.005em;
}
.section-title-serif em { font-style: italic; color: var(--gold); }

/* Gold italic emphasis (inline utility) */
.serif-italic-gold {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}

.section-header { margin-bottom: 64px; }
.section-header--center { text-align: center; }

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600;
  font-size: 14px; letter-spacing: 0.01em;
  border-radius: var(--r-pill); padding: 13px 26px;
  transition: background var(--t), color var(--t), box-shadow var(--t),
              transform 140ms ease, border-color var(--t);
  cursor: pointer; white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Hero CTAs */
.btn--hero-primary {
  background: var(--cream-text); color: var(--dark-green);
  font-weight: 700;
}
.btn--hero-primary:hover { background: var(--white); box-shadow: 0 6px 28px rgba(245,240,230,0.22); transform: translateY(-1px); }

.btn--hero-ghost {
  background: transparent; color: var(--cream-text);
  border: 1.5px solid rgba(14,31,26,0.25);
}
.btn--hero-ghost:hover { border-color: rgba(14,31,26,0.55); background: rgba(14,31,26,0.05); }

/* Gold CTA */
.btn--gold {
  background: var(--gold); color: var(--dark-green);
  font-weight: 700;
}
.btn--gold:hover { background: var(--gold-light); box-shadow: var(--shadow-gold); transform: translateY(-1px); }

/* Gold outline */
.btn--outline-gold {
  background: transparent; color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn--outline-gold:hover { background: rgba(31,111,84,0.08); border-color: var(--gold-light); }

/* Green outline (kept for legacy) */
.btn--outline {
  background: transparent; color: var(--cream-text);
  border: 1.5px solid var(--grey-border);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }

/* Ghost nav */
.btn--ghost-nav {
  background: transparent; color: var(--cream-text);
  border: 1.5px solid rgba(14,31,26,0.2);
}
.btn--ghost-nav:hover { border-color: rgba(14,31,26,0.45); }

/* Green primary */
.btn--primary { background: var(--green); color: var(--cream); font-weight: 700; }
.btn--primary:hover { background: var(--green-light); box-shadow: 0 4px 20px rgba(14,59,46,0.4); transform: translateY(-1px); }

/* WA */
.btn--wa { background: var(--wa); color: white; font-weight: 700; }
.btn--wa:hover { background: #1ebe5d; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(37,211,102,0.35); }

/* Cream — fondo claro explícito para mantener el look crema */
.btn--cream { background: #F5F0E6; color: #0E1F1A; font-weight: 700; }
.btn--cream:hover { background: #FFFFFF; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(14,31,26,0.15); }

/* Sizes */
.btn--sm   { font-size: 13px; padding: 9px 18px; }
.btn--lg   { font-size: 15px; padding: 14px 30px; }
.btn--xl   { font-size: 16px; padding: 16px 34px; }
.btn--full { width: 100%; justify-content: center; }

/* Pulse animation */
.btn--pulse { animation: btnPulse 3s ease-in-out infinite; }
@keyframes btnPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(31,111,84,0.3); }
  50%      { box-shadow: 0 0 0 10px rgba(31,111,84,0); }
}

/* ══════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════ */
.fade-up, .animate-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up--d1 { transition-delay: 0.08s; }
.fade-up--d2 { transition-delay: 0.16s; }
.fade-up--d3 { transition-delay: 0.24s; }
.fade-up--d4 { transition-delay: 0.32s; }
.fade-up.is-visible, .animate-in.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up, .animate-in { opacity: 1; transform: none; transition: none; }
}

/* ══════════════════════════════════════
   WA FLOAT
══════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform var(--t);
}
.wa-float.is-visible { opacity: 1; pointer-events: auto; }
.wa-float:hover { transform: scale(1.1); }
.wa-float__tip {
  position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translateY(-50%);
  background: var(--cream-text); color: var(--dark-green);
  font-size: 12px; font-weight: 600;
  padding: 6px 12px; border-radius: var(--r-sm);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transition: opacity var(--t);
}
.wa-float__tip::after {
  content: ''; position: absolute; left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent; border-left-color: var(--cream-text);
}
.wa-float:hover .wa-float__tip { opacity: 1; }

/* ══════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════ */
.custom-cursor {
  position: fixed; top: 0; left: 0; z-index: 9000; pointer-events: none;
  background: var(--gold); color: var(--dark-green);
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700;
  opacity: 0; transform: translate(-50%,-50%) scale(0.7);
  transition: opacity 0.22s ease, transform 0.22s ease;
  white-space: nowrap;
}

/* ══════════════════════════════════════
   PRELOADER
══════════════════════════════════════ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #FAF8F3;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }

/* Logo imagen en preloader */
.preloader__img {
  height: 120px;
  width: auto;
  filter: brightness(0.12) sepia(1) hue-rotate(100deg) saturate(2) brightness(0.88);
  image-rendering: auto;
  opacity: 0;
  animation: preBlockIn 0.5s cubic-bezier(.16,1,.3,1) 0.15s forwards;
}
@keyframes preBlockIn {
  from { opacity: 0; transform: translateY(7px); }
  to   { opacity: 1; transform: translateY(0);   }
}
@media (max-width: 1024px) {
  .preloader__img { height: 80px; }
}

/* ══════════════════════════════════════
   LOGO v12 — K BICOLOR · TENOR SANS
══════════════════════════════════════ */
.logo-svg { display: none !important; }

.karta-logo {
  display: inline-flex; flex-direction: column; align-items: center;
  text-decoration: none;
  transition: opacity 0.22s ease;
  flex-shrink: 0; line-height: 1; gap: 0;
}
.karta-logo:hover { opacity: 0.75; }

.logo-main {
  font-family: var(--font-logo);
  font-size: 42px; font-weight: 400;
  letter-spacing: 0.08em; color: var(--cream-text);
  line-height: 1; display: flex; align-items: baseline;
  text-transform: uppercase;
}
.letter-k {
  color: var(--cream-text);
  display: inline-block; position: relative;
}
.letter-k::after {
  content: 'K'; position: absolute; inset: 0;
  color: var(--green-light);
  clip-path: polygon(0% 55%, 100% 44%, 100% 100%, 0% 100%);
  font-family: inherit; font-weight: inherit; font-size: inherit;
  letter-spacing: inherit; pointer-events: none;
}
.letter-arta { display: inline-block; color: var(--cream-text); }

.logo-sub {
  font-family: var(--font-logo);
  font-size: 11px; font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.45em; text-align: center;
  margin-top: 8px; padding-left: 0.45em;
  white-space: nowrap; text-transform: uppercase;
}

/* Nav */
.nav .karta-logo .logo-main { font-size: 36px; }
.nav .karta-logo .logo-sub  { font-size: 10px; letter-spacing: 0.45em; margin-top: 5px; padding-left: 0.45em; }

/* Footer */
.footer__logo.karta-logo .logo-main { font-size: 28px; }
.footer__logo.karta-logo .logo-sub  { font-size: 8px; letter-spacing: 0.42em; margin-top: 4px; padding-left: 0.42em; }

/* Legal pages */
.is-scrolled .karta-logo .logo-main { font-size: 32px; }
.is-scrolled .karta-logo .logo-sub  { font-size: 9px; }

@media (max-width: 1024px) {
  .nav .karta-logo .logo-main { font-size: 28px; }
  .nav .karta-logo .logo-sub  { font-size: 8px; letter-spacing: 0.42em; margin-top: 5px; padding-left: 0.42em; }
}
@media (max-width: 480px) {
  .nav .karta-logo .logo-main { font-size: 22px; letter-spacing: 0.06em; }
  .nav .karta-logo .logo-sub  { font-size: 7px; letter-spacing: 0.38em; padding-left: 0.38em; }
}

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: height var(--t), background var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: var(--nav-h);
  background: rgba(250,248,243,0.94);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--grey-border);
}
/* Logo mantiene siempre el mismo tamaño */
.nav.is-scrolled .ks-logo {
  height: 130px;
}
.nav__inner {
  height: 100%;
  display: flex; align-items: center;
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }

/* Centered 3-col layout */
.nav__links { order: 1; flex: 1; min-width: 0; }
.nav__logo   { order: 2 !important; flex-shrink: 0; position: static !important; transform: none !important; }
.nav__actions { order: 3; flex: 1; justify-content: flex-end; }
.nav__burger  { order: 4; }

.nav__links ul { display: flex; gap: 28px; }
.nav__link {
  font-size: 13px; font-weight: 500; color: rgba(14,31,26,0.6);
  position: relative; padding-bottom: 2px; transition: color var(--t);
}
.nav__link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width var(--t);
}
.nav__link:hover { color: var(--cream-text); }
.nav__link:hover::after { width: 100%; }

.nav__actions { display: flex; gap: 8px; align-items: center; }
.nav__burger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
  width: 32px; margin-left: auto;
}
.nav__burger span {
  display: block; height: 1.5px; background: var(--cream-text);
  border-radius: 2px; transition: transform var(--t), opacity var(--t);
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── OVERLAY MÓVIL ── */
.nav-overlay {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(250,248,243,0.99);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.nav-overlay:not([hidden]) { opacity: 1; pointer-events: auto; }
.nav-overlay[hidden] { display: flex !important; }
.nav-overlay__inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.nav-overlay__inner ul { margin-bottom: 24px; }
.ov-link {
  display: block; padding: 12px 0;
  font-family: var(--font-serif);
  font-size: clamp(32px, 8vw, 56px); font-weight: 500;
  color: var(--cream-text); /* auto-dark via token */
  transition: color var(--t);
}
.ov-link:hover { color: var(--gold); }
.ov-ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.ov-email { font-size: 13px; color: var(--grey-mid); margin-top: 16px; }

/* ══════════════════════════════════════
   HERO — 2 columnas, fotografía, partículas
══════════════════════════════════════ */
.hero {
  min-height: 100svh;
  background: var(--deep-black);
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}

/* Gold particles */
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hp {
  position: absolute;
  width: var(--size, 2px); height: var(--size, 2px);
  border-radius: 50%; background: var(--gold);
  opacity: 0.12;
  animation: heroParticle var(--dur, 20s) ease-in-out infinite var(--delay, 0s);
}
@keyframes heroParticle {
  0%,100% { transform: translateY(0)   translateX(0); }
  25%      { transform: translateY(-22px) translateX(12px); }
  50%      { transform: translateY(-38px) translateX(-8px); }
  75%      { transform: translateY(-18px) translateX(-14px); }
}

/* Vignette */
.hero-vignette {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(250,248,243,0.35) 100%);
}

/* hero::before eliminado — sin niebla */

.hero__container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  width: 100%; max-width: var(--mw); margin: 0 auto; padding: 0 28px;
}

/* LEFT — text */
.hero__left { max-width: 580px; }
.hero__eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 20px;
}
.hero__h1 {
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.2vw, 80px);
  font-weight: 500; line-height: 1.08;
  color: var(--cream-text);
  margin-bottom: 24px;
  letter-spacing: 0.005em;
}
.hero__h1 em { font-style: italic; color: var(--gold); }
.hero__h2-sub {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 500; line-height: 1.22;
  color: rgba(14,31,26,0.65);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}
.hero__sub {
  font-size: clamp(15px, 1.2vw, 18px);
  color: #5C5A56; line-height: 1.5;
  max-width: 600px; margin-bottom: 0;
}

/* ── Hero service badges ── */
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 24px; margin-bottom: 32px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(14,59,46,0.07);
  border: 1px solid rgba(31,111,84,0.35);
  border-radius: 100px;
  padding: 7px 15px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  color: var(--cream-text); letter-spacing: 0.02em;
  white-space: nowrap;
  opacity: 0; transform: translateY(8px);
  animation: badgeFadeUp 600ms cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: var(--badge-delay, 400ms);
}
.hero-badge svg { color: var(--gold); flex-shrink: 0; }
@keyframes badgeFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero__ministats {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 13px; font-weight: 500; color: rgba(14,31,26,0.5);
}
.hero__ministats li {
  display: flex; align-items: center; gap: 7px;
}
.hero__ministats svg { color: var(--gold); flex-shrink: 0; }

/* RIGHT — photo */
.hero__right { display: flex; justify-content: center; }
.hero__visual-wrap { position: relative; width: 100%; max-width: 520px; }
.hero__photo-wrap {
  position: relative; width: 100%;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-phone);
}
.hero__photo {
  width: 100%; height: 560px; object-fit: cover;
  display: block;
  transition: transform 8s ease;
  filter: brightness(0.85);
}
.hero__photo-wrap:hover .hero__photo { transform: scale(1.03); }
.hero__photo-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(14,31,26,0.35) 100%),
    linear-gradient(135deg, rgba(14,59,46,0.1) 0%, transparent 50%);
  mix-blend-mode: multiply;
}

/* Phone mockup float */
.hero__phone-float {
  position: absolute;
  bottom: 20px; left: -30px; z-index: 5;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.55));
}
/* ── iPhone 15 Pro frame ── */
.hero-phone__frame {
  position: relative;
  width: 205px;
  background: linear-gradient(160deg, #3e3e40 0%, #2c2c2e 30%, #1c1c1e 65%, #131315 100%);
  border-radius: 52px;
  padding: 11px;
  box-shadow:
    0 0 0 0.75px rgba(255,255,255,0.22),
    inset 0 0 0 0.5px rgba(255,255,255,0.07),
    0 0 0 2.5px rgba(0,0,0,0.95),
    0 40px 100px rgba(0,0,0,0.65),
    0 14px 36px rgba(0,0,0,0.5),
    0 4px 10px rgba(0,0,0,0.4);
}
/* Botones laterales izquierda (volumen) */
.hero-phone__btn {
  position: absolute;
  background: linear-gradient(90deg, #323234, #252527);
  border-radius: 2px 0 0 2px;
  width: 3.5px;
}
.hero-phone__btn--volu { left: -3.5px; top: 82px; height: 28px; }
.hero-phone__btn--vold { left: -3.5px; top: 120px; height: 28px; }
/* Botón de encendido derecha */
.hero-phone__btn--pwr {
  left: auto; right: -3.5px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(-90deg, #323234, #252527);
  top: 98px; height: 42px;
}
/* Pantalla */
.hero-phone__screen {
  background: #FAFAF7;
  border-radius: 42px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
/* Dynamic Island */
.hero-phone__island {
  position: absolute;
  top: 11px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.8);
}
/* Status bar */
.hero-phone__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 16px 0;
  height: 50px;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.hero-phone__time {
  font-size: 9.5px; font-weight: 700; letter-spacing: -0.03em;
  color: #1c1c1e; font-family: var(--font-sans);
}
.hero-phone__signals {
  display: flex; align-items: center; gap: 3px;
  color: #1c1c1e;
}
/* Home indicator */
.hero-phone__home {
  height: 22px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-phone__home::after {
  content: '';
  width: 88px; height: 4.5px;
  background: rgba(0,0,0,0.22);
  border-radius: 3px;
}
/* Reflejo cristal sobre el frame */
.hero-phone__gloss {
  position: absolute; inset: 0;
  border-radius: 52px;
  background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, transparent 48%);
  pointer-events: none;
}

/* Screen content */
.hero-dish-hero {
  position: relative; height: 170px;
  background: #111;
  flex-shrink: 0; overflow: hidden;
}
.hero-dish-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Info card below the video (light background) */
.hero-dish-info {
  padding: 8px 12px 8px;
  background: #FAFAF7;
  flex-shrink: 0;
}
.hero-dish-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 4px;
}
.hero-dish-cat { font-size: 7px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.hero-dish-name { font-size: 11px; font-weight: 700; color: var(--cream-text); margin-bottom: 0; }
.hero-dish-price { font-size: 11px; font-weight: 700; color: var(--gold); white-space: nowrap; }
.hero-pairing {
  display: flex; align-items: center; gap: 5px;
  padding: 6px 12px; background: rgba(14,59,46,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07); font-size: 8px;
}
.hero-pairing span { color: #888; }
.hero-pairing strong { color: var(--green); font-weight: 700; }
.hero-langs {
  display: flex; gap: 3px; padding: 6px 12px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.lc {
  font-size: 6px; font-weight: 700; letter-spacing: 0.05em;
  padding: 2px 4px; border-radius: 3px;
  color: #999; border: 1px solid #ddd;
}
.lc.active { background: var(--green); color: white; border-color: var(--green); }

/* Stat bubbles */
.stat-bubble {
  position: absolute;
  background: rgba(250,248,243,0.96);
  border: 1px solid rgba(14,31,26,0.1);
  border-radius: var(--r-md); padding: 10px 14px;
  text-align: center;
  animation: floatBubble 4s ease-in-out infinite;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(14,31,26,0.1);
  z-index: 10;
}
.stat-bubble--1 { top: 6%;   right: -18px; animation-delay: 0s; }
.stat-bubble--2 { bottom: 18%; right: -22px; animation-delay: 0.9s; }
.stat-bubble--3 { top: 4%;   left: -24px; animation-delay: 1.5s; }
@keyframes floatBubble {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.sb-val { display: block; font-size: 18px; font-weight: 700; color: var(--gold); line-height: 1; }
.sb-label { display: block; font-size: 9px; color: #5C5A56; margin-top: 3px; white-space: nowrap; }

/* ══════════════════════════════════════
   CONTRAST — ANTES / DESPUÉS (sección 2)
══════════════════════════════════════ */
.contrast {
  padding: 80px 0;
  background: var(--dark-green);
  position: relative; overflow: hidden;
}
.contrast::before { display: none; }
.contrast .container { position: relative; z-index: 1; }

/* Header */
.contrast__header { text-align: center; margin-bottom: 72px; }
.contrast__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 500; line-height: 1.12;
  color: var(--cream-text);
  letter-spacing: 0.005em;
  margin-bottom: 0;
}
.contrast__sub {
  font-family: var(--font-serif);
  font-size: clamp(19px, 2.4vw, 28px);
  font-weight: 400; line-height: 1.3;
  color: rgba(14,31,26,0.6);
  margin-top: 16px;
}

/* 2-col grid + divider */
.contrast__grid {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: start;
}

/* Column */
.contrast__col { display: flex; flex-direction: column; gap: 18px; }

/* Column header */
.contrast__col-hd {
  display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
}
.contrast__col-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.cci--x    { border: 1.5px solid rgba(14,31,26,0.15); color: #9A9895; }
.cci--check{ border: 1.5px solid rgba(31,111,84,0.5);  color: var(--gold); }
.contrast__col-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
}
.ccl--x    { color: #9A9895; }
.ccl--check{ color: var(--gold); }

/* Images */
.contrast__img-wrap {
  position: relative; border-radius: 12px; overflow: hidden; flex-shrink: 0;
}
.contrast__img {
  width: 100%; height: 280px; object-fit: cover; display: block;
}
.contrast__img--before {
  filter: saturate(0.22) brightness(0.68);
  opacity: 0.78;
}
.contrast__img--after { filter: none; opacity: 1; }
.contrast__img-vignette {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(10,10,10,0.5) 100%);
  pointer-events: none;
}
.contrast__img-glow {
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(31,111,84,0.22), 0 0 32px rgba(31,111,84,0.06);
  border-radius: 12px; pointer-events: none;
}

/* Cards */
.contrast__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cc {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 8px;
  font-family: var(--font-sans); font-size: 15px; line-height: 1.4;
}
.cc--x {
  background: rgba(14,31,26,0.04);
  border: 1px solid rgba(14,31,26,0.1);
  color: #8A8783; font-weight: 400;
}
.cc--check {
  background: rgba(31,111,84,0.08);
  border: 1px solid rgba(31,111,84,0.3);
  color: var(--cream-text); font-weight: 500;
}
.cc__icon {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cc__icon--x     { border: 1.5px solid rgba(14,31,26,0.15); color: #9A9895; }
.cc__icon--check { border: 1.5px solid rgba(31,111,84,0.42); color: var(--gold); }

/* Divider — uses animate-in only for JS trigger, not for visual effect */
.contrast__divider {
  display: flex; justify-content: center; align-items: stretch;
  padding-top: 54px; /* aligns with content below the col-header */
}
.contrast__divider.animate-in {
  opacity: 1 !important; transform: none !important; transition: none !important;
}
.contrast__line {
  display: block; width: 1px; flex: 1; min-height: 400px;
  background: linear-gradient(to bottom,
    transparent 0%, rgba(31,111,84,0.4) 8%,
    rgba(31,111,84,0.4) 92%, transparent 100%
  );
  transform: scaleY(0); transform-origin: top center;
  transition: transform 1.5s ease-out 0.4s;
}
.contrast__divider.is-visible .contrast__line { transform: scaleY(1); }

/* Frase potente final */
.contrast__quote { margin-top: 88px; text-align: center; }
.contrast__quote-inner {
  display: flex; align-items: center; justify-content: center; gap: 28px;
}
.cq-line {
  display: block; width: 48px; height: 1px;
  background: rgba(31,111,84,0.4); flex-shrink: 0;
}
.cq-text {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 44px);
  font-style: italic; font-weight: 400;
  line-height: 1.35; color: var(--cream-text);
  max-width: 680px; margin: 0;
}
.cq-gold { color: var(--gold); }

/* ══════════════════════════════════════
   FEATURES PRO — mockup central
══════════════════════════════════════ */
.features-pro {
  padding: 80px 0;
  background: var(--deep-black);
  position: relative; overflow: hidden;
}
.features-pro::before { display: none; }
.features-pro .container { position: relative; z-index: 1; }

.ftp__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 500; line-height: 1.2;
  color: var(--cream-text); margin-bottom: 16px;
}
.ftp__sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--grey-body); max-width: 560px;
  margin: 0 auto; line-height: 1.7;
}
.section-header--center .ftp__sub { margin: 0 auto; }

/* 3-col layout */
.ftp__layout {
  display: grid; grid-template-columns: 1fr auto 1fr;
  gap: 48px; align-items: center;
  margin-bottom: 48px;
}
.ftp__side { display: flex; flex-direction: column; gap: 40px; }
.ftp__side--right { text-align: right; }

.ftp__feat {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; border-radius: var(--r-lg);
  border: 1px solid var(--grey-border);
  background: rgba(255,255,255,0.65);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.ftp__feat:hover {
  border-color: rgba(31,111,84,0.3);
  background: rgba(31,111,84,0.04);
  transform: translateY(-2px);
}
.ftp__side--right .ftp__feat { flex-direction: row-reverse; }

.ftp__feat-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(31,111,84,0.1);
  border: 1px solid rgba(31,111,84,0.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold);
  transition: background var(--t);
}
.ftp__feat:hover .ftp__feat-icon { background: rgba(31,111,84,0.18); }

.ftp__feat-body { flex: 1; min-width: 0; }
.ftp__side--right .ftp__feat-body { text-align: right; }
.ftp__feat-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  color: var(--gold); opacity: 0.7; display: block; margin-bottom: 4px;
}
.ftp__feat-title {
  font-size: 16px; font-weight: 700;
  color: var(--cream-text); margin-bottom: 3px;
}
.ftp__feat-sub {
  font-size: 12px; color: var(--gold); opacity: 0.75;
  font-weight: 500; margin-bottom: 6px;
}
.ftp__feat-desc { font-size: 13px; color: var(--grey-body); line-height: 1.6; }

/* Central phone */
.ftp__center { position: relative; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.ftp__phone-glow {
  position: absolute; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31,111,84,0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.ftp__phone {
  position: relative; z-index: 2;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.65));
}
.ftp__phone .sol-phone__frame {
  width: 210px; background: #0d0d0d; border-radius: 36px; padding: 8px;
  border: 1.5px solid rgba(255,255,255,0.12);
}
.ftp__connectors {
  position: absolute; inset: 0; pointer-events: none;
  width: 500px; height: 100%; margin-left: -150px;
}

/* Sol phone (shared) */
.sol-phone__frame {
  position: relative; width: 240px;
  background: #0d0d0d; border-radius: 38px; padding: 8px;
  border: 1.5px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow-phone);
}
.sol-phone__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 7px; background: #0d0d0d;
  border-radius: 10px; z-index: 2;
}
.sol-phone__screen { background: #FAFAF7; border-radius: 32px; overflow: hidden; }
.sol-dish-video-wrap { height: 180px; overflow: hidden; background: #0a2820; }
.sol-dish-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sol-dish-info { padding: 10px 14px; }
.sol-dish-name  { font-size: 11px; font-weight: 700; color: #111; margin-bottom: 3px; }
.sol-dish-price { font-size: 11px; font-weight: 700; color: var(--green); margin-bottom: 5px; }
.sol-dish-pair  { display: flex; align-items: center; gap: 5px; font-size: 8px; color: #777; }
.sol-langs      { display: flex; gap: 3px; padding: 6px 14px; border-top: 1px solid rgba(0,0,0,0.06); }

/* Mini-bar 4 features */
.ftp__minibar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--grey-border);
  border: 1px solid var(--grey-border); border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 48px;
}
.ftp__mini {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 22px 18px; background: rgba(255,255,255,0.7);
  font-size: 12px; color: var(--grey-body);
  transition: background var(--t);
}
.ftp__mini:hover { background: rgba(31,111,84,0.08); }
.ftp__mini svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.ftp__mini strong { color: var(--cream-text); display: block; font-size: 13px; margin-bottom: 2px; font-weight: 600; }

.ftp__cta-wrap { text-align: center; }

/* ══════════════════════════════════════
   TIMELINE PRO — 5 pasos horizontales
══════════════════════════════════════ */
.timeline-pro {
  padding: 80px 0;
  background: var(--dark-green);
  position: relative; overflow: hidden;
}
.timeline-pro::before { display: none; }
.timeline-pro .container { position: relative; z-index: 1; }

.tl__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.8vw, 68px);
  font-weight: 500; line-height: 1.12;
  color: var(--cream-text);
}
.tl__sub {
  font-size: clamp(15px, 1.2vw, 17px);
  color: var(--grey-body); margin-top: 14px;
  max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.7;
}

/* 4 steps grid */
.tl__track {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin: 64px 0 60px;
  position: relative; align-items: start;
}

.tl__step {
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left; padding: 0;
  position: relative;
}

/* Offset asimétrico: pasos 2 y 4 bajan */
.tl__step--offset { margin-top: 48px; }

/* Media container */
.tl__step-media {
  position: relative; width: 100%;
  aspect-ratio: 3/4; border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 18px;
  background: #0e1410;
}

.tl__step-img {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  max-width: none;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
/* Hover genérico: zoom suavísimo */
.tl__step:hover .tl__step-img { transform: scale(1.03); }

/* ── Ajustes individuales por paso (4 pasos) ── */

/* Paso 1: carta — encuadra mano + teléfono + texto Entrantes */
.tl__step:nth-child(1) .tl__step-img {
  object-position: 58% 18%;
}

/* Paso 2: video — sube para ocultar watermark KlingAI en la parte inferior */
.tl__step:nth-child(2) .tl__step-img {
  transform: scale(1.15) translateY(-6%);
  transform-origin: center top;
}
.tl__step:nth-child(2):hover .tl__step-img {
  transform: scale(1.18) translateY(-6%);
}

/* Paso 3: QR stand — centrado natural */
.tl__step:nth-child(3) .tl__step-img {
  object-position: center 45%;
}

/* Paso 4: WhatsApp — encuadra la parte superior con los mensajes */
.tl__step:nth-child(4) .tl__step-img {
  object-position: center 12%;
}

/* Número badge sobre la imagen */
.tl__step-badge {
  position: absolute; top: 12px; left: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; font-family: var(--font-serif);
  color: var(--gold); letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.6);
}
.tl__step-badge--gold {
  background: var(--gold); color: #fff;
  border-color: var(--gold);
}

.tl__step-title {
  font-size: 14px; font-weight: 700; color: var(--cream-text);
  margin-bottom: 6px; line-height: 1.3;
}
.tl__step-desc { font-size: 12.5px; color: var(--grey-body); line-height: 1.55; }

/* Benefits bar */
.tl__benefits {
  display: flex; gap: 0; flex-wrap: wrap;
  border: 1px solid var(--grey-border); border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: 52px;
  background: var(--grey-border);
}
.tl__benefit {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 20px; flex: 1; min-width: 160px;
  background: rgba(255,255,255,0.65);
  font-size: 12px; color: var(--grey-body);
  border-right: 1px solid var(--grey-border);
  transition: background var(--t);
}
.tl__benefit:last-child { border-right: none; }
.tl__benefit:hover { background: rgba(31,111,84,0.1); }
.tl__benefit svg { color: var(--gold); flex-shrink: 0; }
.tl__benefit strong { color: var(--cream-text); display: block; font-size: 13px; margin-bottom: 1px; font-weight: 600; }

.tl__cta-wrap { text-align: center; }

/* ══════════════════════════════════════
   SOCIAL PROOF (dark)
══════════════════════════════════════ */
.social-proof {
  padding: 80px 0;
  background: var(--deep-black);
  position: relative; overflow: hidden;
}
.social-proof::before { display: none; }
.social-proof .container { position: relative; z-index: 1; }

.sp-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-bottom: 64px;
  background: var(--grey-border); border: 1px solid var(--grey-border);
  border-radius: var(--r-xl); overflow: hidden;
}
.sp-metric {
  display: flex; flex-direction: column; align-items: center;
  padding: 52px 24px; text-align: center;
  background: rgba(255,255,255,0.7);
  transition: background var(--t);
}
.sp-metric:hover { background: rgba(255,255,255,0.95); }
.sp-metric__val {
  font-family: var(--font-serif);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 500; color: var(--gold);
  line-height: 1; display: block; margin-bottom: 10px;
}
.sp-metric__label {
  font-size: 13px; color: var(--grey-body);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 500;
}

.sp-testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.sp-testi {
  padding: 32px 28px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--grey-border);
  border-radius: var(--r-xl);
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.sp-testi:hover { border-color: rgba(31,111,84,0.2); background: rgba(31,111,84,0.02); transform: translateY(-3px); }
.sp-testi__stars {
  color: var(--gold); font-size: 14px; letter-spacing: 2px;
  margin-bottom: 16px;
}
.sp-testi__quote {
  font-family: var(--font-serif);
  font-size: 16px; font-style: italic; font-weight: 400;
  color: var(--cream-text); line-height: 1.65;
  margin-bottom: 24px;
}
.sp-testi__author { display: flex; align-items: center; gap: 12px; }
.sp-testi__avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(14,31,26,0.1); border: 1px solid rgba(31,111,84,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.sp-testi__name { font-size: 13px; font-weight: 700; color: var(--cream-text); }
.sp-testi__rest { font-size: 11px; color: var(--grey-body); }

/* ══════════════════════════════════════
   PRICING (dark)
══════════════════════════════════════ */
.pricing {
  padding: 80px 0;
  background: var(--dark-green);
  position: relative; overflow: hidden;
}
.pricing::before { display: none; }
.pricing .container { position: relative; z-index: 1; }
.pricing__subhead {
  font-size: 16px; color: var(--grey-body); margin-top: 14px;
  max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.65;
}

.pricecards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pcard {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--grey-border);
  border-radius: var(--r-xl); padding: 36px 32px;
  display: flex; flex-direction: column; gap: 0;
  position: relative;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.pcard:hover { border-color: rgba(31,111,84,0.25); transform: translateY(-3px); }
.pcard--featured {
  background: rgba(31,111,84,0.06);
  border-color: rgba(31,111,84,0.35);
}
.pcard--featured:hover { border-color: var(--gold); }

.pcard__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--dark-green);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  padding: 4px 16px; border-radius: var(--r-pill); white-space: nowrap;
}
.pcard__head { margin-bottom: 24px; }
.pcard__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block;
}
.pcard__price-row { display: flex; align-items: baseline; gap: 5px; margin-bottom: 6px; }
.pcard__from { font-size: 12px; color: var(--grey-body); }
.pcard__amount {
  font-family: var(--font-serif);
  font-size: 52px; font-weight: 500; color: var(--cream-text); line-height: 1;
}
.pcard__mo { font-size: 16px; color: var(--grey-body); }
.pcard__period-note { font-size: 12px; color: var(--grey-body); }

.pcard__list {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px; flex: 1;
}
.pcard__list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--grey-body);
}
.pcard__list svg { color: var(--gold); flex-shrink: 0; }

.pcard__cta { margin-top: auto; }

/* Guarantee card */
.pcard--guarantee {
  background: rgba(14,59,46,0.08);
  border-color: rgba(14,59,46,0.35);
  text-align: center; align-items: center;
}
.pcard--guarantee:hover { border-color: rgba(31,111,84,0.5); }
.pcard__guarantee-icon { color: var(--gold); margin-bottom: 16px; }
.pcard__guarantee-title {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 500; color: var(--cream-text);
  margin-bottom: 10px;
}
.pcard__guarantee-desc {
  font-size: 14px; color: var(--grey-body); line-height: 1.6;
  margin-bottom: 20px;
}
.pcard__guarantee-list {
  list-style: none; display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px; text-align: left; width: 100%;
}
.pcard__guarantee-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--grey-body);
}
.pcard__guarantee-list svg { color: var(--green-light); flex-shrink: 0; }

/* ══════════════════════════════════════
   FAQ (dark)
══════════════════════════════════════ */
.faq-section {
  padding: 80px 0;
  background: var(--deep-black);
}
.faq { max-width: 780px; margin: 0 auto; }
.faq--wide { max-width: 860px; }
.faq__item {
  border-bottom: 1px solid var(--grey-border);
  transition: border-color var(--t);
}
.faq__item:first-child { border-top: 1px solid var(--grey-border); }
.faq__item.is-open { border-bottom-color: rgba(31,111,84,0.2); }

.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; gap: 20px;
  font-size: 15px; font-weight: 600;
  color: var(--cream-text); text-align: left;
  background: none; cursor: pointer; border: none;
  transition: color var(--t);
}
.faq__q:hover { color: var(--gold); }
.faq__chevron { transition: transform 0.28s ease; color: var(--gold); flex-shrink: 0; }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }
.faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq__item.is-open .faq__a { max-height: 300px; padding-bottom: 20px; }
.faq__a p { font-size: 14px; color: var(--grey-body); line-height: 1.75; }

/* ══════════════════════════════════════
   ABOUT (dark)
══════════════════════════════════════ */
.about {
  padding: 80px 0;
  background: var(--dark-green);
  position: relative; overflow: hidden;
}
.about::before { display: none; }
.about .container { position: relative; z-index: 1; }
.about__intro {
  font-size: 15px; color: var(--grey-body); margin-top: 16px;
  max-width: 540px; margin-left: auto; margin-right: auto; line-height: 1.7;
}

.about__team-2col {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-bottom: 40px;
}
.team-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px 24px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--grey-border); border-radius: var(--r-xl);
  transition: border-color var(--t), transform var(--t);
}
.team-card:hover { border-color: rgba(31,111,84,0.25); transform: translateY(-2px); }
.team-card__photo {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(14,31,26,0.12); border: 2px solid rgba(31,111,84,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.team-card__photo--alt { background: rgba(14,59,46,0.12); }
.team-card__initials { font-size: 16px; font-weight: 700; color: var(--gold); }
.team-card__name { font-size: 16px; font-weight: 700; color: var(--cream-text); margin-bottom: 3px; }
.team-card__role { font-size: 12px; color: var(--gold); font-weight: 500; margin-bottom: 8px; letter-spacing: 0.02em; }
.team-card__bio { font-size: 13px; color: var(--grey-body); line-height: 1.6; }

.about__quote {
  max-width: 680px; margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-style: italic; font-weight: 400;
  color: var(--cream-text);
  border-left: 3px solid var(--gold);
  padding: 20px 28px;
  background: rgba(31,111,84,0.04);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.about__quote cite {
  display: block; font-style: normal;
  font-size: 13px; font-weight: 600;
  color: var(--gold); margin-top: 10px;
  font-family: var(--font-sans); letter-spacing: 0.04em;
}

/* ══════════════════════════════════════
   CONTACTO (dark)
══════════════════════════════════════ */
.cta-final {
  padding: 80px 0;
  background: #0f1f12;
  position: relative; overflow: hidden;
}
.cta-final::before { display: none; }
.cta-final .container { position: relative; z-index: 1; }

/* Dark overrides for cta-final */
.cta-final .ctaf__title { color: #F5F1E8; }
.cta-final .ctaf__sub { color: rgba(245,241,232,0.65); }
.cta-final .ctaf__form-title { color: rgba(245,241,232,0.55); }
.cta-final .cf input,
.cta-final .cf textarea {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #F5F1E8;
}
.cta-final .cf input::placeholder,
.cta-final .cf textarea::placeholder { color: rgba(245,241,232,0.4); }
.cta-final .cf input:focus,
.cta-final .cf textarea:focus {
  background: rgba(255,255,255,0.12);
  border-color: rgba(77,158,132,0.6);
}

.ctaf__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}
.ctaf__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 500; line-height: 1.15;
  color: var(--cream-text); margin-bottom: 12px;
}
.ctaf__sub { font-size: 15px; color: var(--grey-body); line-height: 1.65; margin-bottom: 0; }
.ctaf__actions {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 32px;
}
.ctaf__actions .btn { justify-content: center; }

/* Form */
.ctaf__form { margin-top: 32px; }
.ctaf__form-title {
  font-size: 13px; font-weight: 600; color: var(--grey-body);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px;
}
.cf { display: flex; flex-direction: column; gap: 10px; }
.cf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cf input, .cf textarea {
  background: rgba(255,255,255,0.85); color: var(--cream-text);
  border: 1.5px solid var(--grey-border);
  border-radius: var(--r-md); padding: 14px 16px;
  font-size: 14px; font-family: var(--font-sans);
  transition: border-color var(--t), background var(--t);
  outline: none;
}
.cf input::placeholder, .cf textarea::placeholder { color: var(--grey-mid); }
.cf input:focus, .cf textarea:focus {
  border-color: rgba(31,111,84,0.55);
  background: rgba(255,255,255,0.98);
}

/* ══════════════════════════════════════
   FOOTER (dark)
══════════════════════════════════════ */
.footer { background: var(--deep-black); border-top: 1px solid var(--grey-border); }

.footer__top {
  padding: 60px 0;
  border-bottom: 1px solid var(--grey-border);
}
.footer__top-inner {
  display: flex; align-items: flex-start; gap: 60px; flex-wrap: wrap;
}
.footer__tagline {
  flex: 1; font-family: var(--font-serif);
  font-size: 16px; font-style: italic; color: var(--grey-body); line-height: 1.65;
  min-width: 200px;
}
.footer__nav {
  display: flex; gap: 28px; flex-wrap: wrap; align-items: center;
  margin-left: auto;
}
.footer__nav a {
  font-size: 13px; color: var(--grey-body); font-weight: 500;
  transition: color var(--t);
}
.footer__nav a:hover { color: var(--gold); }

.footer__bottom { padding: 24px 0; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 12px; color: var(--grey-mid); }
.footer__legal {
  display: flex; gap: 16px; align-items: center;
  font-size: 12px; color: var(--grey-mid);
}
.footer__legal a { transition: color var(--t); }
.footer__legal a:hover { color: var(--gold); }

/* ══════════════════════════════════════
   HERO PARTICLES — CONTEXT FIX for preloader BG
══════════════════════════════════════ */
.hero-upsell { padding: 8px 12px; }
.hero-upsell__label { font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #aaa; margin-bottom: 5px; }
.hero-upsell__items { display: flex; gap: 7px; }
.upsell-item { display: flex; align-items: center; gap: 5px; font-size: 8px; color: #333; font-weight: 500; }
.upsell-img { width: 24px; height: 24px; border-radius: 4px; flex-shrink: 0; }
.upsell-img--1 { background: linear-gradient(135deg, #e8c4a0, #c0784a); }
.upsell-img--2 { background: linear-gradient(135deg, #f5deb3, #d4a76a); }
.upsell-price { color: var(--green); font-weight: 700; margin-left: auto; }

/* ══════════════════════════════════════
   RESPONSIVE — 1024px
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .hero__container { gap: 40px; }
  .ftp__layout { grid-template-columns: 1fr; gap: 40px; }
  .ftp__side, .ftp__side--right { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .ftp__side--right { text-align: left; }
  .ftp__side--right .ftp__feat { flex-direction: row; }
  .ftp__side--right .ftp__feat-body { text-align: left; }
  .ftp__center { order: -1; }
  .ftp__connectors { display: none; }
  .tl__track { grid-template-columns: repeat(2, 1fr); row-gap: 32px; gap: 16px; }
  .tl__step--offset { margin-top: 0; }
}

@media (max-width: 900px) {
  .hero__container { grid-template-columns: 1fr; gap: 48px; }
  .hero__left { max-width: 100%; text-align: center; }
  .hero__ctas { justify-content: center; }
  .hero__ministats { justify-content: center; }
  .hero__badges { justify-content: center; }
  .hero-badge { font-size: 12px; padding: 6px 12px; }
  .hero__right { max-width: 480px; margin: 0 auto; width: 100%; }
  .hero__visual-wrap { max-width: 100%; }
  .hero__phone-float { left: -16px; bottom: 16px; }
  .hero-phone__frame { width: 168px; border-radius: 44px; }
  .hero-phone__screen { border-radius: 35px; }
  .hero-phone__gloss { border-radius: 44px; }
  .stat-bubble--3 { left: -10px; }

  /* Contrast section mobile */
  .contrast { padding: 80px 0; }
  .contrast__header { margin-bottom: 48px; }
  .contrast__grid { grid-template-columns: 1fr; gap: 0; }
  .contrast__divider {
    height: 32px; padding: 0; flex-direction: row; align-items: center; margin: 24px 0;
  }
  .contrast__divider.animate-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .contrast__line {
    width: 100%; flex: 1; height: 1px; min-height: 0;
    transform: scaleX(0); transform-origin: left center;
    transition: transform 1.2s ease-out 0.3s;
    background: linear-gradient(to right, transparent, rgba(31,111,84,0.4) 15%, rgba(31,111,84,0.4) 85%, transparent);
  }
  .contrast__divider.is-visible .contrast__line { transform: scaleX(1); }
  .contrast__img { height: 220px; }
  .cc { font-size: 14px; }
  .contrast__quote { margin-top: 52px; }
  .contrast__quote-inner { gap: 16px; }
  .cq-line { width: 28px; }

  .ctaf__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__team-2col { grid-template-columns: 1fr; }
  .sp-testimonials { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav__links, .nav__actions { display: none; }
  .nav__burger { display: flex; }
  .nav__logo { order: 1 !important; }

  /* Sections padding */
  .hero            { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 60px; }
  .before-after,
  .features-pro,
  .timeline-pro,
  .social-proof,
  .pricing,
  .faq-section,
  .about,
  .cta-final       { padding: 50px 0; }

  /* Typography */
  .hero__h1 { font-size: clamp(38px, 10vw, 52px); }
  .ba__title { font-size: clamp(30px, 7vw, 42px); }
  .ftp__title { font-size: clamp(26px, 6vw, 38px); }
  .tl__title  { font-size: clamp(30px, 7vw, 44px); }

  /* Pricing */
  .pricecards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  /* Timeline */
  .tl__track { grid-template-columns: 1fr; gap: 28px; }
  .tl__step { flex-direction: column; align-items: flex-start; text-align: left; padding: 0; }
  .tl__step--offset { margin-top: 0; }
  .tl__step-media { aspect-ratio: 4/3; }
  .tl__benefits { flex-direction: column; }
  .tl__benefit { min-width: 100%; border-right: none; border-bottom: 1px solid var(--grey-border); }
  .tl__benefit:last-child { border-bottom: none; }

  /* Features mini-bar */
  .ftp__minibar { grid-template-columns: 1fr 1fr; }
  .ba__features { grid-template-columns: 1fr; }

  /* Social proof */
  .sp-metrics { grid-template-columns: 1fr; }

  /* Footer */
  .footer__top-inner { flex-direction: column; gap: 28px; }
  .footer__nav { margin-left: 0; flex-wrap: wrap; gap: 16px; }
  .footer__inner { flex-direction: column; text-align: center; }

  /* Sections header */
  .section-header { margin-bottom: 44px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero__phone-float { left: -8px; bottom: 10px; }
  .hero-phone__frame { width: 146px; border-radius: 38px; }
  .hero-phone__screen { border-radius: 30px; }
  .hero-phone__gloss { border-radius: 38px; }
  .hero-phone__island { width: 72px; height: 22px; }
  .hero-phone__status { height: 42px; padding: 8px 12px 0; }
  .hero-dish-hero { height: 140px; }
  .stat-bubble { display: none; }
  .hero__ctas .btn--lg { font-size: 14px; padding: 13px 22px; }
  .cf__row { grid-template-columns: 1fr; }
  .ftp__minibar { grid-template-columns: 1fr; }
  .tl__step { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ══════════════════════════════════════
   TIMELINE — connector draw animation
══════════════════════════════════════ */
.tl__step.animate-in.is-visible .tl__connector::after {
  width: 100%;
  transition: width 0.9s ease 0.4s;
}

/* ══════════════════════════════════════
   NAV ACTIVE LINK
══════════════════════════════════════ */
.nav__link.is-active { color: var(--gold); }
.nav__link.is-active::after { width: 100%; }

/* ══════════════════════════════════════
   CURSOR VISIBLE
══════════════════════════════════════ */
.custom-cursor.is-visible {
  opacity: 1; transform: translate(-50%,-50%) scale(1);
}

/* ══════════════════════════════════════
   LANGUAGE CHIPS (multiple contexts)
══════════════════════════════════════ */
.lc { cursor: pointer; }

/* ══════════════════════════════════════
   SECTION DIVIDERS (subtle gold lines)
══════════════════════════════════════ */
.before-after,
.features-pro,
.timeline-pro,
.social-proof,
.pricing,
.faq-section,
.about,
.cta-final {
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ══════════════════════════════════════
   LOGO PNG (nav + footer)
   logo-blanco.png = blanco sobre transparente (1535×1024px).
   El filtro convierte el blanco al verde oscuro de marca.
   La imagen original es de alta resolución, escala perfecta
   en retina y móvil sin pixelado.
══════════════════════════════════════ */
.ks-logo {
  /* Logo grande — calidad perfecta (PNG original 1535×1024 px) */
  height: 130px;
  width: auto;
  display: block;

  /* Convierte logo blanco → verde oscuro de marca ~#14201B */
  filter: brightness(0.12) sepia(1) hue-rotate(100deg) saturate(2) brightness(0.88);

  image-rendering: auto;
  transition: opacity var(--t);
}

/* Hover: ligero lift de opacidad en la nav */
.nav__logo:hover .ks-logo { opacity: 0.72; }

.footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer__logo .ks-logo {
  height: 80px;
  opacity: 0.78;
}
.footer__logo:hover .ks-logo { opacity: 1; }

/* Tablet */
@media (max-width: 768px) {
  .ks-logo { height: 100px; }
  .footer__logo .ks-logo { height: 66px; }
}
/* Móvil */
@media (max-width: 480px) {
  .ks-logo { height: 80px; }
  .footer__logo .ks-logo { height: 56px; }
}

/* ══════════════════════════════════════
   HERO — hero__sub italic color fix
══════════════════════════════════════ */
.hero__h1 .serif-italic-gold {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  display: inline-block;
  transition: opacity 0.36s ease, transform 0.36s ease;
}
.hero-anim--out {
  opacity: 0 !important;
  transform: translateY(10px) !important;
}

/* ══════════════════════════════════════
   SERVICES — Todo lo digital (S3)
══════════════════════════════════════ */
.services {
  padding: 80px 0;
  background: var(--deep-black);
  position: relative; overflow: hidden;
}
.services::before { display: none; }
.services .container { position: relative; z-index: 1; }
.services__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 500; line-height: 1.15;
  color: var(--cream-text); margin-bottom: 16px;
}
.services__sub {
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--grey-body); max-width: 520px;
  margin: 0 auto; line-height: 1.7;
}
.svc__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 64px;
  margin-bottom: 56px;
}
/* ── Tarjeta de servicio ── */
.svc-card {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--grey-border);
  border-radius: var(--r-xl);
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 0;
  transition: border-color var(--t), background var(--t), transform var(--t), box-shadow var(--t);
  cursor: default;
}
.svc-card:hover {
  border-color: rgba(31,111,84,0.3);
  background: rgba(255,255,255,0.95);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
/* Contenedor de imagen — ratio cuadrado perfecto */
.svc-card__media {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  background: #0e1410;
}
/* Imágenes: cover → rellena el cuadrado sin márgenes */
.svc-card__media-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  display: block;
  transition: transform 0.5s ease;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.svc-card:hover .svc-card__media-img { transform: translateZ(0) scale(1.04); }
/* Redes sociales — centrado óptimo */
.svc-card__media-img--redes {
  object-position: center 20%;
}
/* ── Vídeo: escala desde el centro para ocultar watermark inferior ── */
.svc-card__media--video .svc-card__media-img {
  transform: translateZ(0) scale(1.18);
  transform-origin: center 42%;
}
.svc-card:hover .svc-card__media--video .svc-card__media-img {
  transform: translateZ(0) scale(1.21);
  transform-origin: center 42%;
}
/* Icono badge: esquina inferior izquierda de la imagen */
.svc-card__icon {
  position: absolute; bottom: 12px; left: 12px; z-index: 2;
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(255,255,255,0.93);
  backdrop-filter: blur(10px);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: background var(--t);
}
.svc-card:hover .svc-card__icon { background: rgba(255,255,255,1); }
/* Body — compacto para dar más protagonismo a la imagen */
.svc-card__body { flex: 1; display: flex; flex-direction: column; gap: 5px; padding: 13px 16px 15px; }
.svc-card__title {
  font-size: 15px; font-weight: 700;
  color: var(--cream-text); line-height: 1.25;
}
.svc-card__desc {
  font-size: 12px; color: var(--grey-body);
  line-height: 1.6; flex: 1;
}
.svc-card__tags {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: flex; flex-wrap: wrap; gap: 5px;
}
.svc-card__tags li {
  font-size: 10px; font-weight: 500; letter-spacing: 0.03em;
  color: var(--gold); opacity: 0.75;
  background: rgba(31,111,84,0.08);
  border: 1px solid rgba(31,111,84,0.2);
  border-radius: 100px; padding: 2px 8px;
}
.services__cta { text-align: center; }

/* ══════════════════════════════════════
   BENEFITS (S4)
══════════════════════════════════════ */
.benefits {
  padding: 80px 0;
  background: var(--dark-green);
  position: relative; overflow: hidden;
}
.benefits::before {
  display: none;
  content: ''; position: absolute; inset: 0;
  background: none;
  pointer-events: none;
}
.benefits .container { position: relative; z-index: 1; }
.benefits__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 500; line-height: 1.18;
  color: var(--cream-text); margin-bottom: 0;
}
.ben__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.ben-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--grey-border);
  border-radius: var(--r-xl);
  padding: 28px 22px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color var(--t), background var(--t), transform var(--t);
}
.ben-card:hover {
  border-color: rgba(31,111,84,0.3);
  background: rgba(31,111,84,0.04);
  transform: translateY(-3px);
}
.ben-card__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 4px;
}
.ben-card__stat {
  font-family: var(--font-serif);
  font-size: 42px; font-weight: 500;
  color: var(--gold); line-height: 1;
  letter-spacing: -0.02em;
}
.ben-card__stat--sm { font-size: 26px; line-height: 1.1; }
.ben-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(31,111,84,0.1);
  border: 1px solid rgba(31,111,84,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.ben-card__title {
  font-size: 15px; font-weight: 700;
  color: var(--cream-text); line-height: 1.3;
}
.ben-card__desc {
  font-size: 13px; color: var(--grey-body); line-height: 1.65;
}

/* ══════════════════════════════════════
   DEMO SECTION (S6)
══════════════════════════════════════ */
.demo-section {
  padding: 80px 0;
  background: var(--deep-black);
  position: relative; overflow: hidden;
}
.demo-section::before {
  display: none;
  content: ''; position: absolute; inset: 0;
  background: none;
  pointer-events: none;
}
.demo-section .container { position: relative; z-index: 1; }
.demo__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 500; line-height: 1.15;
  color: var(--cream-text); margin-bottom: 0;
}
.demo__sub {
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--grey-body); max-width: 480px;
  margin: 0 auto; line-height: 1.7;
}
.demo__layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 72px;
}
.demo__phone-ph {
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(31,111,84,0.25);
  border-radius: 32px;
  height: 480px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 12px;
  color: rgba(31,111,84,0.3);
}
.demo__phone-ph span {
  font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.1em; color: rgba(31,111,84,0.35);
}
.demo__content { display: flex; flex-direction: column; gap: 40px; }
.demo__qr-wrap { display: flex; align-items: flex-start; }
.demo__qr-ph {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--grey-border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex; flex-direction: column; align-items: center;
  gap: 16px; text-align: center;
  color: var(--gold);
}
.demo__qr-ph p {
  font-size: 13px; color: var(--grey-body); line-height: 1.5;
}
.demo__text { display: flex; flex-direction: column; gap: 16px; }
.demo__text-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500; color: var(--cream-text); line-height: 1.2;
}
.demo__text-desc {
  font-size: 15px; color: var(--grey-body); line-height: 1.7;
  max-width: 400px;
}

/* Demo — mockup fila horizontal */
.demo__mockups {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
  max-width: 100%;
  align-items: end;
}
.demo__mockup-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  display: block;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.18));
}
.demo__mockup-img:hover {
  transform: translateY(-6px);
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.28));
}
.demo__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 48px;
}
.demo__note {
  font-size: 13px;
  color: var(--grey-body);
  opacity: 0.7;
  letter-spacing: 0.02em;
}
@media (max-width: 768px) {
  .demo__mockups {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 36px;
  }
}
@media (max-width: 480px) {
  .demo__mockups {
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 8px;
  }
  .demo__mockup-img {
    scroll-snap-align: start;
  }
}

/* ══════════════════════════════════════
   SOCIAL CONTENT — Redes (S7)
══════════════════════════════════════ */
.social-content {
  padding: 80px 0;
  background: var(--dark-green);
  position: relative; overflow: hidden;
}
.social-content::before {
  display: none;
  content: ''; position: absolute; inset: 0;
  background: none;
  pointer-events: none;
}
.social-content .container { position: relative; z-index: 1; }
.sc__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 500; line-height: 1.18;
  color: var(--cream-text);
}
.sc__sub {
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--grey-body); max-width: 480px;
  margin: 0 auto; line-height: 1.7;
}
.sc__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: 20px;
  margin-top: 64px;
  margin-bottom: 48px;
  align-items: end;
}
.sc-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--grey-border);
  transition: border-color var(--t), transform var(--t);
}
.sc-card:hover { border-color: rgba(31,111,84,0.3); transform: translateY(-3px); }
.sc-card__img-wrap {
  height: 280px; overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.sc-card--featured .sc-card__img-wrap { height: 360px; }
.sc-card__img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.sc-card:hover .sc-card__img { transform: scale(1.04); }
.sc-card__label {
  font-size: 15px; font-weight: 700; color: var(--cream-text);
  padding: 16px 20px 4px;
}
.sc-card__sub {
  font-size: 12px; color: var(--grey-body); line-height: 1.5;
  padding: 0 20px 20px;
}
.sc__features {
  display: flex; flex-wrap: wrap; gap: 24px;
  justify-content: center;
  padding: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--grey-border);
  border-radius: var(--r-xl);
  margin-bottom: 48px;
}
.sc__feat {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--cream-text);
}
.sc__feat svg { color: var(--gold); flex-shrink: 0; }
.sc__cta { text-align: center; }

/* ══════════════════════════════════════
   RESPONSIVE — nuevas secciones
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .svc__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .ben__grid  { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .svc__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ben__grid  { grid-template-columns: repeat(2, 1fr); }
  .sc__grid   { grid-template-columns: 1fr; }
  .sc-card--featured .sc-card__img-wrap { height: 280px; }
  .demo__layout { grid-template-columns: 1fr; gap: 40px; }
  .demo__phone-ph { height: 280px; }
}
@media (max-width: 600px) {
  .svc__grid { grid-template-columns: 1fr; }
  .ben__grid  { grid-template-columns: 1fr; }

  .svc-card__ph { height: 110px; }
  .svc-card__media { height: 180px; }
}

/* Servicios — contenedor ancho para que las imágenes se vean grandes y nítidas */
.services .container { max-width: 1480px; }

/* ══════════════════════════════════════
   TIMELINE — contenedor más ancho para imágenes nítidas
══════════════════════════════════════ */
.timeline-pro .container { max-width: 1600px; }

/* ══════════════════════════════════════
   COOKIE CONSENT BANNER
══════════════════════════════════════ */
.ks-cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9980;
  background: rgba(14,31,26,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.09);
  padding: 18px 32px;
  animation: ksCookieIn 0.45s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes ksCookieIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.ks-cookie-banner--hide {
  animation: ksCookieOut 0.38s ease forwards;
}
@keyframes ksCookieOut {
  to { transform: translateY(100%); opacity: 0; }
}
.ks-cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.ks-cookie-banner__text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 680px;
}
.ks-cookie-banner__text strong { color: rgba(255,255,255,0.92); }
.ks-cookie-banner__text a {
  color: #4D9E84;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ks-cookie-banner__btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.ks-cb-btn {
  cursor: pointer;
  border: none;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}
.ks-cb-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.ks-cb-btn--primary {
  background: var(--green);
  color: #fff;
}
.ks-cb-btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.25);
}
.ks-cb-btn--outline:hover { border-color: rgba(255,255,255,0.5); color: #fff; }

@media (max-width: 600px) {
  .ks-cookie-banner { padding: 16px 18px; }
  .ks-cookie-banner__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ks-cookie-banner__btns { width: 100%; }
  .ks-cb-btn { flex: 1; text-align: center; padding: 11px 16px; }
}

/* ══════════════════════════════════════
   PRESENCIA DIGITAL — sección redes (nueva versión)
══════════════════════════════════════ */
.presencia-digital {
  padding: 100px 0;
  background: #f5f2ed;
  position: relative;
}

/* — Cabecera — */
.pd__header {
  text-align: center;
  margin-bottom: 56px;
}
.pd__title {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 3.6vw, 52px);
  font-weight: 500;
  color: #0f1f12;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.pd__title-em {
  font-style: italic;
  color: #2a4d30;
  font-weight: 500;
}
.pd__sub {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #5a5e5a;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* — Grid — */
.pd__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* — Card — */
.pd-card {
  background: #ffffff;
  border: 1px solid #e8e4de;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.pd-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(15,31,18,0.09);
}

/* — Imagen superior — */
.pd-card__img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #1a1a1a;
  flex-shrink: 0;
}

/* — Vídeo en card presencia digital — */
.pd-card__img--video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.pd-card__img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.4s ease;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.pd-card:hover .pd-card__img { transform: translateZ(0) scale(1.03); }

/* Placeholder elegante card 1 */
.pd-card__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1e1e1e 0%, #111 60%, #181818 100%);
  position: relative;
}

/* Badges TikTok — esquina superior derecha */
.pd-card__badges-tr {
  position: absolute;
  top: 14px; right: 14px;
  display: flex; flex-direction: column; gap: 7px;
  z-index: 2;
}
.pd-card__badge-dark {
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 7px 11px;
  display: flex; align-items: center; justify-content: center;
  color: #ffffff;
  line-height: 1;
}

/* Badge circular blanco — esquina inferior izquierda */
.pd-card__badge-circle {
  position: absolute;
  bottom: 14px; left: 14px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  display: flex; align-items: center; justify-content: center;
  color: #0f1f12;
}

/* — Body texto — */
.pd-card__body {
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.pd-card__title {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: #0f1f12;
  line-height: 1.25;
}
.pd-card__desc {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #5a5e5a;
  line-height: 1.65;
  flex: 1;
}

/* — Tags / chips — */
.pd-card__tags {
  list-style: none; padding: 0; margin: 6px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.pd-card__tags li {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a5e5a;
  border: 1px solid #d4d7d4;
  border-radius: 20px;
  padding: 5px 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: default;
}
.pd-card__tags li:hover { background: #f0ede6; border-color: #bfbcb6; }

/* — Footer decorativo — */
.pd__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 52px;
}
.pd__asterisk {
  color: #3a6641;
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}
.pd__footer-text {
  display: flex; flex-direction: column; gap: 3px;
}
.pd__footer-strong {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #4a4e4a;
  margin: 0;
}
.pd__footer-light {
  font-family: 'DM Sans', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #5a5e5a;
  margin: 0;
}

/* — Responsive — */
@media (max-width: 1023px) {
  .pd__grid { grid-template-columns: repeat(2, 1fr); }
  .pd__grid .pd-card:nth-child(3) { grid-column: 1 / -1; }
  .pd__grid .pd-card:nth-child(3) .pd-card__img-wrap { aspect-ratio: 2 / 1; }
}
@media (max-width: 767px) {
  .presencia-digital { padding: 60px 0; }
  .pd__title { font-size: 32px; }
  .pd__sub { font-size: 15px; }
  .pd__grid { grid-template-columns: 1fr; }
  .pd__grid .pd-card:nth-child(3) { grid-column: auto; }
  .pd__grid .pd-card:nth-child(3) .pd-card__img-wrap { aspect-ratio: 1 / 1; }
  .pd-card { border-radius: 12px; }
  .pd__footer { flex-direction: column; text-align: center; gap: 8px; }
}
