/* ============================================================
   Skijah — Web pública (landing)
   Reutiliza los tokens de theme.css. Acento azul matriz (#2563eb),
   mismo lenguaje que login.html. Claro + oscuro.
   ============================================================ */

.sw { position: relative; z-index: 1; }

/* ----- marca (logo por mask-image, hereda color del contexto) ----- */
.sk-lock { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: inherit; }
.sk-ring, .sk-word {
  background-color: currentColor; display: block;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.sk-ring { width: 38px; height: 38px; -webkit-mask-image: url("../skijah_logo/skijah-ring-ink.svg"); mask-image: url("../skijah_logo/skijah-ring-ink.svg"); }
.sk-word { width: 104px; height: 21px; -webkit-mask-image: url("../skijah_logo/skijah-wordmark-ink.svg"); mask-image: url("../skijah_logo/skijah-wordmark-ink.svg"); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 18px;
  padding: 16px clamp(18px, 4vw, 52px);
  transition: background var(--t), border-color var(--t), box-shadow var(--t), padding var(--t);
  border-bottom: 1px solid transparent;
}
.nav .sk-lock { color: #fff; }
.nav[data-scrolled="1"] {
  background: color-mix(in oklab, var(--surface), transparent 8%);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--border); box-shadow: var(--shadow-sm);
  padding-top: 11px; padding-bottom: 11px;
}
.nav[data-scrolled="1"] .sk-lock { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 22px; margin-right: auto; }
.nav-link {
  padding: 9px 13px; border-radius: var(--r-pill); font-size: 14px; font-weight: 650; white-space: nowrap;
  color: rgba(255,255,255,.82); text-decoration: none; transition: background var(--t-fast), color var(--t-fast);
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav[data-scrolled="1"] .nav-link { color: var(--ink-2); }
.nav[data-scrolled="1"] .nav-link:hover { color: var(--ink); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
/* El botón de acceso es solo texto: gap:0 para que el separador «la plataforma» sea el
   espacio real del texto (dentro del span) y NO el gap de 9px del .btn (parecía doble espacio). */
.nav-actions .btn-primary { gap: 0; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.08); color: #fff;
  transition: all var(--t-fast);
}
.icon-btn:hover { background: rgba(255,255,255,.16); }
.nav[data-scrolled="1"] .icon-btn { border-color: var(--border); background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-sm); }
.nav[data-scrolled="1"] .icon-btn:hover { color: var(--ink); border-color: var(--border-strong); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: var(--r-pill); font-family: var(--font-body);
  font-size: 14.5px; font-weight: 700; text-decoration: none; border: none; cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  min-height: 44px; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px color-mix(in oklab, var(--brand), transparent 62%); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px color-mix(in oklab, var(--brand), transparent 54%); }
.btn-ghost-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.24); }
.btn-ghost-light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--border-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.btn-lg { padding: 15px 30px; font-size: 15.5px; }

.nav-burger { display: none; }

/* ============================================================
   BANDAS OSCURAS (hero + cta) — gama slate/azul del login
   ============================================================ */
