/* ==========================================================================
   styles.css — composición de Herrería Múltiple · Puerto Peñasco
   Identidad: grafito de acero + chispa ámbar + inversa de acero claro.
   Firma de superficie: chaflán (esquina cortada de placa) en .cut
   ========================================================================== */

/* ---------- Base de marca ---------- */
body { background: var(--bg); }
.display { text-transform: uppercase; line-height: .95; }
em { font-style: normal; }
/* Las mayúsculas acentuadas (Ó, Í, Ñ) sobresalen de la caja: la máscara de línea necesita aire arriba */
.split-line-mask { padding-top: .36em; margin-top: -.36em; padding-bottom: .08em; margin-bottom: -.08em; }
.cut {
  --c: var(--chamfer);
  clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c));
}
.eyebrow::before { border-radius: 0; transform: rotate(45deg); width: 6px; height: 6px; }
.btn { border-radius: var(--r); letter-spacing: .01em; }
.btn--lg { font-size: 15.5px; }
.btn--primary .i { color: currentColor; }
.btn--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--border-strong), inset 0 1px 0 rgba(255,255,255,.04); }
.btn--outline:hover { background: var(--muted-2); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 30%, transparent); }
.section__lead { color: var(--ink-3); }
.pill { background: color-mix(in srgb, var(--surface) 80%, transparent); }
.overlay { background: rgba(0,0,0,.6); }
.overlay--dark { background: rgba(5,6,8,.92); z-index: 95; }

