/* Verite skin — "the gear room". Inter only; tight, information-dense. Brief §2.3.
   Scale: 12 / 14 / 16 / 20 / 28 / 40 / 56. Accent (coral) only on the tally glyph, the primary
   button, the active nav underline and the quote count. */

body.site-verite { font-family: "Inter", system-ui, sans-serif; font-size: 16px; line-height: 1.55; font-feature-settings: "tnum" 0, "cv11" 1; }
.site-verite h1, .site-verite h2, .site-verite h3 { text-wrap: balance; }
/* Type scale (scale 12/14/16/20/28/40/56). One step down on phones, never off the scale:
     H1 56 → 40 · H2 40 → 28 · H3 20 · lede 20 · body 16 · label 12
   .h-sm is a sub-section H2 inside text pages: 28 at every width (a 40 would shout over the H1). */
.site-verite h1 { font-size: 56px; line-height: 1.04; font-weight: 700; letter-spacing: -.025em; }
.site-verite h2 { font-size: 40px; line-height: 1.08; font-weight: 600; letter-spacing: -.02em; }
.site-verite h3 { font-size: 20px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.site-verite h2.h-sm { font-size: 28px; line-height: 1.15; letter-spacing: -.015em; }
.site-verite p { max-width: 65ch; }
.site-verite .label { font-size: 12px; line-height: 1.3; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); font-weight: 500; }
.site-verite .lede { font-size: 20px; line-height: 1.45; color: var(--text-muted); max-width: 52ch; }
.site-verite .muted { color: var(--text-muted); }
.site-verite .link { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 500; font-size: 14px; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: var(--space-1); transition: text-decoration-color var(--t-fast) var(--ease); }
.site-verite .link:hover { text-decoration-color: var(--text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack-lg { display: grid; gap: var(--section-y); padding-block: var(--space-8) var(--section-y); }
.narrow { max-width: calc(var(--max-w) * 8 / 12); }  /* body copy: 8 of 12 columns */

/* Tally glyph: the one piece of signature colour */
.brand-mark, .tally-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.tally::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: var(--space-3); vertical-align: 2px; }

/* ── Header ── */
/* Navigation bar (Ricardo, 2026-10-16): the same dark gray as the catalog tables, so the black disc of logo C stands out (1.4:1 against it).
   The header carries its own text-muted and border so the links and buttons keep their contrast on the gray (6.5:1 and a visible 1.6:1 outline). */
.site-verite .site-header { --text-muted: #B4B4AC; --border: #484844; --nav-link: #F0733F; position: sticky; top: 0; z-index: 30; background: #2C2C2A; }
.site-verite .brand { display: inline-flex; align-items: center; }
.brand-logo { display: block; height: 80px; width: auto; }
.site-verite .header-row { min-height: 72px; padding-block: var(--space-2); }
.site-verite .site-nav { font-size: 14px; gap: var(--space-6); }
.header-tools { display: flex; align-items: center; gap: var(--space-3); }
.quote-btn { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; font-size: 14px; font-weight: 500; }
.quote-btn:hover, .quote-btn[aria-current="page"] { border-color: var(--text-muted); }
.quote-count { min-width: 20px; height: 20px; padding: 0 var(--space-2); border-radius: 10px; background: var(--surface-2); color: var(--text-muted); font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.quote-count.has-items { background: var(--accent); color: #0A0A0A; }

/* ── Buttons ── */
.btn-add { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-4); border: 1px solid var(--text); border-radius: var(--radius); background: var(--text); color: var(--bg); font: 600 14px/1 "Inter", sans-serif; cursor: pointer; transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.btn-add:hover { background: transparent; color: var(--text); }
.btn-add--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-add--ghost:hover { border-color: var(--text); }
.btn-add--sm { min-height: 44px; padding: 0 var(--space-3); font-size: 12px; }
.btn-add[data-added] { background: transparent; color: var(--text); border-color: var(--border); }
.btn-add[data-added]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ── Hero ── */
.hero { position: relative; min-height: min(78vh, 760px); display: grid; align-items: end; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-media { position: absolute; inset: 0; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.72) 42%, rgba(10,10,10,.25) 100%); }
.hero-inner { position: relative; display: grid; gap: var(--space-4); padding-block: var(--space-24) var(--space-16); }
.hero h1 { max-width: 17ch; }
.hero .lede { color: #C9C9C3; }
.hero .actions { margin-top: var(--space-3); }

/* ── Home header: plain text, no photo ── */
.home-head-inner { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-12); align-items: center; padding-block: var(--space-16); }
.home-head-text { display: grid; gap: var(--space-4); justify-items: start; }
.home-head-text .actions { margin-top: var(--space-2); }
.home-head h1 { max-width: 16ch; }
.home-head .actions { margin-top: var(--space-2); }
.home-head-reel { min-width: 0; }
.home-head-reel .reel-note { font-size: 12px; }

/* ── Trayectoria ── */
.section--line { border-top: 1px solid var(--border); }
.track-intro { display: grid; gap: var(--space-3); }
.track-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: var(--space-4); align-items: stretch; }
.track-card { display: grid; align-content: end; min-width: 0; min-height: 280px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.track-card.has-img { grid-template-rows: auto 1fr; align-content: stretch; }
.track-card.has-img .track-body { align-content: end; }
.track-media { margin: 0; overflow: hidden; aspect-ratio: 16 / 9; }
.track-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.track-body { display: grid; gap: var(--space-2); padding: var(--card-pad); }
.track-body h3 { font-size: 28px; }
.clients { display: grid; gap: var(--space-3); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--border); }
.client-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-8); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }

/* ── Reel (click-to-load YouTube) ── */
.reel { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: #000; color: var(--text); text-decoration: none; }
.reel img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.7); transition: filter var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.reel:hover img { filter: saturate(.9) brightness(.8); transform: scale(1.01); }
.reel-play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid var(--text); background: rgba(10,10,10,.45); backdrop-filter: blur(4px); transition: transform var(--t-base) var(--ease), background-color var(--t-base) var(--ease); }
.reel-play::after { content: ""; position: absolute; left: 36px; top: 28px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent var(--text); }
.reel:hover .reel-play { transform: scale(1.06); background: rgba(10,10,10,.65); }
.reel-cap { position: absolute; left: var(--space-6); bottom: var(--space-6); display: grid; gap: var(--space-1); }
.reel-title { font-size: 20px; font-weight: 600; }
.reel-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reel-note { margin-top: var(--space-3); }

/* ── Sections ── */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--space-8) var(--section-y); }
.section-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-8); }
.section-head--row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.inter { font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -.03em; padding-block: var(--space-16) 0; border-top: 1px solid var(--border); color: var(--text); max-width: none; }

/* Title links */
.svc-link { text-decoration: none; }
.svc-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Service detail page */
.svc-page { gap: var(--section-y); }
.svc-intro { display: grid; gap: var(--space-4); }
.svc-intro > p:not(.lede) { color: var(--text-muted); }
.svc-page .svc-t-gear { margin-top: var(--space-3); }

/* Clients (Trabajo) */
.clients-cols { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-12); }
.clients-cols .label { margin-bottom: var(--space-3); }
.clients-sub { font-size: 20px; font-weight: 600; margin-bottom: var(--space-4); }
.clients-cols--feat { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: var(--space-12); }
.feat-table { width: 100%; border-collapse: collapse; background: transparent; align-self: start; }
.feat-table thead th { padding: var(--space-3) 0; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-align: left; color: var(--text-muted); }
.feat-table td { padding: var(--space-4) 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); font-size: 16px; }
.clients-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: var(--space-8); font-size: 14px; }
.clients-cols > div:last-child .clients-list { columns: 1; }
.clients-list li { padding-block: var(--space-2); border-bottom: 1px solid var(--border); break-inside: avoid; }

/* FAQ on Cotizar */
.faq-block { display: grid; gap: var(--space-3); }

