/* ============================================================
 CONSTRUREFORMAS GÓMEZ BEDOYA — demo. Scaffold chrome only; sections live in site.css.
 Font: Archivo variable (wdth 62–125, wght 100–900) for display, body and labels.
 Palette: plaster #F2EEE7 · oak #7A4E24 / #E0A15E · ink #1C1A17 (taken from the hero storyboard)
 ============================================================ */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 850; font-stretch: 75% 100%; font-display: swap; src: url('../font/archivo-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 850; font-stretch: 75% 100%; font-display: swap; src: url('../font/archivo-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
 /* palette — oak + ink on plaster (token names kept from the base template) */
 --green: #7A4E24;
 --green-ink: #6B4420;
 --green-bright: #E0A15E;
 --green-soft: #EBDDC9;
 --ink: #1C1A17;
 --ink-2: #27241F;
 --ink-3: #36322B;
 --paper: #F2EEE7;
 --paper-2: #E8E2D7;
 --card: #FBF9F5;
 --line: rgba(28, 26, 23, 0.14);
 --line-2: rgba(28, 26, 23, 0.07);
 --line-dark: rgba(255, 255, 255, 0.14);
 --muted: #5F594F;
 --muted-2: #9C9489;

 --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
 --font-body: "Archivo", -apple-system, system-ui, sans-serif;
 --font-mono: "Archivo", -apple-system, system-ui, sans-serif;

 --text-hero: clamp(2.55rem, 1.2rem + 5vw, 5.4rem);
 --text-h2: clamp(2rem, 1.2rem + 3vw, 3.7rem);
 --text-h3: clamp(1.35rem, 1.05rem + 1.1vw, 1.85rem);
 --text-lead: clamp(1.05rem, 0.98rem + 0.4vw, 1.28rem);

 --container: 1240px;
 --gutter: clamp(1.15rem, 0.6rem + 2.4vw, 2.75rem);
 --space-section: clamp(4.5rem, 3rem + 6vw, 9rem);
 --radius: 16px;
 --radius-sm: 10px;
 --radius-lg: 26px;

 --dur: 320ms;
 --dur-fast: 160ms;
 --ease: cubic-bezier(0.16, 1, 0.3, 1);
 --shadow: 0 24px 60px -34px rgba(28, 26, 23, 0.5);
 --shadow-sm: 0 14px 34px -24px rgba(28, 26, 23, 0.4);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
 font-family: var(--font-body);
 background: var(--paper);
 color: var(--ink);
 line-height: 1.6;
 font-size: 1.02rem;
 -webkit-font-smoothing: antialiased;
 text-rendering: optimizeLegibility;
 overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
 font-family: var(--font-display);
 font-weight: 700;
 line-height: 1.08;
 letter-spacing: -0.015em;
 font-variation-settings: "opsz" 96, "SOFT" 30;
}
::selection { background: var(--green); color: #fff; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; border-radius: 0 0 10px 0; z-index: 200; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- helpers ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.eyebrow {
 font-family: var(--font-mono);
 font-size: 0.73rem;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--green-ink);
 display: inline-flex;
 align-items: center;
 gap: 0.65rem;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--green); }
.eyebrow.on-dark { color: var(--green-bright); }
.eyebrow.on-dark::before { background: var(--green-bright); }
.section-head { display: grid; gap: 1.1rem; max-width: 660px; margin-bottom: clamp(2.2rem, 1rem + 4vw, 3.6rem); }
.section-head h2 { font-size: var(--text-h2); }
.section-head p { color: var(--muted); font-size: var(--text-lead); }

/* ---------- buttons ---------- */
.btn {
 display: inline-flex; align-items: center; gap: 0.55rem;
 font-family: var(--font-body); font-weight: 600; font-size: 0.97rem;
 padding: 0.9rem 1.5rem; border-radius: 8px;
 transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast), border-color var(--dur-fast);
 white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-ink); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translate(3px, -3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost.on-dark { border-color: var(--line-dark); color: #fff; }
.btn-ghost.on-dark:hover { border-color: #fff; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.02rem; }

/* ---------- header ---------- */
.site-header {
 position: sticky; top: 0; z-index: 100;
 background: color-mix(in srgb, var(--paper) 84%, transparent);
 backdrop-filter: blur(14px);
 border-bottom: 1px solid transparent;
 transition: border-color var(--dur) var(--ease);
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.brand .mono { font-size: 1.75rem; letter-spacing: -0.06em; color: var(--green); font-variation-settings: "opsz" 144, "SOFT" 0; }
.brand .mono .g { color: var(--muted-2); }
.brand .word { display: grid; gap: 0.18rem; font-family: var(--font-body); }
.brand .word .w1 { font-weight: 600; font-size: 0.86rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink); }
.brand .word .w2 { font-family: var(--font-mono); font-weight: 500; font-size: 0.58rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.site-footer .brand .word .w1 { color: #fff; }
.site-footer .brand .word .w2 { color: var(--muted-2); }
.site-footer .brand .mono { color: var(--green-bright); }
.lang { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; padding: 0.55rem 0.7rem; border: 1.5px solid var(--line); border-radius: 8px; color: var(--muted); transition: color var(--dur-fast), border-color var(--dur-fast); }
.lang:hover { color: var(--ink); border-color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 2rem; font-weight: 500; font-size: 0.95rem; }
.nav-mobile-cta { display: none; }
@media (max-width: 760px) { .nav-mobile-cta { display: block; } }
.nav-links a { color: var(--muted); transition: color var(--dur-fast); position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--green); }
.header-cta { display: flex; align-items: center; gap: 0.9rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; transition: transform var(--dur); }

/* ---------- hero (full-width statement) ---------- */
.hero { padding-top: clamp(3rem, 2rem + 4vw, 6rem); padding-bottom: 0; }
.hero-top { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: end; }
.hero h1 { font-size: var(--text-hero); letter-spacing: -0.025em; margin-top: 1.5rem; font-weight: 700; }
.hero h1 .accent { color: var(--green); }
.hero-aside { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 0.4rem; }
.hero-aside p { color: var(--muted); font-size: var(--text-lead); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-metrics {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 1.5rem;
 margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
 padding-top: 1.8rem;
 border-top: 1px solid var(--line);
}
.hero-metric .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.7rem); letter-spacing: -0.03em; }
.hero-metric .lbl { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }
.hero-metric .num .u { color: var(--green); }

/* hero image band */
.hero-band { margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); position: relative; }
.hero-band-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; background: var(--paper-2); }
.hero-band-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-band .cred {
 position: absolute; left: clamp(1rem, 0.5rem + 2vw, 2.4rem); bottom: -26px;
 background: var(--card); border-radius: var(--radius-sm); padding: 1rem 1.3rem;
 box-shadow: var(--shadow); display: flex; align-items: center; gap: 1.1rem;
}
.hero-band .cred .c-num { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--green); white-space: nowrap; }
.hero-band .cred .c-txt { font-size: 0.85rem; color: var(--muted); max-width: 22ch; }