/* ---------- Header ---------- */
.header { background: color-mix(in srgb, var(--bg) 70%, transparent); }
.header.is-scrolled { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom-color: var(--border); }
.brandmark { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brandmark img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--border-strong); transition: transform .5s var(--ease-out); }
.brandmark:hover img { transform: rotate(-18deg); }
.brandmark__text { display: flex; flex-direction: column; line-height: 1; }
.brandmark__name { font-family: var(--font-display); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: .01em; }
.brandmark__sub { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-text); margin-top: 4px; }
.status-pill { height: 32px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding-block: clamp(36px, 6vw, 72px) clamp(64px, 8vw, 104px); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid { position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 30%, #000 20%, transparent 72%); mask-image: radial-gradient(ellipse 75% 70% at 70% 30%, #000 20%, transparent 72%); }
.hero__glow { position: absolute; width: 60vw; height: 60vw; right: -18vw; bottom: -30vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,158,27,.16), rgba(255,158,27,.05) 55%, transparent); filter: blur(10px); }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__title { margin-bottom: 26px; }
.hero__accent { color: transparent; background: linear-gradient(100deg, var(--brand-500) 10%, var(--brand-200) 55%, #FFF7E6 78%, var(--brand-400) 100%); -webkit-background-clip: text; background-clip: text; padding-right: .04em; margin-right: -.04em; }
.hero__lead { max-width: 52ch; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__note { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-3); }
.hero__note .i { color: var(--ok); }
.hero__stats { display: flex; gap: clamp(20px, 3.4vw, 44px); margin-top: clamp(32px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--border); }
.hero__stats > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.hero__stats dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hero__stats dd { font-family: var(--font-display); font-weight: 800; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; color: var(--ink); }
.hero__stats .unit { color: var(--brand); font-size: .7em; margin-left: 2px; }

.hero__visual { position: relative; padding: 34px 40px 0 0; }
.hero__media { position: relative; }
.hero__frame { position: relative; aspect-ratio: 4 / 4.9; overflow: hidden; background: var(--muted-2); --c: 28px; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__frame .media__shade { background: linear-gradient(180deg, rgba(0,0,0,.05) 40%, rgba(0,0,0,.55) 100%); }
.sparks { position: absolute; pointer-events: none; }
.hero__media .sparks { inset: -12% -14% -6% -30%; width: 144%; height: 118%; z-index: 3; }
.dim { position: absolute; fill: none; stroke: var(--brand); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .85; }
.dim path { vector-effect: non-scaling-stroke; }
.dim--h { left: 0; right: 0; top: -22px; width: 100%; height: 12px; }
.dim--v { top: 0; bottom: 0; right: -26px; width: 12px; height: 100%; }
.dim__label { position: absolute; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--brand-text); background: var(--bg); padding: 0 8px; }
.dim__label--h { top: -30px; left: 50%; transform: translateX(-50%); }
.dim__label--v { right: -48px; top: 50%; transform: translateY(-50%) rotate(90deg); }
.hero__float { z-index: 4; }
.hero__float--a { left: -36px; bottom: 9%; }
.hero__float--b { left: -48px; top: 17%; }
.i--quote { fill: currentColor; stroke: none; width: 16px; height: 16px; }
.hero__float .icon-tile { width: 38px; height: 38px; border-radius: var(--r-lg); }
.hero__float .icon-tile .live-dot { width: 9px; height: 9px; }
.float-card { border-radius: var(--r-xl); }
.float-card strong { font-size: 14px; }

/* ---------- Marquee de oficios ---------- */
.trades { border-block: 1px solid var(--border); background: var(--muted); padding-block: clamp(16px, 2vw, 24px); overflow: hidden; }
.trades .marquee__group { gap: clamp(20px, 2.6vw, 40px); padding-right: clamp(20px, 2.6vw, 40px); }
.trades span { font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6vw, 88px); line-height: 1; text-transform: uppercase; letter-spacing: .005em; white-space: nowrap; color: var(--ink); }
.trades span.is-outline { color: transparent; -webkit-text-stroke: 1.2px color-mix(in srgb, var(--ink) 55%, transparent); }
.trades i { width: 14px; height: 14px; background: var(--brand); transform: rotate(45deg); flex: none; }

/* ---------- Servicios · bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(240px, auto); gap: var(--grid-gap); }
.svc { position: relative; display: flex; flex-direction: column; justify-content: flex-end; grid-column: span 4; min-height: 270px; overflow: hidden; background: var(--surface); isolation: isolate; }
.svc--feature { grid-column: span 7; grid-row: span 2; min-height: 500px; }
.bento > .svc:nth-child(2), .bento > .svc:nth-child(3) { grid-column: span 5; }
.svc__media { position: absolute; inset: 0; z-index: -1; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.82); transition: transform 1s var(--ease-out), filter .6s var(--ease); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,11,0) 25%, rgba(8,9,11,.55) 58%, rgba(8,9,11,.94) 100%); }
.svc:hover .svc__media img { transform: scale(1.06); filter: saturate(1) brightness(.9); }
.svc__body { padding: clamp(20px, 2.4vw, 32px); }
.svc__no { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; color: var(--brand-text); margin-bottom: 10px; }
.svc__title { font-size: var(--fs-h3); margin-bottom: 8px; color: #fff; }
.svc--feature .svc__title { font-size: clamp(44px, 5vw, 72px); }
.svc p { color: rgba(241,243,246,.82); font-size: 15px; line-height: 1.5; max-width: 40ch; }
.svc__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand-text); }
.svc__link .i { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.svc:hover .svc__link .i { transform: translate(2px, -2px); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); transition: box-shadow .3s var(--ease); }
.svc:hover::before { box-shadow: inset 0 0 0 1px rgba(255,158,27,.45); }
.svc:focus-visible { outline-offset: -4px; }

.promo { grid-column: 1 / -1; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(28px, 3.4vw, 44px) clamp(24px, 3.4vw, 48px); background: var(--surface-promo, #1A1E24); box-shadow: inset 0 0 0 1px var(--border); overflow: hidden; }
.promo__stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(-45deg, var(--brand) 0 10px, #111 10px 20px); }
.promo__tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); margin-bottom: 8px; }
.promo__title { font-size: clamp(26px, 2.5vw, 36px); max-width: 34ch; }
.promo__cta { flex: none; }

/* ---------- Portafolio ---------- */
.works__bar { display: flex; justify-content: flex-start; margin-bottom: 24px; }
.works .segmented { background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); border-radius: var(--r-lg); }
.works .segmented button { border-radius: var(--r); }
.works .segmented button[aria-selected="true"] { background: var(--brand); color: var(--on-brand); box-shadow: var(--sh-btn); }
.works .segmented .count { font-family: var(--font-mono); font-size: 11px; opacity: .7; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); }
.tile { min-width: 0; }
.tile__btn { position: relative; display: block; width: 100%; text-align: left; overflow: hidden; border-radius: var(--r-lg); background: var(--muted-2); }
.tile__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .4s var(--ease); filter: saturate(.92); }
.tile__btn:hover .tile__media img { transform: scale(1.05); filter: saturate(1.05); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 2px; padding: 40px 16px 14px; background: linear-gradient(180deg, transparent, rgba(5,6,8,.88)); opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .4s var(--ease-out); }
.tile__btn:hover .tile__cap, .tile__btn:focus-visible .tile__cap { opacity: 1; transform: none; }
.tile__cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); }
.tile__title { font-weight: 600; font-size: 15px; color: #fff; line-height: 1.3; }
.tile__zoom { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: var(--r); background: rgba(10,11,14,.6); color: #fff; backdrop-filter: blur(8px); opacity: 0; transform: scale(.9); transition: opacity .25s, transform .3s var(--ease-out); }
.tile__btn:hover .tile__zoom { opacity: 1; transform: none; }
.tile__btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.works__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 28px; margin-top: clamp(24px, 3vw, 40px); }
.works__more .num { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }

/* ---------- Visor ---------- */
.viewer { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; align-items: center; gap: 12px; padding: 24px; opacity: 0; transition: opacity .3s var(--ease); }
.viewer.is-open { opacity: 1; }
.viewer__fig { display: flex; flex-direction: column; gap: 14px; height: 100%; max-height: calc(100dvh - 48px); min-height: 0; }
.viewer__img { flex: 1; min-height: 0; display: grid; place-items: center; }
.viewer__img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-lg); box-shadow: var(--sh-xl); }
.viewer__cap { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #fff; }
.viewer__cap > span:first-child { display: flex; flex-direction: column; gap: 3px; }
.viewer__cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); }
.viewer__cap strong { font-size: 17px; font-weight: 600; }
.viewer__side { display: flex; align-items: center; gap: 16px; }
.viewer__idx { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }
.viewer .icon-btn { width: 52px; height: 52px; color: #fff; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.viewer .icon-btn:hover { background: rgba(255,255,255,.14); }
.viewer__close { position: absolute; top: 16px; right: 16px; z-index: 2; }
.viewer__nav .i { width: 24px; height: 24px; }

/* ---------- Proceso · Del plano al portón ---------- */
.process { overflow: clip; }
.story { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.story__copy .section__title { margin-bottom: 18px; }
.story__copy .section__lead { margin-bottom: 30px; }
.steps { display: grid; gap: 6px; counter-reset: s; }
.step { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 16px 18px 16px 14px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--border); background: var(--surface); transition: background-color .4s var(--ease), box-shadow .4s var(--ease), opacity .4s; }
.step__no { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--ink-4); transition: color .4s; }
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 3px; }
.step p { font-size: 14.5px; color: var(--ink-3); line-height: 1.5; }
.story.is-armed .step { opacity: .5; }
.story.is-armed .step.is-done { opacity: .75; }
.story.is-armed .step.is-done .step__no { color: var(--brand-700); }
.story.is-armed .step.is-active { opacity: 1; background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-soft-border), inset 3px 0 0 var(--brand); }
.story.is-armed .step.is-active .step__no { color: var(--brand); }
.story:not(.is-armed) .step__no { color: var(--brand); }