/* ── Spec cards (catalog) ── */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--space-4); }
.spec-grid--fit { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.spec-card { min-width: 0; display: grid; grid-template-rows: auto 1fr auto; gap: var(--space-4); padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color var(--t-fast) var(--ease); }
.spec-card:hover { border-color: #3a3a3a; }
.spec-card-head { display: grid; gap: var(--space-2); text-decoration: none; }
.spec-card-head h3 { font-size: 20px; }
.spec-mini { margin: 0; display: grid; align-content: start; border-top: 1px solid var(--border); }
.spec-mini div { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: var(--space-3); padding-block: var(--space-2); border-bottom: 1px solid var(--border); font-size: 14px; }
.spec-mini dt { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; align-self: center; }
.spec-mini dd { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }

/* ── Proof: photo tiles, text over the image; card 4 (Oficio) is the largest ── */
.proof-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(300px, auto); gap: var(--space-4); }
.proof { position: relative; display: grid; align-items: end; min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); isolation: isolate; }
.proof-media { position: absolute; inset: 0; margin: 0; z-index: -1; }
.proof-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75); transition: transform var(--t-slow) var(--ease), filter var(--t-slow) var(--ease); }
.proof:hover .proof-media img { transform: scale(1.03); filter: saturate(.95); }
.proof-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,10,.94) 0%, rgba(10,10,10,.62) 45%, rgba(10,10,10,.12) 100%); }
.proof-body { display: grid; gap: var(--space-2); padding: var(--space-6); }
.proof-body h3 { font-size: 12px; line-height: 1.3; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; color: #C9C9C3; }
.proof-body p { font-size: 20px; line-height: 1.35; font-weight: 500; color: var(--text); max-width: 34ch; }
.p-a { grid-column: 1 / span 5; }
.p-c { grid-column: 6 / span 7; }
.p-b { grid-column: 1 / span 4; }
.p-d { grid-column: 5 / span 8; min-height: 420px; }
.p-d .proof-body { padding: var(--space-12) var(--space-8); gap: var(--space-3); }
.p-d .proof-body p { font-size: 40px; line-height: 1.08; font-weight: 600; letter-spacing: -.02em; max-width: 18ch; }

/* ── FAQ ── */
.faq { display: grid; margin-top: var(--space-6); border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; padding-block: var(--space-4); font-weight: 600; }
.faq details p { padding-bottom: var(--space-4); color: var(--text-muted); }

/* ── Closing ── */
.closing { border-top: 1px solid var(--border); background: var(--surface); }
.closing-inner { display: grid; gap: var(--space-6); justify-items: start; padding-block: var(--space-16); }
.closing-line { font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; max-width: 22ch; }

/* ── Page head / catalog ── */
.page-head { padding-block: var(--section-y) var(--space-8); }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
.page-head h1 + .lede { margin-top: var(--space-1); }
.page-head h1 { max-width: 20ch; }
.search { display: flex; flex-wrap: wrap; gap: var(--space-2); max-width: 720px; margin-top: var(--space-3); }
.search input[type="search"] { flex: 1; min-width: 12rem; min-height: 44px; padding: 0 var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); font-size: 16px; }
.search input[type="search"]:focus { border-color: var(--text-muted); outline: none; }
.btn { font-size: 14px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6) var(--space-4); }
.cat-grid > .cat-tile:first-child { grid-column: span 2; }
.cat-grid > .cat-tile:first-child figure { aspect-ratio: auto; height: 100%; min-height: 0; }
.cat-grid > .cat-tile:first-child { grid-template-rows: 1fr auto auto; }
.cat-grid.cat-grid--2 { grid-template-columns: repeat(2, 1fr); margin-top: var(--space-4); }
.cat-grid.cat-grid--2 > .cat-tile:first-child { grid-column: auto; grid-template-rows: auto; }
.cat-grid.cat-grid--2 > .cat-tile:first-child figure { aspect-ratio: 16 / 9; height: auto; }
.cat-grid--2 figure { aspect-ratio: 16 / 9; }
.cat-tile { display: grid; gap: var(--space-1); min-height: 44px; text-decoration: none; }
.cat-tile figure { margin: 0 0 var(--space-2); aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform var(--t-slow) var(--ease), filter var(--t-slow) var(--ease); }
.cat-tile:hover img { transform: scale(1.03); filter: saturate(1); }
.cat-name { font-weight: 600; }
.cat-count { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.results { display: grid; gap: var(--space-6); }
.piece-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.piece-list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--border); }
.piece-list li > span { display: grid; gap: var(--space-1); }

/* Services table on Equipos: orderable lines with their related equipment */
.table-scroll { overflow-x: auto; }
.svc-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--border); }
.svc-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); font-weight: 500; text-align: left; padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--border); }
.svc-table tbody th, .svc-table td { padding: var(--space-4) var(--space-4) var(--space-4) 0; border-bottom: 1px solid var(--border); vertical-align: middle; text-align: left; font-weight: 400; }
.svc-table tbody tr { transition: background-color var(--t-fast) var(--ease); }
.svc-table tbody tr:hover { background: var(--surface); }
.svc-t-name { display: flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 600; }
.svc-t-group th { padding: var(--space-6) 0 var(--space-2) !important; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); font-weight: 500; }
.svc-table tbody tr.svc-t-group:hover { background: none; }
.svc-t-gear { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2); }
.svc-t-gear a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius); font-size: 12px; color: var(--text-muted); text-decoration: none; }
.svc-t-gear a:hover { color: var(--text); border-color: var(--text-muted); }
.svc-t-add { text-align: right !important; white-space: nowrap; width: 1%; padding-right: 0 !important; }

/* Category hero */
.back { font-size: 14px; }

/* List-tier groups */
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: var(--space-4); align-items: start; }
.group { margin: 0; padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius); display: grid; gap: var(--space-4); background: var(--surface); min-width: 0; }
.group legend { float: left; width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-3); padding: 0; }
.group legend .muted { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); clear: both; }
.checklist label { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-2) 0; min-height: 44px; font-size: 14px; cursor: pointer; }
.checklist input, .check input { accent-color: var(--text); width: 16px; height: 16px; margin-top: var(--space-1); flex: none; }
.group textarea, .rfq textarea { width: 100%; min-height: 64px; resize: vertical; padding: var(--space-3); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; }
.group .btn-add { justify-self: start; }

/* Item detail */
.item { padding-block: var(--space-8) var(--space-16); display: grid; gap: var(--space-16); }
.crumbs { font-size: 14px; color: var(--text-muted); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.item-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-12); align-items: start; margin-top: var(--space-4); }
.item-grid--solo { grid-template-columns: minmax(0, 8fr); }
.item-media { margin: 0; position: sticky; top: 88px; }
.item-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); filter: saturate(.8); }
.item-media figcaption { margin-top: var(--space-2); font-size: 12px; color: var(--text-muted); }
.item-info { display: grid; gap: var(--space-4); align-content: start; }
.item-info h1 { font-size: 40px; }
.operator { display: flex; align-items: center; gap: var(--space-3); font-size: 14px; }
.item-add { display: flex; align-items: center; gap: var(--space-4); padding-block: var(--space-2) var(--space-3); }
.spec-table { margin: var(--space-3) 0 0; border-top: 1px solid var(--border); }
.spec-table div { display: grid; grid-template-columns: 40% minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-3); border-bottom: 1px solid var(--border); font-size: 14px; }
.spec-table dt { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding-top: var(--space-1); }
.spec-table dd { margin: 0; overflow-wrap: anywhere; }
.related { display: grid; gap: var(--space-6); }
.sticky-add { display: none; }

/* ── EPK ── */
.work-groups { display: grid; gap: var(--space-12); padding-block: var(--space-4) var(--space-16); }
.work-group h2 { font-size: 20px; font-weight: 600; margin-bottom: var(--space-4); }
.work-table { width: 100%; border-collapse: collapse; background: transparent; }
.work-table thead th { padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--border); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-align: left; color: var(--text-muted); }
.work-table tbody th, .work-table td { padding: var(--space-4) var(--space-4) var(--space-4) 0; border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); text-align: left; font-weight: 400; vertical-align: top; }
.work-table tbody th { font-weight: 500; width: 40%; }
.work-table td { color: var(--text-muted); }
.work-table [data-col="year"] { width: 80px; font-variant-numeric: tabular-nums; }

