/* ==========================================================================
   styles.css — Vigamex de Peñasco · composición "Lámina técnica"
   Orden: tokens.css → base.css (núcleo de la skill) → este archivo.
   Índice: 1 Base · 2 Header · 3 Hero · 4 Ficha · 5 Catálogo · 6 Nosotros
           7 Cotizador · 8 Preguntas · 9 Sucursales · 10 Pie · 11 Responsive
   ========================================================================== */

/* ---------- 1 · Base del proyecto ---------- */
body { font-size: var(--fs-body); }
main { overflow-x: clip; }
.display { text-wrap: balance; }
.h-3.display { letter-spacing: 0; line-height: 1; }
.lead { color: var(--ink-2); }
::selection { background: var(--accent); color: var(--on-accent); }

.eyebrow { letter-spacing: .12em; color: var(--ink-3); }
.eyebrow::before { width: 8px; height: 8px; border-radius: 0; background: var(--accent); box-shadow: 0 0 0 1px var(--brand); }
.eyebrow--inverse { color: var(--on-inverse-2); }
.eyebrow--inverse::before { box-shadow: none; }
.eyebrow__sep { color: var(--brand-300); }
.hero__eyebrow { display: block; line-height: 1.7; }
.hero__eyebrow::before { display: inline-block; margin-right: 10px; vertical-align: 1px; }
.hero__eyebrow .eyebrow__sep { margin: 0 8px; }

.section__lead { color: var(--ink-2); font-size: 16.5px; }
.section__head { border-bottom: 1px solid var(--border); padding-bottom: clamp(20px, 2.4vw, 32px); }

/* Botones de marca */
.btn { font-weight: 600; letter-spacing: 0; }
.btn--accent { background: var(--accent); color: var(--on-accent); box-shadow: var(--sh-btn); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost-inverse { color: var(--on-inverse-2); }
.btn--ghost-inverse:hover { color: var(--on-inverse); background: color-mix(in srgb, var(--on-inverse) 8%, transparent); }
.btn--outline-inverse:disabled, .btn--ghost-inverse:disabled { opacity: .45; }
.inverse :focus-visible, .hero :focus-visible, .quote__out :focus-visible, .footer :focus-visible { outline-color: var(--accent); }
.text-link { color: var(--brand-text); }

/* Píldora de estado (abierto / cerrado) */
.status-pill { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: var(--r); font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); white-space: nowrap; }
.status-pill--light { background: var(--muted); }

/* Marco de fotografía tipo lámina */
.frame { position: relative; margin: 0; padding: 8px; background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--border), var(--sh-sm); }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-lg) - 4px); background: var(--muted-2); }
.frame figcaption { padding: 8px 2px 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: var(--ink-3); }

/* ---------- 2 · Header ---------- */
.header { background: color-mix(in srgb, var(--bg) 92%, transparent); }
.header.is-scrolled { background: color-mix(in srgb, var(--surface) 92%, transparent); }
.brand { display: flex; align-items: center; flex: none; margin-left: -4px; }
.brand img { height: 46px; width: auto; }
.nav a { font-size: 15px; }
.nav a.is-active::after { background: var(--accent); height: 3px; border-radius: 0; box-shadow: 0 1px 0 var(--brand); }
.scroll-progress span { background: var(--accent); }
.drawer__nav a { text-transform: none; font-size: 26px; letter-spacing: 0; }
.drawer__foot .status-pill { justify-self: start; }

/* ---------- 3 · Hero ---------- */
.hero { position: relative; overflow: clip; background: var(--inverse); color: var(--on-inverse); padding-top: clamp(40px, 6vw, 84px); }
.hero__grid-bg { position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.075) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 240px 240px, 240px 240px, 48px 48px, 48px 48px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 35%, transparent 85%);
          mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 35%, transparent 85%); }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-bottom: clamp(56px, 6vw, 88px); }
