/* ==========================================================================
   styles.css — composición Factor MX
   Identidad: concreto cálido + naranja fuego · Saira expandida · motivo diagonal
   ========================================================================== */

/* ---------- Tipografía propia ---------- */
.display em, .section__title em, .h-hero em { font-style: italic; color: var(--brand); padding-right: .06em; margin-right: -.06em; }
.section--inverse .display em { color: var(--brand-on-inverse); }
.eyebrow::before { width: 14px; height: 8px; border-radius: 1px; transform: skewX(-24deg); }
.section__head--center .section__lead { max-width: 560px; }
.opt { font-weight: 500; color: var(--ink-3); font-size: 12.5px; margin-left: 4px; }
.btn { border-radius: var(--r-pill); }
.btn--lg { padding: 0 26px; }
.btn--sm { border-radius: var(--r-pill); }

/* ---------- Header ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__logo { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--border), var(--sh-sm); transition: transform .5s var(--ease-out); }
.brand:hover .brand__logo { transform: rotate(-12deg) scale(1.06); }
.brand__word { font-family: var(--font-display); font-weight: 800; font-style: italic; font-variation-settings: "wdth" 118; font-size: 21px; letter-spacing: -.02em; text-transform: uppercase; line-height: 1; }
.brand__word b { color: var(--brand); margin-left: .18em; }
.header__cta .i { width: 16px; height: 16px; }
.header .pill { background: color-mix(in srgb, var(--surface) 70%, transparent); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding-top: clamp(40px, 6vw, 76px); }
.hero__glow { position: absolute; z-index: -1; inset: -20% -10% auto; height: 720px; pointer-events: none;
  background:
    radial-gradient(closest-side, color-mix(in srgb, var(--brand-200) 55%, transparent), transparent) 50% 30% / 900px 520px no-repeat,
    linear-gradient(to right, rgba(var(--shadow-rgb),.05) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(to bottom, rgba(var(--shadow-rgb),.05) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 72%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 25%, transparent 72%); }
.hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .badge-group { margin-bottom: 26px; }
.hero__badge-text { white-space: nowrap; }
.hero__title { max-width: 15.5ch; margin-inline: auto; }
.hero__lead { margin: 26px auto 0; max-width: 620px; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero__trades { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin-top: 26px; }
.hero__trades a { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px 0 10px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: color-mix(in srgb, var(--surface) 60%, transparent); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow var(--dur-1), color var(--dur-1), transform var(--dur-2) var(--ease), background-color var(--dur-1); }
.hero__trades a .i { width: 16px; height: 16px; color: var(--brand); transition: transform .35s var(--ease-out); }
.hero__trades a:hover { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-strong), var(--sh-md); transform: translateY(-2px); }
.hero__trades a:hover .i { transform: rotate(-14deg) scale(1.15); }

/* Tira de obra */
.reel-wrap { position: relative; margin-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.reel { padding: 18px 0 8px; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.reel .marquee__track { animation-duration: 90s; }
.reel__group { gap: 16px; padding-right: 16px; align-items: flex-start; }
.reel__card { position: relative; flex: none; width: clamp(190px, 18vw, 262px); aspect-ratio: 3 / 4; border-radius: var(--r-xl); overflow: hidden; background: var(--muted-2); box-shadow: var(--sh-lg); transform-origin: 50% 100%; }
.reel__card:nth-child(even) { margin-top: 28px; }
.reel__card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.reel__card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(var(--shadow-rgb),.78)); pointer-events: none; }
.reel__card figcaption { position: absolute; z-index: 1; left: 8px; right: 8px; bottom: 8px; padding: 9px 11px 10px; border-radius: calc(var(--r-xl) - 8px); background: rgba(21,15,13,.96); color: #fff; font-weight: 700; font-size: 14px; line-height: 1.2; text-align: left; }
.reel__card figcaption span { display: block; width: max-content; margin-bottom: 5px; padding: 3px 8px; border-radius: var(--r-pill); background: var(--brand); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.reel__card:hover img { transform: scale(1.07); }
.reel__float { z-index: 3; }
.reel__float--a { left: max(var(--gutter), calc(50% - 600px)); top: -6px; }
.reel__float--b { right: max(var(--gutter), calc(50% - 600px)); bottom: clamp(18px, 3vw, 40px); }

/* ---------- Cifras ---------- */
.stats { background: var(--muted); padding-block: clamp(36px, 5vw, 56px); border-block: 1px solid var(--border); }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 6px clamp(14px, 2.4vw, 32px); }
.stat + .stat { border-left: 1px solid var(--border-strong); }
.stat__num { display: flex; align-items: baseline; gap: .12em; font-size: clamp(40px, 4.8vw, 70px); line-height: 1; font-style: italic; color: var(--ink); }
.stat__num i { font-style: italic; font-size: .32em; letter-spacing: 0; color: var(--brand-text); margin-left: .2em; font-weight: 700; }
.stat__label { font-size: 14px; line-height: 1.45; color: var(--ink-3); max-width: 24ch; }

/* ---------- Oficios ---------- */
.trades { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 2fr); gap: clamp(16px, 2.4vw, 28px); align-items: start; }
.trades__list { display: grid; gap: 8px; position: sticky; top: calc(var(--header-h) + 20px); }
.trade-tab { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; width: 100%; padding: 14px 16px 14px 14px; border-radius: var(--r-lg); text-align: left; overflow: hidden; isolation: isolate;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), var(--sh-xs); transition: box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), color var(--dur-1); }
.trade-tab::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--inverse); clip-path: polygon(0 0, 0 0, -20% 100%, -20% 100%); transition: clip-path .55s var(--ease-out); }
.trade-tab__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand-soft-border); transition: background-color .3s, color .3s, transform .45s var(--ease-out); }
.trade-tab__icon .i { width: 21px; height: 21px; }
.trade-tab__text strong { display: block; font-family: var(--font-display); font-variation-settings: "wdth" 108; font-weight: 750; font-size: 18px; letter-spacing: -.01em; line-height: 1.1; }
.trade-tab__text small { display: block; margin-top: 3px; font-size: 13px; color: var(--ink-3); transition: color .3s; }
.trade-tab__num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); transition: color .3s; }
.trade-tab:hover { box-shadow: inset 0 0 0 1px var(--border-strong), var(--sh-md); transform: translateX(3px); }
.trade-tab:hover .trade-tab__icon { transform: rotate(-10deg) scale(1.06); }
.trade-tab[aria-selected="true"] { color: var(--on-inverse); background-color: var(--inverse); box-shadow: var(--sh-lg); transform: none; transition: box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), color var(--dur-1), background-color 0s .32s; }
.trade-tab[aria-selected="true"]::before { clip-path: polygon(0 0, 120% 0, 100% 100%, -20% 100%); }
.trade-tab[aria-selected="true"] .trade-tab__icon { background: var(--brand); color: var(--on-brand); box-shadow: none; }
.trade-tab[aria-selected="true"] small { color: var(--on-inverse-2); }
.trade-tab[aria-selected="true"] .trade-tab__num { color: var(--brand-on-inverse); }