/* ── Quote drawer ── */
.drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.55); opacity: 0; pointer-events: none; transition: opacity var(--t-base) var(--ease); }
.drawer { position: fixed; z-index: 41; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--surface); border-left: 1px solid var(--border); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); transition: transform var(--t-base) var(--ease); visibility: hidden; }
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-6); border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 20px; }
.drawer-close { background: none; border: 1px solid var(--border); border-radius: var(--radius); min-height: 44px; padding: 0 var(--space-3); cursor: pointer; font-size: 14px; }
.drawer-body { overflow-y: auto; padding: var(--space-4) var(--space-6); }
.drawer-foot { padding: var(--space-4) var(--space-6) calc(var(--space-4) + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); display: grid; gap: var(--space-3); }
.drawer-foot .btn { justify-content: center; }
.q-list { list-style: none; margin: 0; padding: 0; display: grid; }
.q-row { display: grid; gap: var(--space-2); padding-block: var(--space-4); border-bottom: 1px solid var(--border); }
.q-row-top { display: flex; justify-content: space-between; gap: var(--space-3); align-items: start; }
.q-name { font-weight: 600; }
.q-remove { background: none; border: none; color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; padding: var(--space-1) 0; min-height: 44px; }
.q-remove:hover { color: var(--text); }
.q-controls { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.q-qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); }
.q-qty button { width: 44px; height: 44px; background: none; border: none; cursor: pointer; font-size: 16px; }
.q-qty input { width: 44px; height: 36px; text-align: center; background: none; border: none; border-inline: 1px solid var(--border); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.q-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.q-qty-label { font-size: 12px; color: var(--text-muted); }
.q-note { width: 100%; min-height: 36px; padding: var(--space-2) var(--space-3); background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; }
.q-empty { color: var(--text-muted); padding-block: var(--space-6); }

/* Drawer: services quick-add table */
.q-services { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.q-services h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); font-weight: 500; margin-bottom: var(--space-2); }

/* ── Compare (pattern from the Panama Treasures compare tray) ── */
.cmp-toggle { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px; padding: 0 var(--space-1); background: none; border: none; color: var(--text-muted); font: 500 12px/1 "Inter", sans-serif; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; }
.cmp-toggle:hover:not(:disabled), .cmp-toggle[aria-pressed="true"] { color: var(--text); }
.cmp-toggle:disabled { opacity: .35; cursor: not-allowed; }
.cmp-box { width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 2px; display: inline-grid; place-items: center; flex: none; }
.cmp-toggle[aria-pressed="true"] .cmp-box { background: var(--text); border-color: var(--text); }
.cmp-toggle[aria-pressed="true"] .cmp-box::after { content: ""; width: 7px; height: 4px; border: 2px solid var(--bg); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.cmp-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom, 0px); }
.cmp-tray-row { display: flex; align-items: center; gap: var(--space-3); min-height: 64px; }
.cmp-tray-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); flex: none; }
.cmp-chips { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-2); flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.cmp-chip { display: inline-flex; align-items: center; gap: var(--space-2); flex: none; max-width: 220px; min-height: 36px; padding: 0 var(--space-1) 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius); font-size: 14px; background: var(--bg); }
.cmp-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cmp-chip button, .cmp-x { width: 24px; height: 24px; flex: none; display: inline-grid; place-items: center; background: none; border: 1px solid transparent; border-radius: var(--radius); color: var(--text-muted); font-size: 16px; line-height: 1; cursor: pointer; }
.cmp-chip button:hover, .cmp-x:hover { color: var(--text); border-color: var(--border); }
.cmp-clear { background: none; border: none; color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; cursor: pointer; flex: none; }
.cmp-clear:hover { color: var(--text); }
.cmp-go { flex: none; white-space: nowrap; }
.cmp-go:disabled { background: var(--surface-2); border-color: var(--border); color: var(--text-muted); cursor: default; }
body.cmp-has-items .site-footer { padding-bottom: calc(var(--space-12) + var(--space-16)); }
body.cmp-has-items .sticky-add { bottom: 64px; }
.cmp-backdrop { position: fixed; inset: 0; z-index: 34; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity var(--t-base) var(--ease); }
.cmp-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; max-height: min(78vh, 760px); display: grid; grid-template-rows: auto 1fr; background: var(--surface); border-top: 1px solid var(--border); transform: translateY(100%); visibility: hidden; transition: transform var(--t-slow) var(--ease), visibility 0s linear var(--t-slow); box-shadow: 0 -24px 48px rgba(0,0,0,.45); }
.cmp-open .cmp-panel { transform: none; visibility: visible; transition: transform var(--t-slow) var(--ease); }
.cmp-open .cmp-backdrop { opacity: 1; pointer-events: auto; }
.cmp-open .cmp-tray { visibility: hidden; }
.cmp-panel-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter))); border-bottom: 1px solid var(--border); }
.cmp-panel-head h2 { font-size: 20px; }
.cmp-panel-tools { display: flex; gap: var(--space-2); align-items: center; }
.cmp-link { background: none; border: 1px solid var(--border); border-radius: var(--radius); min-height: 36px; padding: 0 var(--space-3); font-size: 14px; cursor: pointer; color: var(--text); }
.cmp-link:hover { border-color: var(--text-muted); }
.cmp-panel-body { overflow-y: auto; padding: var(--space-4) max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter))) calc(var(--space-8) + env(safe-area-inset-bottom, 0px)); }
.cmp-note { font-size: 14px; margin-bottom: var(--space-3); }
.cmp-swipe { display: none; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--space-2); }
.cmp-scroll { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.cmp-grid { width: 100%; min-width: var(--cmp-min, 0); }
.cmp-row { display: grid; grid-template-columns: var(--cmp-cols, 1fr); border-bottom: 1px solid var(--border); }
.cmp-row:last-child { border-bottom: 0; }
.cmp-label { position: sticky; left: 0; z-index: 1; background: var(--surface-2); border-right: 1px solid var(--border); padding: var(--space-3) var(--space-4); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.cmp-cell { padding: var(--space-3) var(--space-4); font-size: 14px; border-left: 1px solid var(--border); min-width: 0; overflow-wrap: anywhere; }
.cmp-cell:nth-child(2) { border-left: 0; }
.cmp-row.is-same .cmp-cell, .cmp-row.is-same .cmp-label { color: color-mix(in srgb, var(--text-muted) 60%, transparent); }
.cmp-head .cmp-cell { position: relative; display: grid; gap: var(--space-1); align-content: start; padding-right: var(--space-12); background: var(--surface-2); }
.cmp-head .cmp-x { position: absolute; top: var(--space-2); right: var(--space-2); }
.cmp-name { font-weight: 600; font-size: 16px; text-decoration: none; }
.cmp-name:hover { text-decoration: underline; }
.cmp-foot .cmp-cell { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.cmp-actions { display: flex; justify-content: flex-end; margin-top: var(--space-6); }
.cmp-empty { display: grid; gap: var(--space-4); justify-items: start; padding: var(--space-8) 0; }
[data-compare-page] .cmp-panel-body { padding: 0; }

/* ── RFQ form ── */
.page-head--quote { border-bottom: none; padding-bottom: 0; }
.quote-summary { padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.quote-summary .section-head { margin-bottom: var(--space-3); }
.rfq { display: grid; gap: var(--space-8); }
.rfq fieldset { margin: 0; padding: var(--space-8) 0 0; border: none; border-top: 1px solid var(--border); display: grid; gap: var(--space-6); min-width: 0; }
.rfq legend { float: left; width: 100%; padding: 0; margin-bottom: var(--space-1); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); font-weight: 500; }
.rfq legend + * { clear: both; }
.field { display: grid; gap: var(--space-2); min-width: 0; }
.field[hidden] { display: none; }
.field label, .field-label { font-size: 14px; font-weight: 500; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-4); }
.rfq input:not([type="checkbox"]):not([type="radio"]), .rfq select { width: 100%; min-height: 44px; padding: 0 var(--space-3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); font-size: 16px; color-scheme: dark; }
.rfq input:focus, .rfq select:focus, .rfq textarea:focus, .q-note:focus, .group textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.rfq [aria-invalid="true"] { border-color: var(--text) !important; box-shadow: inset 3px 0 0 var(--text); }
.field-error { font-size: 12px; font-weight: 500; }
.checks { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.check { display: inline-flex; align-items: center; gap: var(--space-2); min-height: 40px; padding: 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; font-size: 14px; }
.check:has(input:checked) { border-color: var(--text); }
.check--block { display: flex; align-items: flex-start; padding: var(--space-3); min-height: 0; }
.check--block input { margin-top: var(--space-1); }
.help { font-size: 12px; color: var(--text-muted); }
.handoff { padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius); display: grid; gap: var(--space-3); justify-items: start; background: var(--surface-2); }
.handoff[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-error { padding: var(--space-3) var(--space-4); border: 1px solid var(--text); border-radius: var(--radius); font-size: 14px; }
.btn-submit { justify-self: start; min-width: 200px; justify-content: center; }
.btn-submit[disabled] { opacity: .6; cursor: progress; }
.confirm { display: grid; gap: var(--space-4); padding: var(--space-12) var(--space-8); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.confirm[hidden] { display: none; }
.confirm:focus { outline: none; }
.confirm { scroll-margin-top: var(--space-24); } /* the confirmation scrolls into view below the sticky header */

/* ── v2 IA: fleet, production, display ── */
.btn-sm { min-height: 44px; padding: 0 var(--space-3); font-size: 12px; font-weight: 600; }
.stack-md { display: grid; gap: var(--space-8); }

/* Unit card with a spec box (Game Creek model: the rows a producer checks first) */
.unit-card { min-width: 0; display: grid; gap: var(--stack-gap); align-content: start; padding: var(--card-pad); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.unit-head { display: grid; gap: var(--space-1); }
.unit-head h3 { font-size: 20px; }
.unit-card > p { font-size: 14px; }
.spec-box { margin: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.spec-box div { display: grid; grid-template-columns: 34% minmax(0, 1fr); gap: var(--space-3); padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--border); font-size: 14px; }
.spec-box div:last-child { border-bottom: 0; }
.spec-box dt { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding-top: var(--space-1); }
.spec-box dd { margin: 0; overflow-wrap: anywhere; }
.unit-actions { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.unit-btns { display: inline-flex; gap: var(--space-2); flex-wrap: wrap; }

/* Home: fleet first */
.fleet-home { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--space-4); }
.unit-card--lead { grid-column: 1 / span 7; }
.unit-card--lead .unit-head h3 { font-size: 40px; line-height: 1.05; }
.fleet-fly { grid-column: 8 / span 5; background: transparent; }
.fleet-fly .unit-head h3 { font-size: 20px; }
.fly-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.fly-list a { display: grid; gap: var(--space-1); padding-block: var(--space-3); border-bottom: 1px solid var(--border); text-decoration: none; }
.fly-list a:hover .fly-name { text-decoration: underline; text-underline-offset: 4px; }
.fly-name { font-weight: 600; }
.fly-list .muted { font-size: 14px; }
.fleet-log { grid-column: 1 / -1; display: grid; grid-template-columns: 5fr 7fr; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.fleet-log-media { margin: 0; min-height: 240px; overflow: hidden; }
.fleet-log-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.fleet-log-body { display: grid; gap: var(--space-3); align-content: center; padding: var(--space-8); }

/* Home: the two service tiers (7/5 split) */
.tier-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-4); }
.tier { min-width: 0; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.tier-media { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.tier-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.tier--display .tier-media { aspect-ratio: 16 / 11; }
.tier-body { display: grid; gap: var(--space-3); padding: var(--space-6); align-content: start; }
.tier-body h3 { font-size: 28px; }
.tier-body p { color: var(--text-muted); }
.tier-links { list-style: none; margin: var(--space-2) 0 0; padding: 0; border-top: 1px solid var(--border); }
.tier-links a { display: flex; justify-content: space-between; gap: var(--space-3); padding-block: var(--space-3); border-bottom: 1px solid var(--border); text-decoration: none; font-weight: 500; }
.tier-links a::after { content: "→"; color: var(--text-muted); }
.tier-links a:hover::after { color: var(--text); }

/* Tabs (/flota/) — without JS every panel shows, one after another */
.tablist-wrap { border-bottom: 1px solid var(--border); }
.tablist { display: flex; gap: var(--space-6); overflow-x: auto; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: var(--space-4) 0; border-bottom: 2px solid transparent; color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.tab:hover { color: var(--text); }
.tabs--js .tab[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.tabpanel { padding-block: var(--space-8) var(--space-16); }
.tabpanel:focus { outline: none; }
.tabpanel + .tabpanel { border-top: 1px solid var(--border); }
.tabs--js .tabpanel + .tabpanel { border-top: 0; }
.tabs--js .tabpanel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tab-intro { max-width: 60ch; }
.unit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--grid-gap); align-items: start; }
.unit-grid--one { grid-template-columns: minmax(0, 820px); }
.fleet-note { font-size: 14px; max-width: 80ch; }
.log-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: start; }
.log-media { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); aspect-ratio: 4 / 3; }
.log-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.log-text { display: grid; gap: var(--space-6); justify-items: start; }
.log-block { display: grid; gap: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--border); width: 100%; }
.log-block h3 { font-size: 16px; }
.log-block p { font-size: 14px; }

/* Unit spec sheet (/flota/:slug/) */
.unit-page { padding-block: var(--space-8) var(--space-16); display: grid; gap: var(--space-8); }
.unit-page-grid { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-12); align-items: start; }
.unit-page-info { display: grid; gap: var(--space-4); align-content: start; position: sticky; top: 96px; }
.unit-page-info h1 { font-size: 56px; }
.unit-page-actions { display: flex; gap: var(--space-3); flex-wrap: wrap; align-items: center; margin-top: var(--space-2); }
.unit-sheet .spec-table div { grid-template-columns: 32% minmax(0, 1fr); }
.unit-extra { font-size: 14px; max-width: 80ch; }
.print-only { display: none; }

/* Offer blocks (/produccion/, /display-imag/) */
.offers { display: grid; padding-block: 0 var(--space-16); }
.offer { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-12); padding-block: var(--space-12); border-bottom: 1px solid var(--border); scroll-margin-top: calc(var(--space-16) + var(--space-4)); }
.offer-text { display: grid; gap: var(--space-4); align-content: start; justify-items: start; }
.offer-text h2 { font-size: 40px; }
.offer-body { font-size: 20px; line-height: 1.45; color: var(--text-muted); max-width: 52ch; }
.offer-actions { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-2); }
.offer-side { display: grid; gap: var(--space-3); align-content: start; min-width: 0; }
.offer-media { margin: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); aspect-ratio: 4 / 3; }
.offer-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.ref-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.ref-list li { display: grid; gap: var(--space-1); padding-block: var(--space-3); border-bottom: 1px solid var(--border); }
.ref-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-2) var(--space-4); flex-wrap: wrap; }
.ref-title { font-weight: 600; }
.ref-head .muted { font-size: 14px; }
.ref-list p { font-size: 14px; }
.more { padding-top: var(--space-12); scroll-margin-top: calc(var(--space-16) + var(--space-4)); }
.more-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-4); }
.more-card { min-width: 0; display: grid; gap: var(--space-3); grid-template-rows: auto 1fr auto; padding: var(--space-6); border: 1px solid var(--border); border-radius: var(--radius); }
.more-card h3 { font-size: 16px; }
.more-card p { font-size: 14px; }