/* ---------- logo wall ---------- */
.logos { border-block: 1px solid var(--line); }
.logos-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: 2rem; }
.logos .lead { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); flex: 0 0 auto; }
.logos .row { display: flex; align-items: center; gap: clamp(1.4rem, 0.5rem + 2.5vw, 3rem); flex-wrap: wrap; }
.logos .row span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; color: var(--muted-2); transition: color var(--dur-fast); }
.logos .row span:hover { color: var(--ink); }

/* ---------- capabilities index (rows) ---------- */
.idx { border-top: 1px solid var(--line); }
.idx-row {
 display: grid;
 grid-template-columns: 68px 1.1fr 1.4fr auto;
 gap: 1.5rem;
 align-items: center;
 padding: clamp(1.5rem, 1rem + 1.5vw, 2.3rem) 0.5rem;
 border-bottom: 1px solid var(--line);
 position: relative;
 transition: background var(--dur) var(--ease), padding-inline var(--dur) var(--ease);
}
.idx-row::before {
 content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
 background: var(--green); transform: scaleY(0); transform-origin: top; transition: transform var(--dur) var(--ease);
}
.idx-row:hover { background: var(--card); padding-inline: 1.4rem; }
.idx-row:hover::before { transform: scaleY(1); }
.idx-num { font-family: var(--font-mono); font-size: 0.85rem; color: var(--green-ink); }
.idx-title { font-family: var(--font-display); font-weight: 700; font-size: var(--text-h3); letter-spacing: -0.02em; }
.idx-desc { color: var(--muted); font-size: 0.98rem; max-width: 46ch; }
.idx-go { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background var(--dur), color var(--dur), border-color var(--dur); }
.idx-go svg { width: 18px; height: 18px; transition: transform var(--dur); }
.idx-row:hover .idx-go { background: var(--green); border-color: var(--green); color: #fff; }
.idx-row:hover .idx-go svg { transform: translate(2px, -2px); }

/* ---------- method (sticky editorial) ---------- */
.method { background: var(--paper-2); }
.method-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.method-head { position: sticky; top: 100px; }
.method-head h2 { font-size: var(--text-h2); margin-top: 1rem; }
.method-head p { color: var(--muted); margin-top: 1.1rem; font-size: var(--text-lead); }
.method-list { display: grid; gap: 0; }
.method-item { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.method-item:last-child { border-bottom: 1px solid var(--line); }
.method-item .mn { font-family: var(--font-mono); font-size: 0.82rem; color: var(--green-ink); padding-top: 0.35rem; white-space: nowrap; min-width: 11ch; }
.method-item h3 { font-size: 1.4rem; }
.method-item p { color: var(--muted); margin-top: 0.5rem; font-size: 0.98rem; }

/* ---------- case studies / results ---------- */
.cases-grid { display: grid; gap: 1.3rem; }
.case {
 display: grid;
 grid-template-columns: 1fr 1.1fr;
 gap: clamp(1.5rem, 1rem + 2vw, 3rem);
 align-items: center;
 background: var(--card);
 border: 1px solid var(--line-2);
 border-radius: var(--radius);
 overflow: hidden;
 transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.case:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.case:nth-child(even) .case-media { order: 2; }
.case-media { aspect-ratio: 5 / 4; overflow: hidden; }
.case-media img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.case-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.case-metric { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); letter-spacing: -0.03em; color: var(--green); margin: 0.7rem 0 0.2rem; }
.case h3 { font-size: 1.4rem; margin: 0.8rem 0 0.6rem; }
.case p { color: var(--muted); font-size: 0.98rem; }
.case .who { margin-top: 1.3rem; font-size: 0.88rem; font-weight: 600; }

/* ---------- stat band ---------- */
.stats { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.4rem, 1.5rem + 3vw, 4rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat-cell { border-left: 2px solid var(--green-bright); padding-left: 1.2rem; }
.stat-cell .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -0.03em; }
.stat-cell .lbl { color: rgba(255, 255, 255, 0.68); font-size: 0.92rem; margin-top: 0.3rem; }

/* ---------- featured testimonial ---------- */
.quote-feat { display: grid; grid-template-columns: 0.4fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.quote-feat .q-media img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.quote-feat blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 1rem + 2vw, 2.4rem); line-height: 1.28; letter-spacing: -0.02em; }
.quote-feat .q-mark { color: var(--green); font-size: 3rem; font-family: var(--font-display); line-height: 0.5; }
.quote-feat .q-who { margin-top: 1.6rem; display: flex; align-items: center; gap: 0.9rem; }
.quote-feat .q-who .n { font-weight: 600; }
.quote-feat .q-who .r { font-family: var(--font-mono); font-size: 0.75rem; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--green); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.6rem, 1.5rem + 4vw, 5rem); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 88% -20%, rgba(255,255,255,0.18), transparent 55%); pointer-events: none; }
.cta-band h2 { font-size: var(--text-h2); max-width: 18ch; position: relative; }
.cta-band p { max-width: 46ch; margin-top: 1rem; color: rgba(255,255,255,0.9); font-size: var(--text-lead); position: relative; }
.cta-band .actions { margin-top: 2rem; display: flex; gap: 0.8rem; flex-wrap: wrap; position: relative; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.72); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -12vw; top: -10rem; width: 52vw; height: 52vw; max-width: 720px; max-height: 720px; border-radius: 50%; border: 1px solid var(--line-dark); pointer-events: none; }
.site-footer::after { content: ""; position: absolute; right: -4vw; top: -4rem; width: 32vw; height: 32vw; max-width: 460px; max-height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(143,166,227,0.10), transparent 70%); pointer-events: none; }
/* signature marquee — transform only, duplicated groups, hidden from AT */
.marquee { border-bottom: 1px solid var(--line-dark); overflow: hidden; padding-block: 1.05rem; position: relative; z-index: 1; }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); white-space: nowrap; }
.marquee-group i { width: 5px; height: 5px; border-radius: 50%; background: var(--green-bright); opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }
.site-footer .wrap { position: relative; z-index: 1; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand { color: #fff; margin-bottom: 1.1rem; }
.footer-brand p { max-width: 34ch; font-size: 0.95rem; }
.footer-col .footer-h { font-family: var(--font-mono); font-weight: 500; font-size: 0.73rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.1rem; }
.footer-col a { display: block; padding: 0.35rem 0; color: rgba(255,255,255,0.72); transition: color var(--dur-fast); font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.8rem; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.03em; color: var(--muted-2); }
.footer-tag { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0; color: rgba(255,255,255,0.82); }
/* signature badge — slow-spinning circular wordmark, transform only */
.footer-badge { position: absolute; right: clamp(1rem, 2vw, 3rem); top: 4.6rem; width: 132px; height: 132px; z-index: 1; pointer-events: none; }
.footer-badge svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.footer-badge text { font-family: var(--font-mono); font-size: 9.6px; letter-spacing: 0.22em; text-transform: uppercase; fill: var(--muted-2); }
.footer-badge .badge-core { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; letter-spacing: -0.06em; color: var(--green-bright); }
.footer-badge .badge-core .g { color: var(--muted-2); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) {
 .footer-badge { position: relative; right: auto; top: auto; width: 112px; height: 112px; margin: 2.4rem auto 0; }
 .footer-top { padding-top: 2.2rem; }
 .footer-bottom { justify-content: flex-start; gap: 0.9rem; }
 .footer-tag { width: 100%; }
}
/* signature credit — typed in when the footer enters view; plain text without JS */
.credit { position: relative; padding-right: 0.72em; white-space: nowrap; letter-spacing: 0.1em; }
.credit a { display: inline-block; padding: 0.35rem 0; margin: -0.35rem 0; color: var(--green-bright); text-decoration: underline; text-underline-offset: 0.22em; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); transition: text-decoration-color var(--dur-fast); }
.credit a:hover, .credit a:focus-visible { text-decoration-color: currentColor; }
.credit .ch { transition: opacity 90ms linear; }
.credit.is-armed .ch { opacity: 0; }
.credit .caret { position: absolute; right: 0; top: 50%; width: 0.5em; height: 1.02em; margin-top: -0.51em; background: var(--green-bright); opacity: 0; pointer-events: none; }
.credit.is-armed .caret { opacity: 0.85; }
.credit.is-done .caret { animation: caret-blink 0.6s ease-in-out infinite alternate; }
@keyframes caret-blink { to { opacity: 0.1; } }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line-dark); display: grid; place-items: center; color: #fff; transition: background var(--dur-fast), border-color var(--dur-fast); }
.footer-social a:hover { background: var(--green-bright); border-color: var(--green-bright); color: var(--ink); }
.footer-social svg { width: 16px; height: 16px; }

