@import url("https://fonts.googleapis.com/css2?family=Schibsted+Grotesk:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=JetBrains+Mono:wght@400;500&display=swap");
/* =========================================================
   Cumbre Digital — styles.css
   Arquetipo: Mouse-Reactive Gradient (oscuro + 1 acento)
   ========================================================= */

:root {
  --bg: #0c0c0d;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --ink: #f2f0eb;
  --mute: #9d9b96;
  --dim: #5f5e5b;
  --line: rgba(242, 240, 235, .12);
  --accent: #c6f432;
  --accent-ink: #0c0c0d;
  --g1: #2a47ff;
  --g2: #7b3cff;
  --g3: #c6f432;

  --serif: "Schibsted Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sans: "Schibsted Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1240px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  font: 500 1rem/1 var(--sans);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn span[aria-hidden] { transition: transform .35s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: rgba(12,12,13,.35); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--pad);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(12, 12, 13, .82);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { background: rgba(12, 12, 13, .6); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
}
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.brand-mark { width: 28px; height: 28px; }
.brand em { font-family: var(--serif); font-weight: 400; font-size: 1.2em; margin-left: .2em; color: var(--mute); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { text-decoration: none; font-size: .95rem; color: var(--mute); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { color: var(--accent-ink); background: var(--accent); padding: .6rem 1.1rem; border-radius: 999px; font-weight: 500; }
.nav-links .nav-cta:hover { background: var(--ink); color: var(--accent-ink); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px;
    background: rgba(12,12,13,.5); cursor: pointer;
  }
  .nav-toggle i { display: block; width: 18px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
  .nav-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(3.75px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-3.75px) rotate(-45deg); }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .5rem var(--pad) 1.5rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  .nav-links.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.15rem; color: var(--ink); }
  .nav-links .nav-cta { margin-top: 1rem; text-align: center; border-bottom: 0; padding: 1rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 9rem;
  isolation: isolate;
  overflow: clip;
}
.hero-gradient {
  position: absolute; inset: -10%; z-index: -2;
  background:
    radial-gradient(38vmax 38vmax at var(--mx, 70%) var(--my, 35%), color-mix(in srgb, var(--g1) 75%, transparent) 0%, transparent 60%),
    radial-gradient(32vmax 32vmax at calc(var(--mx, 70%) - 18%) calc(var(--my, 35%) + 22%), color-mix(in srgb, var(--g2) 60%, transparent) 0%, transparent 60%),
    radial-gradient(16vmax 16vmax at calc(var(--mx, 70%) + 12%) calc(var(--my, 35%) - 8%), color-mix(in srgb, var(--g3) 35%, transparent) 0%, transparent 60%);
  filter: blur(50px) saturate(130%);
  opacity: .85;
}
/* Fallback for browsers without color-mix */
@supports not (background: color-mix(in srgb, red 50%, transparent)) {
  .hero-gradient {
    background:
      radial-gradient(38vmax 38vmax at var(--mx, 70%) var(--my, 35%), rgba(42,71,255,.75) 0%, transparent 60%),
      radial-gradient(32vmax 32vmax at calc(var(--mx, 70%) - 18%) calc(var(--my, 35%) + 22%), rgba(123,60,255,.6) 0%, transparent 60%);
  }
}
.hero::after {
  /* vignette that keeps text legible */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12,12,13,.85) 0%, rgba(12,12,13,.35) 55%, rgba(12,12,13,0) 100%),
              linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-inner { position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .78rem; color: var(--mute);
  padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(12,12,13,.4);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(198,244,50,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(198,244,50,.55); } 70% { box-shadow: 0 0 0 10px rgba(198,244,50,0); } 100% { box-shadow: 0 0 0 0 rgba(198,244,50,0); } }

.hero-title {
  margin-top: 1.8rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6.4vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.025em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--accent); }