/* Cotizar: contact on top, services grouped by tier */
.contact-block { display: grid; gap: var(--space-3); }
.contact-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); border-top: 1px solid var(--border); }
.contact-list div { display: grid; gap: var(--space-1); padding: var(--space-3) var(--space-4) var(--space-3) 0; border-bottom: 1px solid var(--border); min-width: 0; }
.contact-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list a { color: var(--text); }
.rfq-title { margin-bottom: calc(-1 * var(--space-8)); }
.svc-groups { display: grid; gap: var(--space-4); }
.svc-group { display: grid; gap: var(--space-2); }
.svc-group-label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }

/* Footer */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-8); font-size: 14px; }
.footer-grid p + p { margin-top: var(--space-2); }
.footer-id { display: grid; gap: var(--space-3); justify-items: start; }
.footer-contact a { color: var(--text); }
.footer-logo { display: block; height: 56px; width: auto; }

/* Logo test switcher (preview hosts only) */
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }
.prose { max-width: 65ch; }
.prose p { color: var(--text-muted); }

/* ── Responsive ── */
@media (max-width: 899px) {
  .p-a, .p-b, .p-c, .p-d { grid-column: 1 / -1; }
  .track-grid { grid-template-columns: 1fr; }
  .clients-cols, .clients-cols--feat { grid-template-columns: 1fr; gap: var(--space-8); }
  .home-head-inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .proof-grid { grid-auto-rows: minmax(260px, auto); }
  .item-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .item-media { position: static; }
  .work-table thead { display: none; }
  .work-table, .work-table tbody { display: block; }
  .work-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-1) var(--space-4); padding-block: var(--space-4); border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
  .work-table tbody th, .work-table td { display: block; padding: 0; border: none; width: auto; }
  .work-table tbody th { grid-column: 1; grid-row: 1; }
  .work-table [data-col="year"] { grid-column: 2; grid-row: 1; }
  .work-table [data-col="client"], .work-table [data-col="type"] { grid-column: 1 / -1; }
  .work-table td:empty { display: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .unit-card--lead, .fleet-fly { grid-column: 1 / -1; }
  .fleet-log, .tier-grid, .log-grid, .unit-page-grid, .offer { grid-template-columns: 1fr; }
  .log-grid, .unit-page-grid, .offer { gap: var(--space-6); }
  .unit-page-info { position: static; }
  .more-grid { grid-template-columns: 1fr; }
}
@media (max-width: 719px) {
  .site-verite h1 { font-size: 40px; line-height: 1.08; }
  .site-verite h2 { font-size: 28px; line-height: 1.15; }
  .item-info h1 { font-size: 28px; }
  .inter { font-size: 40px; padding-block: var(--space-12); }
  .p-d .proof-body p, .closing-line { font-size: 28px; }
  .proof-body p { font-size: 16px; }
  .p-d { min-height: 340px; }
  .section { padding-block: var(--section-y-m); }
  .page-head { padding-block: var(--section-y-m) var(--space-8); }
  .stack-lg { gap: var(--section-y-m); padding-block: var(--space-8) var(--section-y-m); }
  .svc-page { gap: var(--section-y-m); }
  .hero { min-height: 560px; }
  .home-head-inner { padding-block: var(--space-12) var(--space-8); }
  .client-list { font-size: 16px; gap: var(--space-2) var(--space-4); }
  .reel-play { width: 64px; height: 64px; }
  .reel-play::after { left: 25px; top: 19px; border-width: 12px 0 12px 19px; }
  .reel-cap { left: var(--space-4); bottom: var(--space-4); }
  .reel-title { font-size: 16px; }
  .hero-inner { padding-block: var(--space-16) var(--space-8); }
  .groups { grid-template-columns: 1fr; }
  .cat-grid.cat-grid--2 { grid-template-columns: 1fr; }
  .clients-list { columns: 1; }
  .svc-table thead { display: none; }
  .svc-table, .svc-table tbody, .svc-table tr { display: block; }
  .svc-table tr { display: grid; grid-template-columns: 1fr auto; gap: var(--space-3); padding-block: var(--space-4); border-bottom: 1px solid var(--border); }
  .svc-table tbody th, .svc-table td { display: block; padding: 0; border: none; }
  .svc-table td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .svc-table td.svc-t-add { grid-column: 2; grid-row: 1; }
  .drawer { top: auto; left: 0; width: 100%; max-height: 88vh; border-left: none; border-top: 1px solid var(--border); transform: translateY(100%); }
  .item-add { display: none; }
  .sticky-add { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 92%, transparent); border-top: 1px solid var(--border); backdrop-filter: blur(10px); }
  .sticky-add .btn-add { flex: 1; min-height: 44px; }
  body[data-page="item"] .site-footer { padding-bottom: var(--space-24); }
  .quote-btn span:first-child { display: none; }
  .brand-logo { height: 64px; }
  .site-verite .site-header { position: static; } /* logo + two nav rows is ~190px: too tall to stay pinned on a phone */
  .site-verite .header-row { min-height: 64px; }
  .footer-logo { height: 48px; }
  .cmp-tray-label, .cmp-clear { display: none; }
  .cmp-swipe { display: block; }
  .cmp-panel { max-height: 86vh; }
  .card-actions { flex-wrap: wrap; }
  .site-verite .site-nav { flex-wrap: wrap; overflow-x: visible; gap: var(--space-1) var(--space-4); padding-bottom: var(--space-2); }
  .svc-table tr.svc-t-group { display: block; border-bottom: 0; padding-block: var(--space-4) 0; }
  .unit-card--lead .unit-head h3, .offer-text h2, .tier-body h3 { font-size: 28px; }
  .unit-page-info h1 { font-size: 40px; }
  .offer-body { font-size: 16px; }
  .offer { padding-block: var(--space-8); }
  .fleet-log-body { padding: var(--space-6); }
  .unit-grid { grid-template-columns: 1fr; }
  .tablist { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-4); overflow: visible; }
  .tab { padding: var(--space-3) 0; line-height: 1.3; }
  .spec-box div, .unit-sheet .spec-table div { grid-template-columns: 38% minmax(0, 1fr); }
}