/* ---------- page hero ---------- */
.page-hero { padding-top: clamp(3rem, 2rem + 3vw, 5rem); padding-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.page-hero .crumb { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 4.8rem); letter-spacing: -0.025em; max-width: 17ch; font-weight: 700; }
.page-hero p { color: var(--muted); font-size: var(--text-lead); max-width: 54ch; margin-top: 1.3rem; }

/* ---------- values / feature cards ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feat { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.feat .fi { width: 48px; height: 48px; border-radius: 11px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; margin-bottom: 1.3rem; }
.feat .fi svg { width: 24px; height: 24px; }
.feat h3 { font-size: 1.2rem; }
.feat p { color: var(--muted); margin-top: 0.5rem; font-size: 0.96rem; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.split h2 { font-size: var(--text-h2); margin-top: 1rem; }
.split p { color: var(--muted); margin-top: 1rem; font-size: var(--text-lead); }
.check-list { display: grid; gap: 1rem; margin-top: 1.8rem; }
.check-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.check-list .ci { width: 24px; height: 24px; border-radius: 6px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: 0 0 auto; margin-top: 3px; }
.check-list .ci svg { width: 14px; height: 14px; }
.check-list strong { font-weight: 600; }
.check-list span.t { color: var(--muted); font-size: 0.94rem; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.4rem; }
.chips span { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; padding: 0.45rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: var(--card); }
.member img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; filter: grayscale(0.2); }
.member h4 { font-family: var(--font-display); font-size: 1.1rem; margin-top: 1rem; }
.member p { font-family: var(--font-mono); font-size: 0.75rem; color: var(--green-ink); letter-spacing: 0.03em; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.contact-info .info-item { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:first-child { padding-top: 0; }
.contact-info .ii-ico { width: 44px; height: 44px; border-radius: 10px; background: var(--green-soft); color: var(--green-ink); display: grid; place-items: center; flex: 0 0 auto; }
.contact-info .ii-ico svg { width: 21px; height: 21px; }
.contact-info h2 { font-family: var(--font-display); font-size: 1.05rem; }
.contact-info p, .contact-info a { color: var(--muted); font-size: 0.96rem; }
.contact-info a { display: inline-block; padding: 0.3rem 0; margin: -0.3rem 0; }
.contact-info a:hover { color: var(--green-ink); }
.form-card { background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.82rem; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 0.96rem; padding: 0.82rem 1rem; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); transition: border-color var(--dur-fast), background var(--dur-fast); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 0.9rem; text-align: center; }

/* faq */
.faq { display: grid; gap: 1rem; max-width: 820px; }
.faq details { padding: 1.3rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.faq summary { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { color: var(--muted); margin-top: 0.7rem; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
 .hero-top { grid-template-columns: 1fr; align-items: start; }
 .hero-aside { padding-bottom: 0; }
 .method-grid { grid-template-columns: 1fr; }
 .method-head { position: static; }
 .case, .case:nth-child(even) .case-media { grid-template-columns: 1fr; }
 .case-media, .case:nth-child(even) .case-media { order: 0; aspect-ratio: 16 / 9; }
 .split { grid-template-columns: 1fr; }
 .split-media { max-width: 480px; }
 .quote-feat { grid-template-columns: 1fr; }
 .quote-feat .q-media { max-width: 260px; }
 .contact-grid { grid-template-columns: 1fr; }
 .team-grid { grid-template-columns: repeat(2, 1fr); }
 .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
 .eyebrow, .hero-metric .lbl, .case-tag, .footer-col .footer-h, .page-hero .crumb { font-size: 0.76rem; }
 .brand .word .w2 { font-size: 0.62rem; }
 .field input, .field select, .field textarea { font-size: 1rem; }
 .nav-links, .header-cta .btn-primary { display: none; }
 .brand .word .w2 { white-space: nowrap; letter-spacing: 0.2em; }
 .brand .mono { font-size: 1.55rem; }
 .nav-toggle { display: block; }
 .hero-metrics { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
 .hero-band-img { aspect-ratio: 16 / 11; }
 .idx-row { grid-template-columns: 44px 1fr; gap: 0.4rem 1rem; }
 .idx-desc { grid-column: 2; }
 .idx-go { display: none; }
 .stats { grid-template-columns: 1fr 1fr; }
 .footer-top { grid-template-columns: 1fr 1fr; }
 .footer-bottom { justify-content: flex-start; }
 .field-row { grid-template-columns: 1fr; }
 .logos-inner { justify-content: flex-start; }

 .nav-links.open { display: flex; position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 1rem var(--gutter) 1.5rem; z-index: 99; }
 .nav-links.open li { width: 100%; }
 .nav-links.open a { display: block; padding: 0.9rem 0; width: 100%; border-bottom: 1px solid var(--line-2); font-size: 1.05rem; }
 .nav-links.open .nav-mobile-cta { width: 100%; padding-top: 1rem; }
 .nav-links.open .nav-mobile-cta { border: 0; }
 .nav-links.open .nav-mobile-cta a { display: inline-flex; width: auto; border: 0; padding: 0.9rem 1.4rem; color: #fff; font-size: 0.97rem; }
}
@media (max-width: 480px) {
 .hero-metrics { grid-template-columns: 1fr 1fr; }
 .stats { grid-template-columns: 1fr; }
 .footer-top { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 1.6rem 1.2rem; }
 .footer-brand { grid-column: 1 / -1; }
 .team-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
 .js [data-reveal] { opacity: 1; transform: none; }
 .marquee-track { animation: none; }
 .footer-badge svg { animation: none; }
 .credit.is-armed .ch { opacity: 1; }
 .credit .caret { display: none; }
}

/* ============================================================
 SIGNATURE FOOTER MOTIFS — one kinetic + one ornament + one reveal per client
 (see ~/.claude/skills/idea-to-site/references/signature-footers.md)
 Rules: transform/opacity only, honours prefers-reduced-motion, readable with JS off.
 ============================================================ */

/* --- kinetic: giant wordmark (rise / draw / roll / scramble) --- */
.fm-giant { position: relative; z-index: 1; overflow: hidden; padding: clamp(2rem, 1rem + 4vw, 4.5rem) var(--gutter) 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 1rem + 15vw, 13rem); line-height: 0.9; letter-spacing: -0.05em; color: #fff; white-space: nowrap; user-select: none; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.fm-giant .ch { display: inline-block; }
.js .fm-giant-rise .ch, .js .fm-giant-roll .ch { opacity: 0; transform: translateY(0.45em); transition: transform 1s var(--ease) calc(var(--d) * 85ms), opacity 0.7s ease-out calc(var(--d) * 85ms); }
.js .fm-giant-roll .fm-giant-word { display: inline-block; overflow: hidden; }
.js .fm-giant-roll .ch { transform: translateY(1.05em); opacity: 1; }
.js .fm-giant-rise.is-in .ch, .js .fm-giant-roll.is-in .ch { opacity: 1; transform: none; }
.js .fm-giant-draw .ch { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.85); transition: color 0.9s ease-out calc(0.6s + var(--d) * 110ms), -webkit-text-stroke-color 0.9s ease-out calc(0.6s + var(--d) * 110ms), transform 0.9s var(--ease) calc(var(--d) * 90ms); transform: translateY(0.25em); }
.js .fm-giant-draw.is-in .ch { color: #fff; -webkit-text-stroke-color: transparent; transform: none; }
.fm-scramble .ch { font-variant-numeric: tabular-nums; }
.js .fm-scramble:not(.is-in) .ch { opacity: 0.25; }
.js .fm-scramble.is-in .ch { transition: opacity 0.4s; opacity: 1; }

/* --- kinetic: rotating tagline word --- */
.fm-rotator { position: relative; z-index: 1; padding: clamp(2rem, 1rem + 3vw, 3.5rem) var(--gutter) 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 1rem + 4vw, 4.2rem); letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.fm-rotator .rslot { display: inline-grid; vertical-align: top; overflow: hidden; color: var(--green-bright); }
.fm-rotator .rw { grid-area: 1 / 1; opacity: 0; transform: translateY(110%); transition: transform 0.7s var(--ease), opacity 0.5s; }
.fm-rotator .rw.is-on { opacity: 1; transform: none; }
.fm-rotator .rw.is-off { opacity: 0; transform: translateY(-110%); }

/* --- ornament: orbiting dots around the monogram --- */
.fm-orbit { position: absolute; right: clamp(1rem, 3vw, 4rem); top: 4.2rem; width: 150px; height: 150px; z-index: 1; pointer-events: none; }
.fm-orbit .orbit-core { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.06em; color: var(--green-bright); }
.fm-orbit .orbit-core .g { color: var(--muted-2); }
.fm-orbit .orbit-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-dark); animation: spin 18s linear infinite; }
.fm-orbit .orbit-ring.r2 { inset: 18px; animation-duration: 12s; animation-direction: reverse; }
.fm-orbit .orbit-ring.r3 { inset: 36px; animation-duration: 8s; }
.fm-orbit .orbit-ring i { position: absolute; top: -4px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 12px var(--green-bright); }

/* --- ornament: breathing rings --- */
.fm-rings { position: absolute; right: -6vw; bottom: -6vw; width: 40vw; height: 40vw; max-width: 520px; max-height: 520px; pointer-events: none; }
.fm-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--green-bright); opacity: 0; animation: ring-breathe 7s ease-out infinite; }
.fm-rings i:nth-child(2) { animation-delay: 2.3s; }
.fm-rings i:nth-child(3) { animation-delay: 4.6s; }
@keyframes ring-breathe { 0% { transform: scale(0.55); opacity: 0.35; } 100% { transform: scale(1.15); opacity: 0; } }