.hero__title { color: var(--on-inverse); margin-bottom: 24px; }
@media (min-width: 961px) { .hero__title { font-size: clamp(52px, 6.3vw, 100px); } }
.hero__accent { color: var(--accent); }
.hero__lead { color: var(--on-inverse-2); max-width: 54ch; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__direct { margin-top: 22px; font-size: 14.5px; color: var(--on-inverse-2); }
.hero__direct a { display: inline-flex; align-items: center; gap: 6px; color: var(--on-inverse); font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-underline-offset: 4px; text-decoration-thickness: 1.5px; transition: text-decoration-color var(--dur-1); }
.hero__direct a:hover { text-decoration-color: var(--accent); }

/* Fotografía de la fachada */
.hero__photo { margin: 0; display: grid; gap: 12px; }
.hero__media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--inverse-2); box-shadow: 0 0 0 1px var(--inverse-border), 0 30px 60px -20px rgba(0,0,0,.55); }
.hero__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; object-position: 50% 40%; }
.hero__photo figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--inverse-border);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--on-inverse-2); }
.hero__photo figcaption span:first-child { color: var(--accent); }

/* Armadura de vigueta: remate inferior del hero */
.truss { display: block; width: 100%; height: clamp(44px, 5vw, 72px); }
.truss__chord, .truss__web { fill: none; stroke: var(--brand-300); stroke-opacity: .5; stroke-width: 1.25px; vector-effect: non-scaling-stroke; }
.truss__chord { stroke-width: 2px; stroke-opacity: .7; }
.truss__base { fill: var(--bg); }

/* Anti-FOUC de la armadura: page.js la dibuja durante la intro */
.motion-pending .truss__web, .motion-pending .truss__chord { opacity: 0; }

/* ---------- 4 · Ficha (cajetín de la empresa) ---------- */
.ficha { background: var(--bg); padding-block: clamp(28px, 4vw, 48px) clamp(8px, 2vw, 24px); }
.ficha__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); border-bottom: 1px solid var(--border-strong); }
.ficha__cell { padding: 20px 22px 24px; border-left: 1px solid var(--border-strong); }
.ficha__cell:first-child { border-left: 0; padding-left: 0; }
.ficha dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.ficha dd { display: grid; gap: 6px; }
.ficha__big { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 3.6vw, 52px); line-height: .9; color: var(--brand); }
.ficha__note { font-size: 14.5px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }

/* ---------- 5 · Catálogo ---------- */
.catalog { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 2.22fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.catalog__index { display: flex; flex-direction: column; position: sticky; top: calc(var(--header-h) + 24px); border-top: 1px solid var(--border-strong); }
.catalog__index [role="tab"] { position: relative; display: grid; grid-template-columns: 34px 1fr; grid-template-areas: "n name" "n tag"; align-items: baseline; gap: 2px 8px; padding: 18px 14px 18px 12px; text-align: left; border-bottom: 1px solid var(--border-strong); transition: background-color var(--dur-1), color var(--dur-1); }
.catalog__index [role="tab"]::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 3px; background: var(--accent); box-shadow: 1px 0 0 var(--brand); transform: scaleY(0); transform-origin: top; transition: transform var(--dur-3) var(--ease-out); }
.catalog__index [role="tab"]:hover { background: var(--muted); }
.catalog__index [role="tab"][aria-selected="true"] { background: var(--surface); }
.catalog__index [role="tab"][aria-selected="true"]::before { transform: none; }
.catalog__n { grid-area: n; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); }
.catalog__name { grid-area: name; font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2vw, 28px); line-height: 1.05; color: var(--ink-2); transition: color var(--dur-1); }
.catalog__tag { grid-area: tag; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
[aria-selected="true"] .catalog__name, [aria-selected="true"] .catalog__n { color: var(--brand); }

.catalog__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; outline-offset: 8px; }
.catalog__panel:not([hidden]) { animation: panel-in var(--dur-4) var(--ease-out) both; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } }
.catalog__media { position: relative; padding-bottom: 56px; }
.catalog__media .frame--main { width: 82%; }
.catalog__media .frame--main img { aspect-ratio: 4 / 4.4; }
.catalog__media .frame--side { position: absolute; right: 0; bottom: 0; width: 48%; box-shadow: inset 0 0 0 1px var(--border), var(--sh-lg); }
.catalog__media .frame--side img { aspect-ratio: 4 / 3; }
.catalog__media .frame--tall.frame--main img { aspect-ratio: 4 / 5; object-position: 50% 30%; }
.catalog__media .frame--tall.frame--side { width: 30%; bottom: 24px; }
.catalog__media .frame--tall.frame--side img { aspect-ratio: 9 / 20; }
.catalog__media .frame--wide { width: 100%; }
.catalog__media .frame--wide img { aspect-ratio: 16 / 10; }
.catalog__media .frame--strip { position: relative; width: 86%; margin: -40px 0 0 auto; box-shadow: inset 0 0 0 1px var(--border), var(--sh-lg); }
.catalog__media .frame--strip img { aspect-ratio: 5 / 1.2; }
.catalog__media:has(.frame--strip) { padding-bottom: 0; }
.catalog__body { display: grid; gap: 22px; }
.catalog__body > p { font-size: 16.5px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.spec { border-top: 1px solid var(--ink); }
.spec > div { display: grid; grid-template-columns: 132px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border-strong); }
.spec dt { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.spec dd { font-size: 15px; font-weight: 500; }
.needs { padding: 18px 20px; border-radius: var(--r-lg); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand-soft-border); }
.needs__title { font-weight: 600; font-size: 15px; color: var(--brand-text); margin-bottom: 10px; }
.needs li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.needs li + li { margin-top: 6px; }
.needs li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 9px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.catalog__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- 6 · Nosotros ---------- */
.nosotros__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 88px) clamp(32px, 5vw, 80px); align-items: start; }
.nosotros__text .h-2 { margin-bottom: 24px; }
.cita { margin-top: 36px; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); box-shadow: -1px 0 0 var(--brand); }
.cita p { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.05; color: var(--brand); }
.cita footer { margin-top: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

.archivo { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--grid-gap); }
.archivo__item { overflow: clip; margin: 0; padding: 8px; background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--border), var(--sh-sm); }
.archivo__item img { width: 100%; object-fit: cover; border-radius: calc(var(--r-lg) - 4px); }
.archivo__item figcaption { display: flex; gap: 10px; padding: 9px 2px 1px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); }
.archivo__item figcaption .num { color: var(--brand-text); }
.archivo__item--a { grid-column: 1 / span 4; }
.archivo__item--a img { aspect-ratio: 382 / 300; filter: contrast(1.05) sepia(.12); }
.archivo__item--b { grid-column: 5 / span 2; align-self: end; }
.archivo__item--b img { aspect-ratio: 1 / 1; }
.archivo__item--c { grid-column: 2 / span 5; }
.archivo__item--c img { aspect-ratio: 16 / 8.6; object-position: 50% 40%; }

.razones { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.razones li { padding: 22px 24px 4px 0; }
.razones li + li { padding-left: 24px; border-left: 1px solid var(--border-strong); }
.razones__n { display: block; font-family: var(--font-mono); font-size: 12px; color: var(--brand-text); margin-bottom: 14px; }
.razones h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2vw, 30px); line-height: 1; margin-bottom: 8px; }
.razones p { font-size: 15px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }

