/* ============================================================
   MAXI SARRIÀ — EL CATÀLEG
   Sistema editorial: blanco comercial, rojo señal, mono comercial.
   Radius 0. Filetes 1px. Composición asimétrica.
   ============================================================ */

:root {
  --paper: #ffffff;
  --paper-deep: #fff4f5;
  --carbon: #240004;
  --carbon-soft: #6f000a;
  --gray-tech: #9b0010;
  --red: #dc0313;
  --red-deep: #a5000d;
  --season: #fff4f5;           /* acento estacional dentro de paleta rojo/blanco */
  --rule: #240004;
  --rule-soft: #ffc8cf;
  --ok: #a5000d;

  --font-display: "Archivo", system-ui, sans-serif;
  --font-text: "Archivo", system-ui, sans-serif;
  --font-mono: "Archivo", system-ui, sans-serif;

  --bleed: 40px;               /* margen exterior de página */
  --max: 1400px;
  --header-h: 78px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.55;
  color: var(--carbon);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--red); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Utilidades base ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--bleed); padding-right: var(--bleed); }
@media (max-width: 700px) { :root { --bleed: 18px; } }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--carbon); color: #fff; padding: 10px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

/* Tipos display */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0;
}
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mono-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Cabecera de sección numerada (pliego de catálogo) */
.leaf { border-top: 1px solid var(--rule); padding: 26px 0 72px; }
.leaf-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.leaf-no { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; color: var(--red); }
.leaf-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(34px, 4.6vw, 62px); line-height: 0.95; }
.leaf-aside { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-tech); max-width: 34ch; text-align: right; }
@media (max-width: 700px) { .leaf-aside { text-align: left; } }
.leaf-intro { max-width: 62ch; font-size: 17px; color: var(--carbon-soft); margin: -18px 0 40px; }

/* ---------- Botones: rectángulos planos ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-text); font-weight: 600; font-size: 13px;
  letter-spacing: 0.09em; text-transform: uppercase;
  min-height: 50px; padding: 13px 28px;
  text-decoration: none; border: 1px solid var(--carbon);
  background: transparent; color: var(--carbon);
  transition: background 0.2s ease-out, color 0.2s ease-out, border-color 0.2s ease-out, transform 0.2s ease-out;
}
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn-solid:hover { background: var(--red-deep); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); color: #fff; }
.btn-paper { border-color: var(--paper); color: var(--paper); }
.btn-paper:hover { background: var(--paper); color: var(--carbon); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn .arr { font-family: var(--font-mono); font-size: 14px; }

/* ---------- Utility bar ---------- */
.utility {
  background: var(--paper); border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.07em; text-transform: uppercase;
}
.utility .wrap { display: flex; align-items: stretch; justify-content: space-between; min-height: 36px; gap: 0; }
.utility-left, .utility-right { display: flex; align-items: center; gap: 0; }
.utility-left > span, .utility-left > a, .utility-right > span, .utility-right > a {
  display: inline-flex; align-items: center; padding: 0 16px; min-height: 36px; text-decoration: none;
}
.utility-left > *:not(:last-child), .utility-right > *:not(:first-child) { border-right: 1px solid var(--rule-soft); }
.utility-right > * { border-right: none; border-left: 1px solid var(--rule-soft); }
.utility a:hover { background: var(--red); color: #fff; }
.open-dot { width: 8px; height: 8px; background: #fff; border: 1px solid var(--red); margin-right: 8px; flex: none; }
.open-dot.closed { background: var(--red); }
.utility .u-first { padding-left: 0; }
.lang-sw a[aria-current="true"], .lang-sw span[aria-current] { color: var(--red); font-weight: 500; }
@media (max-width: 900px) {
  .utility .u-hide-m { display: none; }
}

/* ---------- Header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--red);
  backdrop-filter: saturate(1.1) blur(10px);
}
.masthead .wrap { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); min-height: var(--header-h); }
.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; min-width: max-content; }
.wordmark svg, .wordmark-symbol { width: 38px; height: 38px; object-fit: contain; }
.wordmark-name {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 900;
  font-size: 22px; letter-spacing: 0; color: var(--red); line-height: 1;
}
.mast-nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.mast-nav a {
  text-decoration: none; font-size: clamp(11px, 0.85vw, 13px); font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
  padding: 10px 10px; color: var(--carbon); transition: color 0.2s ease-out, background 0.2s ease-out, transform 0.2s ease-out;
  border-bottom: 2px solid transparent;
}
.mast-nav a:hover { color: var(--red); background: var(--paper-deep); transform: translateY(-1px); }
.mast-nav a[aria-current="page"] { border-bottom-color: var(--red); color: var(--red); }
.mast-nav .nav-pro { color: #fff; background: var(--red); padding: 10px 16px; border-bottom: none; }
.mast-nav .nav-pro:hover { background: var(--red-deep); color: #fff; }

.mast-search { margin-left: auto; display: flex; align-items: center; }
.mast-search input {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  border: 1px solid var(--rule); background: #fff; color: var(--carbon);
  padding: 10px 12px; width: clamp(140px, 15vw, 220px); border-radius: 0;
}
.mast-search input::placeholder { color: var(--gray-tech); text-transform: uppercase; }
.mast-search input:focus { outline: none; border-color: var(--red); }
.mast-search button {
  border: 1px solid var(--red); border-left: none; background: var(--red); color: #fff;
  min-height: 37px; padding: 0 13px; font-family: var(--font-mono); font-size: 12px;
}
.mast-search button:hover { background: var(--red-deep); }

.nav-toggle {
  display: none; margin-left: auto;
  background: #fff; border: 1px solid var(--red);
  width: 48px; height: 48px; align-items: center; justify-content: center; color: var(--carbon);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}

@media (max-width: 1180px) {
  .masthead .wrap { gap: 14px; }
  .mast-search { display: none; }
  .mast-nav a { padding: 9px 7px; }
  .wordmark-name { font-size: 19px; }
}
@media (max-width: 980px) {
  .mast-nav, .mast-search { display: none; }
  .nav-toggle { display: inline-flex; }
  .mast-nav.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--red); box-shadow: 0 18px 32px rgba(220,3,19,0.10);
  }
  .mast-nav.open a {
    padding: 17px var(--bleed); font-size: 15px;
    border-bottom: 1px solid var(--rule-soft); border-left: none; min-height: 54px;
  }
  .mast-nav.open .nav-pro { background: var(--red); color: #fff; }
  .mast-search.open {
    display: flex; position: absolute; top: -1px; left: 0; right: 0; transform: translateY(-100%);
  }
}

/* ---------- Hero editorial ---------- */
.hero-cat { border-bottom: 1px solid var(--rule); }
.hero-cat .hero-grid {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.72fr); gap: clamp(28px, 4vw, 72px);
  padding-top: 54px; padding-bottom: 44px; align-items: end;
}
.hero-title {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 900;
  font-size: clamp(58px, 11vw, 168px); line-height: 0.86; letter-spacing: 0;
}
.hero-title .dot { color: var(--red); }
.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
}
.hero-sub { max-width: 46ch; font-size: 17.5px; color: var(--carbon-soft); margin-top: 26px; }
.hero-sub strong { color: var(--carbon); }