.hero-foot { margin-top: 2.6rem; display: grid; grid-template-columns: minmax(0, 34rem) auto; gap: 2rem 3rem; align-items: end; justify-content: space-between; }
.hero-lede { color: #cfcdc7; font-size: clamp(1.02rem, 1.3vw, 1.18rem); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* entrance */
.js .hero-in { opacity: 0; transform: translateY(105%); animation: heroIn 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.js .eyebrow.hero-in, .js .hero-lede.hero-in, .js .hero-actions.hero-in { transform: translateY(18px); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ridge (rising line chart) */
.ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(120px, 22vh, 240px); z-index: -1; pointer-events: none; }
.ridge-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.8s .5s var(--ease) forwards; }
.ridge-area { opacity: 0; animation: fadeIn 1.5s 1.8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
.ridge-label { position: absolute; right: var(--pad); bottom: calc(clamp(120px, 22vh, 240px) - 8px); color: var(--accent); opacity: 0; animation: fadeIn .8s 2.9s forwards; }

@media (max-width: 860px) {
  .hero { padding-bottom: 10rem; align-items: flex-end; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero::after { background: linear-gradient(0deg, rgba(12,12,13,.9) 0%, rgba(12,12,13,.45) 60%, rgba(12,12,13,.2) 100%); }
  .ridge-label { display: none; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 1.1rem 0; background: var(--bg); }
.marquee-track { display: flex; width: max-content; gap: 2rem; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); white-space: nowrap; }
.marquee b { color: var(--accent); font-weight: 400; font-size: .9rem; }
@media (hover: hover) and (pointer: fine) { .marquee:hover .marquee-track { animation-play-state: paused; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 1rem)); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(5rem, 11vw, 9.5rem); position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.kicker {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute);
  margin-bottom: 1.4rem;
}
.kicker span { color: var(--accent); }
.kicker::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line); }
.h2 {
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.h2 em { color: var(--accent); }
.h2-xl { font-size: clamp(3rem, 8vw, 7rem); }
.section-intro { margin-top: 1.4rem; color: var(--mute); max-width: 40rem; font-size: 1.1rem; }

/* Reveal (content visible without JS; .js gates it) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Manifesto ---------- */
.manifesto-text {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4.4vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: -.015em;
  max-width: 28ch;
  text-wrap: pretty;
}
.manifesto-text .w { color: var(--dim); transition: color .5s var(--ease); }
.manifesto-text .w.on { color: var(--ink); }
.manifesto-text .w.hl.on { color: var(--accent); }

/* ---------- Services rows ---------- */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row-head {
  width: 100%;
  display: grid; grid-template-columns: 1fr auto 2.5rem; align-items: center; gap: 1.5rem;
  padding: clamp(1.3rem, 2.6vw, 2rem) .75rem;
  background: none; border: 0; color: inherit; cursor: pointer; text-align: left;
  position: relative; isolation: isolate;
  transition: color .3s;
}
.row-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
@media (hover: hover) {
  .row-head:hover { color: var(--bg); }
  .row-head:hover::before { transform: scaleY(1); }
  .row-head:hover .row-num, .row-head:hover .row-tag { color: var(--bg); }
  .row-head:hover .row-icon::before, .row-head:hover .row-icon::after { background: var(--bg); }
}
.row-num { color: var(--accent); transition: color .3s; }
.row-name { font-family: var(--serif); font-size: clamp(2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.02em; }
.row-tag { color: var(--mute); text-transform: uppercase; letter-spacing: .08em; transition: color .3s; }
.row-icon { position: relative; width: 22px; height: 22px; justify-self: end; }
.row-icon::before, .row-icon::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), background-color .3s; }
.row-icon::after { transform: rotate(90deg); }
.row-head[aria-expanded="true"] .row-icon::after { transform: rotate(0deg); }