/* ── Print: spec sheets and pages print white, chrome hidden ("Descargar ficha (PDF)") ── */
@media print {
  :root { --bg: #fff; --surface: #fff; --surface-2: #fff; --border: #c8c8c8; --text: #000; --text-muted: #444; }
  @page { margin: 16mm 14mm; }
  body { background: #fff; color: #000; }
  .site-verite .site-header { position: static; background: #fff; backdrop-filter: none; border-bottom: 1px solid #c8c8c8; }
  .site-nav, .header-tools, .site-footer, .skip, .drawer, .drawer-backdrop, .cmp-tray, .cmp-panel, .cmp-backdrop,
  .sticky-add, .no-print, .btn, .btn-add, .cmp-toggle { display: none !important; }
  .print-only { display: block; }
  .print-head { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #444; }
  .print-foot { margin-top: 8mm; padding-top: 3mm; border-top: 1px solid #c8c8c8; font-size: 11px; color: #444; max-width: none; }
  .unit-page { padding: 0; gap: 6mm; }
  .unit-page-grid { grid-template-columns: 1fr; gap: 6mm; }
  .unit-page-info { position: static; }
  .unit-page-info h1 { font-size: 32px; }
  .lede, .site-verite .lede, .unit-page-info p { font-size: 14px; color: #222; }
  .spec-table div { break-inside: avoid; font-size: 12px; padding-block: 2.5mm; }
  a { color: #000; text-decoration: none; }
  img { filter: none !important; }
}

/* ── Ricardo's menu: "What we do" list, plain lists, contact ── */
.plain-list { margin: var(--space-2) 0 0; padding-left: var(--space-6); }
.plain-list li { margin-bottom: var(--space-2); overflow-wrap: anywhere; }
.plain-list a { color: var(--text); text-underline-offset: 3px; }
.fly-list--home { margin-top: var(--space-6); }
.units-page .unit-grid { display: grid; gap: var(--space-4); }
.contact-page section p { margin-bottom: var(--space-2); }
.contact-page a { color: var(--text); text-underline-offset: 3px; }

/* ── Rhythm inside text pages ──
   The base reset zeroes every margin, so spacing is set here and only from the 4-pt tokens:
   H2 → text 12 · text → text 16 · block → block 48 (phone) / 64 (desktop). */
:is(.svc-page, .units-page, .contact-page) section > * + * { margin-top: var(--space-4); }
:is(.svc-page, .units-page, .contact-page) section > :is(h2, h3) + * { margin-top: var(--space-3); }
.plain-list { margin: 0; }
.plain-list li { margin-bottom: var(--space-2); }
.contact-page section p { margin-bottom: 0; }
#que-hacemos h2 { margin-bottom: 0; }
.units-page .unit-grid + section, .units-page section + section { padding-top: 0; }
.narrow { margin-inline: auto; }

/* Crop focus for tall photos in wide boxes (set per photo in PHOTO_FOCUS). */
img.focus-up { object-position: 50% 30%; }
img.focus-low { object-position: 50% 70%; }
img.focus-center { object-position: 50% 50%; }
img.focus-bottom { object-position: 50% 85%; }
img.focus-laptop { object-position: 50% 46%; }
img.focus-mana { object-position: 50% 62%; }
img.focus-cctv { object-position: 50% 30%; }

/* ── Page hero: the photo sits behind the header text; a dark gradient on the text side keeps it legible. ── */
.page-head.page-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: 320px; padding-block: var(--space-24) var(--space-12); }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.85); }
.page-head.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.55) 50%, rgba(10,10,10,.15) 100%), linear-gradient(0deg, rgba(10,10,10,.7) 0%, rgba(10,10,10,0) 55%); }
.page-hero .wrap { position: relative; }
.page-hero .lede { color: #C9C9C3; }
@media (max-width: 720px) {
  .page-head.page-hero { min-height: 240px; padding-block: var(--space-16) var(--space-8); }
}

/* ── Verite's own photos (public/verite/img/bts*) ── */
.page-photo { margin: 0 0 var(--space-8); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
.page-media { padding-top: var(--space-8); }
.page-media .page-photo { margin: 0; }
.mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 120px; gap: var(--space-2); grid-auto-flow: dense; }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.mosaic .m-tall { grid-row: span 2; }
.mosaic .m-wide { grid-column: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.85); transition: filter var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.mosaic figure:hover img { filter: saturate(1) brightness(1); transform: scale(1.03); }
@media (min-width: 720px) {
  .page-photo { aspect-ratio: 21 / 9; }
  .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: var(--space-3); }
  .section-head { margin-bottom: var(--space-8); }
}
@media (prefers-reduced-motion: reduce) { .mosaic img { transition: none; } .mosaic figure:hover img { transform: none; } }

/* ── Landing: as little scroll as possible. Years, one line, then the services as a mosaic. ── */
.home-head-inner { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); justify-items: start; padding-block: var(--space-12) var(--space-8); }
.home-head h1 { max-width: 14ch; }
.home-head .lede { max-width: 40ch; }
.tiles-section { padding-bottom: var(--space-16); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 144px; grid-auto-flow: dense; gap: var(--grid-gap); }
.tile { position: relative; min-width: 0; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.tile.wide { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.tile a { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-1); padding: var(--card-pad); text-decoration: none; color: var(--text); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) brightness(.62); transition: filter var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.tile.has-img a::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,0) 55%); }
.tile-name, .tile-desc { position: relative; z-index: 2; }
.tile-name { font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.tile-desc { font-size: 14px; line-height: 1.4; color: #C9C9C3; display: none; }
.tile a:hover img, .tile a:focus-visible img { filter: saturate(1) brightness(.85); transform: scale(1.03); }
.tile:not(.has-img) a:hover { background: var(--surface-2); }
@media (hover: hover) and (min-width: 720px) {
  .tile-desc { display: block; max-height: 0; opacity: 0; overflow: hidden; transition: max-height var(--t-base) var(--ease), opacity var(--t-base) var(--ease); }
  .tile a:hover .tile-desc, .tile a:focus-visible .tile-desc { max-height: 6em; opacity: 1; }
}
@media (min-width: 720px) { .tiles { grid-auto-rows: 200px; } .home-head-inner { padding-block: var(--space-16) var(--space-12); } }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile a:hover img { transform: none; } }
.site-nav .nav-ext { margin-inline-start: auto; }
@media (max-width: 719px) {
  /* Four items do not fit on one row at 375 px, so they wrap whole (no cut-off item); the arrow is dropped. */
  .site-verite .site-nav { gap: var(--space-1) var(--space-4); }
  .site-nav .nav-ext { margin-inline-start: 0; }
  .nav-arrow { display: none; }
}

/* Blog */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-12); }
.post-list li { display: grid; gap: var(--space-3); padding-bottom: var(--space-12); border-bottom: 1px solid var(--border); }
.post-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.post-list p:not(.label) { color: var(--text); }
.post-list h2 a { color: inherit; text-decoration: none; }
.post-cover { display: block; min-width: 0; }
.post-cover img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
@media (hover: hover) { .post-list h2 a:hover { color: var(--accent); } }