.hero-facts { border-left: 1px solid var(--rule); }
.hero-facts li {
  list-style: none; padding: 13px 0 13px 20px; border-bottom: 1px solid var(--rule-soft);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase;
  display: flex; justify-content: space-between; gap: 14px;
}
.hero-facts { margin: 0; padding: 0; }
.hero-facts li:last-child { border-bottom: none; }
.hero-facts .k { color: var(--gray-tech); }
.hero-facts .v { text-align: right; }
.hero-facts .v a { text-decoration: none; }
.hero-facts .v a:hover { color: var(--red); }
.hero-facts .v.red { color: var(--red); }
.hero-actions { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-cat .hero-grid { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; }
  .hero-facts { border-left: none; border-top: 1px solid var(--rule); }
  .hero-facts li { padding-left: 0; }
}

/* Ticker marquesina */
.ticker {
  background: var(--red); color: #fff; overflow: hidden;
  border-top: 1px solid var(--red);
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 11px 26px; white-space: nowrap; display: inline-flex; align-items: center; gap: 26px;
}
.ticker-item::after { content: "◆"; color: #fff; font-size: 9px; opacity: 0.72; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  .ticker-half[aria-hidden] { display: none; }
}
.ticker-half { display: flex; }

/* ---------- Placeholder fotográfico editorial ---------- */
.ph {
  position: relative; background: var(--paper-deep);
  background-image: repeating-linear-gradient(-45deg, transparent 0 9px, rgba(220,3,19,0.08) 9px 10px);
  border: 1px solid var(--rule);
  display: flex; align-items: flex-end;
  min-height: 200px;
  overflow: hidden; margin: 0;
}
.ph.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 0.7s ease-out, filter 0.7s ease-out; }
.ph.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0) 42%, rgba(36,0,4,0.18)); pointer-events: none; }
a:hover .ph.photo img, .shelf:hover .ph.photo img, .reveal.in .ph.photo img { transform: scale(1.08); filter: saturate(1.06) contrast(1.03); }
.ph-label {
  position: relative; z-index: 1;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(255,255,255,0.94); border-top: 1px solid var(--rule); border-right: 1px solid var(--rule);
  padding: 7px 11px; color: var(--carbon-soft);
}
.ph-label b { color: var(--red); font-weight: 500; }
.ph.bleed { border-left: none; border-right: none; }

.hero-photo { aspect-ratio: 21 / 7; }
@media (max-width: 700px) { .hero-photo { aspect-ratio: 4 / 3; } }

/* ---------- Índice de categorías ---------- */
.cat-index { border: 1px solid var(--rule); margin-top: 18px; }
.cat-row {
  display: grid;
  grid-template-columns: 54px minmax(240px, 1.15fr) minmax(240px, 1.55fr) minmax(120px, auto);
  gap: clamp(14px, 2vw, 24px);
  align-items: center;
  padding: clamp(17px, 2vw, 24px) clamp(16px, 2vw, 26px);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  background: var(--paper);
  transition: background 0.2s ease-out, color 0.2s ease-out, transform 0.2s ease-out;
}
.cat-row:active { transform: translateX(2px); }
.cat-row:last-child { border-bottom: none; }
.cat-row-no {
  font-family: var(--font-mono);
  font-size: clamp(13px, 1.2vw, 16px);
  color: var(--red);
  font-weight: 800;
}
.cat-row-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.02;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cat-row-name .cat-icon { display: inline-flex; }
.cat-row > .cat-icon { display: none; }
.cat-row-copy { font-size: 14px; color: var(--carbon-soft); min-width: 0; }
.cat-row-tags {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  color: var(--gray-tech);
  text-align: right;
  min-width: 0;
  overflow-wrap: anywhere;
}
.cat-row:hover { background: var(--red); color: #fff; }
.cat-row:hover .cat-row-no,
.cat-row:hover .cat-row-tags { color: #fff; }
.cat-row:hover .cat-row-copy { color: rgba(255,255,255,0.78); }
.cat-row:hover .cat-icon { color: #fff; background: var(--red-deep); border-color: #fff; }
@media (max-width: 900px) {
  .cat-row { grid-template-columns: 46px minmax(0, 1fr); gap: 8px 14px; }
  .cat-row-name { grid-column: 2; }
  .cat-row-copy { grid-column: 2; padding-left: 0; }
  .cat-row-tags { display: none; }
}
@media (max-width: 640px) {
  .cat-row { padding: 16px 12px; grid-template-columns: 38px minmax(0, 1fr); }
  .cat-row-name { gap: 10px; font-size: 20px; }
  .cat-icon { width: 36px; height: 36px; }
}
@media (max-width: 420px) {
  .cat-row { grid-template-columns: 32px minmax(0, 1fr); gap: 7px 10px; }
  .cat-row-no { font-size: 12px; }
  .cat-row-name { font-size: 18px; }
  .cat-icon { width: 32px; height: 32px; }
}

/* ---------- Franja señalética ---------- */
.signs { background: var(--red); color: #fff; border-top: 1px solid var(--red); }
.signs .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.sign {
  padding: 30px 24px 34px; border-left: 1px solid rgba(255,255,255,0.22);
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit;
}
.sign:first-child { border-left: none; }
.sign-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--season); }
.sign-v { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(20px, 2vw, 28px); line-height: 1; }
.sign-s { font-size: 13px; color: rgba(255,255,255,0.68); }
a.sign:hover .sign-v { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .signs .wrap { grid-template-columns: 1fr 1fr; }
  .sign { border-left: none; border-top: 1px solid rgba(255,255,255,0.22); }
  .sign:nth-child(-n+2) { border-top: none; }
  .sign:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.22); }
}
@media (max-width: 540px) {
  .signs .wrap { grid-template-columns: 1fr; }
  .sign { border-left: none !important; border-top: 1px solid rgba(255,255,255,0.22); }
  .sign:first-child { border-top: none; }
}

