/* Triple B Signs & Vinyl — v2 (multipágina + GSAP)
   Negro puro, blanco, asfalto, gris vinil, papel de prueba.
   Magenta (CutContour) solo para líneas de corte / medidas / foco. */
:root {
  --black: #000; --white: #fff; --asphalt: #1a1a1a; --asphalt-2: #262626;
  --vinyl: #8c8c8c; --paper: #ededea; --cut: #ec008c;
  --line-dark: #333; --line-light: #cfcfcb;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --wrap: 1280px; --gut: clamp(20px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 80px; }
body { margin: 0; font: 400 1.0625rem/1.55 var(--body); color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); text-transform: uppercase; line-height: .9; margin: 0; }
h2 { font-size: clamp(2.9rem, 6.8vw, 6rem); font-weight: 900; }
h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 200; background: var(--white); color: var(--black); padding: 10px 14px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--cut); outline-offset: 3px; }
.line-mask { padding-block: .1em; margin-block: -.1em; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; font: 700 1.05rem/1 var(--body); font-stretch: 80%; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; border: 2px solid currentColor; cursor: pointer; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); position: relative; overflow: hidden; isolation: isolate; transition: color .3s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%) skewX(-20deg); transition: transform .45s cubic-bezier(.7,0,.2,1); }
.btn:hover::before { transform: translateX(0) skewX(0); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9rem; }
.btn--light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--light::before { background: var(--cut); }
.btn--light:hover { color: var(--white); }
.btn--line { background: transparent; color: var(--white); }
.btn--line::before { background: var(--white); }
.btn--line:hover { color: var(--black); }
.btn--dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn--dark::before { background: var(--cut); }
.more { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; text-decoration: none; border-bottom: 3px solid currentColor; padding-bottom: 3px; }
.more::after { content: ""; width: 18px; height: 10px; background: currentColor; transform: skewX(-30deg); transition: transform .3s; }
.more:hover::after { transform: skewX(-30deg) translateX(6px); }
.more--light { color: var(--white); }