/* Article page (a post written in the admin) */
.article-page { min-width: 0; }
.article-head { display: grid; gap: var(--space-3); }
.article-cover { margin: 0; min-width: 0; }
.article-cover img { display: block; width: 100%; height: auto; }
.article-body { display: grid; gap: var(--space-4); }
.article-body h2 { margin-top: var(--space-4); }
.article-body p { margin: 0; overflow-wrap: anywhere; }

.what-page { padding-block: var(--space-8) var(--space-16); }

.contact-page { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-12); align-items: start; }
@media (max-width: 719px) { .contact-page { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); } }
.about-contact { gap: var(--space-6); padding-top: 0; }

/* Nav links in orange and bold (Ricardo, 2026-10-16). #F0733F is the accent a notch lighter: the exact #E8622A gives 4.0:1 on the gray bar, under the 4.5:1 that small text needs; this gives 4.8:1. */
.site-verite .site-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--nav-link); font-family: "Oswald", "Inter", sans-serif; font-size: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.site-verite .site-nav a:hover, .site-verite .site-nav a[aria-current="page"] { color: var(--text); }
@media (min-width: 720px) and (max-width: 1099px) { .site-verite .site-nav { gap: var(--space-4); } .site-verite .site-nav a { font-size: 14px; letter-spacing: .05em; } }

/* Landing: the services mosaic and the reel sit on opposite sides (stacked on phones, mosaic first). */
.home-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); align-items: start; }
.home-split-reel { min-width: 0; }
@media (min-width: 900px) {
  .home-split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-12); }
  .home-split-reel { position: sticky; top: calc(var(--space-24) + var(--space-4) + var(--space-6)); /* sticky header (96 px logo + padding) + breathing room */ }
}

/* Work-grid spans (set from data-span so the markup carries no inline style) */
[data-span="4"] { --span: 4; } [data-span="5"] { --span: 5; } [data-span="6"] { --span: 6; }
[data-span="7"] { --span: 7; } [data-span="8"] { --span: 8; } [data-span="12"] { --span: 12; }

/* Several quotes: pick, start a new one, delete the open one. */
.q-quotes { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); padding-bottom: var(--space-4); margin-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
.q-quotes-list { flex: 1 1 100%; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.q-quote { border: 1px solid var(--border); border-radius: var(--radius); }
.q-quote.is-active { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 44px; padding: var(--space-3) var(--space-4); border-color: var(--accent); }
.q-quote-btn { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-2) var(--space-3); width: 100%; min-height: 44px; padding: var(--space-3) var(--space-4); background: none; border: 0; border-radius: var(--radius); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.q-quote-btn:hover, .q-quote-btn:focus-visible { background: var(--surface-2); }
.q-quote-name { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.q-quote-meta { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.q-quote-items { grid-column: 1 / -1; font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.q-quotes-name { flex: 1 1 100%; min-height: 44px; padding: 0 var(--space-4); background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); font-size: 16px; }
.q-quotes-name:focus { border-color: var(--text-muted); outline: none; }
.q-quotes-one { flex: 1; font-size: 14px; color: var(--text-muted); }
.q-quotes .btn-add:disabled { opacity: .35; cursor: default; }
.q-quotes .q-remove { min-height: 44px; }
/* Services in the quote drawer: a vertical list, each with the equipment types it is used with, one per line. */
.qs-list { list-style: none; margin: 0; padding: 0; }
.qs-row { padding-block: var(--space-4); border-bottom: 1px solid var(--border); }
.qs-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.qs-name a { color: var(--text); text-decoration: none; }
.qs-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.qs-uses { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-1); font-size: 14px; }
.qs-uses li { display: flex; align-items: center; gap: var(--space-3); }
.qs-uses li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.qs-uses a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-muted); text-decoration: none; }
.qs-uses a:hover { color: var(--text); }
/* "Suele pedirse con" inside the quote drawer */
.q-suggest { margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.q-suggest h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); font-weight: 500; margin-bottom: var(--space-2); }
.q-suggest ul { list-style: none; margin: 0; padding: 0; }
.q-suggest li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) 0; border-bottom: 1px solid var(--border); font-size: 14px; }

/* Equipment tables (same .svc-table skeleton as the catalog's service table) */

/* What we do: a mosaic of titles. On a device with a pointer, hovering (or keyboard focus) shows the
   teaser inside the tile; on touch there is no hover, so a tap opens the service page directly. */