/* --- ornament: drifting brand silhouette --- */
.fm-silhouette { position: absolute; right: -0.15em; bottom: -0.32em; font-family: var(--font-display); font-weight: 700; font-size: clamp(14rem, 40vw, 34rem); line-height: 1; letter-spacing: -0.08em; color: #fff; opacity: 0.045; pointer-events: none; user-select: none; animation: drift 26s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-3%, -4%) rotate(-2deg); } }

/* --- ornament: aurora glow --- */
.fm-aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fm-aurora i { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; border-radius: 50%; filter: blur(60px); opacity: 0.16; background: radial-gradient(circle, var(--green-bright), transparent 65%); animation: aurora 22s ease-in-out infinite alternate; }
.fm-aurora .a1 { right: -20vw; top: -30vw; }
.fm-aurora .a2 { left: -25vw; bottom: -35vw; animation-delay: -11s; background: radial-gradient(circle, var(--green), transparent 65%); opacity: 0.28; }
@keyframes aurora { to { transform: translate(8%, 10%) scale(1.15); } }

/* --- ornament: constellation --- */
.fm-constellation { position: absolute; right: clamp(1rem, 4vw, 5rem); top: 3.5rem; width: min(42vw, 420px); height: auto; pointer-events: none; stroke: var(--line-dark); stroke-width: 0.35; fill: var(--green-bright); }
.fm-constellation circle { animation: twinkle 3.6s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -0.7s); transform-box: fill-box; transform-origin: center; }
@keyframes twinkle { from { opacity: 0.35; transform: scale(0.7); } to { opacity: 1; transform: scale(1.4); } }