.row-body { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease); }
.js .row-body { grid-template-rows: 0fr; }
.js .row-head[aria-expanded="true"] + .row-body { grid-template-rows: 1fr; }
.row-body-inner { overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3rem; padding-inline: .75rem; }
.row-body-inner > * { padding-bottom: 2.2rem; }
.row-body-inner p { color: #cfcdc7; font-size: 1.12rem; }
.row-body-inner ul { list-style: none; margin: 0; padding-left: 0; padding-top: 0; }
.row-body-inner li { padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid var(--line); position: relative; color: var(--mute); }
.row-body-inner li::before { content: "↗"; position: absolute; left: 0; color: var(--accent); font-size: .9rem; }

@media (max-width: 760px) {
  .row-head { grid-template-columns: 1fr 1.6rem; padding-inline: 0; gap: .4rem 1rem; }
  .row-tag { grid-column: 1; grid-row: 2; }
  .row-icon { grid-column: 2; grid-row: 1; }
  .row-body-inner { grid-template-columns: 1fr; padding-inline: 0; }
  .row-body-inner p { padding-bottom: 0; }
}

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.why-card { background: var(--bg); padding: clamp(1.8rem, 3vw, 2.6rem); min-height: 300px; display: flex; flex-direction: column; gap: 1rem; position: relative; transition: background-color .4s; }
.why-card:hover { background: var(--bg-2); }
.why-n { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--accent); margin-bottom: auto; }
.why-card h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.05; margin-top: 2.5rem; }
.why-card p { color: var(--mute); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } .why-card { min-height: 0; } .why-card h3 { margin-top: 1rem; } }

/* ---------- Method ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 1.9rem; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--line) 70%);
  transform-origin: left; transform: scaleX(var(--steps-p, 1));
}
.js .steps::before { transform: scaleX(var(--steps-p, 0)); transition: transform .2s linear; }
.step { position: relative; padding-top: 4.2rem; }
.step-n {
  position: absolute; top: 0; left: 0;
  font-family: var(--mono); font-size: .85rem;
  width: 3.8rem; height: 3.8rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line); color: var(--accent);
}
.step h3 { font-family: var(--serif); font-size: 1.9rem; line-height: 1.05; margin-bottom: .7rem; }
.step p { color: var(--mute); }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 3rem; }
  .steps::before { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.facts { margin: clamp(4rem, 8vw, 6rem) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.fact { padding: 2rem 1.5rem 0 0; border-right: 1px solid var(--line); }
.fact + .fact { padding-left: 1.5rem; }
.fact:last-child { border-right: 0; }
.fact dt { font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 6rem); line-height: 1; color: var(--ink); }
.fact:last-child dt { color: var(--accent); }
.fact dd { margin: .8rem 0 0; color: var(--mute); max-width: 18rem; font-size: .98rem; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 1.8rem 1rem 1.8rem 0; border-bottom: 1px solid var(--line); }
  .fact + .fact { padding-left: 0; }
  .fact:nth-child(odd) { padding-right: 1rem; }
  .fact:nth-child(even) { border-right: 0; padding-left: 1rem; }
}

/* ---------- Who ---------- */
.who-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.who-card {
  position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: space-between; padding: 1.6rem;
}
.who-gradient, .contact-gradient {
  position: absolute; inset: -20%; z-index: -1;
  background:
    radial-gradient(45% 45% at var(--sx, 30%) var(--sy, 70%), rgba(42,71,255,.7), transparent 70%),
    radial-gradient(40% 40% at calc(100% - var(--sx, 30%)) calc(100% - var(--sy, 70%)), rgba(123,60,255,.55), transparent 70%),
    radial-gradient(20% 20% at 70% 30%, rgba(198,244,50,.35), transparent 70%);
  filter: blur(30px);
}
.who-mono { font-family: var(--serif); font-size: clamp(7rem, 16vw, 13rem); line-height: .8; letter-spacing: -.04em; margin-top: auto; }
.who-meta { color: var(--ink); opacity: .8; order: -1; }
.who-lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: #d8d6d0; margin-top: 1.6rem; max-width: 36rem; }
.traits { list-style: none; padding: 0; margin: 2.4rem 0 0; border-top: 1px solid var(--line); }
.traits li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); color: var(--mute); }
.traits strong { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) {
  .who-grid { grid-template-columns: 1fr; }
  .who-card { aspect-ratio: 16 / 11; max-height: 380px; }
}