/* ---------- Ficha catálogo / etiqueta estantería ---------- */
.shelf-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0; border: 1px solid var(--rule); }
.shelf { grid-column: span 3; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); display: flex; flex-direction: column; }
.shelf.wide { grid-column: span 6; }
.shelf .ph { border: none; border-bottom: 1px solid var(--rule); aspect-ratio: 4/3; min-height: 150px; }
.shelf.wide .ph { aspect-ratio: 8/3; }
.shelf-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shelf-name { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.shelf-meta { display: flex; justify-content: space-between; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gray-tech); }
.shelf:hover .shelf-name { color: var(--red); }
@media (max-width: 1000px) { .shelf { grid-column: span 6; } .shelf.wide { grid-column: span 12; } }
@media (max-width: 560px) { .shelf, .shelf.wide { grid-column: span 12; } .shelf .ph { min-height: 120px; } }

/* Estado (rótulos de señal) */
.state {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid currentColor;
}
.state::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.state.disponible { color: var(--red-deep); }
.state.temporada { color: var(--red); }
.state.pendent { color: var(--gray-tech); }
.state.revisio { color: var(--red); }
.state.confirmada { color: var(--ok); }
.state.preparada { color: var(--red-deep); }
.state.recollida { color: var(--carbon); }
.state.nodisp { color: var(--red); }
.state.cancel { color: var(--gray-tech); }

/* ---------- Campaña de temporada ---------- */
.campaign { background: var(--season); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.campaign .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding-top: 58px; padding-bottom: 58px; align-items: center; }
.campaign-k { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.campaign-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(52px, 8vw, 118px); line-height: 0.9; margin: 12px 0 18px; }
.campaign p { font-size: 17px; max-width: 48ch; }
.campaign .btn { margin-top: 26px; }
.campaign .ph { background: rgba(255,255,255,0.72); background-image: repeating-linear-gradient(-45deg, transparent 0 9px, rgba(220,3,19,0.14) 9px 10px); aspect-ratio: 4/3; }
.campaign .ph-label { background: var(--season); }
@media (max-width: 860px) { .campaign .wrap { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- Particular → Professional ---------- */
.split-pro { border-top: 1px solid var(--rule); }
.split-pro-top { padding: 64px 0 56px; }
.split-pro-top .statement { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(34px, 5.4vw, 72px); line-height: 0.95; max-width: 18ch; }
.split-pro-top .statement em { font-style: normal; color: var(--red); }
.split-pro-top p { max-width: 56ch; font-size: 16.5px; color: var(--carbon-soft); margin-top: 20px; }
.pro-block { background: var(--red); color: #fff; }
.pro-block .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; padding-top: 58px; padding-bottom: 64px; }
.pro-block h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(30px, 3.6vw, 48px); line-height: 0.95; }
.pro-block .pro-lead { color: rgba(255,255,255,0.72); font-size: 15.5px; margin-top: 16px; max-width: 40ch; }
.pro-block .pro-cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.pro-table { border-top: 1px solid rgba(255,255,255,0.22); margin: 0; padding: 0; list-style: none; }
.pro-table li {
  display: grid; grid-template-columns: 56px 1fr 1.4fr; gap: 18px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.22);
}
.pro-table .n { font-family: var(--font-mono); font-size: 11.5px; color: var(--season); letter-spacing: 0.06em; }
.pro-table .t { font-weight: 600; font-size: 15px; }
.pro-table .d { font-size: 13.5px; color: rgba(255,255,255,0.68); }
@media (max-width: 900px) {
  .pro-block .wrap { grid-template-columns: 1fr; gap: 36px; }
  .pro-table li { grid-template-columns: 44px 1fr; }
  .pro-table .d { grid-column: 2; }
}