.blueprint { --c: 26px; position: relative; aspect-ratio: 640 / 470; background: #0E1620; overflow: hidden; isolation: isolate;
  background-image: linear-gradient(rgba(124,203,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(124,203,255,.07) 1px, transparent 1px), linear-gradient(rgba(124,203,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(124,203,255,.035) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px; box-shadow: inset 0 0 0 1px rgba(124,203,255,.18); }
.blueprint__photo { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .2s linear; }
.blueprint__photo img { width: 100%; height: 100%; object-fit: cover; }
.blueprint__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,22,32,.25), rgba(14,22,32,.7)); }
.story.is-armed .blueprint__photo { opacity: clamp(0, calc((var(--story-p, 0) - .8) * 5), 1); }
.blueprint__head { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px 0 36px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: rgba(124,203,255,.85); }
.blueprint__status { padding: 5px 10px; border-radius: var(--r); background: var(--brand-soft); color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand-soft-border); white-space: nowrap; }
.blueprint__svg { position: absolute; inset: 9% 3% 6% 3%; width: 94%; height: 85%; overflow: visible; }
.bp-static path { fill: none; stroke: rgba(124,203,255,.5); stroke-width: 1.4; }
.bp-dim { stroke: var(--accent) !important; }
.bp-label { font-family: var(--font-mono); font-size: 13px; fill: var(--accent); text-anchor: middle; letter-spacing: .06em; }
.bp-weld { fill: none; stroke: var(--brand); stroke-width: 4; stroke-linejoin: miter; stroke-linecap: square; filter: drop-shadow(0 0 4px rgba(255,158,27,.6)); }
.bp-wheels circle { fill: none; stroke: rgba(124,203,255,.7); stroke-width: 2; }
.bp-spark__glow { fill: rgba(255,200,120,.35); filter: blur(4px); }
.bp-spark__core { fill: #FFF6E0; }
.story:not(.is-armed) .bp-spark { display: none; }
.sparks--weld { inset: 0; width: 100%; height: 100%; z-index: 2; }
.blueprint__notes { position: absolute; left: 36px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.blueprint__notes span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: var(--r); color: var(--accent); background: rgba(124,203,255,.08); box-shadow: inset 0 0 0 1px rgba(124,203,255,.25); }
.story.is-armed [data-story-node] { opacity: 0; transition: opacity .4s var(--ease); }
.story.is-armed [data-story-node].is-passed { opacity: 1; }
.story.is-complete .bp-weld { opacity: .7; }
.blueprint__done { position: absolute; right: 20px; top: 58px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r); background: var(--brand); color: var(--on-brand); font-weight: 700; font-size: 14px; box-shadow: var(--sh-btn), var(--sh-lg); opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .5s var(--ease-out); }
.story.is-complete .blueprint__done, .story:not(.is-armed) .blueprint__done { opacity: 1; transform: none; }
.story:not(.is-armed) .blueprint__done { display: none; }