/* ---------- 7 · Cotizador ---------- */
.quote[data-quote-app] { --q-pad: clamp(20px, 3vw, 40px); }
.quote[data-quote-app] { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; margin: 0; padding: 0; border: 0; box-shadow: var(--sh-md); border-radius: var(--r-2xl); background: var(--inverse); }
.quote__form { padding: var(--q-pad); background: var(--surface); border-radius: var(--r-2xl) 0 0 var(--r-2xl); box-shadow: inset 0 0 0 1px var(--border); }
.qstep { margin: 0; padding: 0 0 28px; border: 0; min-width: 0; display: block; }
.qstep > :not(legend) + * { margin-top: 18px; }
.qstep > :not(legend) { clear: both; }
.qstep + .qstep { padding-top: 26px; border-top: 1px dashed var(--border-strong); }
.qstep--last { padding-bottom: 0; }
.qstep__legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-weight: 600; font-size: 17px; }
.qstep__n { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: var(--r-sm); background: var(--brand); color: var(--on-brand); font-family: var(--font-mono); font-size: 13px; }
.field__hint { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-left: 6px; }
.qcats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.choice button { border-radius: var(--r-lg); min-height: 64px; justify-content: center; }
.choice button[aria-checked="true"] { color: var(--brand-text); }
.segmented { border-radius: var(--r-lg); }
.segmented button { border-radius: var(--r); }
.segmented [role="radio"][aria-checked="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(var(--shadow-rgb),.1), 0 0 0 1px rgba(var(--shadow-rgb),.06); }
.qfields { display: grid; gap: 18px; }
.qfields:not([hidden]) { animation: panel-in .45s var(--ease-out) both; }
.qrow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: start; gap: 12px; }
.qrow--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qrow__x { padding-top: 40px; font-family: var(--font-mono); color: var(--ink-3); }
.qarea { align-self: start; margin-top: 29px; display: grid; place-items: center; min-width: 104px; height: 46px; padding: 0 12px; border-radius: var(--r); background: var(--muted); font-family: var(--font-mono); font-size: 15px; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--border); transition: background-color var(--dur-2), color var(--dur-2); }
.qarea.is-set { background: var(--brand-soft); color: var(--brand-text); box-shadow: inset 0 0 0 1px var(--brand-soft-border); }
.input { border-radius: var(--r); }
textarea.input { resize: vertical; min-height: 112px; line-height: 1.5; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select .i { position: absolute; right: 12px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--ink-3); }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--brand); flex: none; cursor: pointer; }
.qadd { justify-self: start; }
.qadd.is-done { background: var(--ok); }

.quote__out { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 18px; padding: var(--q-pad); background: var(--inverse); color: var(--on-inverse); border-radius: 0 var(--r-2xl) var(--r-2xl) 0; overflow: hidden; }
.quote__out::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.quote__out > * { position: relative; }
.qout__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--inverse-border); }
.qout__title { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; }
.qout__count { font-family: var(--font-mono); font-size: 12px; color: var(--on-inverse-2); }
.qout__count.is-bump { animation: bump .4s var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.18); color: var(--accent); } }
.qlist:empty { display: none; }
.qlist li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--inverse-border); animation: panel-in .45s var(--ease-out) both; }
.qlist__n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); padding-top: 3px; }
.qlist__t { display: block; font-weight: 600; }
.qlist__d { display: block; font-size: 14px; color: var(--on-inverse-2); overflow-wrap: anywhere; }
.qlist .icon-btn { color: var(--on-inverse-2); width: 40px; height: 40px; margin: -8px -8px 0 0; }
.qlist .icon-btn:hover { color: var(--on-inverse); background: color-mix(in srgb, var(--on-inverse) 8%, transparent); }
.qempty { display: flex; gap: 14px; align-items: flex-start; padding: 6px 0; color: var(--on-inverse-2); font-size: 14.5px; line-height: 1.5; }
.qempty strong { color: var(--on-inverse); font-weight: 600; }
.qempty__icon { width: 40px; height: 40px; flex: none; fill: none; stroke: var(--brand-300); stroke-width: 1.5; }
.bubble { padding: 12px 14px 14px; border-radius: var(--r-xl) var(--r-xl) var(--r-xl) 2px; background: var(--surface); color: var(--ink); box-shadow: var(--sh-lg); }
.bubble__label { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.bubble__label .i { color: var(--wa); }
.bubble__text { margin: 0; font-family: var(--font-sans); font-size: 14.5px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow: auto; }
.bubble__text .is-draft { color: var(--ink-3); }
.bubble__text:empty::before { content: "Aquí verás el mensaje mientras armas tu lista."; color: var(--ink-3); }
.qout__actions { display: grid; gap: 10px; }
.qout__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.qout__note { font-size: 13px; line-height: 1.5; color: var(--on-inverse-2); }

/* ---------- 8 · Preguntas ---------- */
.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 .h-2 { margin-bottom: 20px; }
.accordion { border-radius: var(--r-xl); }
.acc summary { font-size: 17px; }
.acc__body { color: var(--ink-2); }

/* ---------- 9 · Sucursales ---------- */
.sucursales { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .82fr); gap: var(--grid-gap); align-items: stretch; }
.suc { display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), var(--sh-xs); overflow: hidden; }
.suc__media { margin: 8px 8px 0; box-shadow: none; padding: 0; }
.suc__media img { aspect-ratio: 16 / 9.4; border-radius: var(--r); }
.suc__media figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 8px; border-radius: var(--r-sm); background: var(--inverse); color: var(--on-inverse); }
.suc__body { display: grid; gap: 12px; padding: 20px 22px 24px; }
.suc__tag { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); }
.suc__addr, .suc__phone { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.suc__addr .i, .suc__phone .i { margin-top: 2px; color: var(--ink-3); }
.suc__phone a { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.suc__phone a:hover { color: var(--brand-text); }
.suc__ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }

.croquis { position: relative; aspect-ratio: 16 / 9.4; border-radius: var(--r); overflow: hidden; background: var(--muted); }
.croquis svg { width: 100%; height: 100%; }
.croquis__gridline { fill: none; stroke: var(--border-strong); stroke-width: .6; }
.croquis__street { stroke: var(--surface); stroke-width: 26; }
.croquis__street--b { stroke-width: 18; }
.croquis__label { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; fill: var(--ink-3); }
.croquis__lot { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 1.2; }
.croquis__pin { fill: var(--accent); stroke: var(--brand); stroke-width: 2.5; }
.croquis__note { position: absolute; right: 8px; bottom: 8px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-3); background: color-mix(in srgb, var(--surface) 85%, transparent); padding: 2px 6px; border-radius: var(--r-sm); }