/* ---------- Ubicación ---------- */
.locate { border-top: 1px solid var(--rule); }
.locate-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-bottom: 1px solid var(--rule); }
.locate-info { padding: 56px var(--bleed) 56px; border-right: 1px solid var(--rule); }
.locate-info .addr { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(38px, 5vw, 74px); line-height: 0.92; }
.locate-info .addr small { display: block; font-size: 0.42em; color: var(--carbon-soft); margin-top: 10px; letter-spacing: 0.04em; }
.locate-meta { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); max-width: 460px; }
.locate-meta li {
  display: flex; justify-content: space-between; gap: 18px; padding: 11px 0;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase;
}
.locate-meta .k { color: var(--gray-tech); }
.locate-meta a { text-decoration: none; }
.locate-meta a:hover { color: var(--red); }
.locate-actions { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.locate-map { position: relative; min-height: 420px; }
.locate-map iframe { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; filter: grayscale(1) contrast(1.05); }
.parking-sign {
  background: var(--red); color: #fff;
  padding: 20px var(--bleed);
  font-family: var(--font-display); text-transform: uppercase;
  font-size: clamp(20px, 3vw, 38px); line-height: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.parking-sign .mono { color: rgba(255,255,255,0.88); font-size: 11.5px; }
@media (max-width: 900px) {
  .locate-grid { grid-template-columns: 1fr; }
  .locate-info { border-right: none; border-bottom: 1px solid var(--rule); }
  .locate-map { min-height: 320px; }
}

/* ---------- Página interior ---------- */
.page-cover { border-bottom: 1px solid var(--rule); }
.page-cover .wrap { padding-top: 46px; padding-bottom: 42px; }
.crumbs { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-tech); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.crumbs .sep { margin: 0 8px; color: var(--red); }
.page-cover h1 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(42px, 7vw, 96px); line-height: 0.92; max-width: 14ch; }
.page-cover .lead { max-width: 58ch; font-size: 17.5px; color: var(--carbon-soft); margin-top: 22px; }

/* Prosa legal / editorial */
.prose { max-width: 70ch; }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 26px; margin: 44px 0 14px; }
.prose h3 { font-size: 17px; margin: 26px 0 8px; }
.prose p { margin: 0 0 15px; color: var(--carbon-soft); }
.prose ul { margin: 0 0 15px; padding-left: 20px; color: var(--carbon-soft); }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--carbon); }

.pending {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.09em; text-transform: uppercase;
  border: 1px solid var(--red); color: var(--red-deep); padding: 4px 10px;
}
.pending::before { content: ""; width: 7px; height: 7px; background: var(--red); }

/* Aviso enmarcado */
.notice {
  border: 1px solid var(--rule); border-left: 4px solid var(--red);
  padding: 16px 20px; font-size: 14px; color: var(--carbon-soft);
  margin: 28px 0; max-width: 74ch;
}
.notice a { color: var(--red); }

/* Pasos numerados editoriales */
.steps-index { border-top: 1px solid var(--rule); margin: 0; padding: 0; list-style: none; }
.steps-index li {
  display: grid; grid-template-columns: 90px 1fr 1.5fr; gap: 22px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--rule);
}
.steps-index .n { font-family: var(--font-display); font-size: 34px; color: var(--red); line-height: 1; }
.steps-index .t { font-weight: 600; font-size: 17px; }
.steps-index .d { font-size: 14.5px; color: var(--carbon-soft); }
@media (max-width: 760px) {
  .steps-index li { grid-template-columns: 60px 1fr; }
  .steps-index .d { grid-column: 2; }
}

/* Leyenda de estados */
.states-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0; border: 1px solid var(--rule); }
.states-legend > div { padding: 16px 18px; border-right: 1px solid var(--rule-soft); border-bottom: 1px solid var(--rule-soft); }
.states-legend p { font-size: 13px; color: var(--carbon-soft); margin-top: 8px; }

/* ---------- Formularios ---------- */
.form-wrap { max-width: 860px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; color: var(--carbon);
}
.field label .req { color: var(--red); }
.field .hint { font-size: 12.5px; color: var(--gray-tech); margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-text); font-size: 15px; color: var(--carbon);
  background: #fff; border: 1px solid var(--rule); border-radius: 0;
  padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 3px 3px 0 rgba(220,3,19,0.18);
}
.field.error input, .field.error select, .field.error textarea { border-color: var(--red); background: #fff4f5; }
.field .field-error { display: none; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--red); margin-top: 6px; }
.field.error .field-error { display: block; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--carbon-soft); font-family: var(--font-text); text-transform: none; letter-spacing: 0; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--red); }
.consent a { color: var(--red); }

.form-success {
  display: none; border: 1px solid var(--ok); padding: 22px 24px; margin-top: 26px;
  background: #fff4f5;
}
.form-success.show { display: block; }
.form-success .req-no { font-family: var(--font-mono); font-size: 20px; color: var(--ok); letter-spacing: 0.06em; display: block; margin-bottom: 8px; }
.form-success p { font-size: 14.5px; color: var(--carbon-soft); }