/* encabezado */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--white); transition: transform .45s cubic-bezier(.7,0,.2,1), background .3s; }
.top.is-solid { background: rgba(0,0,0,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line-dark); }
.top.is-hidden { transform: translateY(-100%); }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font: 900 1.5rem/.85 var(--display); text-transform: uppercase; }
.brand__name small { display: block; font: 500 .72rem/1.2 var(--body); text-transform: none; letter-spacing: .04em; color: #bdbdbd; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.top__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid #555; }
.lang button { background: none; border: 0; color: #9a9a9a; font: 700 .8rem var(--body); padding: 7px 9px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--black); }
.menu { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 10px; cursor: pointer; }
.menu i { display: block; height: 2px; background: var(--white); margin: 6px 0; transition: transform .2s; }
.menu[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* cortina de cambio de página */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--black); display: grid; place-items: center; pointer-events: none; transform: translateY(-100%); }
.curtain img { width: 90px; }
html.js-anim .curtain { transform: none; }

/* ============ INICIO: HERO ============ */
.hero { background: var(--black); color: var(--white); position: relative; height: 100svh; min-height: 640px; display: flex; flex-direction: column; overflow: hidden; padding-top: 100px; }
.hero__lines { position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background: repeating-radial-gradient(ellipse at 10% 120%, transparent 0 52px, #fff 53px 54px, transparent 55px 104px); }
.hero__copy { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 48px; align-items: end; width: 100%; }
.hero__where { font-weight: 600; color: #bdbdbd; margin-bottom: 14px; }
.hero__title { font-size: clamp(3.8rem, min(8.5vw, 13vh), 9rem); font-weight: 900; line-height: .8; }
.hero__lead { font-size: 1.15rem; color: #e2e2e2; max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__stage { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 18px; min-height: 0; }
.trailer { width: min(100%, 1500px, calc((100svh - 380px) * 2)); min-width: min(100%, 520px); height: auto; margin: 10px auto 0; display: block; overflow: visible; }
.hero__meta { position: relative; display: flex; justify-content: space-between; gap: 20px; min-height: 26px; width: 100%; }
.hero__hint { color: #bdbdbd; display: flex; align-items: center; gap: 10px; }
.hero__hint::before { content: ""; width: 2px; height: 22px; background: var(--cut); animation: hint 1.6s infinite; }
@keyframes hint { 0%,100% { transform: scaleY(.3); transform-origin: top; } 50% { transform: scaleY(1); } }
.hero__state { font: 800 1.35rem/1 var(--display); text-transform: uppercase; margin-left: auto; }
.hero__state--after { position: absolute; right: var(--gut); opacity: 0; }

/* marquesina */
.marquee { background: var(--white); color: var(--black); border-block: 2px solid var(--black); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; }
.marquee span { font: 900 clamp(2.4rem, 5.5vw, 4.6rem)/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 2px var(--black); }
.marquee i { width: 44px; height: 26px; background: var(--black); transform: skewX(-30deg); flex: none; }

/* intro */
.intro { padding: clamp(80px, 12vw, 160px) 0; }
.intro__big { font: 800 clamp(2rem, 4.4vw, 3.9rem)/1.02 var(--display); text-transform: uppercase; max-width: 22ch; }
.promises { list-style: none; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.promises li { border-top: 2px solid var(--black); padding-top: 18px; display: grid; gap: 6px; }
.promises b { font: 800 1.6rem/1 var(--display); text-transform: uppercase; }
.promises span:last-child { color: #444; }
.stripe-ico { display: flex; gap: 4px; margin-bottom: 8px; }
.stripe-ico::before, .stripe-ico::after { content: ""; width: 20px; height: 12px; background: var(--black); transform: skewX(-30deg); }
.stripe-ico::after { background: none; box-shadow: inset 0 0 0 2px var(--black); }

/* servicios en horizontal */
.hscroll { background: var(--black); color: var(--white); padding: clamp(72px, 9vw, 110px) 0 48px; overflow: hidden; }
.hscroll__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.hscroll__track { display: flex; gap: clamp(20px, 3vw, 40px); padding: 0 var(--gut); width: max-content; }
.panel { width: min(78vw, 980px); flex: none; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: end; }
.panel__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--asphalt); position: relative; }
.panel__img img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.panel__img img.pos-top { object-position: 50% 0; }
.panel__img--light { background: var(--paper); }
.panel__img img.contain { object-fit: contain; padding: 4%; }
.panel__txt h3 { font-size: clamp(2.2rem, 3.8vw, 3.6rem); font-weight: 900; }
.panel__txt p { margin: 14px 0 22px; color: #cfcfcf; max-width: 34ch; }
.hscroll__progress { margin-top: 40px; }
.hscroll__progress i { display: block; height: 3px; background: var(--white); transform-origin: left; transform: scaleX(0); }

/* cotizar (tiles) */
.pricing { padding: clamp(80px, 11vw, 150px) 0; }
.head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head p { max-width: 46ch; color: #3d3d3d; font-size: 1.1rem; }
.head--dark p { color: #c4c4c4; }
.head .more { justify-self: start; }
.ptiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ptile { display: flex; align-items: center; gap: 18px; padding: 26px; background: var(--paper); text-decoration: none; transition: background .3s, color .3s; position: relative; transform-style: preserve-3d; }
.ptile svg { width: 52px; height: 52px; flex: none; }
.ptile b { font: 800 1.8rem/1 var(--display); text-transform: uppercase; }
.ptile::after { content: ""; position: absolute; right: 22px; width: 22px; height: 12px; background: currentColor; transform: skewX(-30deg); opacity: 0; transition: opacity .3s, right .3s; }
.ptile:hover { background: var(--black); color: var(--white); }
.ptile:hover::after { opacity: 1; right: 18px; }

/* proceso */
.process { padding: clamp(80px, 11vw, 150px) 0; background: var(--paper); }
.process__in { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.process__side { position: sticky; top: 110px; }
.process__side p { margin-top: 24px; font-size: 1.15rem; max-width: 36ch; color: #333; }
.steps { position: relative; padding-left: 0; }
.steps ol { list-style: none; margin: 0; padding: 0; }
.steps__bar { position: absolute; left: 39px; top: 20px; bottom: 20px; width: 3px; background: var(--line-light); }
.steps__bar i { display: block; height: 100%; background: var(--black); transform-origin: top; }
.steps li { display: grid; grid-template-columns: 80px 1fr; gap: 24px; padding: 26px 0 46px; position: relative; }
.steps__n { width: 80px; height: 80px; display: grid; place-items: center; background: var(--paper); font: 900 3.6rem/1 var(--display); color: transparent; -webkit-text-stroke: 2px var(--black); position: relative; transition: color .4s, background .4s; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.steps li.is-on .steps__n { background: var(--black); color: var(--white); -webkit-text-stroke: 0; }
.steps h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); padding-top: 10px; }
.steps p { margin-top: 10px; color: #3d3d3d; max-width: 44ch; }

/* trabajos destacados */
.featured { background: var(--black); color: var(--white); padding: clamp(80px, 11vw, 150px) 0 clamp(100px, 14vw, 200px); overflow: hidden; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.cols__c { display: grid; gap: 18px; }
.cols figure { margin: 0; overflow: hidden; background: var(--asphalt); }
.cols img { width: 100%; height: auto; }

/* cierre */
.cta-end { background: var(--white); color: var(--black); border-top: 2px solid var(--black); position: relative; overflow: hidden; }
.cta-end__in { padding-top: clamp(80px, 11vw, 150px); padding-bottom: clamp(80px, 11vw, 150px); position: relative; z-index: 1; }
.cta-end__kicker { font-weight: 600; font-size: 1.15rem; }
.cta-end__title { font-size: clamp(4rem, 12vw, 11rem); font-weight: 900; line-height: .82; margin: 14px 0 36px; }
.cta-end .btn--light { background: var(--black); color: var(--white); border-color: var(--black); }
.cta-end .btn--light::before { background: var(--cut); }
.cta-end .btn--line { color: var(--black); }
.cta-end .btn--line::before { background: var(--black); }
.cta-end .btn--line:hover { color: var(--white); }
.cta-end__stripes { position: absolute; right: -6vw; top: 0; bottom: 0; width: 46vw; opacity: .9;
  background: repeating-linear-gradient(-60deg, #000 0 34px, transparent 34px 70px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }

/* pie */
.foot { background: var(--black); color: #cfcfcf; }
.foot__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.foot__tag { margin-top: 16px; max-width: 28ch; }
.foot nav { display: grid; gap: 10px; align-content: start; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--white); text-decoration: underline; }
.foot__contact { display: grid; gap: 10px; align-content: start; }
.foot__social { display: flex; gap: 20px; margin-top: 8px; font-weight: 700; color: var(--white); }
.foot__legal { border-top: 1px solid var(--line-dark); padding-top: 22px; padding-bottom: 28px; font-size: .85rem; color: #888; }
.float { display: none; }

/* ============ SUBPÁGINAS ============ */
.phero { background: var(--black); color: var(--white); padding: 150px 0 clamp(56px, 7vw, 90px); position: relative; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; opacity: .1; background: repeating-radial-gradient(ellipse at 100% 120%, transparent 0 52px, #fff 53px 54px, transparent 55px 104px); pointer-events: none; }
.phero__in { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.phero__crumb { color: #9a9a9a; font-weight: 600; margin-bottom: 18px; }
.phero__crumb a { text-decoration: none; }
.phero h1 { font-size: clamp(4rem, 10vw, 9.5rem); font-weight: 900; line-height: .8; }
.phero p { font-size: 1.15rem; color: #d6d6d6; max-width: 42ch; }
.phero__dias { position: relative; height: clamp(240px, 30vw, 380px); }
.dia { position: absolute; margin: 0; padding: 6px; background: var(--white); aspect-ratio: 1; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.dia img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.dia--a { width: 62%; left: 0; top: 0; }
.dia--b { width: 48%; right: 0; top: 18%; }

/* servicios.html */
.svc-page { padding: clamp(64px, 8vw, 110px) 0; }
.svc-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.svc-nav { position: sticky; top: 100px; display: grid; gap: 2px; }
.svc-nav a { text-decoration: none; padding: 10px 14px; font-weight: 600; border-left: 3px solid var(--line-light); transition: border-color .3s, background .3s; }
.svc-nav a.is-active { border-color: var(--black); background: var(--paper); }
.svc { padding: 0 0 clamp(64px, 8vw, 110px); }
.svc + .svc { border-top: 2px solid var(--black); padding-top: clamp(48px, 6vw, 80px); }
.svc__head { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.svc__head h2 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); }
.svc__lead { margin-top: 18px; font-size: 1.15rem; max-width: 52ch; }
.svc__body { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 48px); margin-top: 32px; align-items: start; }
.svc__imgs { display: grid; gap: 12px; }
.svc__imgs figure { margin: 0; overflow: hidden; background: var(--paper); }
.svc__imgs img { width: 100%; height: auto; }
.svc__imgs--2 { grid-template-columns: 1fr 1fr; }
.svc__imgs--2 figure:first-child { grid-column: 1 / -1; }
.svc ul { list-style: none; padding: 0; margin: 0; }
.svc li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line-light); position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: 50%; width: 13px; height: 9px; background: var(--black); transform: translateY(-50%) skewX(-30deg); }
.svc li b { display: block; }
.svc li span { color: #555; font-size: .95rem; }

/* cotizar.html */
.est { background: var(--black); color: var(--white); padding: clamp(48px, 6vw, 80px) 0 clamp(80px, 10vw, 130px); }
.tabs { display: grid; grid-template-columns: repeat(9, 1fr); gap: 8px; margin-bottom: 28px; }
.tabs button { background: transparent; color: var(--white); border: 1px solid #444; font: 600 .92rem/1.15 var(--body); padding: 14px 8px 12px; cursor: pointer; display: grid; justify-items: center; gap: 8px; text-align: center; transition: background .25s, border-color .25s; }
.tabs button svg { width: 34px; height: 34px; }
.tabs button:hover { border-color: var(--white); }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.est__grid { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.est__form { display: grid; gap: 20px; background: var(--asphalt); padding: 28px; }
.fld__label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; color: #d6d6d6; }
.est select, .est input[type=number] { width: 100%; min-height: 48px; background: var(--black); color: var(--white); border: 1px solid #555; font: 500 1rem var(--body); padding: 0 12px; border-radius: 0; }
.est select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.est select:focus, .est input:focus { border-color: var(--white); }
.size { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.size label { flex: 1 1 80px; }
.size small { display: block; color: var(--vinyl); font-size: .8rem; margin-top: 4px; }
.size__x { padding-top: 12px; color: var(--vinyl); }
.unit { display: flex; border: 1px solid #555; height: 48px; }
.unit button { background: none; border: 0; color: #9a9a9a; font: 700 .9rem var(--body); padding: 0 12px; cursor: pointer; }
.unit button[aria-pressed="true"] { background: var(--white); color: var(--black); }
.stepper { display: flex; }
.stepper button { width: 48px; min-height: 48px; background: var(--black); color: var(--white); border: 1px solid #555; font-size: 1.3rem; cursor: pointer; }
.stepper input { text-align: center; border-left: 0 !important; border-right: 0 !important; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; }
.check input { width: 22px; height: 22px; accent-color: var(--white); }
.proof { display: grid; grid-template-columns: 1.35fr 1fr; position: sticky; top: 96px; }
.proof__sheet { background: var(--paper); color: var(--black); padding: 18px 18px 14px; display: flex; flex-direction: column; justify-content: center; }
.proof__sheet svg { width: 100%; height: auto; display: block; }
.proof__note { font-size: .85rem; color: #555; margin-top: 6px; }
.sheet { fill: var(--black); } .sheet--clear { fill: #fff; stroke: #c9c9c4; } .sheet-back { fill: #3a3a3a; }
.pocket { fill: #333; } .grom { fill: var(--paper); stroke: #777; stroke-width: 1; }
.cut { fill: none; stroke: var(--cut); stroke-width: 1.6; stroke-dasharray: 6 4; }
.cut-v { stroke: var(--cut); stroke-width: 2; stroke-dasharray: 6 4; }
.dim line { stroke: #444; stroke-width: 1; }
.dim-t { font: 600 13px var(--body); fill: #333; } .dim-t--big { font: 800 26px var(--display); }
.letters { font-family: var(--display); font-weight: 900; fill: var(--black); }
.stake { stroke: #666; stroke-width: 3; } .person { fill: #b9b9b4; } .person .dim-t { fill: #777; }
.frame { fill: #c9c9c4; } .pane--frost { fill: #d9dcdc; } .pane--clear { fill: #f7f7f5; } .pane--perf { fill: #1d1d1d; }
.ground { stroke: #999; stroke-width: 2; } .tongue { stroke: #333; stroke-width: 6; fill: none; }
.body, .body-blank { fill: #fff; } .body-line { fill: none; stroke: var(--black); stroke-width: 2.5; }
.ink { fill: var(--black); } .streak { fill: #fff; opacity: .08; } .window { fill: #8e9396; stroke: var(--black); stroke-width: 2; }
.tire { fill: #111; } .hub { fill: #9a9a9a; } .garment { fill: var(--black); stroke: #000; }
.price { background: var(--white); color: var(--black); padding: 24px; }
.price__label { font-weight: 600; color: #555; }
.price__value { font: 900 clamp(2.2rem, 3.1vw, 3.3rem)/1 var(--display); white-space: nowrap; margin-top: 4px; }
.price__per { color: #555; margin-top: 6px; }
.price__lines { list-style: none; padding: 0; margin: 18px 0 0; border-top: 2px solid var(--black); }
.price__lines li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-light); font-size: .95rem; }
.price__lines li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.price__eta { color: #555; }
.price__cta { display: grid; gap: 10px; margin-top: 20px; }
.price__cta .btn { width: 100%; }
.price .btn--line { color: var(--black); }
.price .btn--line::before { background: var(--black); }
.price .btn--line:hover { color: var(--white); }
.price__fine { font-size: .82rem; color: #666; margin-top: 14px; }

.mat { padding: clamp(72px, 10vw, 128px) 0; }
.mat__row { display: grid; grid-template-columns: 1.1fr 1.3fr 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-light); }
.mat__row--h { border-bottom: 2px solid var(--black); font-weight: 700; font-size: .9rem; color: #555; padding-top: 0; }
.mat__row b { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; line-height: 1.05; }

.faq { padding: clamp(64px, 9vw, 120px) 0; background: var(--paper); }
.faq__in { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.faq details { border-bottom: 1px solid #bdbdb8; }
.faq details:first-child { border-top: 2px solid var(--black); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 1.12rem; padding: 20px 44px 20px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font: 400 1.9rem var(--body); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; max-width: 62ch; color: #3d3d3d; }

/* trabajos.html */
.work { background: var(--black); color: var(--white); padding: clamp(40px, 6vw, 72px) 0 clamp(80px, 10vw, 130px); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { background: none; color: var(--white); border: 1px solid #4a4a4a; font: 600 .95rem var(--body); padding: 11px 18px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--white); color: var(--black); }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 12px; }
.gallery li { position: relative; overflow: hidden; background: var(--asphalt); }
.gallery li.g-wide { grid-column: span 2; }
.gallery li.g-tall { grid-row: span 2; }
.gallery button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery button:focus-visible { outline: 3px solid var(--cut); outline-offset: -3px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery li:hover img { transform: scale(1.06); }
.gallery span { position: absolute; left: 0; bottom: 0; background: var(--black); color: var(--white); font-weight: 600; font-size: .85rem; padding: 7px 11px; pointer-events: none; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.94); display: none; place-items: center; padding: 70px 70px 90px; }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 78vh; object-fit: contain; }
.lightbox p { color: var(--white); margin-top: 14px; font-weight: 600; text-align: center; }
.lightbox button { position: absolute; background: var(--white); color: var(--black); border: 0; width: 52px; height: 52px; font: 700 1.4rem var(--body); cursor: pointer; }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; top: 50%; } .lb-next { right: 18px; top: 50%; }

/* contacto.html */
.contact { padding: clamp(56px, 8vw, 110px) 0; }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.contact__list { margin: 0; display: grid; }
.contact__list div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line-light); }
.contact__list div:first-child { border-top: 2px solid var(--black); }
.contact__list dt { color: #666; font-weight: 600; }
.contact__list dd { margin: 0; font: 800 1.8rem/1.05 var(--display); text-transform: uppercase; }
.contact__list a { text-decoration: none; }
.contact__list a:hover { color: var(--cut); }
.quick { background: var(--black); color: var(--white); padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; align-content: start; }
.quick h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 6px; }
.quick label span { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: #d6d6d6; }
.quick input, .quick select, .quick textarea { width: 100%; min-height: 50px; border: 1px solid #555; border-radius: 0; font: 400 1rem var(--body); padding: 12px; background: var(--black); color: var(--white); }
.quick input:focus, .quick select:focus, .quick textarea:focus { border-color: var(--white); }
.quick [aria-invalid="true"] { border-color: var(--cut); }
.quick__fine { font-size: .85rem; color: #aaa; }
.quick .btn--light::before { background: var(--cut); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(1) contrast(1.05); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1180px) {
  .tabs { grid-template-columns: repeat(3, 1fr); }
  .tabs button { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; padding: 12px 14px; }
  .tabs button svg { width: 28px; height: 28px; }
  .proof { grid-template-columns: 1fr; position: static; }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: var(--black); padding: 8px var(--gut) 24px; border-bottom: 1px solid var(--line-dark); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 15px 0; font-size: 1.25rem; border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
  .menu { display: block; }
  .top { background: rgba(0,0,0,.92); }
  .top__actions .btn { display: none; }
  .top__actions { margin-left: auto; }
  .hero__copy, .head, .phero__in, .faq__in, .contact__in, .process__in, .svc-layout, .svc__body, .foot__grid { grid-template-columns: 1fr; }
  .hero { height: auto; min-height: 0; }
  .hero__stage { padding-top: 30px; }
  .hero__meta { flex-direction: column; gap: 6px; }
  .hero__state--after { position: static; margin-left: 0; }
  .hero__state { margin-left: 0; }
  .process__side { position: static; }
  .promises { grid-template-columns: 1fr 1fr; }
  .hscroll__track { flex-direction: column; width: auto; }
  .panel { width: 100%; grid-template-columns: 1fr; }
  .cols { grid-template-columns: 1fr 1fr; }
  .cols__c:nth-child(3) { display: none; }
  .ptiles { grid-template-columns: 1fr 1fr; }
  .ptile { padding: 18px; gap: 12px; } .ptile svg { width: 38px; height: 38px; } .ptile b { font-size: 1.35rem; }
  .est__grid { grid-template-columns: 1fr; }
  .svc-nav { position: static; display: flex; overflow-x: auto; }
  .svc-nav a { border-left: 0; border-bottom: 3px solid var(--line-light); white-space: nowrap; }
  .phero__dias { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .mat__row { grid-template-columns: 1fr 1fr; } .mat__row > :first-child { grid-column: 1 / -1; } .mat__row--h { display: none; }
  .float { display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 40; background: var(--white); color: var(--black); font: 700 1rem var(--body); padding: 14px 20px; text-decoration: none; border: 2px solid var(--black); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
}
@media (max-width: 560px) {
  .tabs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .tabs button { grid-template-columns: 1fr; justify-items: center; text-align: center; font-size: .8rem; padding: 10px 4px; }
  .promises { grid-template-columns: 1fr; }
  .contact__list div { grid-template-columns: 1fr; gap: 4px; }
  .gallery li.g-wide { grid-column: span 2; }
  .brand__name small { display: none; }
  .lightbox { padding: 70px 12px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