.what-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.what-grid > li:first-child, .what-grid > li:last-child { grid-column: span 2; }
.what-tile { position: relative; display: grid; align-content: space-between; gap: var(--space-4); min-height: 176px; padding: var(--card-pad); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: background-color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease); }
.what-name { padding-right: var(--space-8); font-size: 20px; font-weight: 600; line-height: 1.25; max-width: 24ch; }
.what-go { position: absolute; top: var(--card-pad); right: var(--card-pad); width: 9px; height: 9px; margin-top: var(--space-1); border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform var(--t-fast) var(--ease); }
.what-teaser { display: none; font-size: 14px; color: var(--text-muted); }
/* Quick add: the button sits in the tile's bottom row, outside the link, so adding does not open the page. */
.what-item { position: relative; display: grid; }
.what-item.has-add .what-tile { padding-bottom: calc(var(--card-pad) + 44px + var(--space-2)); }
.what-add { position: absolute; right: var(--card-pad); bottom: var(--card-pad); z-index: 3; background: rgba(10,10,10,.75); color: var(--text); border-color: var(--text-muted); }
.what-add:hover, .what-add:focus-visible { border-color: var(--text); background: var(--bg); }
.what-add[data-added] { border-color: var(--accent); }
.what-tile:focus-visible { background: var(--surface); border-color: var(--text-muted); }
.what-tile:focus-visible .what-teaser { display: block; }
.what-tile.has-img { min-height: 224px; overflow: hidden; background: var(--surface); }
.what-tile.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) brightness(.75); transition: filter var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
.what-tile.has-img::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,0) 35%), linear-gradient(0deg, rgba(10,10,10,.8) 0%, rgba(10,10,10,0) 50%); }
.what-tile.has-img .what-name, .what-tile.has-img .what-teaser { position: relative; z-index: 2; }
.what-tile.has-img .what-go { z-index: 2; }
.what-tile.has-img .what-teaser { color: #C9C9C3; }
@media (hover: hover) {
  .what-teaser { display: block; opacity: 0; transform: translateY(var(--space-2)); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
  .what-tile:hover { background: var(--surface); border-color: var(--text-muted); }
  .what-tile:hover .what-teaser, .what-tile:focus-visible .what-teaser { opacity: 1; transform: none; }
  .what-tile:hover .what-go, .what-tile:focus-visible .what-go { transform: translateY(var(--space-1)) rotate(225deg); }
  .what-tile.has-img:hover img { filter: saturate(1) brightness(.85); transform: scale(1.03); }
}
@media (max-width: 900px) {
  .what-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .what-grid > li:last-child { grid-column: auto; }
}
@media (max-width: 600px) {
  .what-grid { grid-template-columns: minmax(0, 1fr); }
  .what-grid > li:first-child { grid-column: auto; }
  .what-tile { min-height: 96px; }
  .what-tile.has-img { min-height: 144px; }
}
/* Equipment rental: one column per category, three at a time (compare, don't scroll). Orange bands (client, 2026-10-13). */
.stack-lg > section { min-width: 0; }
.eq-bar { position: sticky; top: calc(var(--space-24) + var(--space-4)); z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-3); margin-bottom: var(--space-4); background: var(--bg); border-bottom: 1px solid var(--border); }
.eq-pick { position: relative; flex: 1; min-width: 0; }
.eq-pick summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 44px; padding: 0 var(--space-4); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 14px; cursor: pointer; }
.eq-pick summary::-webkit-details-marker { display: none; }
.eq-pick summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); margin-top: calc(-1 * var(--space-1)); transition: transform var(--t-fast) var(--ease); }
.eq-pick[open] summary::after { transform: rotate(225deg); margin-top: var(--space-1); }
.eq-pick summary:hover, .eq-pick[open] summary { border-color: var(--text-muted); }
.eq-pick-n { margin-left: auto; min-width: 20px; height: 20px; padding: 0 var(--space-2); border-radius: 10px; background: var(--accent); color: #0A0A0A; font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.eq-pick-panel { position: absolute; top: 100%; left: 0; z-index: 20; width: max-content; min-width: 100%; max-width: calc(100vw - 2 * var(--gutter)); max-height: 60vh; overflow-y: auto; margin: var(--space-2) 0 0; padding: var(--space-2) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.eq-pick-panel legend { float: left; width: 100%; padding: var(--space-3) 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.eq-pick-row { clear: both; display: flex; align-items: center; gap: var(--space-3); min-height: 44px; font-size: 14px; cursor: pointer; }
.eq-pick-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.eq-quote { display: inline-flex; align-items: center; gap: var(--space-3); min-height: 44px; padding: 0 var(--space-4); border: 1px solid var(--accent); border-radius: var(--radius); background: transparent; color: var(--text); font: 500 14px/1 "Inter", sans-serif; cursor: pointer; }
.eq-quote:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.eq-arrows { flex: none; display: flex; gap: var(--space-2); }
.eq-arrow { width: 44px; height: 44px; border: 1px solid var(--border); border-radius: var(--radius); background: transparent; color: var(--text); font: 600 18px/1 "Inter", sans-serif; cursor: pointer; }
.eq-arrow:hover:not(:disabled) { border-color: var(--text); }
.eq-arrow:disabled { opacity: .35; cursor: default; }
.eq-arrow--h { display: none; }
.eq-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); align-items: start; }
.eq-col[hidden] { display: none; }
.eq-col { min-width: 0; scroll-margin-top: calc(var(--space-24) + var(--space-4) + var(--space-16)); display: flex; flex-direction: column; border: 1px solid var(--accent); border-radius: var(--radius); overflow: hidden; }
.eq-cat { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: 0 var(--space-4); background: var(--accent); color: #0A0A0A; }
.eq-cat a { display: inline-flex; align-items: center; min-height: 44px; color: #0A0A0A; text-decoration: none; }
.eq-cat-name { font-size: 16px; font-weight: 600; }
.eq-all { flex: none; white-space: nowrap; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.eq-all:hover { text-decoration: underline; text-underline-offset: 4px; }
.eq-items { position: relative; list-style: none; margin: 0; padding: 0 var(--space-4); max-height: 70vh; overflow-y: auto; scrollbar-width: thin; }
.eq-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-2) var(--space-3); padding-block: var(--space-4); border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
.eq-item:last-child { border-bottom: 0; }
.eq-name { display: flex; align-items: center; min-width: 0; }
.eq-link { display: flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 500; text-decoration: none; }
.eq-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.eq-add .btn-add { background: transparent; color: var(--text); border-color: var(--border); }
.eq-add .btn-add:hover { border-color: var(--text); }
.eq-thumb { display: block; width: 48px; height: 48px; margin-right: var(--space-3); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; flex: none; }
.eq-thumb img { width: 100%; height: 100%; object-fit: cover; }
.eq-specs { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); font-size: 14px; }
.eq-specs span { color: var(--text-muted); }
.eq-item--group { display: block; padding-block: 0; }
.eq-drop summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); min-height: 44px; padding-block: var(--space-2); font-weight: 500; cursor: pointer; }
.eq-drop summary::-webkit-details-marker { display: none; }
.eq-drop summary::after { content: ""; flex: none; width: 7px; height: 7px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); margin-top: calc(-1 * var(--space-1)); transition: transform var(--t-fast) var(--ease); }
.eq-drop[open] summary::after { transform: rotate(225deg); margin-top: var(--space-1); }
.eq-drop summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.eq-drop .group { padding: 0 0 var(--space-4); border: 0; background: transparent; }
.eq-cmp { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .eq-bar { top: 0; flex-wrap: wrap; row-gap: var(--space-2); }
  .eq-arrows { margin-left: auto; }
  .eq-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: var(--space-4); }
  .eq-strip::-webkit-scrollbar { display: none; }
  .eq-col { flex: 0 0 85%; scroll-snap-align: start; }
  .eq-arrow--h { display: inline-block; }
  .eq-arrow--v { display: none; }
}

/* Tables, transparent and minimal (client, 2026-10-13): no fills, hairlines only, outline buttons,
   names without underline until hover. Applies to the service tables and the equipment tables. */
.svc-table { border-top-color: transparent; }
.svc-table thead th { border-bottom-color: var(--border); color: var(--text-muted); }
.svc-table tbody th, .svc-table td { border-bottom-color: color-mix(in srgb, var(--text) 10%, transparent); }
.svc-table tbody tr:hover { background: transparent; }
.svc-t-name { font-weight: 500; color: var(--text); text-decoration: none; }
.svc-table tbody tr:hover .svc-t-name, .svc-t-name:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc-table .btn-add { background: transparent; color: var(--text); border-color: var(--border); }
.svc-table .btn-add:hover { border-color: var(--text); }
.svc-table .btn-add[data-added] { border-color: var(--border); }
.svc-t-gear a { border-color: color-mix(in srgb, var(--text) 14%, transparent); }

/* Window to Shoot in Panama (Production page) */
.intl-window { padding-top: var(--space-8); border-top: 1px solid var(--border); }
.intl-window h2 { font-size: 28px; }
.intl-window > * + * { margin-top: var(--space-4); }
.intl-window > h2 + * { margin-top: var(--space-3); }

/* ── Shared quote list: quote number, notice, share actions ── */
.q-share { display: grid; gap: var(--space-3); padding-block: var(--space-6); border-top: 1px solid var(--border); }
.q-ref, .quote-ref { margin: 0; font-size: 14px; color: var(--text-muted); }
.q-ref strong, .quote-ref strong { color: var(--text); font-family: "DM Sans", "Inter", sans-serif; font-weight: 600; letter-spacing: .06em; }
.q-banner, .q-notice { margin: 0; font-size: 14px; }
.q-notice { color: var(--text-muted); }
.q-share-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.q-share .help { margin: 0; }