/* --- ornament: film — a generated film's frame behind the kinetic wordmark (dark footers; Vectoria 2026-10-19) --- */
.fm-film { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fm-film img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; opacity: 0.55; }
.fm-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, color-mix(in oklab, var(--ink) 35%, transparent) 30%, color-mix(in oklab, var(--ink) 80%, transparent) 62%, var(--ink) 100%); }

/* --- ornament: grain (static texture, no motion) --- */
.fm-grain { position: absolute; inset: 0; pointer-events: none; opacity: 0.07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* --- reveal: line draw / mask wipe (rise is the default data-reveal) --- */
.js .reveal-line .footer-top { border-bottom-color: transparent; position: relative; }
.js .reveal-line .footer-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--green-bright); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.2s; }
.js .reveal-line.is-in .footer-top::after { transform: scaleX(1); }
.js .reveal-line .footer-col { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease-out, transform 0.7s var(--ease); }
.js .reveal-line.is-in .footer-col { opacity: 1; transform: none; }
.js .reveal-line.is-in .footer-col:nth-child(3) { transition-delay: 0.12s; }
.js .reveal-line.is-in .footer-col:nth-child(4) { transition-delay: 0.24s; }
.js .reveal-wipe .footer-top { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease); }
.js .reveal-wipe.is-in .footer-top { clip-path: inset(0 0 0 0); }