/* ---------- No smoke ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.quote { margin: 0; padding: 2rem; border: 1px solid var(--line); border-radius: 18px; display: flex; flex-direction: column; gap: 1.6rem; background: var(--bg); transition: border-color .3s, transform .5s var(--ease); }
.quote:hover { border-color: var(--accent); transform: translateY(-4px); }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.05; text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 2px; color: var(--mute); }
.quote figcaption { color: #cfcdc7; margin-top: auto; }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-grid .section-head { position: sticky; top: calc(var(--nav-h) + 2rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 500;
  transition: color .2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--accent); transition: transform .35s var(--ease); flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { color: var(--mute); padding: 0 3rem 1.6rem 0; max-width: 44rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }

/* ---------- Contact ---------- */
.contact { overflow: clip; isolation: isolate; }
.contact-gradient { inset: 0; opacity: .5; --sx: 15%; --sy: 20%; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(12,12,13,.6) 40%, rgba(12,12,13,.85) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-lede { margin-top: 1.6rem; font-size: 1.2rem; color: #d8d6d0; max-width: 32rem; }
.contact-points { list-style: none; padding: 0; margin: 2rem 0 0; }
.contact-points li { padding: .5rem 0 .5rem 1.8rem; position: relative; color: var(--ink); }
.contact-points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); }
.contact-mail { margin-top: 2.6rem; color: var(--mute); }
.mail-link {
  display: inline-block; margin-top: .3rem;
  font-family: var(--serif); font-size: clamp(1.7rem, 3.2vw, 2.6rem); color: var(--ink); text-decoration: none;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat left bottom / 0% 2px;
  transition: background-size .5s var(--ease), color .3s;
  padding-bottom: .1rem;
  word-break: break-word;
}
.mail-link:hover { background-size: 100% 2px; color: var(--accent); }