.trade { display: grid; gap: 16px; border-radius: var(--r-2xl); background: var(--surface); padding: 10px; box-shadow: inset 0 0 0 1px var(--border), var(--sh-md); }
.trade:focus-visible { outline-offset: 4px; border-radius: var(--r-2xl); }
.trade__media { aspect-ratio: 16 / 8.6; border-radius: calc(var(--r-2xl) - 10px); }
.trade__tag { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: var(--r-pill); background: rgba(21,15,13,.96); color: #fff; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.trade__body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; padding: 8px 16px 16px; }
.trade__body h3 { margin-bottom: 10px; }
.trade__body p { color: var(--ink-2); line-height: 1.6; text-wrap: pretty; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tags li { height: 28px; display: inline-flex; align-items: center; padding: 0 11px; border-radius: var(--r-pill); background: var(--muted); box-shadow: inset 0 0 0 1px var(--border); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.trade__side { display: flex; flex-direction: column; gap: 14px; justify-content: space-between; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--muted-2); transition: transform .5s var(--ease-out), box-shadow .3s; }
.thumbs img:hover { transform: translateY(-4px) rotate(-2deg) scale(1.04); box-shadow: var(--sh-lg); }
.trade__side .btn { align-self: flex-start; }

/* ---------- Cinta de obra ---------- */
.tape { position: relative; height: clamp(170px, 18vw, 230px); overflow: hidden; display: grid; place-items: center; background: var(--bg); }
.tape__strip { position: absolute; left: -5%; width: 110%; padding: 14px 0; font-family: var(--font-display); font-weight: 800; font-style: italic; font-variation-settings: "wdth" 120; text-transform: uppercase; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.tape__strip .marquee__group { gap: clamp(18px, 2.4vw, 34px); padding-right: clamp(18px, 2.4vw, 34px); }
.tape__strip b { font-weight: 800; }
.tape__strip--front { transform: rotate(-3deg); z-index: 2; background: var(--brand); color: var(--on-brand); font-size: clamp(30px, 4.4vw, 58px); box-shadow: 0 18px 40px -16px rgba(var(--shadow-rgb),.45); }
.tape__strip--front b { color: var(--inverse); }
.tape__strip--front::before, .tape__strip--front::after { content: ""; position: absolute; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(-45deg, var(--inverse) 0 12px, transparent 12px 24px); opacity: .9; }
.tape__strip--front::before { top: 0; } .tape__strip--front::after { bottom: 0; }
.tape__strip--back { transform: rotate(2.5deg); z-index: 1; background: var(--inverse); color: var(--on-inverse); font-size: clamp(20px, 2.6vw, 34px); padding: 12px 0; }
.tape__strip--back b { color: var(--spark); }
.tape__strip--back span { color: transparent; -webkit-text-stroke: 1.2px color-mix(in srgb, var(--on-inverse) 70%, transparent); }

/* ---------- Una casa, cinco oficios ---------- */
.build { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.build__stage { position: relative; border-radius: var(--r-2xl); overflow: hidden; padding: 18px 18px 0;
  background: linear-gradient(180deg, #EAF3F6 0%, #F7F1EA 72%), var(--surface); box-shadow: inset 0 0 0 1px var(--border), var(--sh-lg); }
.build__stage::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(31,110,140,.07) 1px, transparent 1px), linear-gradient(to bottom, rgba(31,110,140,.07) 1px, transparent 1px); background-size: 32px 32px; }
.build__hud { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.build__status { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; box-shadow: inset 0 0 0 1px var(--border), var(--sh-sm); }
.build__meter { flex: 1; max-width: 220px; height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 9%, transparent); overflow: hidden; }
.build__meter span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--brand), var(--spark)); transform-origin: 0 50%; transform: scaleX(var(--story-p, 1)); }
.house { position: relative; width: 100%; height: auto; margin-top: 4px; overflow: visible; }

/* Materiales */
.h-sun { fill: #FFD9A0; opacity: .75; }
.h-ground { fill: var(--wall-2); }
.h-ground-line { stroke: var(--steel); stroke-width: 3; }
.h-wall { fill: var(--wall); stroke: var(--steel); stroke-width: 3; }
.h-blocks { fill: none; stroke: var(--wall-2); stroke-width: 2; }
.h-hole { fill: #3A322D; }
.h-slab { fill: var(--steel); }
.h-glass { fill: url(#g-glass); }
.h-frame { fill: none; stroke: #FFFFFF; stroke-width: 3; opacity: .85; }
.h-glint { fill: #FFFFFF; opacity: .55; transform: skewX(-20deg); }
.h-glow rect { fill: url(#g-glow); }
.h-glow { opacity: 0; transition: opacity .8s var(--ease); }
.h-bars { fill: none; stroke: var(--steel); stroke-width: 4.5; stroke-linejoin: round; stroke-linecap: round; }
.h-sparks { stroke: var(--spark); stroke-width: 3; stroke-linecap: round; fill: #FFD27A; opacity: 0; }
.h-clad { fill: url(#p-wood); }
.h-knob { fill: #E9D7B8; }
.h-pergola rect { fill: var(--wood-2); }
.h-garage rect { fill: #2F2824; }
.h-garage path { stroke: #4E443E; stroke-width: 2.5; fill: none; }
.h-garage .h-garage-handle { stroke: #9C918A; stroke-width: 4; stroke-linecap: round; }
.h-done { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
.h-done rect { fill: var(--ok); }
.h-done path { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.h-done text { fill: #fff; font: 700 15px var(--font-sans); }
.build.is-complete .h-done { opacity: 1; transform: none; }
.build.is-complete .h-glow { opacity: 1; }

/* Construcción por capas (solo cuando la historia está armada; sin JS se ve completa) */
.build.is-armed {
  --l1: clamp(0, calc(var(--story-p, 0) * 5), 1);
  --l2: clamp(0, calc((var(--story-p, 0) - .2) * 5), 1);
  --l3: clamp(0, calc((var(--story-p, 0) - .4) * 5), 1);
  --l4: clamp(0, calc((var(--story-p, 0) - .6) * 5), 1);
  --l5: clamp(0, calc((var(--story-p, 0) - .8) * 5.4), 1);
  --l1a: clamp(0, calc(var(--l1) * 1.5), 1);
  --l1b: clamp(0, calc((var(--l1) - .55) * 2.3), 1);
}
.h-rise { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--l1a, 1)); }
.h-slab { transform-box: fill-box; transform-origin: 50% 50%; transform: translateY(calc((1 - var(--l1b, 1)) * -70px)); opacity: var(--l1b, 1); }
.h-blocks { opacity: calc(.9 - var(--l2, 1) * .9); }
.h-bars { stroke-dasharray: 1 1; stroke-dashoffset: calc(1 - var(--l2, 1)); }
.h-sparks { opacity: calc(var(--l2, 1) * (1 - var(--l2, 1)) * 4); }
.h-l3 > .h-glass, .h-l3 > .h-frame { opacity: var(--l3, 1); }
.h-glint { transform: translateX(calc(var(--l3, 1) * 300px - 60px)) skewX(-20deg); }
.h-clad { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(var(--l4, 1)); }
.h-door { transform-box: fill-box; transform-origin: 0% 50%; transform: scaleX(var(--l4, 1)); }
.h-knob { opacity: var(--l4, 1); }
.h-pergola { transform: translateX(calc((1 - var(--l4, 1)) * -80px)); opacity: var(--l4, 1); }
.h-garage { transform-box: fill-box; transform-origin: 50% 0%; transform: scaleY(var(--l5, 1)); }

.build__steps { display: grid; gap: 4px; counter-reset: st; }
.build__step { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 16px 18px; border-radius: var(--r-lg); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), opacity .4s; }
.build__n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-strong); transition: background-color .4s, color .4s, box-shadow .4s, transform .5s var(--ease-out); }
.build__step h3 { font-family: var(--font-display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: 21px; letter-spacing: -.015em; line-height: 1.15; margin: 2px 0 4px; }
.build__step p { color: var(--ink-3); font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.build.is-armed .build__step { opacity: .5; }
.build.is-armed .build__step.is-done { opacity: .78; }
.build.is-armed .build__step.is-done .build__n { background: var(--ink); color: var(--bg); box-shadow: none; }
.build.is-armed .build__step.is-active { opacity: 1; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), var(--sh-lg); }
.build.is-armed .build__step.is-active .build__n { background: var(--brand); color: var(--on-brand); box-shadow: 0 0 0 6px color-mix(in srgb, var(--brand) 18%, transparent); transform: scale(1.06); }
.build.is-armed .build__step.is-active h3 { color: var(--ink); }

/* ---------- Comparativa ---------- */
.versus { position: relative; overflow: clip; isolation: isolate; }
.versus__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 75%) var(--my, 30%), color-mix(in srgb, var(--spark) 30%, transparent), transparent 70%),
              radial-gradient(600px circle at 0% 100%, color-mix(in srgb, var(--brand-800) 45%, transparent), transparent 70%); transition: background .2s; }
.versus__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.versus__head .section__title { margin-bottom: 18px; }
.switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 28px; padding: 5px; border-radius: var(--r-pill); background: var(--inverse-3); box-shadow: inset 0 0 0 1px var(--inverse-border); }
.switch button { position: relative; z-index: 1; height: 46px; padding: 0 20px; border-radius: var(--r-pill); font-weight: 700; font-size: 14.5px; color: var(--on-inverse-2); white-space: nowrap; transition: color .3s; }
.switch button[aria-checked="true"] { color: var(--inverse); background-color: var(--on-inverse); transition: color .3s, background-color 0s .4s; }
.versus[data-mode="factor"] .switch button[aria-checked="true"] { background-color: var(--brand-300); }
.switch button:hover:not([aria-checked="true"]) { color: var(--on-inverse); }
.switch__thumb { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: var(--r-pill); background: var(--on-inverse); box-shadow: 0 6px 18px -6px rgba(0,0,0,.6); transition: transform .55s var(--ease-out), background-color .4s; }
.versus[data-mode="factor"] .switch__thumb { transform: translateX(100%); background: var(--brand-300); }

.versus__card { border-radius: var(--r-2xl); background: color-mix(in srgb, var(--inverse-2) 92%, transparent); box-shadow: inset 0 0 0 1px var(--inverse-border), 0 40px 80px -30px rgba(0,0,0,.7); padding: clamp(18px, 2.6vw, 30px); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.versus__rows { display: grid; }
.vrow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; padding: 15px 4px; }
.vrow + .vrow { border-top: 1px solid var(--inverse-border); }
.vrow dt { color: var(--on-inverse-2); font-size: 15px; }
.vrow dd { margin: 0; position: relative; height: 1.4em; overflow: hidden; font-family: var(--font-display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: clamp(18px, 1.8vw, 23px); letter-spacing: -.01em; text-align: right; line-height: 1.4; }
.v { position: absolute; inset: 0; transition: transform .7s var(--ease-out), opacity .5s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); white-space: nowrap; }
.v--many { color: var(--on-inverse); }
.v--one { color: var(--brand-on-inverse); transform: translateY(110%); opacity: 0; }
.versus[data-mode="factor"] .v--many { transform: translateY(-110%); opacity: 0; }
.versus[data-mode="factor"] .v--one { transform: none; opacity: 1; }
.versus__meter { margin-top: 18px; padding: 18px; border-radius: var(--r-xl); background: var(--inverse-3); box-shadow: inset 0 0 0 1px var(--inverse-border); }
.versus__meter-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; color: var(--on-inverse-2); }
.versus__meter-head b { position: relative; display: inline-block; width: 4.5em; height: 1.4em; overflow: hidden; text-align: right; font-family: var(--font-mono); font-size: 15px; color: var(--on-inverse); }
.versus__bar { margin-top: 12px; height: 10px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.versus__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FF8A5B, #FF5F3D); transform-origin: 0 50%; transform: scaleX(1); transition: transform 1.1s var(--ease-out), background .6s; }
.versus[data-mode="factor"] .versus__bar span { transform: scaleX(.1); background: linear-gradient(90deg, #4ADE80, #22C55E); }

/* ---------- Obra real ---------- */
.obras { padding-bottom: clamp(56px, 7vw, 96px); overflow: clip; }
.obras__head .section__head { margin-bottom: clamp(24px, 3vw, 40px); }
.obras__meta { display: grid; gap: 14px; justify-items: start; }
.obras__progress { width: min(260px, 100%); height: 4px; border-radius: 99px; background: var(--muted-2); overflow: hidden; }
.obras__progress span { display: block; height: 100%; background: var(--brand); transform-origin: 0 50%; transform: scaleX(0); }
html:not(.motion) .obras__progress, .obras:not(.is-armed) .obras__progress { display: none; }
.obras__track { padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); align-items: flex-end; gap: 18px; }
.obras__track::after { content: ""; flex: none; width: 1px; margin-left: calc(max(var(--gutter), (100vw - var(--container)) / 2 + var(--gutter)) - 19px); }
.work { position: relative; flex: none; margin: 0; }
.work .media { border-radius: var(--r-xl); box-shadow: var(--sh-md); }
.work--tall .media { width: clamp(240px, 22vw, 320px); aspect-ratio: 3 / 4.1; }
.work--wide .media { width: clamp(300px, 40vw, 560px); aspect-ratio: 16 / 11; }
.work--square .media { width: clamp(260px, 28vw, 400px); aspect-ratio: 1; }
.work .media img { transition: transform .9s var(--ease-out); }
.work:hover .media img { transform: scale(1.06); }
.work figcaption { display: grid; gap: 2px; padding: 12px 4px 0; }
.work figcaption strong { font-family: var(--font-display); font-variation-settings: "wdth" 108; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.work figcaption small { font-size: 13.5px; color: var(--ink-3); }
.work__tag { justify-self: start; margin-bottom: 6px; padding: 3px 9px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: var(--brand-soft); color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand-soft-border); }
.work__tag--alt { background: var(--muted); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--border-strong); }
.work__tag--glass { background: #E3F1F6; color: var(--accent); box-shadow: inset 0 0 0 1px #BFDDE8; }
.work--cta { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; width: clamp(260px, 26vw, 360px); min-height: 360px; padding: 28px; border-radius: var(--r-xl); background: var(--inverse); color: var(--on-inverse); position: relative; overflow: hidden; }
.work--cta::before { content: ""; position: absolute; inset: -30% -30% auto auto; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--spark) 60%, transparent), transparent); }
.work--cta .eyebrow { color: var(--on-inverse-2); margin: 0; position: relative; }
.work__cta-title { position: relative; font-size: clamp(28px, 2.6vw, 38px); margin-bottom: 8px; }
.work--cta .btn { position: relative; align-self: flex-start; }

/* ---------- Portafolio ---------- */
.pf__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 3vw, 32px); }
.pf__filter { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 16px; border-radius: var(--r-pill); font-size: 14px; font-weight: 650; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), var(--sh-xs); white-space: nowrap; transition: background-color .3s var(--ease), color .3s, box-shadow .3s, transform .2s var(--ease); }
.pf__filter span { display: grid; place-items: center; min-width: 26px; height: 24px; padding: 0 7px; border-radius: var(--r-pill); background: var(--muted); font-size: 12px; color: var(--ink-3); transition: background-color .3s, color .3s; }
.pf__filter:hover { box-shadow: inset 0 0 0 1px var(--border-strong), var(--sh-md); transform: translateY(-1px); }
.pf__filter:active { transform: translateY(1px) scale(.98); }
.pf__filter[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: var(--sh-md); }
.pf__filter[aria-pressed="true"] span { background: var(--brand); color: var(--on-brand); }
.pf__grid { columns: 4 230px; column-gap: 14px; }
.pf__item { break-inside: avoid; margin-bottom: 14px; }
.pf__item.is-hidden { display: none; }
.pf__btn { position: relative; display: block; width: 100%; overflow: hidden; border-radius: var(--r-lg); background: var(--muted-2); box-shadow: var(--sh-sm); isolation: isolate; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.pf__btn img { width: 100%; height: auto; transition: transform .8s var(--ease-out), filter .5s; }
.pf__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(var(--shadow-rgb),.82)); opacity: 0; transition: opacity .4s var(--ease); }
.pf__cap { position: absolute; z-index: 1; left: 8px; right: 8px; bottom: 8px; padding: 8px 10px 9px; border-radius: calc(var(--r-lg) - 6px); background: rgba(21,15,13,.96); display: grid; gap: 2px; text-align: left; color: #fff; font-weight: 700; font-size: 14px; line-height: 1.25; opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .45s var(--ease-out); }
.pf__cap small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--brand-200); }
.pf__btn::before { content: ""; position: absolute; z-index: 2; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1511' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat; transform: scale(.6); opacity: 0; transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .25s; }
.pf__btn:hover, .pf__btn:focus-visible { box-shadow: var(--sh-xl); transform: translateY(-3px); }
.pf__btn:hover img, .pf__btn:focus-visible img { transform: scale(1.06); }
.pf__btn:hover::after, .pf__btn:focus-visible::after, .pf__btn:hover .pf__cap, .pf__btn:focus-visible .pf__cap { opacity: 1; transform: none; }
.pf__btn:hover::before, .pf__btn:focus-visible::before { opacity: 1; transform: scale(1); }
.pf__btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
@media (hover: none) {
  .pf__cap { opacity: 1; transform: none; left: 6px; right: 6px; bottom: 6px; padding: 5px 8px; font-size: 11.5px; font-weight: 650; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pf__cap small { display: none; }
}
.pf__more { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: clamp(24px, 3vw, 40px); }
.pf__count { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

/* Visor */
.overlay--lb { background: rgba(14,10,8,.94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 95; }
.dialog.lightbox { inset: 0; width: auto; max-height: none; overflow: hidden; transform: none; border-radius: 0; background: none; box-shadow: none; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 14px clamp(12px, 3vw, 28px) calc(18px + env(safe-area-inset-bottom)); color: #fff; opacity: 0; transition: opacity .3s var(--ease); }
.dialog.lightbox.is-open { opacity: 1; transform: none; }
.lb__top { display: flex; justify-content: space-between; align-items: center; }
.lb__count { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.7); }
.lb__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); transition: background-color .2s, transform .2s var(--ease); }
.lb__icon:hover { background: rgba(255,255,255,.2); }
.lb__icon:active { transform: scale(.94); }
.lb__fig { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; min-height: 0; padding: 8px clamp(0px, 6vw, 80px); }
.lb__frame { position: relative; min-height: 0; }
.lb__img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: var(--r-lg); box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); background: #2a2420; }
.lb__cap { display: grid; justify-items: center; gap: 4px; text-align: center; }
.lb__cat { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-300); }
.lb__title { font-family: var(--font-display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: clamp(19px, 2vw, 26px); letter-spacing: -.01em; }
.lb__nav { position: absolute; top: 50%; margin-top: -23px; }
.lb__prev { left: clamp(10px, 2vw, 28px); } .lb__prev .i { transform: rotate(180deg); }
.lb__next { right: clamp(10px, 2vw, 28px); }
.lb__cta { justify-self: center; margin-top: 4px; }

/* ---------- Cotizar ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); border-radius: var(--r-2xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), var(--sh-lg); overflow: hidden; }
.quote__form { display: grid; gap: 28px; padding: clamp(20px, 3vw, 40px); }
.qfield { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.qlabel { display: flex; align-items: center; gap: 10px; padding: 0; font-family: var(--font-display); font-variation-settings: "wdth" 108; font-weight: 800; font-size: 20px; letter-spacing: -.01em; }
.qlabel span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; transform: skewX(-8deg); }
.qlabel small { font-family: var(--font-sans); font-weight: 500; font-size: 13px; color: var(--ink-3); letter-spacing: 0; }
.pick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pick__item { position: relative; display: grid; justify-items: start; gap: 2px; padding: 14px 12px 12px; border-radius: var(--r-lg); text-align: left; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border-strong); transition: box-shadow var(--dur-1), background-color var(--dur-1), transform .25s var(--ease); }
.pick__item > .i { width: 24px; height: 24px; color: var(--ink-3); margin-bottom: 8px; transition: color .2s, transform .45s var(--ease-out); }
.pick__item strong { font-size: 14.5px; font-weight: 700; }
.pick__item small { font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.pick__check { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; transform: scale(0); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.pick__check .i { width: 12px; height: 12px; stroke-width: 3.2; }
.pick__item:hover { background: var(--muted); transform: translateY(-2px); }
.pick__item:active { transform: translateY(1px) scale(.98); }
.pick__item[aria-pressed="true"] { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px var(--brand); }
.pick__item[aria-pressed="true"] > .i { color: var(--brand-text); transform: rotate(-10deg) scale(1.1); }
.pick__item[aria-pressed="true"] .pick__check { transform: scale(1); }
.qfield.is-invalid .pick__item { box-shadow: inset 0 0 0 1px var(--danger); }
.qerr { font-size: 13px; color: var(--danger-700); }
.qgrid { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 12px; }
textarea.input { resize: vertical; min-height: 84px; line-height: 1.5; }
.choice button { border-radius: var(--r-lg); }

.quote__summary { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 3vw, 36px); background: var(--inverse); color: var(--on-inverse); }
.quote__glow { position: absolute; z-index: -1; inset: auto -30% -30% auto; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--spark) 45%, transparent), transparent); pointer-events: none; }
.quote__summary .eyebrow { margin: 0; color: var(--on-inverse-2); }
.mini-house { width: 100%; max-width: 300px; height: auto; align-self: center; overflow: visible; }
.mh-ground { stroke: rgba(255,255,255,.25); stroke-width: 2; }
.mh rect, .mh path { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2; stroke-dasharray: 4 4; transition: stroke .4s, fill .4s, stroke-dasharray .4s; }
.mh.is-on rect, .mh.is-on path { stroke-dasharray: none; }
.mh--construccion.is-on rect { fill: #3B322C; stroke: #E9DED4; }
.mh--construccion.is-on path { stroke: #E9DED4; stroke-width: 4; }
.mh--vidrieria.is-on rect { fill: var(--glass-2); stroke: #DFF2F8; }
.mh--herreria.is-on path { stroke: var(--brand-300); stroke-width: 2.6; }
.mh--carpinteria.is-on rect { fill: var(--wood); stroke: #E7C39E; }
.mh--carpinteria.is-on path { stroke: #F6E3C8; stroke-width: 3; }
.mh--garage.is-on rect { fill: #4A403A; stroke: #CFC3BA; }
.mh--garage.is-on path { stroke: #CFC3BA; }
.mh.is-pop { animation: mhpop .6s var(--ease-out); transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes mhpop { 0% { transform: scale(.85); } 55% { transform: scale(1.08); } 100% { transform: scale(1); } }
.sum-list { display: flex; flex-wrap: wrap; gap: 6px; min-height: 32px; }
.sum-list li { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px 0 9px; border-radius: var(--r-pill); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--inverse-border); font-size: 13px; font-weight: 600; }
.sum-list li .i { width: 15px; height: 15px; color: var(--brand-on-inverse); }
.sum-list .sum-empty { background: none; box-shadow: none; padding: 0; height: auto; font-weight: 500; color: var(--on-inverse-2); }
.sum-msg { padding: 14px 16px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--inverse-border); }
.sum-msg__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-inverse-2); margin-bottom: 6px; }
.sum-msg__text { font-size: 14px; line-height: 1.55; color: var(--on-inverse); white-space: pre-line; max-height: 168px; overflow: auto; }
.quote__summary .btn { margin-top: auto; }
.sum-note { font-size: 13px; color: var(--on-inverse-2); text-align: center; }
.sum-note a { color: var(--on-inverse); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.burst { position: absolute; z-index: 5; width: 9px; height: 13px; border-radius: 2px; pointer-events: none; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head .section__title { margin-bottom: 18px; }
.faq__head .text-link { margin-top: 20px; }
.acc summary { font-size: 17px; }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: var(--grid-gap); align-items: stretch; }
.contact__cards { display: grid; gap: 10px; align-content: start; }
.ccard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), var(--sh-xs); transition: box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.ccard__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--muted); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--border); flex: none; transition: transform .45s var(--ease-out); }
.ccard__text { display: grid; flex: 1; min-width: 0; }
.ccard__text small { font-size: 13px; color: var(--ink-3); }
.ccard__text strong { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.ccard__arrow { color: var(--ink-4); transition: transform .25s var(--ease), color .2s; }
.ccard:hover { box-shadow: inset 0 0 0 1px var(--border-strong), var(--sh-lg); transform: translateY(-2px); }
.ccard:hover .ccard__icon { transform: rotate(-10deg) scale(1.06); }
.ccard:hover .ccard__arrow { transform: translate(2px, -2px); color: var(--ink); }
.ccard--primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--sh-btn), var(--sh-md); }
.ccard--primary .ccard__icon { background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.ccard--primary .ccard__text small { color: #fff; }
.ccard--primary .ccard__arrow, .ccard--primary:hover .ccard__arrow { color: #fff; }
.ccard--primary:hover { background: var(--brand-hover); box-shadow: var(--sh-btn), var(--sh-lg); }
.hours { padding: 18px; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), var(--sh-xs); }
.hours__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.hours__title { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.hours__title .i { color: var(--brand); }
.hours__list li { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: var(--r-sm); font-size: 14.5px; color: var(--ink-2); }
.hours__list li.is-today { background: var(--brand-soft); color: var(--brand-text); font-weight: 700; box-shadow: inset 0 0 0 1px var(--brand-soft-border); }
.contact__map { min-height: 440px; border-radius: var(--r-2xl); box-shadow: inset 0 0 0 1px var(--border), var(--sh-md); }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.02); }
.contact__chip { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 600; }
.contact__chip .i { color: var(--brand); }

/* ---------- Footer ---------- */
.footer { background: var(--inverse); color: var(--on-inverse); padding: clamp(64px, 8vw, 104px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__brand { display: grid; gap: 16px; align-content: start; }
.footer__brand img { width: 88px; height: 88px; border-radius: 50%; box-shadow: 0 0 0 1px var(--inverse-border); }
.footer__brand p { color: var(--on-inverse-2); font-size: 14.5px; line-height: 1.6; max-width: 36ch; }
.footer__col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; color: var(--on-inverse-2); }
.footer__col a { display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%; transition: color var(--dur-1); }
.footer__col a:hover { color: var(--on-inverse); }
.footer__label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-on-inverse); margin-bottom: 4px; }
.footer__word { margin: clamp(48px, 7vw, 88px) 0 18px; font-size: clamp(56px, 13.6vw, 196px); font-style: italic; font-variation-settings: "wdth" 125; line-height: .82; letter-spacing: -.035em; text-transform: uppercase; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); }
.footer__word b { color: var(--spark); -webkit-text-stroke: 0; margin-left: .12em; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--inverse-border); font-size: 13px; color: var(--on-inverse-2); }

/* ---------- Motion: estados iniciales propios ---------- */
.motion .reel__card { will-change: transform; }
.motion-pending .reel__card { visibility: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .hide-md { display: none !important; }
}
/* Historia anclada en pantallas bajas o medianas: que quepa bajo el header */
@media (min-width: 961px) and (max-width: 1240px), (min-width: 961px) and (max-height: 860px) {
  .build { align-items: center; }
  .build__steps { gap: 2px; }
  .build__step { padding: 10px 14px; gap: 14px; }
  .build__n { width: 38px; height: 38px; font-size: 12px; }
  .build__step h3 { font-size: 18px; margin: 0 0 2px; }
  .build__step p { font-size: 14px; line-height: 1.45; }
  .build__stage { max-height: calc(100svh - var(--header-h) - 48px); }
  .house { max-height: calc(100svh - var(--header-h) - 120px); }
}
@media (max-width: 1120px) {
  .pick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .stat:nth-child(3) { border-left: 0; }
  .trades { grid-template-columns: 1fr; }
  .trades__list { position: static; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; scrollbar-width: none; padding: 4px; margin: -4px; scroll-snap-type: x mandatory; }
  .trades__list::-webkit-scrollbar { display: none; }
  .trade-tab { scroll-snap-align: start; }
  .trade-tab:hover { transform: none; }
  .trade__body { grid-template-columns: 1fr; }
  .build { grid-template-columns: 1fr; }
  .build__stage { position: sticky; top: calc(var(--header-h) + 10px); z-index: 2; }
  .build__steps { position: relative; z-index: 1; }
  .versus__inner { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { min-height: 340px; }
}
@media (max-width: 767px) {
  :root { --display-settings: "wdth" 102; }
  .h-hero { font-size: clamp(36px, 10.4vw, 54px); }
  .header__cta { display: none; }
  .brand__word { font-size: 19px; }
  .hero { padding-top: 28px; }
  .hero .badge-group { font-size: 12.5px; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__trades { display: none; }
  .reel-wrap { margin-top: 30px; padding-bottom: 36px; }
  .reel__card { width: 168px; border-radius: var(--r-lg); }
  .reel__card:nth-child(even) { margin-top: 18px; }
  .reel__float { padding: 8px 12px 8px 8px; font-size: 13px; }
  .reel__float .icon-tile { width: 32px; height: 32px; border-radius: 9px; }
  .reel__float small { display: none; }
  .reel__float--a { left: 12px; top: -10px; }
  .reel__float--b { right: 12px; bottom: 12px; }
  .stat { padding-inline: 12px; }
  .stat__label { font-size: 13px; }
  .trades__list { grid-auto-columns: minmax(176px, 78%); }
  .trade { padding: 8px; border-radius: var(--r-xl); }
  .trade__media { aspect-ratio: 4 / 3; border-radius: calc(var(--r-xl) - 8px); }
  .trade__body { padding: 6px 8px 10px; }
  .trade__side .btn { width: 100%; }
  .tape { height: 150px; }
  .build__stage { padding: 12px 12px 0; border-radius: var(--r-xl); }
  .build__meter { max-width: 120px; }
  .build__step { padding: 12px; gap: 14px; }
  .build__n { width: 38px; height: 38px; }
  .switch { display: grid; width: 100%; }
  .switch button { padding: 0 10px; font-size: 13.5px; }
  .vrow { grid-template-columns: 1fr; gap: 4px; }
  .vrow dd { text-align: left; }
  .obras__track { padding-inline: var(--gutter); }
  .work--tall .media { width: min(72vw, 300px); }
  .work--wide .media, .work--square .media { width: min(84vw, 380px); }
  .work--cta { width: min(78vw, 320px); min-height: 300px; }
  .pf__filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-block: 4px; }
  .pf__filters::-webkit-scrollbar { display: none; }
  .pf__grid { columns: 2; column-gap: 10px; }
  .pf__item { margin-bottom: 10px; }
  .dialog.lightbox { inset: 0; width: auto; max-height: none; border-radius: 0; transform: none; }
  .lb__fig { padding: 8px 0; }
  .lb__nav { top: auto; bottom: calc(18px + env(safe-area-inset-bottom)); margin: 0; }
  .pick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pick__item:last-child { grid-column: span 2; }
  .qgrid { grid-template-columns: 1fr 1fr; }
  .qgrid__wide { grid-column: span 2; }
  .choice { grid-template-columns: 1fr; }
  .quote__form { gap: 24px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__word { font-size: 19vw; }
}
@media (max-width: 480px) {
  .stat__num { font-size: 38px; }
  .tape__strip--front { font-size: 26px; }
}