/* --- kinetic: road — asphalt lane, centre dashes run toward the rider (motorcycle / automotive / travel) --- */
.fm-road { position: relative; z-index: 1; height: 76px; background: #262B27; border-block: 3px solid rgba(255,255,255,0.85); overflow: hidden; display: flex; align-items: center; }
.fm-road .lane { position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; width: calc(100% + 120px); background: repeating-linear-gradient(90deg, #F2C200 0 64px, transparent 64px 120px); animation: lane 0.7s linear infinite; }
.fm-road .post { position: relative; z-index: 1; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; background: #262B27; padding: 0.35rem 0.8rem; margin-inline: var(--gutter); border: 1px solid rgba(255,255,255,0.4); border-radius: 2px; white-space: nowrap; }
.fm-road .post + .post { margin-left: auto; }
@keyframes lane { to { transform: translateX(-120px); } }

/* --- ornament: tach — rev counter; needle sweeps to the redline when the footer enters, then idles --- */
.fm-tach { position: absolute; right: clamp(1rem, 3vw, 4rem); top: 6.5rem; z-index: 1; width: clamp(170px, 14vw + 80px, 250px); pointer-events: none; }
.fm-tach svg { width: 100%; height: auto; overflow: visible; }
.fm-tach .dial { fill: none; stroke: var(--line-dark); stroke-width: 1.5; }
.fm-tach .red { fill: none; stroke: var(--green-bright); stroke-width: 5; }
.fm-tach .tick { stroke: rgba(255,255,255,0.5); stroke-width: 1.2; }
.fm-tach .tick.major { stroke: #fff; stroke-width: 2.2; }
.fm-tach .num { font-family: var(--font-display); font-weight: 700; font-size: 13px; fill: #fff; text-anchor: middle; dominant-baseline: middle; }
.fm-tach .unit { font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.18em; fill: var(--muted-2); text-anchor: middle; }
.fm-tach .needle { transform-box: view-box; transform-origin: 100px 100px; transform: rotate(-94deg); }
.js .fm-tach .needle { transform: rotate(-120deg); }
.fm-tach .needle line { stroke: var(--green-bright); stroke-width: 3; stroke-linecap: round; }
.fm-tach .hub { fill: var(--ink); stroke: var(--green-bright); stroke-width: 3; }
.site-footer.is-in .fm-tach .needle { animation: tach-rev 2.4s cubic-bezier(0.3, 0, 0.2, 1) forwards, tach-idle 1.6s ease-in-out 2.4s infinite alternate; }
.site-footer .fm-tach.revving .needle { animation: none; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes tach-rev { 0% { transform: rotate(-120deg); } 45% { transform: rotate(96deg); } 58% { transform: rotate(84deg); } 100% { transform: rotate(-94deg); } }
@keyframes tach-idle { from { transform: rotate(-94deg); } to { transform: rotate(-88deg); } }

/* --- reveal: throttle — columns launch in with a speed skew, staggered by --i (set in markup or by nth-child) --- */
.js .reveal-throttle .footer-top > * { opacity: 0; transform: translateX(-56px) skewX(-14deg); transition: opacity 0.5s ease-out, transform 0.9s var(--ease); }
.js .reveal-throttle .footer-top > :nth-child(2) { transition-delay: 90ms; }
.js .reveal-throttle .footer-top > :nth-child(3) { transition-delay: 180ms; }
.js .reveal-throttle .footer-top > :nth-child(4) { transition-delay: 270ms; }
.js .reveal-throttle.is-in .footer-top > * { opacity: 1; transform: none; }
@media (max-width: 760px) {
 .fm-tach { position: relative; right: auto; top: auto; margin: 2.2rem auto 0; }
 .fm-road .post:first-child { display: none; }
}
@media (prefers-reduced-motion: reduce) {
 .fm-road .lane { animation: none; }
 .site-footer.is-in .fm-tach .needle, .js .fm-tach .needle { animation: none; transform: rotate(-94deg); }
 .js .reveal-throttle .footer-top > * { opacity: 1; transform: none; }
}

/* --- interaction: cursor glow (pointer devices only) / magnetic brand --- */
@media (hover: hover) and (pointer: fine) {
 .fm-i-glow::before { content: ""; position: absolute; width: 520px; height: 520px; left: 0; top: 0; border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(143,166,227,0.16), transparent 62%); transform: translate(var(--gx, -50%), var(--gy, -50%)); transition: opacity 0.5s; }
 .fm-i-glow:hover::before { opacity: 1; }
 .fm-i-magnet .footer-brand .brand { transition: transform 0.35s var(--ease); will-change: transform; }
}

@media (max-width: 760px) {
 .fm-orbit { position: relative; right: auto; top: auto; width: 120px; height: 120px; margin: 2.2rem auto 0; }
 .fm-constellation { position: relative; right: auto; top: auto; width: 70%; margin: 2rem auto 0; display: block; }
 .fm-rings { right: -30vw; bottom: -30vw; width: 80vw; height: 80vw; }
 .fm-silhouette { font-size: 11rem; }
}
@media (prefers-reduced-motion: reduce) {
 .fm-orbit .orbit-ring, .fm-rings i, .fm-silhouette, .fm-aurora i, .fm-constellation circle { animation: none; }
 .fm-rings i { opacity: 0.18; transform: scale(0.85); }
 .js .fm-giant .ch, .js .reveal-line .footer-col, .js .reveal-line .footer-top::after, .js .reveal-wipe .footer-top { opacity: 1; transform: none; clip-path: none; color: #fff; -webkit-text-stroke-color: transparent; transition: none; }
 .fm-rotator .rw { transition: none; }
}

/* ==========================================================================
   Construreformas Gómez Bedoya — page sections (structure after Hicknell:
   film hero → stacked offer → dark wood band → image tiles → call band).
   Tokens come from styles.css :root; the few added here are scrims and type.
   ========================================================================== */
:root {
  --scrim-left: linear-gradient(90deg, rgb(20 18 16 / 0.82) 0%, rgb(20 18 16 / 0.45) 42%, rgb(20 18 16 / 0) 70%);
  --on-dark: #fff;
  --on-dark-2: rgb(255 255 255 / 0.84);
  --text-display: clamp(3rem, 1.4rem + 7vw, 7.4rem);
  --stretch-display: 82%;
  --surface-light-footer: #ECE6DC;
  --danger: #A3311F;
  --icon-sm: 14px;
  --icon: 18px;
  --icon-lg: 20px;
  --tap: 44px;
  --rule: 2px;
  --rule-w: 28px;
  --nudge: 3px;
  --header-h: 76px;
  --check: 26px;
  --radius-pill: 999px;
  --dur-slow: 0.8s;
}

h1, h2, h3, h4 { font-variation-settings: normal; font-stretch: var(--stretch-display); font-weight: 760; letter-spacing: -0.02em; }
.eyebrow { font-weight: 600; letter-spacing: 0.16em; }
.eyebrow::before { width: var(--rule-w); height: var(--rule); }

/* ---------- header ---------- */
/* Opaque, no backdrop blur: the header sits over the scrubbing film, and a backdrop blur
   would re-rasterise on every seek frame (fixing-motion-performance, rule 7). */
.site-header { background: var(--paper); backdrop-filter: none; }
.brand .mono { font-stretch: 75%; font-weight: 850; letter-spacing: -0.04em; }
.brand .mono .g { color: var(--green-bright); }
.brand .word .w2 { letter-spacing: 0.18em; }
.header-phone { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 600; font-size: 0.93rem; color: var(--ink); min-height: var(--tap); }
.header-phone svg { width: var(--icon); height: var(--icon); color: var(--green); }
.header-phone:hover { color: var(--green-ink); }
.header-phone .ico { display: inline-flex; }
@media (max-width: 1080px) { .header-phone .num { display: none; } .header-phone { inline-size: var(--tap); justify-content: center; border: 1.5px solid var(--line); border-radius: 8px; } }

@media (max-width: 480px) {
  .header-cta { gap: 0.5rem; }
  .brand { gap: 0.55rem; }
  .brand .word .w1 { letter-spacing: 0.1em; font-size: 0.8rem; }
  .brand .word .w2 { letter-spacing: 0.12em; }
}

.btn-accent { background: var(--green-bright); color: var(--ink); }
.btn-accent:hover { background: var(--on-dark); transform: translateY(calc(var(--rule) * -1)); }
.btn-accent:hover svg { transform: translate(var(--nudge), calc(var(--nudge) * -1)); }

/* ---------- film hero (scrub) ---------- */
.fx-scrub-stage::after { background: var(--scrim-left); }
.fx-scrub-chapter > .wrap > * { max-width: 36rem; }
.fx-scrub-intro { padding-top: var(--header-h); }
.fx-scrub-intro h1 { font-size: var(--text-display); line-height: 0.92; letter-spacing: -0.035em; font-weight: 820; font-stretch: 75%; color: var(--on-dark); margin-top: 1.1rem; }
.fx-scrub-intro p { color: var(--on-dark-2); font-size: var(--text-lead); margin-top: 1.3rem; }
.fx-scrub-intro .hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
.fx-scrub-intro .fx-scrub-note { font-size: 0.8rem; margin-top: 2.4rem; color: var(--on-dark-2); }
.fx-scrub-chapter h2 { font-size: var(--text-h2); }
.fx-scrub-chapter p { font-size: var(--text-lead); margin-top: 1rem; }

/* ---------- stacked offer ---------- */
.stack-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.sticky-head { position: sticky; top: 7rem; margin-bottom: 0; }
.fx-stack { counter-reset: offer; }
.fx-stack-card { counter-increment: offer; border: 1px solid var(--line); background: var(--card); }
.fx-stack-card::before { content: counter(offer, decimal-leading-zero); display: block; font-weight: 800; font-stretch: 75%; font-size: 3.2rem; line-height: 1; color: var(--green); margin-bottom: 1.2rem; }
.fx-stack-card h3 { font-size: var(--text-h3); }
.fx-stack-card p { color: var(--muted); margin-top: 0.6rem; max-width: 46ch; }
@media (max-width: 900px) { .stack-grid { grid-template-columns: 1fr; } .sticky-head { position: static; margin-bottom: 1rem; } }

/* ---------- obra gris band ---------- */
.gris { background: var(--ink-2); color: var(--on-dark-2); padding-block: var(--space-section); }
.gris-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.gris-media img { border-radius: var(--radius); width: 100%; }
.gris h2 { color: var(--on-dark); font-size: var(--text-h2); margin-top: 1rem; }
.gris-body > p { margin-top: 1.1rem; font-size: var(--text-lead); }
.gris-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.4rem; margin-top: 2rem; }
.gris-list li { display: flex; align-items: center; gap: 0.6rem; color: var(--on-dark); font-weight: 500; }
.gris-list .ci { inline-size: var(--check); block-size: var(--check); border-radius: 50%; display: grid; place-items: center; background: var(--green-bright); color: var(--ink); flex: none; }
.gris-list .ci svg { width: var(--icon-sm); height: var(--icon-sm); }
@media (max-width: 900px) { .gris-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .gris-list { grid-template-columns: 1fr; } }

/* ---------- image tiles ---------- */
.spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 0.6rem + 1vw, 1.6rem); }
.space { display: grid; gap: 0.9rem; }
.space-media { overflow: hidden; border-radius: var(--radius); }
.space-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform var(--dur-slow) var(--ease); }
.space:hover .space-media img { transform: scale(1.04); }
.space-label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-stretch: 85%; font-size: 1.25rem; }
.space-label svg { width: var(--icon-lg); height: var(--icon-lg); color: var(--green); transition: transform var(--dur) var(--ease); }
.space:hover .space-label svg { transform: translate(var(--nudge), calc(var(--nudge) * -1)); }
.img-note { margin-top: 1.6rem; font-size: 0.88rem; color: var(--muted); }
.img-note a { color: var(--green-ink); font-weight: 600; text-decoration: underline; text-underline-offset: var(--nudge); }
@media (max-width: 760px) { .spaces { grid-template-columns: 1fr; } .space-media img { aspect-ratio: 4 / 3; } }

/* ---------- call band ---------- */
.cta-wide { background: var(--ink); color: var(--on-dark-2); padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.cta-wide-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: end; }
.cta-wide h2 { color: var(--on-dark); font-size: var(--text-h2); margin-top: 1rem; }
.cta-wide p { margin-top: 1rem; font-size: var(--text-lead); }
.cta-wide-actions { display: grid; gap: 1.1rem; justify-items: start; }
.cta-phone { display: grid; border-bottom: 1px solid var(--line-dark); padding-bottom: 0.9rem; inline-size: 100%; }
.cta-phone .lbl { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.cta-phone .num { font-weight: 800; font-stretch: 78%; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.05; color: var(--on-dark); letter-spacing: -0.02em; transition: color var(--dur-fast); }
.cta-phone:hover .num { color: var(--green-bright); }
@media (max-width: 900px) { .cta-wide-grid { grid-template-columns: 1fr; } }

/* ---------- inner pages ---------- */
.page-hero h1 { font-size: clamp(2.5rem, 1.4rem + 4.6vw, 5.2rem); font-stretch: 78%; font-weight: 800; line-height: 0.98; max-width: 16ch; }
.page-hero .crumb a { text-decoration: underline; text-underline-offset: var(--nudge); }
.svc-list { padding-top: 0; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 1rem + 3vw, 4.5rem); align-items: center; padding-block: clamp(2rem, 1rem + 3vw, 3.5rem); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media img { border-radius: var(--radius); width: 100%; }
.svc-num { font-weight: 800; font-stretch: 75%; font-size: 1rem; color: var(--green); letter-spacing: 0.08em; }
.svc-body h2 { font-size: var(--text-h2); margin-top: 0.4rem; }
.svc-body p { color: var(--muted); font-size: var(--text-lead); margin-top: 0.9rem; max-width: 44ch; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.chips li { font-size: 0.85rem; font-weight: 600; padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--card); }
@media (max-width: 900px) { .svc-row { grid-template-columns: 1fr; } .svc-row:nth-child(even) .svc-media { order: 0; } }

/* ---------- forms: visible field edges (WCAG 1.4.11), a real focus ring, inline errors ---------- */
:root { --field-edge: rgb(28 26 23 / 0.42); --ghost-edge: rgb(255 255 255 / 0.6); }
.field input, .field select, .field textarea { inline-size: 100%; min-inline-size: 0; border-color: var(--field-edge); background: var(--card); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: var(--nudge) solid var(--green); outline-offset: var(--rule); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-err { margin-top: 0.35rem; font-size: 0.86rem; font-weight: 600; color: var(--danger); }
.form-card .btn:disabled { opacity: 0.55; cursor: default; transform: none; }
.contact-grid > * { min-inline-size: 0; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.btn-ghost.on-dark { border-color: var(--ghost-edge); }

/* ---------- mobile menu + small screens ---------- */
.nav-links.open a[aria-current="page"]::after { content: none; }
.nav-links.open a[aria-current="page"] { color: var(--green-ink); font-weight: 700; }
@media (max-width: 480px) {
  .fx-scrub-intro .hero-actions .btn { inline-size: 100%; justify-content: center; }
}
@media (max-width: 360px) { .brand .word .w2 { display: none; } .header-cta { min-inline-size: 0; } }
.footer-col a, .contact-info a { padding-block: 0.5rem; }
.contact-info a { margin-block: -0.5rem; }
.page-hero .crumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.page-hero .crumb li + li::before { content: "/"; margin-right: 0.4rem; }

/* ---------- reduced motion: one still per chapter instead of the first frame under every chapter ---------- */
@media (prefers-reduced-motion: reduce) {
  .fx-scrub-stage { display: none; }
  .fx-scrub-chapter { background: var(--scrim-left), var(--still, none) center / cover no-repeat, var(--ink); }
}

/* ---------- stack: the sticky head needs the full row as its track ---------- */
.stack-head { align-self: stretch; }

/* ---------- footer: scaffold rings removed; light surface for the paper site ---------- */
.site-footer::before, .site-footer::after { content: none; }
.site-footer.surface-light { background: var(--surface-light-footer); color: var(--muted); border-top: 1px solid var(--line); }
.surface-light .brand .word .w1 { color: var(--ink); }
.surface-light .brand .word .w2, .surface-light .footer-col .footer-h, .surface-light .footer-bottom { color: var(--muted); }
.surface-light .brand .mono { color: var(--green); }
.surface-light .footer-col a { color: var(--ink); }
.surface-light .footer-col a:hover { color: var(--green-ink); }
.surface-light .footer-top { border-bottom-color: var(--line); }
.surface-light .footer-tag { color: var(--ink); font-weight: 700; font-stretch: 85%; }
.surface-light .credit a { color: var(--green-ink); }
.surface-light.reveal-line .footer-top::after { background: var(--green); }

@media (prefers-reduced-motion: reduce) {
  .space-media img, .space-label svg { transition: none; }
}

/* ==========================================================================
   Signature footer "C · Plano y metro" (chosen in D5 from three previews).
   Project-level motifs: tape (kinetic) + blueprint (ornament), reveal: line.
   Motion keys off .site-footer.is-in, which main.js sets.
   ========================================================================== */
:root {
  --fv-tape-h: 36px;
  --fv-case: 58px;
  --fv-case-radius: 14px;
  --fv-case-rim: 6px;
  --fv-mark: 80px;
  --fv-tick: 1px;
  --fv-tick-major: 2px;
  --fv-tick-gap: 8px;
  --fv-tick-major-gap: 40px;
  --fv-stroke: 1.5px;
  --fv-stroke-thin: 1px;
  --fv-draw: 1.2s;
  --fv-step: 220ms;
  --fv-fill: 0.6s;
  --fv-fill-delay: 1.6s;
  --fv-lamp-delay: 1.9s;
  --fv-plan-w: 260px;
  /* the blade fades out at the edge so no number is cut mid-glyph */
  --fv-fade: linear-gradient(90deg, var(--ink) 90%, transparent);
}

/* tape: unrolls once from the case; marks every 10 cm, never wrapping */
.fc-tape { display: flex; align-items: center; padding: 1.4rem var(--gutter); border-bottom: var(--fv-tick) solid var(--line); overflow: hidden; }
.fc-tape-case { position: relative; z-index: 1; flex: none; inline-size: var(--fv-case); block-size: var(--fv-case); border-radius: var(--fv-case-radius); background: var(--ink); box-shadow: inset 0 0 0 var(--fv-case-rim) var(--ink-3); }
.fc-tape-case::after { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: var(--green-bright); }
.fc-tape-blade { flex: 1; block-size: var(--fv-tape-h); overflow: hidden; -webkit-mask-image: var(--fv-fade); mask-image: var(--fv-fade); background: var(--green-bright); transform-origin: left center; transform: scaleX(0.04); transition: transform var(--fv-draw) var(--ease); }
.is-in .fc-tape-blade { transform: none; }
.fc-tape-track { display: flex; width: max-content; block-size: 100%;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 var(--fv-tick), transparent var(--fv-tick) var(--fv-tick-gap)) top left / 100% 28% no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 var(--fv-tick-major), transparent var(--fv-tick-major) var(--fv-tick-major-gap)) top left / 100% 48% no-repeat; }
.fc-tape-track span { inline-size: var(--fv-mark); padding: 0.95rem 0 0 0.3rem; font-size: 0.72rem; font-weight: 750; color: var(--ink); line-height: 1; }

/* blueprint: the hero's room as a plan, inside the footer grid so it never sits behind text */
.fv-c .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; }
.fc-plan-cell { align-self: start; }
.fc-plan { inline-size: 100%; max-inline-size: var(--fv-plan-w); }
.fc-plan path, .fc-plan rect { fill: none; stroke: var(--green); stroke-width: var(--fv-stroke); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset var(--fv-draw) var(--ease) calc(var(--d) * var(--fv-step)), fill var(--fv-fill) ease-out var(--fv-fill-delay); }
.fc-plan .o { stroke: var(--muted); stroke-width: var(--fv-stroke-thin); }
.fc-plan .l { fill: var(--green-bright); opacity: 0; transition: opacity var(--fv-fill) ease-out var(--fv-lamp-delay); }
.is-in .fc-plan path, .is-in .fc-plan rect { stroke-dashoffset: 0; }
.is-in .fc-plan .k { fill: var(--green-soft); }
.is-in .fc-plan .l { opacity: 1; }
@media (max-width: 1020px) { .fv-c .footer-top { grid-template-columns: 1fr 1fr 1fr; } .fc-plan-cell { grid-column: 1 / -1; } }
@media (max-width: 760px) { .fv-c .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .fc-tape { padding-block: 1rem; } .fc-plan { max-inline-size: calc(var(--fv-plan-w) * 0.8); } }

@media (prefers-reduced-motion: reduce) {
  .fc-tape-blade, .fc-plan path, .fc-plan rect, .fc-plan .l { transition: none; transform: none; stroke-dashoffset: 0; opacity: 1; }
  .fc-plan .k { fill: var(--green-soft); }
}

/* ==========================================================================
   LYVEK SIGNATURE EFFECTS (demo mode) — loaded only by pages that use one.
   Catalogue: references/signature-effects.md. Motion lives in js/effects.js;
   this file owns layout, the no-JS state and the reduced-motion state.
   ========================================================================== */

/* Baseline on every demo: cross-document page transitions (progressive). */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 420ms; animation-timing-function: var(--ease); }

/* ---------- split headline ---------- */
.fx-word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.fx-word > span { display: inline-block; }
/* Pre-hidden only while effects.js is pending; the failsafe reveals it if the module never runs. */
.fx-pending [data-fx="split"] .fx-word > span { transform: translateY(110%); animation: fx-failsafe 0s 2.5s forwards; }
@keyframes fx-failsafe { to { transform: none; } }

/* ---------- scrub (generated film follows scroll) ---------- */
.fx-scrub { position: relative; height: var(--fx-scrub-len, 320vh); background: var(--ink); color: #fff; }
.fx-scrub-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.fx-scrub-stage video,
.fx-loop video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-scrub-stage::after,
.fx-loop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.55)); pointer-events: none; }
.fx-scrub-chapters { position: relative; z-index: 1; margin-top: -100svh; }
.fx-scrub-chapter { min-height: 100svh; display: flex; align-items: center; }
.fx-scrub-chapter > .wrap > * { max-width: 34rem; }
.fx-scrub-chapter h2 { color: #fff; }
.fx-scrub-chapter p { color: rgba(255, 255, 255, 0.86); }

/* ---------- loop (ambient generated clip) ---------- */
.fx-loop { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink); }
.fx-loop > .wrap { position: relative; z-index: 1; }