/* ---------- Banda de acero claro ---------- */
.steel { position: relative; overflow: clip; }
.steel::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(13,15,18,.025) 0 1px, transparent 1px 3px), linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%); }
.steel .container { position: relative; }
.steel .eyebrow::before { background: var(--brand-700); }
.steel__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.steel__manifesto { font-size: clamp(34px, 4.4vw, 64px); line-height: 1; max-width: 22ch; color: var(--on-inverse); }
.steel__media { --c: 20px; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--inverse-3); }
.steel__media img { width: 100%; height: 100%; object-fit: cover; }
.steel__fig figcaption { margin-top: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-inverse-2); }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gap); margin-bottom: clamp(56px, 7vw, 96px); }
.pillars li { padding: 22px 22px 24px; background: rgba(255,255,255,.55); box-shadow: inset 0 0 0 1px var(--inverse-border), 0 1px 2px rgba(13,15,18,.06); border-radius: var(--r-lg); }
.pillars__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: var(--r); background: var(--on-inverse); color: var(--brand); }
.pillars h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 24px; line-height: 1.05; margin-bottom: 6px; }
.pillars p { font-size: 14.5px; color: var(--on-inverse-2); }
.voices__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-inverse-2); margin-bottom: 18px; }
.voices__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.voice { --c: 16px; position: relative; padding: 26px 24px 22px; background: var(--on-inverse); color: #fff; clip-path: polygon(var(--c) 0, 100% 0, 100% calc(100% - var(--c)), calc(100% - var(--c)) 100%, 0 100%, 0 var(--c)); }
.voice__q { color: var(--brand); width: 26px; height: 26px; margin-bottom: 14px; fill: currentColor; stroke: none; }
.voice blockquote { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.05; margin-bottom: 16px; }
.voice figcaption { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; color: var(--ink-3); }
.voice figcaption::before { content: "— "; color: var(--brand); }

/* ---------- Cotizador ---------- */
.quote__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.quote__form { --c: 22px; display: grid; gap: 26px; padding: clamp(22px, 3vw, 36px); border-radius: 0; }
.qf { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.qf__legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 22px; letter-spacing: .01em; }
.qf__legend .num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--r); background: var(--brand-soft); color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand-soft-border); font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; }
.choice { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.choice--types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice button { border-radius: var(--r-lg); background: var(--muted); box-shadow: inset 0 0 0 1px var(--border-strong); padding: 12px 14px; }
.choice button:hover { background: var(--muted-2); }
.choice button[aria-checked="true"] { background: var(--brand-soft); box-shadow: inset 0 0 0 1.5px var(--brand); }
.qf__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; }
.qf__row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.qf__hint, .qf__legal { font-size: 13px; color: var(--ink-3); }
.qf__legal { text-align: center; margin-top: -12px; }
.input { background: var(--muted); }
textarea.input { resize: vertical; min-height: 92px; line-height: 1.5; }
.stepper { background: var(--muted); height: 46px; }