/* ── Catalog pages only (Ricardo, 2026-10-16): the page keeps the original black #0A0A0A; the catalog tables and cards are dark gray, a step lighter.
   (Tried and dropped: a softer page background #191919 / #2E3436 so the black disc of logo C would show its edge; Ricardo went back to black.)
   Contrast (WCAG) on the gray surface #2C2C2A: text 12.5:1, muted text 6.5:1, the orange accent 4.0:1 (borders and bands need 3:1; accent is never
   small text), dark text on the orange band 5.9:1. On the black page: text 18.1:1, muted 8.4:1, accent 5.9:1. ── */
body[data-page="catalog"], body[data-page="category"], body[data-page="item"] {
  --surface: #2C2C2A;
  --surface-2: #343432;
  --border: #484844;
  --text-muted: #B4B4AC;
}
/* Catalog tables and cards stand out in a lighter gray than the page */
body[data-page="catalog"] .eq-col { background: var(--surface); }
body[data-page="item"] .spec-table { padding-inline: var(--space-4); background: var(--surface); border: 1px solid var(--border); }

/* Subgroups inside a category (Cámaras: Broadcast y producción · PTZ · POV y miniatura) */
.site-verite h2.sub-head { margin: 0 0 var(--space-4); padding-bottom: var(--space-2); border-bottom: 1px solid var(--accent); font-size: 14px; line-height: 1.4; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.eq-sub { padding-block: var(--space-4) var(--space-2); border-bottom: 0; }
.eq-sub h3 { margin: 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }

/* Home title: "SOMOS" on top and "VERITE PRODUCCIONES" below on one line, all caps (Ricardo, 2026-10-16). The size scales so the name fits at 375 px. */
.home-head h1 { max-width: none; font-size: clamp(24px, 7vw, 56px); text-transform: uppercase; }
.home-head h1 .h-top, .home-head h1 .h-name { display: block; }
.home-head h1 .h-name { white-space: nowrap; }

/* ── Landing: two boxes (Ricardo, 2026-10-16) ──
   One box with the services as small tiles (the 3 priority ones a little bigger, the rest below) and one box with the Verite reel, on the right.
   Phones: the reel first, then the services box. Only the landing's own sections get the rounder corners. */
.home-head, .tiles-section { --radius: 20px; --card-pad: var(--space-3); }
.home-head-inner { gap: var(--space-6); padding-block: var(--space-24) var(--space-16); }
.tiles-section { padding-bottom: var(--space-24); }
/* The two boxes are the same size: equal columns, and the reel stretches to the height of the services box. Its note sits under it. */
.home-boxes { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "reel" "services"; grid-auto-rows: 1fr; gap: var(--space-6); align-items: stretch; }
/* The reel is a card like the services box (same surface, border, padding and header), with the video enlarged inside it and its note at the foot. */
.home-boxes .home-reel { grid-area: reel; min-width: 0; padding: var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: grid; gap: var(--space-4); grid-template-rows: auto minmax(0, 1fr) auto; }
.home-boxes .home-reel .svc-head { min-height: 44px; } /* same header height as the services box (its pause button is 44px), so both stages line up */
.home-boxes .reel { aspect-ratio: auto; border-radius: var(--radius); }
.home-boxes .reel img { position: absolute; inset: 0; object-position: 50% 35%; } /* the poster fills the stage and never sets its height */
.home-boxes .reel-note { margin: 0; align-self: center; }
.home-boxes .services-box { grid-area: services; }
.services-box { min-width: 0; padding: var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: grid; gap: var(--space-4); }
.svc-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.tiles-title { font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; }
.svc-pause { position: relative; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; }
.svc-pause:hover { border-color: var(--text); }
.svc-pause span { position: absolute; left: 50%; top: 50%; width: 10px; height: 12px; transform: translate(-50%, -50%); border-inline: 3px solid currentColor; }
.svc-pause.is-paused span { width: 0; height: 0; border-inline: 0; border-block: 7px solid transparent; border-left: 11px solid currentColor; transform: translate(-35%, -50%); }
.svc-stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.svc-slide { position: absolute; inset: 0; display: flex; align-items: flex-end; color: var(--text); text-decoration: none; opacity: 0; visibility: hidden; transition: opacity var(--t-slow) var(--ease), visibility 0s linear var(--t-slow); }
.svc-slide.is-active { opacity: 1; visibility: visible; transition: opacity var(--t-slow) var(--ease), visibility 0s; }
.svc-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.8); }
.svc-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,0) 60%); }
.svc-text { position: relative; z-index: 2; display: grid; gap: var(--space-2); padding: var(--space-6); max-width: 36ch; }
.svc-slide .tile-name { font-size: 24px; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
.svc-slide .tile-desc { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-height: none; opacity: 1; overflow: hidden; font-size: 14px; line-height: 1.4; color: #C9C9C3; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.svc-dots { display: flex; flex-wrap: wrap; }
.svc-dot { position: relative; width: 32px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.svc-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%, -50%); background: var(--border); transition: background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.svc-dot:hover::before { background: var(--text-muted); }
.svc-dot.is-active::before { background: var(--accent); transform: translate(-50%, -50%) scale(1.3); }
.svc-dot:focus-visible, .svc-pause:focus-visible, .svc-slide:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (min-width: 900px) {
  .home-boxes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "services reel"; gap: var(--space-8); }
  .home-boxes .home-reel { padding: var(--space-8); gap: var(--space-6); }
  .home-boxes .reel { min-height: 320px; }
  .services-box { padding: var(--space-8); gap: var(--space-6); }
  .services-box { grid-template-rows: auto minmax(0, 1fr) auto; }
  .svc-stage { aspect-ratio: auto; min-height: 320px; }
  .svc-slide .tile-desc { -webkit-line-clamp: 3; }
}
@media (max-width: 899px) { .home-head-inner { padding-block: var(--space-16) var(--space-12); } .tiles-section { padding-bottom: var(--space-24); } .svc-stage { aspect-ratio: 5 / 4; } .svc-text { padding: var(--space-4); } .svc-slide .tile-name { font-size: 20px; } }
@media (prefers-reduced-motion: reduce) { .svc-slide, .svc-slide.is-active { transition: none; } }

/* Links in the footer, the contact page and plain lists: no underline until hover or focus (the color already sets them apart). */
.site-footer a, .contact-page a, .plain-list a { text-decoration: none; }
.site-footer a:hover, .site-footer a:focus-visible, .contact-page a:hover, .contact-page a:focus-visible, .plain-list a:hover, .plain-list a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* Footer: "Miembro" and the IQ Filmmakers logo, in one row (Ricardo, 2026-10-16) */
.footer-member { display: flex; align-items: center; gap: var(--space-3); }
.iq-logo { display: block; height: 28px; width: auto; }

/* Two paragraphs side by side, like the contact page (Ricardo, 2026-10-16): a service page with exactly two paragraphs uses the full width in two columns. */
.svc-page.is-cols { max-width: var(--max-w); }
.svc-page .svc-intro.is-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-12); align-items: start; }
.svc-page .svc-intro.is-cols > * { margin-top: 0; }
.svc-page .svc-intro.is-cols > .item-add { grid-column: 1 / -1; }
@media (max-width: 719px) { .svc-page .svc-intro.is-cols { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); } }

/* Trabajo · CCTV/IMAG in three parts (Ricardo, 2026-10-17) */
.work-group--cctv { display: grid; gap: var(--space-8); }
.work-sub h3 { margin: 0 0 var(--space-3); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.work-table--2 tbody th { width: auto; }
.work-names { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: var(--space-8); border-top: 1px solid var(--border); }
.work-names li { break-inside: avoid; padding-block: var(--space-3); border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent); }
.work-names .work-others { color: var(--text-muted); }

/* Oswald also on buttons and labels (Ricardo, 2026-10-17): buttons in capitals, labels in capitals with a little tracking. Body text stays in Inter. */
.site-verite :is(.btn, .btn-add, .quote-btn, .lang-toggle, .eq-quote, .drawer-close, .q-remove) { font-family: "Oswald", "Inter", sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.site-verite :is(.label, .eq-all, .sub-head, .eq-sub h3, .work-sub h3, .spec-table dt, .spec-mini dt, .contact-list dt, .work-table thead th, .q-qty-label) { font-family: "Oswald", "Inter", sans-serif; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.site-verite .btn-add--sm { font-size: 13px; }