/* ---------- parallax ---------- */
.fx-parallax { position: relative; overflow: hidden; }
.fx-parallax [data-depth] { will-change: transform; }

/* ---------- carousel ---------- */
.fx-carousel { --card-w: min(82vw, 420px); }
.fx-car-track {
  position: relative; /* Motion measures card offsets against a positioned scroll container */
  display: flex; gap: clamp(0.9rem, 0.6rem + 1vw, 1.4rem);
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter); padding: 1.5rem var(--gutter) 2rem;
  scrollbar-width: none; perspective: 1200px;
}
.fx-car-track::-webkit-scrollbar { display: none; }
.fx-car-track:focus-visible { outline: 2px solid var(--green-bright); outline-offset: -2px; }
.fx-card { flex: 0 0 var(--card-w); scroll-snap-align: start; }
.fx-card > * { height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow-sm); transform-style: preserve-3d; }
.fx-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fx-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.fx-car-ui { display: flex; align-items: center; gap: 1rem; padding-inline: var(--gutter); max-width: var(--container); margin-inline: auto; }
.fx-car-ui button {
  inline-size: 44px; block-size: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card); color: var(--ink); cursor: pointer; font-size: 1.1rem;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast);
}
.fx-car-ui button:hover { transform: scale(1.06); }
.fx-car-ui button:focus-visible { outline: 2px solid var(--green-bright); outline-offset: 2px; }
.fx-car-progress { flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.fx-car-progress span { display: block; height: 100%; background: var(--green-bright); transform-origin: left; transform: scaleX(0.08); }

/* ---------- stack ---------- */
/* The gap is the scroll room each card is held for before the next one covers it. */
.fx-stack { display: grid; gap: clamp(2rem, 28vh, 16rem); padding-bottom: 8vh; }
.fx-stack-card { position: sticky; top: calc(5.5rem + var(--i, 0) * 1rem); transform-origin: top center; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .fx-pending [data-fx="split"] .fx-word > span { transform: none; animation: none; }
  .fx-scrub { height: auto; }
  .fx-scrub-stage { position: absolute; inset: 0; height: auto; }
  .fx-scrub-chapters { margin-top: 0; }
  .fx-car-ui button { transition: none; }
}