/* ---------- Tablero (ofertas/novedades) ---------- */
.board { border: 1px solid var(--rule); }
.board-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; padding: 22px 24px; border-bottom: 1px solid var(--rule); align-items: baseline; }
.board-row:last-child { border-bottom: none; }
.board-row .tag-b { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--red); }
.board-row h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 22px; }
.board-row p { font-size: 14.5px; color: var(--carbon-soft); margin-top: 6px; }
@media (max-width: 700px) { .board-row { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Footer ---------- */
.colophon { background: var(--red); color: rgba(255,255,255,0.82); font-size: 14px; margin-top: 0; }
.colophon .colophon-brand { padding: 54px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.22); }
.colophon .big-mark { font-family: var(--font-display); text-transform: uppercase; color: var(--paper); font-size: clamp(40px, 8vw, 110px); line-height: 0.9; }
.colophon .big-mark .dot { color: var(--red); }
.colophon-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding: 40px 0 44px; }
.colophon h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--season); margin: 0 0 16px; font-weight: 500; }
.colophon ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.colophon a { color: rgba(255,255,255,0.76); text-decoration: none; }
.colophon a:hover { color: #fff; }
.colophon .nap { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 2; }
.colophon-legal {
  border-top: 1px solid rgba(255,255,255,0.22); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(255,255,255,0.58);
}
.colophon-legal a { color: rgba(255,255,255,0.58); }
@media (max-width: 900px) { .colophon-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .colophon-cols { grid-template-columns: 1fr; } }

/* ---------- Barra inferior móvil ---------- */
.mobile-bar { display: none; }
@media (max-width: 700px) {
  body { padding-bottom: 56px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
    background: var(--red-deep); border-top: 1px solid var(--red);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 54px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--paper); text-decoration: none; border-left: 1px solid rgba(255,255,255,0.22);
  }
  .mobile-bar a:first-child { border-left: none; }
  .mobile-bar a.bar-red { background: var(--red); font-weight: 600; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 0.65s ease-out, transform 0.65s ease-out, filter 0.65s ease-out; transition-delay: calc(var(--reveal-i, 0) * 45ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.masthead.is-scrolled { box-shadow: 0 12px 30px rgba(220,3,19,0.14); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Resultado búsqueda ---------- */
.search-status { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 20px; color: var(--carbon-soft); }
.search-status b { color: var(--red); font-weight: 500; }
.search-status a { color: var(--red); }
.cat-row.hidden { display: none; }


/* ---------- Iconos de categorías y formulario mejorado ---------- */
.leaf-head { margin-bottom: 54px; }
.leaf-no { display: block; margin-bottom: 10px; }
.cat-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; flex: none; color: var(--red); background: #fff; border: 1px solid var(--red); }
.cat-icon svg { width: 30px; height: 30px; }
.cat-row { grid-template-columns: 56px 72px 1.1fr 1.6fr auto; }
.cat-row:hover .cat-icon, .cat-feature:hover .cat-icon { color: #fff; background: var(--red-deep); border-color: #fff; }
.photo-upload input[type="file"] { padding: 14px; background: var(--paper-deep); border-style: dashed; }
.photo-preview { margin-top: 12px; border: 1px solid var(--rule-soft); background: #fff; display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; padding: 12px; }
.photo-preview img { width: 92px; height: 92px; object-fit: cover; border: 1px solid var(--red); }
.photo-preview span { font-size: 13px; color: var(--carbon-soft); }
@media (max-width: 860px) {
  .cat-row { grid-template-columns: 48px 44px 1fr; }
  .cat-row-copy { grid-column: 3; }
  .cat-row .cat-icon { width: 42px; height: 42px; }
}


/* ---------- Ajustes finales de categorías y foto ---------- */
.cat-row-no { align-self: center; }
.cat-row-name { align-self: center; }
.cat-row .cat-icon { align-self: center; }
.photo-upload .hint { max-width: 760px; }
.form-success p + p { margin-top: 8px; color: var(--carbon-soft); }
@media (max-width: 860px) {
  .cat-row { grid-template-columns: 44px 40px 1fr; gap: 8px 12px; }
  .cat-row-name { min-width: 0; overflow-wrap: anywhere; }
  .cat-row-copy { grid-column: 1 / -1; padding-left: 56px; }
}
@media (max-width: 520px) {
  .leaf-head { margin-bottom: 34px; }
  .cat-row { grid-template-columns: 42px 36px 1fr; padding: 16px 12px; }
  .cat-row .cat-icon { width: 38px; height: 38px; }
  .cat-icon svg { width: 25px; height: 25px; }
  .cat-row-copy { padding-left: 54px; }
  .photo-preview { grid-template-columns: 72px 1fr; }
  .photo-preview img { width: 72px; height: 72px; }
}


/* ---------- Revisión visual solicitada ---------- */
body { font-family: var(--font-text); }
.hero-title,
.leaf-title,
.cat-feature-name,
.sign-v,
.statement,
.pro-block h3,
.big-mark,
.board-row h3 { font-family: var(--font-display); font-weight: 900; letter-spacing: 0; }
.mono,
.mono-num,
.leaf-no,
.leaf-aside,
.utility,
.cat-row-no,
.cat-row-tags,
.shelf-meta,
.ph-label,
.sign-k,
.ticker-item,
.btn .arr { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }


.cat-icon { width: 44px; height: 44px; color: var(--red); background: #fff; border: 1px solid var(--red); }
.cat-icon svg { width: 32px; height: 32px; }
.cat-row { grid-template-columns: 48px 52px minmax(170px, 1.05fr) minmax(220px, 1.55fr) auto; gap: 16px; }
.cat-row-no { align-self: center; font-size: 15px; font-weight: 800; color: var(--red); }
.cat-row-name .cat-icon { display: none; }
.cat-row:hover .cat-row-no { color: #fff; }
.cat-row:hover .cat-icon { color: #fff; background: var(--red-deep); border-color: #fff; }

.club-strip { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: #fff7f8; }
.club-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding-top: 42px; padding-bottom: 46px; }
.club-grid h2 { margin-top: 8px; font-size: clamp(34px, 5vw, 78px); line-height: .92; text-transform: uppercase; font-weight: 900; }
.club-grid p { margin-top: 14px; max-width: 62ch; color: var(--carbon-soft); font-size: 17px; }
.club-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.club-cards { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); }
.club-card { padding: clamp(22px, 3vw, 34px); border-right: 1px solid var(--rule); background: #fff; }
.club-card:last-child { border-right: 0; }
.club-card .n { color: var(--red); font-weight: 900; font-variant-numeric: tabular-nums; }
.club-card h3 { margin-top: 18px; font-size: clamp(22px, 2.2vw, 34px); line-height: 1; text-transform: uppercase; font-weight: 900; }
.club-card p { margin-top: 12px; color: var(--carbon-soft); }

@media (max-width: 1180px) {
  .mast-nav a { padding: 9px 6px; font-size: 11px; }
  .mast-nav .nav-pro { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 980px) {
      .club-grid { grid-template-columns: 1fr; }
  .club-actions { justify-content: flex-start; }
  .club-cards { grid-template-columns: 1fr; }
  .club-card { border-right: 0; border-bottom: 1px solid var(--rule); }
  .club-card:last-child { border-bottom: 0; }
}
@media (max-width: 860px) {
  .cat-row { grid-template-columns: 40px 44px 1fr; gap: 8px 12px; padding: 17px 14px; }
  .cat-row-copy { grid-column: 1 / -1; padding-left: 52px; }
  .cat-row-tags { display: none; }
  .cat-row-name { overflow-wrap: anywhere; }
  .cat-icon { width: 40px; height: 40px; }
  .cat-icon svg { width: 29px; height: 29px; }
}
@media (max-width: 700px) {
  .hero-cat .hero-grid { padding-top: 30px; padding-bottom: 34px; }
  .hero-sub { font-size: 16px; margin-top: 20px; }
  .hero-actions .btn { width: 100%; }
          .leaf { padding-bottom: 56px; }
  .leaf-head { margin-bottom: 30px; gap: 12px; }
  .club-grid { padding-top: 32px; padding-bottom: 36px; }
}


/* ---------- Corrección final: estabilidad visual ---------- */
:root {
  --font-display: "Archivo", system-ui, sans-serif;
  --font-text: "Archivo", system-ui, sans-serif;
  --font-mono: "Archivo", system-ui, sans-serif;
}
html { overflow-x: hidden; }
body,
button,
input,
select,
textarea,
.btn,
.mono,
.mono-num,
.utility,
.leaf-no,
.leaf-aside,
.cat-row-no,
.cat-row-tags,
.shelf-meta,
.ph-label,
.sign-k,
.ticker-item,
.crumbs,
.field label,
.field .field-error,
.form-success .req-no,
.colophon h4,
.colophon .nap,
.mobile-bar a {
  font-family: var(--font-text);
}
.hero-title,
.leaf-title,
.wordmark-name,
.cat-row-name,
.sign-v,
.campaign-title,
.statement,
.pro-block h3,
.locate-info .addr,
.page-cover h1,
.prose h2,
.board-row h3,
.colophon .big-mark,
.club-grid h2,
.club-card h3 {
  font-family: var(--font-text);
  font-weight: 900;
  letter-spacing: 0;
}
.wordmark { min-width: 0; max-width: min(46vw, 240px); gap: 10px; }
.wordmark-symbol {
  width: clamp(30px, 3.4vw, 42px) !important;
  height: clamp(30px, 3.4vw, 42px) !important;
  object-fit: contain;
  flex: 0 0 auto;
}
.wordmark-name {
  font-size: clamp(17px, 1.7vw, 23px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-stage,
.hero-icon-grid,
.hero-cat-mini,
.hero-cat .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(28px, 4vw, 58px);
  align-items: end;
  padding-top: clamp(34px, 6vw, 70px);
  padding-bottom: clamp(34px, 5vw, 56px);
}
.hero-title {
  font-size: clamp(62px, 12vw, 164px);
  line-height: .86;
  max-width: 10ch;
}
.hero-sub { max-width: 58ch; }
.hero-facts {
  width: 100%;
  min-width: 0;
  border-left: 1px solid var(--rule);
}
.hero-facts li { min-width: 0; }
.hero-facts .v { overflow-wrap: anywhere; }
.hero-photo {
  min-height: clamp(260px, 30vw, 440px);
  aspect-ratio: 21 / 7;
}
.cat-index { margin-top: 0; }
.cat-row {
  grid-template-columns: 54px minmax(240px, 1.15fr) minmax(240px, 1.55fr) minmax(120px, auto);
  gap: clamp(14px, 2vw, 24px);
  padding: clamp(17px, 2vw, 24px) clamp(16px, 2vw, 26px);
  align-items: center;
}
.cat-row-name {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.02;
}
.cat-row-name .cat-icon { display: inline-flex; }
.cat-row > .cat-icon { display: none; }
.cat-icon {
  width: clamp(36px, 4vw, 48px);
  height: clamp(36px, 4vw, 48px);
  flex: 0 0 auto;
}
.cat-icon svg {
  width: 72%;
  height: 72%;
}
.cat-row-no {
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 800;
  color: var(--red);
}
.cat-row:hover .cat-row-no { color: #fff; }
.cat-row-copy { min-width: 0; }
.cat-row-tags { min-width: 0; overflow-wrap: anywhere; }
.wrap { width: 100%; }
.ph-label { max-width: calc(100% - 16px); }
.club-strip { background: var(--paper-deep); }

@media (max-width: 1120px) {
  .mast-nav, .mast-search { display: none; }
  .nav-toggle { display: inline-flex; }
  .mast-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--red);
    box-shadow: 0 18px 32px rgba(220,3,19,0.10);
  }
  .mast-nav.open a { padding: 17px var(--bleed); font-size: 15px; min-height: 54px; border-bottom: 1px solid var(--rule-soft); }
  .mast-nav.open .nav-pro { background: var(--red); color: #fff; }
}
@media (max-width: 900px) {
  .hero-cat .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-facts { border-left: none; border-top: 1px solid var(--rule); }
  .hero-facts li { padding-left: 0; }
  .cat-row {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px 14px;
  }
  .cat-row-name { grid-column: 2; }
  .cat-row-copy { grid-column: 2; padding-left: 0; }
  .cat-row-tags { display: none; }
  .signs .wrap,
  .colophon-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .utility .wrap { min-height: 34px; }
  .utility-left > span,
  .utility-left > a,
  .utility-right > span,
  .utility-right > a { padding: 0 9px; }
  .wordmark { max-width: 68vw; }
  .wordmark-name { font-size: 18px; }
  .hero-title { font-size: clamp(52px, 19vw, 92px); }
  .hero-sub { font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-photo { aspect-ratio: 4 / 3; min-height: 260px; }
  .leaf { padding-top: 22px; padding-bottom: 52px; }
  .leaf-head { margin-bottom: 28px; }
  .cat-row { padding: 16px 12px; grid-template-columns: 38px minmax(0, 1fr); }
  .cat-row-name { gap: 10px; font-size: 20px; }
  .cat-icon { width: 36px; height: 36px; }
  .signs .wrap,
  .colophon-cols,
  .club-grid,
  .club-cards { grid-template-columns: 1fr; }
  .sign { border-left: none !important; }
  .club-actions .btn { width: 100%; }
}
@media (max-width: 420px) {
  .wrap { padding-left: 14px; padding-right: 14px; }
  .hero-title { font-size: clamp(46px, 20vw, 76px); }
  .cat-row { grid-template-columns: 32px minmax(0, 1fr); gap: 7px 10px; }
  .cat-row-no { font-size: 12px; }
  .cat-row-name { font-size: 18px; }
  .cat-icon { width: 32px; height: 32px; }
  .mobile-bar a { font-size: 10px; letter-spacing: 0.04em; }
}


/* ---------- Cabecera y tipografía: auditoría 2026-07-31 ---------- */
:root {
  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-text: "Archivo", "Arial", system-ui, sans-serif;
  --font-mono: "Archivo", "Arial", system-ui, sans-serif;
}
* { letter-spacing: 0 !important; }
body,
button,
input,
select,
textarea,
a,
p,
span,
li,
label,
small,
strong,
em,
h1,
h2,
h3,
h4,
.mono,
.mono-num,
.utility,
.btn,
.leaf-no,
.leaf-aside,
.cat-row-no,
.cat-row-tags,
.shelf-meta,
.ph-label,
.sign-k,
.ticker-item,
.crumbs,
.field label,
.field .field-error,
.form-success .req-no,
.colophon h4,
.colophon .nap,
.mobile-bar a {
  font-family: var(--font-text) !important;
}
.hero-title,
.leaf-title,
.wordmark-name,
.cat-row-name,
.sign-v,
.campaign-title,
.statement,
.pro-block h3,
.locate-info .addr,
.page-cover h1,
.prose h2,
.board-row h3,
.colophon .big-mark,
.club-grid h2,
.club-card h3 {
  font-family: var(--font-display) !important;
  font-weight: 900 !important;
}
.masthead .wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(12px, 1.4vw, 24px);
}
.wordmark {
  grid-column: 1;
  max-width: 260px;
  min-width: 0;
  overflow: hidden;
}
.wordmark-symbol {
  width: clamp(32px, 3vw, 42px) !important;
  height: clamp(32px, 3vw, 42px) !important;
  object-fit: contain;
}
.wordmark-name {
  font-size: clamp(18px, 1.45vw, 23px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mast-nav {
  grid-column: 2;
  justify-content: flex-end;
  min-width: 0;
  overflow: hidden;
}
.mast-nav a {
  font-size: clamp(10px, .78vw, 12px);
  padding: 9px clamp(5px, .55vw, 9px);
  flex: 0 0 auto;
}
.mast-nav .nav-pro { padding-left: clamp(8px, .75vw, 13px); padding-right: clamp(8px, .75vw, 13px); }
.mast-search {
  grid-column: 3;
  margin-left: 0;
  flex: 0 0 auto;
  min-width: 0;
}
.mast-search input { width: clamp(130px, 12vw, 190px); }
.nav-toggle { grid-column: 3; justify-self: end; }
.cat-icon img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}
@media (max-width: 1500px) {
  .mast-search { display: none !important; }
  .masthead .wrap { grid-template-columns: auto minmax(0, 1fr); }
  .mast-nav { grid-column: 2; }
}
@media (max-width: 1320px) {
  .masthead .wrap { grid-template-columns: auto auto; }
  .mast-nav,
  .mast-search { display: none !important; }
  .nav-toggle { display: inline-flex !important; }
  .mast-nav.open {
    display: flex !important;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--red);
    box-shadow: 0 18px 32px rgba(220,3,19,0.10);
    overflow: visible;
  }
  .mast-nav.open a {
    padding: 17px var(--bleed);
    font-size: 15px;
    min-height: 54px;
    border-bottom: 1px solid var(--rule-soft);
  }
  .mast-nav.open .nav-pro { background: var(--red); color: #fff; }
}
@media (max-width: 640px) {
  .wordmark { max-width: calc(100vw - 110px); }
  .wordmark-name { font-size: 18px; }
  .utility-right > a { display: none; }
}


/* ---------- Ubicación/contacto: alineación común ---------- */
body[data-page="contact"] .page-cover h1 { max-width: 18ch; }
.locate { border-top: 1px solid var(--rule); }
.locate .locate-wrap {
  padding-top: 0;
  padding-bottom: 0;
}
.locate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 0;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.locate-info {
  padding: clamp(34px, 4vw, 58px) clamp(22px, 3.2vw, 48px);
  border-right: 1px solid var(--rule);
}
.locate-info .addr {
  margin: 0;
  max-width: 12ch;
  line-height: .96;
}
.locate-info .addr small {
  font-family: var(--font-text) !important;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 14px;
}
.locate-meta {
  max-width: none;
  margin-top: clamp(24px, 3vw, 36px);
}
.locate-meta li {
  grid-template-columns: minmax(150px, .9fr) minmax(0, 1.1fr);
  gap: 18px;
}
.locate-actions { gap: 12px; }
.locate-map { min-height: clamp(360px, 34vw, 520px); }
.parking-sign {
  padding: 0;
  font-family: var(--font-text) !important;
  text-transform: none;
}
.parking-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 38px);
  padding-top: clamp(18px, 2.2vw, 28px);
  padding-bottom: clamp(18px, 2.2vw, 28px);
}
.parking-sign span:first-child {
  font-family: var(--font-text) !important;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 38px);
  line-height: 1.08;
}
.parking-sign .mono {
  font-family: var(--font-text) !important;
  font-weight: 700;
  font-size: clamp(13px, 1.1vw, 16px);
  color: rgba(255,255,255,.86);
  white-space: nowrap;
}
@media (max-width: 900px) {
  body[data-page="contact"] .page-cover h1 { max-width: 12ch; }
  .locate-grid {
    grid-template-columns: 1fr;
  }
  .locate-info {
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .locate-info .addr { max-width: 14ch; }
  .locate-meta li { grid-template-columns: 1fr; gap: 4px; }
  .parking-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .parking-sign .mono { white-space: normal; }
}
@media (max-width: 520px) {
  .locate-info { padding: 28px 16px; }
  .locate-map { min-height: 300px; }
  .locate-actions .btn { width: 100%; }
}


/* ---------- Parking: separación superior/inferior ---------- */
.parking-sign {
  border-top: 1px solid var(--rule) !important;
  border-bottom: 1px solid var(--rule) !important;
  text-transform: uppercase !important;
}
.parking-inner {
  border-left: 1px solid rgba(255,255,255,.26);
  border-right: 1px solid rgba(255,255,255,.26);
}
.parking-sign span:first-child,
.parking-sign .mono {
  text-transform: uppercase !important;
}
.cat-icon img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

/* ---------- Reparación responsive: cabecera y hero ---------- */
@media (max-width: 1320px) {
  .masthead .wrap {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  .wordmark {
    grid-column: 1 !important;
    max-width: calc(100vw - 128px) !important;
  }
  .nav-toggle {
    grid-column: 2 !important;
    justify-self: end !important;
    margin-left: 0 !important;
  }
}
@media (max-width: 700px) {
  .hero-cat .hero-grid {
    overflow: hidden;
  }
  .hero-sub,
  .hero-sub strong,
  .hero-facts,
  .hero-facts li,
  .hero-facts .v {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero-facts li {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .hero-facts .v {
    text-align: left;
  }
}

/* ---------- Ajuste solicitado: hover categorías y footer ligero ---------- */
.cat-row:hover .cat-icon,
.cat-row:hover .cat-row-name .cat-icon,
.cat-feature:hover .cat-icon {
  background: #fff !important;
  color: var(--red) !important;
  border-color: #fff !important;
}
.cat-row:hover .cat-icon img,
.cat-feature:hover .cat-icon img {
  filter: none !important;
  opacity: 1 !important;
}

.parking-sign {
  background: #fff !important;
  color: var(--red) !important;
  border-top: 1px solid var(--red) !important;
  border-bottom: 1px solid var(--red) !important;
}
.parking-inner {
  border-left: 1px solid var(--rule-soft) !important;
  border-right: 1px solid var(--rule-soft) !important;
}
.parking-sign .mono {
  color: var(--carbon-soft) !important;
}

.colophon {
  background: #fff !important;
  color: var(--carbon-soft) !important;
  border-top: 1px solid var(--rule) !important;
}
.colophon .colophon-brand {
  background: var(--paper-deep) !important;
  border-bottom: 1px solid var(--rule-soft) !important;
}
.colophon .big-mark {
  color: var(--red) !important;
}
.colophon .big-mark .dot {
  color: var(--carbon) !important;
}
.colophon-cols {
  border-bottom: 1px solid var(--rule-soft) !important;
}
.colophon h4 {
  color: var(--red) !important;
}
.colophon a {
  color: var(--carbon-soft) !important;
}
.colophon a:hover {
  color: var(--red) !important;
}
.colophon-legal {
  border-top: none !important;
  color: var(--gray-tech) !important;
}
.colophon-legal a {
  color: var(--gray-tech) !important;
}

@media (max-width: 700px) {
  .mobile-bar {
    background: #fff !important;
    border-top: 1px solid var(--red) !important;
  }
  .mobile-bar a {
    color: var(--red) !important;
    border-left: 1px solid var(--rule-soft) !important;
  }
  .mobile-bar a.bar-red {
    background: var(--red) !important;
    color: #fff !important;
  }
}

/* ---------- Campañas deslizables por mes ---------- */
.campaign {
  background: var(--paper-deep) !important;
  border-top: 1px solid var(--rule) !important;
  border-bottom: 1px solid var(--rule) !important;
  overflow: hidden;
}
.campaign .campaign-head.wrap {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding-top: 28px !important;
  padding-bottom: 0 !important;
}
.campaign-controls {
  display: inline-flex;
  border: 1px solid var(--red);
  background: #fff;
}
.campaign-controls button {
  width: 44px;
  height: 40px;
  border: 0;
  border-left: 1px solid var(--rule-soft);
  background: #fff;
  color: var(--red);
  font-weight: 900;
}
.campaign-controls button:first-child { border-left: 0; }
.campaign-controls button:hover { background: var(--red); color: #fff; }
.campaign-viewport {
  max-width: var(--max);
  margin: 0 auto;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.campaign-track {
  display: flex;
  width: 100%;
}
.campaign-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: 42px var(--bleed) 54px;
  opacity: .54;
  transition: opacity .24s ease-out;
}
.campaign-slide.is-active { opacity: 1; }
.campaign-copy { min-width: 0; }
.campaign-slide .campaign-title {
  max-width: 10ch;
}
.campaign-slide .ph {
  min-height: clamp(260px, 30vw, 430px);
  aspect-ratio: 4 / 3;
  background: #fff;
}
.campaign .campaign-dots.wrap {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  padding-top: 0 !important;
  padding-bottom: 30px !important;
}
.campaign-dots button {
  width: 34px;
  height: 7px;
  border: 1px solid var(--red);
  background: #fff;
  padding: 0;
}
.campaign-dots button[aria-current="true"] {
  background: var(--red);
}
@media (max-width: 860px) {
  .campaign-slide {
    grid-template-columns: 1fr;
    padding-top: 34px;
  }
  .campaign-slide .campaign-title { max-width: 12ch; }
}
@media (max-width: 520px) {
  .campaign .campaign-head.wrap {
    align-items: flex-start !important;
    flex-direction: column;
  }
  .campaign-controls { width: 100%; }
  .campaign-controls button { flex: 1; }
  .campaign-dots button { width: 24px; }
}

/* ---------- Ara a botiga compacto ---------- */
.shelf-body {
  padding: clamp(14px, 1.8vw, 22px) !important;
  justify-content: flex-start;
}
.shelf-name {
  margin-top: 2px;
}