.dark-band {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(120% 90% at 12% 4%, color-mix(in oklab, var(--brand), #ffffff 16%) 0%, transparent 42%),
    linear-gradient(150deg, color-mix(in oklab, var(--brand), #0a0f1e 30%) 0%, #0b1020 58%, #070a14 100%);
}
.dark-band::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; }
.glow.g1 { width: 460px; height: 460px; right: -130px; top: -120px; background: color-mix(in oklab, var(--brand), transparent 56%); opacity: .65; }
.glow.g2 { width: 360px; height: 360px; left: -100px; bottom: -8%; background: color-mix(in oklab, #8b5cf6, transparent 62%); opacity: .4; }

.fx-dots {
  position: absolute; inset: -15%; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.55) 1px, transparent 1.7px);
  background-size: 30px 30px; opacity: .12;
  -webkit-mask: radial-gradient(130% 120% at 50% 12%, #000 0%, rgba(0,0,0,.3) 58%, transparent 84%);
  mask: radial-gradient(130% 120% at 50% 12%, #000 0%, rgba(0,0,0,.3) 58%, transparent 84%);
  animation: dotsDrift 30s linear infinite;
}
@keyframes dotsDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-30px,-30px,0); } }
.fx-streaks { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.streak {
  position: absolute; height: 2px; width: clamp(90px, 12vw, 160px); border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  filter: drop-shadow(0 0 6px color-mix(in oklab, var(--brand), #fff 30%));
  opacity: 0; animation: streakRun 7.4s linear infinite;
}
.streak.s1 { top: 18%; left: 58%; animation-delay: 0s; }
.streak.s2 { top: 40%; left: 70%; animation-delay: 2s; width: clamp(70px, 9vw, 120px); }
.streak.s3 { top: 64%; left: 54%; animation-delay: 3.6s; }
.streak.s4 { top: 80%; left: 74%; animation-delay: 5.1s; width: clamp(60px, 8vw, 100px); }
.streak.s5 { top: 30%; left: 84%; animation-delay: 6s; width: clamp(56px, 7vw, 92px); }
@keyframes streakRun {
  0%   { opacity: 0; transform: translate(-34px, 34px) rotate(-30deg); }
  14%  { opacity: .85; }
  60%  { opacity: .4; }
  100% { opacity: 0; transform: translate(150px, -150px) rotate(-30deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(118px, 16vh, 168px) clamp(18px, 4vw, 52px) clamp(64px, 9vh, 104px); }
.hero-grid {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  padding: 7px 14px; border-radius: var(--r-pill);
}
.eyebrow-dark { color: rgba(255,255,255,.85); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.eyebrow-dark .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 4px color-mix(in oklab, var(--pos), transparent 76%); }
.hero h1 {
  font-weight: 800; color: #fff; margin: 22px 0 18px;
  font-size: clamp(34px, 5.4vw, 62px); line-height: 1.03; letter-spacing: -0.035em; text-wrap: balance;
}
.hero h1 .accent { color: color-mix(in oklab, var(--brand), #fff 36%); }
.hero-sub { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; color: rgba(255,255,255,.76); max-width: 44ch; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 38px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: clamp(26px, 4vw, 46px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats .st-val { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.02em; line-height: 1; }
.hero-stats .st-lab { font-size: 13px; color: rgba(255,255,255,.62); margin-top: 7px; }

/* mosaico de productos del hero (panel de cristal) */
.hero-visual { position: relative; }
.eco-card {
  position: relative; border-radius: var(--r-xl); padding: 22px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px rgba(0,0,0,.4);
}
.eco-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.eco-head .t { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.eco-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255,255,255,.78); }
.eco-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 3px color-mix(in oklab, var(--pos), transparent 74%); }
.eco-list { display: grid; gap: 9px; }
.eco-item {
  display: flex; align-items: center; gap: 13px; padding: 13px 14px; border-radius: var(--r-md);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: transform var(--t), background var(--t-fast);
}
.eco-item:hover { transform: translateX(4px); background: rgba(255,255,255,.09); }
.eco-glyph { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex-shrink: 0; box-shadow: 0 6px 16px color-mix(in oklab, var(--c), transparent 55%); }
.eco-tx { min-width: 0; }
.eco-tx .n { display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; }
.eco-tx .d { display: block; font-size: 12px; color: rgba(255,255,255,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eco-ver { margin-left: auto; font-size: 11px; font-weight: 600; color: rgba(255,255,255,.5); }
.eco-float {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 15px; border-radius: var(--r-pill); background: var(--surface); color: var(--ink);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border); font-size: 13px; font-weight: 700; white-space: nowrap;
  animation: floaty 5.5s ease-in-out infinite;
}
.eco-float .mini { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; }
.eco-float.f1 { top: -20px; right: -14px; }
.eco-float.f2 { bottom: -20px; left: -18px; animation-delay: 1.4s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ============================================================
   SECCIONES (claras, tokens de theme)
   ============================================================ */
.section { position: relative; z-index: 1; padding: clamp(64px, 10vh, 116px) clamp(18px, 4vw, 52px); }
.wrap { max-width: 1140px; margin: 0 auto; }
.wrap-narrow { max-width: 880px; margin: 0 auto; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand); }
.section-h { font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.08; letter-spacing: -0.03em; margin: 14px 0 0; text-wrap: balance; }
.section-lead { font-size: clamp(16px, 1.7vw, 18px); line-height: 1.65; color: var(--ink-2); margin: 16px 0 0; max-width: 60ch; }

/* declaración (statement band) */
.statement { text-align: center; }
.statement .big {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.18;
  font-size: clamp(22px, 3.2vw, 36px); color: var(--ink); text-wrap: balance; max-width: 24ch; margin: 0 auto;
}
.statement .big em { font-style: normal; color: var(--brand); }

/* misión / visión */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 48px; }
.mv-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg); padding: clamp(28px, 3.4vw, 40px);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.mv-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.mv-ic { width: 54px; height: 54px; border-radius: var(--r-md); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px color-mix(in oklab, var(--c1), transparent 58%); }
.mv-card h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -0.02em; margin: 22px 0 14px; }
.mv-card p { font-size: 15.5px; line-height: 1.68; color: var(--ink-2); margin: 0 0 14px; }
.mv-card p:last-child { margin-bottom: 0; }
.mv-card .lead-line { color: var(--ink); font-weight: 600; }

/* software a medida */
.bespoke { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.bespoke-points { display: grid; gap: 14px; margin-top: 30px; }
.bp {
  display: flex; gap: 15px; padding: 18px 20px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.bp-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: color-mix(in oklab, var(--brand), transparent 88%); color: var(--brand); }
.bp h4 { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; margin: 0 0 4px; }
.bp p { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* visual de código tech */
.code-card {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  background: #0b1020;
}
.code-bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); }
.code-bar .tl { width: 11px; height: 11px; border-radius: 50%; }
.code-bar .label { margin-left: 10px; font-size: 12px; color: rgba(255,255,255,.5); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.code-body { padding: 20px 22px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 1.85; color: rgba(255,255,255,.86); }
.code-body .ln { display: block; white-space: pre; }
.code-body .c-key { color: #7aa2ff; }
.code-body .c-str { color: #5fd6a6; }
.code-body .c-com { color: rgba(255,255,255,.38); }
.code-body .c-fn { color: #c8a0ff; }

/* valores */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 48px; }
.value {
  padding: 26px 24px; border-radius: var(--r-lg); background: var(--surface);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.value:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.value-ic { width: 50px; height: 50px; border-radius: var(--r-md); display: grid; place-items: center; background: color-mix(in oklab, var(--c, var(--brand)), transparent 87%); color: var(--c, var(--brand)); }
.value h4 { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; margin: 18px 0 8px; }
.value p { font-size: 14px; line-height: 1.6; color: var(--ink-2); margin: 0; }

/* productos */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 48px; }
.prod {
  position: relative; overflow: hidden; padding: 24px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.prod::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--c), transparent 80%), transparent 70%); }
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--c), transparent 60%); }
.prod-top { position: relative; display: flex; align-items: center; gap: 13px; }
.prod-glyph { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex-shrink: 0; box-shadow: 0 8px 20px color-mix(in oklab, var(--c), transparent 56%); }
.prod-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em; }
.prod-ver { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.prod-tag { position: relative; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 16px 0 0; }
.prod-foot { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.prod-foot .dot { width: 8px; height: 8px; border-radius: 50%; }
.prod-foot .live { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--ink-3); }
.prod-foot .live a { color: var(--brand); text-decoration: none; font-weight: 700; }
.prod-soon { margin-left: auto; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); padding: 4px 9px; border-radius: var(--r-pill); }
.prod-more { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 44px; }

/* ============================================================
   CTA final
   ============================================================ */
.cta { padding: clamp(64px, 9vh, 100px) clamp(18px, 4vw, 52px); }
.cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; text-align: center; }
.cta h2 { font-weight: 800; color: #fff; font-size: clamp(28px, 4vw, 46px); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.cta p { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: rgba(255,255,255,.76); margin: 18px auto 32px; max-width: 52ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; z-index: 1; background: var(--surface); border-top: 1px solid var(--border); padding: clamp(48px, 7vh, 72px) clamp(18px, 4vw, 52px) 34px; }
.footer-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .sk-lock { color: var(--ink); margin-bottom: 16px; }
.footer-blurb { font-size: 14px; line-height: 1.65; color: var(--ink-2); max-width: 34ch; margin: 0 0 18px; }
.footer-status { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--border); padding: 7px 13px; border-radius: var(--r-pill); }
.footer-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 3px color-mix(in oklab, var(--pos), transparent 76%); }
.footer-col h5 { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 5px 0; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--brand); }
.footer-bottom { max-width: 1140px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: var(--ink-3); text-decoration: none; }
.footer-bottom a:hover { color: var(--ink-2); }