.ticket { position: sticky; top: calc(var(--header-h) + 20px); --c: 22px; background: var(--inverse); color: var(--on-inverse); padding: clamp(20px, 2.6vw, 30px);
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }
.ticket::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(13,15,18,.02) 0 1px, transparent 1px 3px); }
.ticket__head { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1.5px dashed rgba(13,15,18,.22); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; }
.ticket__brand { text-transform: uppercase; color: var(--on-inverse-2); }
.ticket__draw { margin: 18px 0 6px; padding: 8px; background: rgba(255,255,255,.6); box-shadow: inset 0 0 0 1px var(--inverse-border); border-radius: var(--r-lg);
  background-image: linear-gradient(rgba(13,15,18,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(13,15,18,.05) 1px, transparent 1px); background-size: 15px 15px; }
.ticket__svg { width: 100%; height: auto; overflow: visible; }
.tk-shape { fill: rgba(13,15,18,.04); stroke: var(--on-inverse); stroke-width: 2.5; }
.tk-bars line { stroke: var(--on-inverse); stroke-width: 1.6; }
.tk-dim { fill: none; stroke: var(--brand-700); stroke-width: 1.3; }
.tk-label { font-family: var(--font-mono); font-size: 11px; fill: var(--brand-800); text-anchor: middle; }
.ticket__rows { display: grid; margin: 10px 0 16px; }
.ticket__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--inverse-border); font-size: 14.5px; }
.ticket__rows dt { color: var(--on-inverse-2); }
.ticket__rows dd { font-weight: 650; text-align: right; }
.ticket__msg { padding: 14px 16px; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--inverse-border); margin-bottom: 14px; }
.ticket__msg-label { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-inverse-2); margin-bottom: 6px; }
.ticket__msg p { white-space: pre-line; font-size: 14px; line-height: 1.55; color: #22262c; }
.ticket .btn--outline-inverse { color: var(--on-inverse); box-shadow: inset 0 0 0 1px rgba(13,15,18,.28); }
.ticket .btn--outline-inverse:hover { background: rgba(13,15,18,.06); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head .section__title { margin-bottom: 18px; }
.faq__head .section__lead { margin-bottom: 24px; }
.accordion { border-radius: var(--r-xl); padding: 4px 26px; }
.acc summary { font-size: 17px; }

/* ---------- Contacto ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 64px); align-items: stretch; }
.contact__info .section__title { margin-bottom: 28px; }
.clist { display: grid; gap: 10px; margin-bottom: 28px; }
.clist__item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); transition: box-shadow .25s var(--ease), transform .25s var(--ease), background-color .25s; }
.clist__item:hover { box-shadow: inset 0 0 0 1px var(--border-strong), var(--sh-md); transform: translateY(-2px); }
.clist__item > span:nth-child(2) { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.clist__item small { font-size: 12.5px; color: var(--ink-3); }
.clist__item strong { font-size: 17px; font-weight: 650; }
.clist__item .icon-tile { border-radius: var(--r); }
.clist__go { color: var(--ink-4); transition: transform .25s var(--ease), color .25s; }
.clist__item:hover .clist__go { color: var(--brand); transform: translate(2px, -2px); }
.hours { padding: 18px 20px; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--border); }
.hours__title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-weight: 650; margin-bottom: 10px; }
.hours__title .i { color: var(--brand); }
.hours__title .pill { margin-left: auto; }
.hours ul { display: grid; }
.hours li { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: var(--r); font-size: 14.5px; color: var(--ink-2); }
.hours li.is-today { background: var(--brand-soft); color: var(--ink); font-weight: 650; box-shadow: inset 0 0 0 1px var(--brand-soft-border); }
.contact__map { --c: 26px; position: relative; min-height: 460px; background: var(--muted-2); overflow: hidden; }
.contact__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9) brightness(.95); }
.contact__map-tag { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-lg); font-size: 13.5px; font-weight: 600; }
.contact__map-tag .i { color: var(--brand); }

/* ---------- CTA final ---------- */
.final { position: relative; background: var(--brand); color: var(--on-brand); padding-block: clamp(64px, 8vw, 112px); overflow: clip; }
.final__stripe { position: absolute; left: 0; right: 0; top: 0; height: 16px; background: repeating-linear-gradient(-45deg, #111 0 14px, var(--brand) 14px 28px); }
.final__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.final__title { font-size: clamp(48px, 8vw, 128px); max-width: 15ch; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.final .btn--ink { background: #0D0F12; color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 24px -8px rgba(0,0,0,.5); }
.final .btn--ink:hover { background: #22262c; }
.btn--final-outline { color: var(--on-brand); box-shadow: inset 0 0 0 1.5px rgba(26,16,0,.55); }
.btn--final-outline:hover { background: rgba(26,16,0,.08); }
.final ::selection { background: #0D0F12; color: var(--brand); }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(56px, 7vw, 88px) 28px; background: #08090B; border-top: 1px solid var(--border); overflow: clip; }
.footer__top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand { display: flex; gap: 18px; align-items: center; max-width: 520px; }
.footer__brand img { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.footer__brand p { color: var(--ink-3); font-size: 14.5px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.footer__nav a { font-size: 14.5px; color: var(--ink-2); padding: 6px 0; transition: color .2s; }
.footer__nav a:hover { color: var(--brand); }
.footer__word { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(48px, 10.4vw, 166px); line-height: 1; padding-top: .12em; letter-spacing: -.005em; white-space: nowrap; margin: clamp(28px, 4vw, 52px) 0 14px;
  color: transparent; background: linear-gradient(180deg, #3A4049 0%, #1B1F25 70%); -webkit-background-clip: text; background-clip: text; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--ink-3); }

/* ---------- Barra de acción móvil ---------- */
.action-bar > .is-primary .i, .action-bar .i { width: 18px; height: 18px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .status-pill { display: none; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; padding: 34px 44px 24px 24px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > .svc, .bento > .svc:nth-child(2), .bento > .svc:nth-child(3) { grid-column: span 1; }
  .svc--feature { grid-column: span 2 !important; grid-row: auto; min-height: 440px; }
  .promo { flex-direction: column; align-items: flex-start; padding-left: 40px; }
  .story { grid-template-columns: 1fr; }
  .blueprint { order: -1; }
  .quote__grid { grid-template-columns: 1fr; }
  .ticket { position: relative; top: 0; }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { min-height: 380px; }
  .voices__grid { grid-template-columns: 1fr; }
  .steel__top { grid-template-columns: 1fr; }
  .steel__fig { max-width: 520px; }
}
@media (max-width: 767px) {
  :root { --fs-hero: clamp(52px, 15vw, 76px); --fs-h2: clamp(40px, 11.5vw, 58px); --chamfer: 14px; }
  .header__cta { display: none; }
  .brandmark__name { font-size: 19px; }
  .hero { padding-top: 24px; }
  .hero__title { margin-bottom: 20px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__stats { gap: 18px; justify-content: space-between; }
  .hero__stats dt { font-size: 9.5px; letter-spacing: .06em; }
  .hero__stats dd { font-size: 32px; }
  .hero__visual { padding: 30px 30px 26px 4px; }
  .hero__float { padding: 8px 12px 8px 8px; }
  .hero__float--a { left: -2px; bottom: 18%; }
  .hero__float--b { left: -2px; top: 12%; }
  .hero__float .icon-tile { width: 32px; height: 32px; }
  .hero__float strong { font-size: 13px; }
  .hero__float small { font-size: 11.5px; }
  .dim--v { right: -20px; }
  .dim__label--v { right: -40px; }
  .trades span { font-size: 44px; }
  .bento { grid-template-columns: 1fr; }
  .bento > .svc, .bento > .svc:nth-child(2), .bento > .svc:nth-child(3), .svc--feature { grid-column: auto !important; }
  .svc { min-height: 300px; }
  .svc--feature { min-height: 400px; }
  .promo__cta { width: 100%; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile__cap { opacity: 1; transform: none; padding: 28px 10px 9px; }
  .tile__cat { display: none; }
  .tile__title { font-size: 12.5px; }
  .works__bar { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .viewer { grid-template-columns: 1fr; padding: 64px 12px calc(16px + env(safe-area-inset-bottom)); }
  .viewer__nav { position: absolute; top: 40%; z-index: 2; }
  .viewer__nav--prev { left: 8px; } .viewer__nav--next { right: 8px; }
  .viewer .icon-btn.viewer__nav { width: 44px; height: 44px; background: rgba(10,11,14,.6); }
  .viewer__cap { flex-direction: column; align-items: flex-start; }
  .viewer__side { width: 100%; justify-content: space-between; }
  .blueprint__head { padding-left: 22px; font-size: 9.5px; }
  .blueprint__folio { display: none; }
  .ticket__brand { display: none; }
  .blueprint__notes { left: 16px; bottom: 12px; }
  .blueprint__notes span { font-size: 9.5px; padding: 4px 7px; }
  .blueprint__done { right: 12px; bottom: 12px; font-size: 12.5px; padding: 6px 10px; }
  .pillars { grid-template-columns: 1fr; }
  .choice--types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qf__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .qf__row > .field:last-child { grid-column: 1 / -1; }
  .qf__row--2 { grid-template-columns: 1fr; }
  .accordion { padding: 2px 18px; }
  .final__ctas .btn { flex: 1 1 100%; }
  .footer__brand { flex-direction: column; align-items: flex-start; }
  .footer__word { font-size: 13.6vw; }
}
@media (max-width: 480px) {
  .hero__float--a small { display: none; }
}
@media (hover: none) {
  .tile__zoom { opacity: 1; transform: none; }
}