.horario { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), var(--sh-xs); }
.horario__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.horario__title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; }
.horario__title .i { color: var(--brand); }
.horario__list { border-top: 1px solid var(--ink); }
.horario__list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 8px; border-bottom: 1px solid var(--border); font-size: 15px; transition: background-color var(--dur-2); }
.horario__list li.is-today { background: var(--brand-soft); color: var(--brand-text); font-weight: 600; }
.horario__list li.is-today span:first-child::after { content: "Hoy"; margin-left: 8px; padding: 1px 6px; border-radius: var(--r-sm); background: var(--brand); color: var(--on-brand); font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }
.horario__note { font-size: 13px; color: var(--ink-3); }
.horario__note:empty { display: none; }
.horario__contact { display: grid; gap: 4px; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--border-strong); }
.horario__contact a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 8px; margin-inline: -8px; border-radius: var(--r); font-weight: 600; font-size: 15px; transition: background-color var(--dur-1); overflow-wrap: anywhere; }
.horario__contact a:hover { background: var(--muted); }
.horario__contact a > span { display: grid; }
.horario__contact small { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.horario__contact .i { color: var(--brand); }

/* ---------- 10 · Pie ---------- */
.footer { background: var(--brand-950); color: var(--on-inverse); padding-block: clamp(56px, 7vw, 96px) calc(28px + env(safe-area-inset-bottom)); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr) minmax(0, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--inverse-border); }
.footer__brand img { width: min(300px, 80%); height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 34ch; color: var(--on-inverse-2); }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer__nav a { padding: 6px 0; color: var(--on-inverse-2); transition: color var(--dur-1); }
.footer__nav a:hover { color: var(--on-inverse); }
.footer__h { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 24px; font-size: 13.5px; color: var(--on-inverse-2); }
.footer__demo { display: flex; align-items: center; gap: 8px; }
.footer__demo::before { content: ""; width: 7px; height: 7px; background: var(--accent); flex: none; }

/* Barra de acción móvil */
.action-bar > .is-primary { background: var(--accent); color: var(--on-accent); }