/* ============================================================
   COOKIES (tema tecnológico, gama slate/azul)
   ============================================================ */
.cookie {
  position: fixed; z-index: 300; left: clamp(14px, 3vw, 30px); bottom: clamp(14px, 3vw, 30px);
  width: min(420px, calc(100vw - 28px)); color: #fff; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(120% 120% at 100% 0%, color-mix(in oklab, var(--brand), transparent 64%) 0%, transparent 52%),
    linear-gradient(155deg, #131a2e 0%, #0b1020 70%, #080b16 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  transform: translateY(140%); opacity: 0; transition: transform var(--t-spring), opacity var(--t);
}
.cookie[data-show="1"] { transform: none; opacity: 1; }
.cookie::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; z-index: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.6) 1px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask: radial-gradient(80% 70% at 100% 0%, #000, transparent 70%); mask: radial-gradient(80% 70% at 100% 0%, #000, transparent 70%);
}
.cookie-bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--brand), #8b5cf6, var(--brand)); background-size: 200% 100%; animation: scanline 4s linear infinite; z-index: 2; }
@keyframes scanline { to { background-position: 200% 0; } }
.cookie-in { position: relative; z-index: 1; padding: 22px 22px 20px; }
.cookie-head { display: flex; align-items: center; gap: 11px; margin-bottom: 11px; }
.cookie-chip { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: color-mix(in oklab, var(--brand), transparent 78%); border: 1px solid color-mix(in oklab, var(--brand), transparent 50%); flex-shrink: 0; }
.cookie-tag { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 11px; letter-spacing: .04em; color: color-mix(in oklab, var(--brand), #fff 30%); }
.cookie-head h4 { font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: -0.01em; color: #fff; margin: 2px 0 0; }
.cookie-in p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.72); margin: 0 0 16px; }
.cookie-in p a { color: color-mix(in oklab, var(--brand), #fff 34%); text-decoration: none; font-weight: 600; }
.cookie-in p a:hover { text-decoration: underline; }
.cookie-actions { display: flex; gap: 9px; flex-wrap: wrap; }
.ck-btn { flex: 1; min-width: 0; min-height: 42px; padding: 11px 16px; border-radius: var(--r-pill); font-family: var(--font-body); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all var(--t-fast); white-space: nowrap; }
.ck-accept { background: var(--brand); color: #fff; border: none; box-shadow: 0 8px 20px color-mix(in oklab, var(--brand), transparent 60%); }
.ck-accept:hover { transform: translateY(-1px); box-shadow: 0 12px 26px color-mix(in oklab, var(--brand), transparent 52%); }
.ck-reject { background: rgba(255,255,255,.07); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.ck-reject:hover { background: rgba(255,255,255,.14); }

/* ============================================================
   REVEAL al hacer scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal[data-in="1"] { opacity: 1; transform: none; }

/* ============================================================
   CONTACTO + FORMULARIO  (.cf-* lo comparte la prueba de Precios)
   ============================================================ */
.contact-card { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--border); box-shadow: var(--shadow-lg); background: var(--surface); }
.contact-aside { position: relative; padding: clamp(30px, 3.6vw, 46px); display: flex; }
.contact-aside-in { position: relative; z-index: 2; width: 100%; }
.contact-h { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: clamp(24px, 2.7vw, 32px); line-height: 1.12; letter-spacing: -0.03em; margin: 16px 0 0; }
.contact-lead { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.76); margin: 14px 0 26px; max-width: 40ch; }
.contact-points { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 15px; }
.contact-points li { display: flex; align-items: flex-start; gap: 12px; }
.cp-ic { width: 38px; height: 38px; border-radius: var(--r-md); display: grid; place-items: center; flex-shrink: 0; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); }
.contact-points li > span:last-child { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cp-lab { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.62); }
.contact-points a { color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; word-break: break-word; }
.contact-points a:hover { text-decoration: underline; }

.contact-form { padding: clamp(28px, 3.4vw, 44px); }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.cf-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.cf-field.cf-full { grid-column: 1 / -1; }
.cf-field > span { font-size: 13px; font-weight: 650; color: var(--ink-2); }
.cf-field > span i { color: var(--neg); font-style: normal; margin-left: 2px; }
.cf-field input, .cf-field select, .cf-field textarea {
  width: 100%; box-sizing: border-box; padding: 11px 13px; border-radius: var(--r-md);
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink);
  font-size: 15px; font-family: inherit; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.cf-field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: var(--ink-3); }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--brand), transparent 80%);
}
.cf-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.cf-legal { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); margin: 0; max-width: 42ch; }
.cf-legal a { color: var(--brand); font-weight: 600; text-decoration: none; }
.cf-legal a:hover { text-decoration: underline; }
.cf-submit { flex-shrink: 0; }
.cf-ok:not([hidden]) { display: flex; align-items: center; gap: 13px; margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); background: color-mix(in oklab, var(--pos), transparent 88%); border: 1px solid color-mix(in oklab, var(--pos), transparent 70%); }
.cf-ok-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--pos); }
.cf-ok div { display: flex; flex-direction: column; gap: 2px; }
.cf-ok strong { font-size: 14.5px; color: var(--ink); }
.cf-ok span { font-size: 13px; color: var(--ink-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 460px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
/* iPad landscape / tablets (nav-links visibles pero espacio justo): logo a la izquierda,
   productos CENTRADOS y acciones (idioma + acceso) a la DERECHA, sin desbordar. */
@media (min-width: 981px) and (max-width: 1200px) {
  .nav-links { margin-left: auto; margin-right: auto; gap: 2px; }
  .nav-link { padding: 8px 11px; }
  .nav-actions .btn span.long { display: none; }
  .nav-actions .btn-primary { text-transform: capitalize; }
}
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  /* sin los nav-links no había nada que empujara las acciones: fíjalas a la derecha */
  .nav-actions { margin-left: auto; }
}
@media (max-width: 860px) {
  .mv-grid, .bespoke { grid-template-columns: 1fr; gap: 28px; }
  .code-card { order: -1; }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .values-grid, .prod-grid { grid-template-columns: 1fr; }
  .cf-grid { grid-template-columns: 1fr; }
  .cf-foot { flex-direction: column; align-items: stretch; }
  .cf-submit { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 22px; }
  .nav-actions .btn span.long { display: none; }
  .nav-actions .btn-primary { text-transform: capitalize; }
  .eco-float { display: none; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; } .reveal { opacity: 1; transform: none; } }