.form {
  background: rgba(20,20,22,.88);
  border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  display: grid; gap: 1.1rem;
}
@supports (backdrop-filter: blur(10px)) { .form { background: rgba(20,20,22,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); } }
.field { display: grid; gap: .4rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label, .field legend { font-size: .85rem; color: var(--mute); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(198,244,50,.15); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field .is-invalid, .field input.is-invalid { border-color: #ff6b6b; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips legend { margin-bottom: .5rem; width: 100%; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--mute); transition: all .2s; }
.chips label:hover span { border-color: var(--ink); color: var(--ink); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--mute); cursor: pointer; }
.check input { margin-top: .25rem; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }
.check a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 1.4em; font-size: .95rem; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #ff8a8a; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form.is-done .field, .form.is-done .field-row, .form.is-done .check, .form.is-done button { display: none; }
.form.is-done .form-status { font-family: var(--serif); font-size: 2rem; line-height: 1.1; padding: 2rem 0; }

@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-claim { color: var(--mute); margin-top: 1rem; max-width: 22rem; }
.footer nav { display: grid; gap: .5rem; }
.footer nav a, .footer-contact a { color: var(--mute); text-decoration: none; transition: color .2s; }
.footer nav a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--dim); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--dim); text-decoration: none; }
.footer-legal a:hover { color: var(--ink); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { padding: calc(var(--nav-h) + 4rem) 0 6rem; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; margin-bottom: 2rem; }
.legal h2 { font-family: var(--serif); font-size: 1.8rem; margin: 2.6rem 0 .8rem; }
.legal p, .legal li { color: #cfcdc7; margin-bottom: .9rem; }
.legal ul { padding-left: 1.2rem; }
.legal .todo { background: rgba(198,244,50,.15); color: var(--accent); padding: 0 .3rem; border-radius: 4px; font-family: var(--mono); font-size: .85em; }
.legal-back { display: inline-block; margin-bottom: 2rem; color: var(--mute); text-decoration: none; font-family: var(--mono); font-size: .8rem; }
.legal-back:hover { color: var(--accent); }

/* ---------- Thank you ---------- */
.thanks { min-height: 100svh; display: grid; place-items: center; text-align: center; position: relative; isolation: isolate; overflow: clip; padding: 2rem; }
.thanks .hero-gradient { opacity: .6; }
.thanks h1 { font-family: var(--serif); font-size: clamp(3rem, 9vw, 7rem); line-height: .95; }
.thanks h1 em { color: var(--accent); }
.thanks p { color: #d8d6d0; max-width: 34rem; margin: 1.5rem auto 2rem; font-size: 1.15rem; }

/* ---------- Only truly intrusive motion is gated ---------- */
@media (prefers-reduced-motion: reduce) {
  .dot { animation: none; }
}

/* =========================================================
   Tipografía B · Schibsted Grotesk (sustituye a la serif)
   ========================================================= */
em { font-style: normal; }
.brand-logo { height: 30px; width: auto; display: block; }
.footer .brand-logo { height: 34px; }
.brand em { font-style: normal; font-weight: 400; font-size: 1em; }
.hero-title { font-weight: 800; letter-spacing: -.045em; line-height: .96; }
.h2 { font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.h2-xl { font-weight: 800; }
.marquee span { font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.2rem, 2vw, 1.7rem); }
.row-name { font-weight: 700; letter-spacing: -.035em; font-size: clamp(1.8rem, 4.2vw, 3.4rem); }
.why-card h3, .step h3 { font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.why-card h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
.step h3 { font-size: 1.55rem; }
.who-mono { font-weight: 800; letter-spacing: -.06em; }
.quote blockquote { font-weight: 700; letter-spacing: -.025em; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.1; }
.mail-link { font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.form.is-done .form-status { font-weight: 700; letter-spacing: -.02em; }
.legal h1, .thanks h1 { font-weight: 800; letter-spacing: -.04em; }
.legal h2 { font-weight: 700; letter-spacing: -.02em; }
.faq-list summary { font-weight: 600; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: .6rem;
  height: 58px; padding: 0 15px; border-radius: 999px;
  background: #25d366; color: #0b2e17; text-decoration: none; font-weight: 600; font-size: .95rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  opacity: 0; transform: translateY(16px) scale(.9);
  animation: waIn .6s 1.8s var(--ease) forwards;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.wa-float svg { flex: none; }
.wa-label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .45s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
  .wa-float:hover .wa-label { max-width: 220px; }
}
.wa-float.is-peek .wa-label { max-width: 220px; }
@keyframes waIn { to { opacity: 1; transform: none; } }
.footer-contact { display: grid; gap: .5rem; }
.btn-wa { margin-top: 1.4rem; background: transparent; border-color: #25d366; color: var(--ink); }
.btn-wa svg { color: #25d366; }
.btn-wa:hover { background: #25d366; color: #0b2e17; }
.btn-wa:hover svg { color: #0b2e17; }
@media (max-width: 860px) { .wa-float { right: 14px; bottom: 14px; height: 54px; padding: 0 13px; } }

/* ---------- Landings por sector ---------- */
.lp-nav-cta { padding: .65rem 1.1rem; font-size: .92rem; }
.lp-bullets { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; color: var(--ink); }
.lp-bullets li { border: 1px solid var(--line); border-radius: 999px; padding: .45rem .8rem; background: rgba(12,12,13,.45); }
.lp-bullets li::before { content: "✓ "; color: var(--accent); }
.steps-3 { grid-template-columns: repeat(3, 1fr); }
.quote-solo { max-width: 50rem; padding: clamp(1.8rem, 4vw, 3rem); }
.quote-solo blockquote { font-size: clamp(1.8rem, 4vw, 3rem); }
.quote-solo figcaption { font-size: 1.1rem; }
.lp .who-grid { align-items: start; }
@media (max-width: 960px) { .steps-3 { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .lp-nav-cta { padding: .55rem .9rem; font-size: .85rem; } }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80;
  max-width: 560px; margin-inline: auto;
  background: #161618; border: 1px solid var(--line); border-radius: 16px;
  padding: 1.1rem 1.2rem; box-shadow: 0 18px 40px rgba(0,0,0,.5);
  display: grid; gap: .9rem; font-size: .93rem; color: #d8d6d0;
  opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .4s var(--ease);
}
.cookie-banner.is-in { opacity: 1; transform: none; }
.cookie-banner a { color: var(--ink); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cookie-actions .btn { padding: .75rem 1rem; font-size: .92rem; }