/* ==========================================================================
   11 · Responsive
   ========================================================================== */
@media (max-width: 1120px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog__index { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; border-top: 0; border-bottom: 1px solid var(--border-strong); gap: 0;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .catalog__index::-webkit-scrollbar { display: none; }
  .catalog__index [role="tab"] { flex: none; grid-template-columns: auto auto; grid-template-areas: "n name"; padding: 14px 18px 16px; border-bottom: 0; }
  .catalog__index [role="tab"]::before { left: 0; right: 0; top: auto; bottom: -1px; width: auto; height: 3px; transform: scaleX(0); transform-origin: left; box-shadow: none; }
  .catalog__index [role="tab"][aria-selected="true"] { background: transparent; }
  .catalog__index [role="tab"][aria-selected="true"]::before { transform: none; }
  .catalog__tag { display: none; }
  .catalog__name { font-size: 22px; }
  .sucursales { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .horario { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
  .horario__head, .horario__list, .horario__note { grid-column: 1; }
  .horario__contact { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; padding-top: 0; border-top: 0; align-content: start; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media img { aspect-ratio: 16 / 10; }
  .ficha__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ficha__cell:nth-child(3) { border-left: 0; padding-left: 0; }
  .ficha__cell:nth-child(n+3) { border-top: 1px solid var(--border-strong); }
  .catalog__panel { grid-template-columns: 1fr; }
  .catalog__media { max-width: 560px; }
  .nosotros__grid { grid-template-columns: 1fr; }
  .razones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .razones li:nth-child(3) { padding-left: 0; border-left: 0; }
  .razones li:nth-child(n+3) { border-top: 1px solid var(--border-strong); margin-top: 8px; }
  .quote[data-quote-app] { grid-template-columns: 1fr; }
  .quote__form { border-radius: var(--r-2xl) var(--r-2xl) 0 0; }
  .quote__out { position: relative; top: auto; border-radius: 0 0 var(--r-2xl) var(--r-2xl); }
  .faq { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}
@media (max-width: 767px) {
  :root { --fs-hero: clamp(46px, 13.4vw, 64px); --fs-h2: clamp(38px, 10.6vw, 52px); --grid-gap: 14px; }
  .brand img { height: 38px; }
  .hero { padding-top: 28px; }
  .hero__title { margin-bottom: 18px; }
  .hero__lead { margin-bottom: 24px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__inner { gap: 36px; padding-bottom: 40px; }
  .hero__eyebrow .eyebrow__sep { display: none; }
  .hero__eyebrow { font-size: 11px; letter-spacing: .08em; }
  .hero__eyebrow > span:last-child { display: block; padding-left: 18px; }
  body.has-action-bar { padding-bottom: 0; }
  .section__lead { font-size: 16px; }
  .ficha__cell { padding: 16px 12px 18px; }
  .ficha__cell:nth-child(odd) { padding-left: 0; }
  .ficha__note { font-size: 13.5px; }
  .catalog__media { padding-bottom: 40px; }
  .spec > div { grid-template-columns: 112px 1fr; }
  .archivo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .archivo__item--a, .archivo__item--c { grid-column: 1 / -1; }
  .archivo__item--b { grid-column: 1 / -1; width: 64%; justify-self: end; }
  .razones { grid-template-columns: 1fr; }
  .razones li, .razones li + li { padding: 18px 0 2px; border-left: 0; }
  .razones li + li { border-top: 1px solid var(--border-strong); margin-top: 8px; }
  .qcats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qrow { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
  .qarea { grid-column: 1 / -1; margin-top: 0; justify-self: stretch; }
  .qrow--2 { grid-template-columns: 1fr; }
  .qadd { justify-self: stretch; }
  .sucursales { grid-template-columns: 1fr; }
  .horario { display: flex; }
  .horario__contact { margin-top: 0; padding-top: 8px; border-top: 1px dashed var(--border-strong); }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 400px) {
  .catalog__index [role="tab"] { padding-inline: 14px; }
}
