/* =========================================================
   Valiente R — Taller de motos
   Hoja de estilos única. Sin dependencias externas.
   ========================================================= */

@font-face {
  font-family: "Big Shoulders";
  src: url("../fonts/bigshoulders-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* Transiciones suaves entre páginas (navegadores compatibles) */
@view-transition { navigation: auto; }

:root {
  color-scheme: light;

  --paper: #f7f7f5;
  --paper-2: #efefec;
  --white: #ffffff;
  --ink: #16140f;
  --ink-soft: #4a463d;
  --line: #d8d9d6;
  --accent: #bd202b;
  --accent-ink: #9b1720; /* acento con contraste AA sobre fondo claro */
  --ok: #1f8a4c;

  --f-display: "Big Shoulders", "Arial Narrow", sans-serif;
  --f-body: "Instrument Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius: 10px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--paper);
  background-image: none;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

main { flex: 1; }

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.mono {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f7f7f5;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand-logo {
  display: block;
  width: clamp(150px, 22vw, 210px);
  height: 58px;
  flex: none;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand b { color: var(--accent); font-weight: 800; }

.nav { display: flex; gap: 6px; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 5px;
  border: 1.5px solid transparent;
  transition: background-color .2s, border-color .2s;
}
.nav a:hover { border-color: var(--ink); }
.nav a[aria-current="page"] {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--fg);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid var(--ink);
  transition: transform .2s, background-color .2s;
  box-shadow: none;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 0 var(--ink); }
.btn svg { width: 22px; height: 22px; flex: none; }

.btn--accent { --bg: var(--accent); --fg: var(--white); }
.btn--ghost { --bg: transparent; --fg: var(--ink); }
.btn--xl { padding: 22px 34px; font-size: 1.2rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(42px, 7vw, 78px) clamp(38px, 5vw, 64px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.hero-copy { max-width: 700px; }

.tag {
  display: inline-block;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink-soft);
  letter-spacing: .08em;
}
.tag .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 22%, transparent);
}

.display {
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.86;
  letter-spacing: -0.005em;
  margin: 0;
}

.hero h1 {
  max-width: 640px;
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 5.25vw, 5.2rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-block: 20px 22px;
}
.hero h1 .accent { color: var(--accent); }

.lead {
  font-size: clamp(1.05rem, 1rem + .2vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 0 0 24px;
}

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero-cta { padding: 13px 21px; font-size: 1rem; }
.hero-location-link { font-size: 1rem; font-weight: 600; text-decoration: none; }
.hero-location-link span { color: var(--accent-ink); margin-left: 4px; }
.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 28px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--ink-soft);
  font-size: .92rem;
}
.hero-details li + li { position: relative; }
.hero-details li + li::before {
  content: "";
  position: absolute;
  left: -13px;
  top: .55em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-gallery { min-width: 0; }
.hero-gallery-track { width: 100%; height: 100%; border-radius: 10px; }
.hero-gallery-track .gallery-slide { width: 100%; height: 100%; }
.hero-gallery-track .gallery-slide img {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}
.hero-gallery .gallery-meta { margin-top: 10px; }
.hero-gallery-link {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: .84rem;
  text-align: center;
  text-underline-offset: 3px;
}

/* Cinta de peligro */
.hazard {
  display: none;
}

/* Marquesina de servicios */
.ticker {
  background: var(--white);
  color: var(--ink-soft);
  overflow: hidden;
  white-space: nowrap;
  padding-block: 12px;
  border-block: 1px solid var(--line);
}
.ticker-track {
  display: inline-flex;
  gap: 40px;
  animation: slide 30s linear infinite;
  font-family: var(--f-display);
  font-size: clamp(1rem, .9rem + .5vw, 1.25rem);
  text-transform: uppercase;
}
.ticker-track span::after {
  content: "·";
  color: var(--accent);
  margin-left: 40px;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 {
  font-size: clamp(2.8rem, 1.6rem + 5vw, 5.5rem);
}
.section-head p {
  max-width: 42ch;
  margin: 0;
  color: var(--ink-soft);
}
.eyebrow { color: var(--accent-ink); display: block; margin-bottom: 12px; }

/* Bento de servicios */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.card:hover {
  border-color: #a9aaa7;
  box-shadow: 0 8px 24px #16140f0d;
}
.card h3 {
  font-family: var(--f-display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}
.card p { margin: 0; color: var(--ink-soft); }
.card .num { color: var(--accent-ink); }
.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 8px;
}

.c-wide { grid-column: span 4; }
.c-mid  { grid-column: span 2; }
.c-half { grid-column: span 3; }

.card--accent { background: var(--white); }
.card--accent p, .card--accent .num { color: var(--ink-soft); }
.card--ink { background: var(--ink); color: var(--paper); }
.card--ink p { color: #cfc8b8; }
.card--ink .num { color: var(--accent); }

/* Cifras */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}
.stat {
  padding: clamp(22px, 3vw, 36px);
  border-right: 2px solid var(--ink);
}
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(3rem, 2rem + 4vw, 5rem);
  line-height: 1;
}
.stat strong em { font-style: normal; color: var(--accent); }

/* Ubicación */
.location {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 16px;
}
.map-card {
  position: relative;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #e9e3d3;
  /* Mapa ilustrado: sin iframes ni cookies de terceros */
  background-image:
    linear-gradient(28deg, transparent 46%, var(--white) 46% 50%, transparent 50%),
    linear-gradient(-62deg, transparent 58%, var(--white) 58% 61%, transparent 61%),
    linear-gradient(90deg, transparent 30%, #fff8 30% 32%, transparent 32%),
    linear-gradient(0deg, transparent 64%, #fff8 64% 66%, transparent 66%),
    radial-gradient(circle at 78% 22%, #cfe0c2 0 60px, transparent 61px),
    radial-gradient(circle at 18% 82%, #cfe0c2 0 80px, transparent 81px);
}
.pin {
  position: absolute;
  top: 44%;
  left: 50%;
  translate: -50% -100%;
  width: 64px;
  animation: bob 2.4s ease-in-out infinite;
}
.pin-shadow {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 34px;
  height: 10px;
  translate: -50% -2px;
  border-radius: 50%;
  background: #16140f40;
}
@keyframes bob { 50% { translate: -50% calc(-100% - 10px); } }

.map-card .btn {
  position: absolute;
  left: 20px;
  bottom: 20px;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.info-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.info-list .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
}
.info-list .ico svg { width: 26px; height: 26px; }
.info-list h3 {
  margin: 0 0 2px;
  font-size: 1.1rem;
}
.info-list p, .info-list address {
  margin: 0;
  font-style: normal;
  color: var(--ink-soft);
}
.info-list a { font-weight: 600; color: var(--ink); text-underline-offset: 4px; }

.hours { width: 100%; border-collapse: collapse; margin-top: 4px; }
.hours td { padding: 3px 0; color: var(--ink-soft); }
.hours td:last-child { text-align: right; font-family: var(--f-mono); font-size: .9rem; color: var(--ink); }
.hours .closed td:last-child { color: var(--accent-ink); }

/* Banda CTA */
.cta-band {
  background: var(--accent);
  border: 2px solid var(--ink);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(32px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: none;
}
.cta-band h2 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.2rem); }
.cta-band p { margin: 14px 0 0; max-width: 46ch; }

/* ---------- Página de contacto ---------- */
.page-hero {
  padding-block: clamp(48px, 8vw, 100px) clamp(24px, 4vw, 48px);
}
.page-hero h1 { font-size: clamp(4rem, 2rem + 9vw, 9rem); margin-top: 18px; }

.booking {
  position: relative;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: calc(var(--radius) + 8px);
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  box-shadow: none;
}
.booking h2 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); }
.booking p { color: var(--ink-soft); }

.steps {
  list-style: none;
  counter-reset: s;
  padding: 0;
  margin: 24px 0 32px;
  display: grid;
  gap: 12px;
}
.steps li {
  counter-increment: s;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--f-mono);
  font-size: .85rem;
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.note {
  font-size: .9rem;
  color: var(--ink-soft);
  margin-top: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.note svg { width: 18px; height: 18px; flex: none; }

/* Calendario ilustrado */
.cal {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  rotate: 0deg;
  transition: rotate .4s cubic-bezier(.2,.8,.2,1);
}
.booking:hover .cal { rotate: 0deg; }
.cal-top {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cal-top strong { font-family: var(--f-display); font-size: 1.8rem; text-transform: uppercase; line-height: 1; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  padding: 16px;
}
.cal-grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-family: var(--f-mono);
  font-size: .8rem;
  background: var(--white);
  border: 1px solid var(--line);
}
.cal-grid .h { background: transparent; border: 0; color: var(--ink-soft); }
.cal-grid .off { opacity: .35; }
.cal-grid .pick { background: var(--accent); border: 2px solid var(--ink); font-weight: 700; }
.cal-grid .busy { background: var(--paper-2); text-decoration: line-through; color: var(--ink-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.contact-card {
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background-color .25s;
}
a.contact-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 0 var(--ink);
  background: var(--accent);
}
.contact-card .ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 2px solid var(--ink);
  background: var(--paper);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.contact-card .ico svg { width: 28px; height: 28px; }
.contact-card strong {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem);
  text-transform: uppercase;
  line-height: 1.05;
  overflow-wrap: anywhere;
}
.contact-card strong.is-email { text-transform: none; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); }
.contact-card span.mono { color: var(--ink-soft); }

/* ---------- Pie ---------- */
.site-footer {
  margin-top: clamp(48px, 8vw, 96px);
  background: var(--ink);
  color: #cfc8b8;
  padding-block: 40px;
  font-size: .95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  align-items: center;
}
.site-footer .brand { color: var(--paper); font-size: 1.6rem; }
.site-footer .footer-logo {
  display: block;
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 4px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { text-underline-offset: 4px; }
.site-footer a { color: var(--paper); }
.privacy-note { max-width: 78ch; margin-top: 20px; color: var(--ink-soft); font-size: .95rem; }
.privacy-note a { color: var(--ink); font-weight: 600; }
.legal-page { padding-block: clamp(48px, 8vw, 92px); }
.legal-page .eyebrow { margin-bottom: 18px; }
.legal-page h1 { font-size: clamp(3.5rem, 7vw, 7rem); }
.legal-intro { max-width: 72ch; margin: 26px 0 52px; color: var(--ink-soft); font-size: 1.08rem; }
.legal-content { max-width: 82ch; }
.legal-content section { padding-block: 28px; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 14px; font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1; text-transform: uppercase; }
.legal-content p, .legal-content li { line-height: 1.65; }
.legal-content p { margin: 0 0 14px; }
.legal-content p:last-child { margin-bottom: 0; }
.legal-content ul { padding-left: 1.4em; }
.legal-content a { color: var(--accent-ink); text-underline-offset: 3px; }

/* Galería de fotos del taller: desplazamiento horizontal sin anclas */
.gallery-frame { position: relative; aspect-ratio: 4 / 3; }
.gallery-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ececea;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  position: relative;
  margin: 0;
  flex: 0 0 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  scroll-snap-align: start;
  scroll-margin-inline: 0;
}
.gallery-slide img {
  width: 100%;
  height: clamp(280px, 56vw, 640px);
  object-fit: contain;
  background: #ececea;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  translate: 0 -50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.5rem;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 2px 12px #0002;
}
.gallery-arrow--next { right: 16px; }
.gallery-arrow--previous { left: 16px; }
.gallery-arrow:disabled { opacity: .35; cursor: default; }
.gallery-track:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gallery-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--ink-soft);
  font-size: .84rem;
}
.gallery-count { color: var(--accent-ink); }
.ticker { white-space: normal; overflow: visible; }
.ticker-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; animation: none; }
.ticker-track span::after { margin-left: 20px; }
.stats, .info-list li, .contact-card, .booking, .cta-band, .map-card { border-width: 1px; }
.stat { border-right-width: 1px; }
.stat:not(:last-child) { border-color: var(--line); }
.cta-band { background: #ececea; }
.cta-band .btn--xl { background: var(--ink); color: var(--white); }
.contact-card { transition: border-color .2s, box-shadow .2s; }
a.contact-card:hover { transform: none; border-color: #a9aaa7; background: var(--white); box-shadow: 0 8px 24px #16140f0d; }

/* Acabado visual sobrio */
.cta-band { background: #ececea; }
.cta-band .btn--xl { background: var(--ink); color: var(--white); }
.site-footer { background: #202124; }
.site-footer .brand { background: var(--white); border-radius: 4px; overflow: hidden; }
.display { line-height: .98; letter-spacing: 0; }
.info-list .ico, .contact-card .ico { border-width: 1px; border-radius: 8px; }

@media (prefers-reduced-motion: reduce) {
  .gallery-track { scroll-behavior: auto; }
}
.stats, .info-list li, .contact-card, .booking, .cta-band, .map-card { border-width: 1px; }

/* ---------- Animación de entrada ---------- */
.rise {
  animation: rise .8s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--d, 0) * 90ms);
}
@keyframes rise {
  from { opacity: 0; translate: 0 28px; }
  to   { opacity: 1; translate: 0 0; }
}

/* Revelado al hacer scroll (CSS puro, sin JS) */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .location,
  .booking,
  .cta-band { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-gallery { width: min(100%, 640px); }
  .c-wide, .c-mid, .c-half { grid-column: span 6; }
  .contact-grid { grid-template-columns: 1fr; }
  .cal { max-width: 420px; }
}

@media (max-width: 620px) {
  .brand { font-size: 1.5rem; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-logo { width: 145px; height: 48px; }
  .site-footer .footer-logo { width: 96px; height: 96px; }
  .nav a { padding: 8px 12px; font-size: .95rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 2px solid var(--ink); }
  .stat:last-child { border-bottom: 0; }
  .btn { width: 100%; justify-content: center; }
  .map-card .btn { width: auto; left: 16px; right: 16px; }
}

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

/* Retardos escalonados (clases en lugar de style="" para cumplir la CSP) */
.d1 { --d: 1; } .d2 { --d: 2; } .d3 { --d: 3; } .d4 { --d: 4; }

/* Evitar desbordamiento horizontal en móvil */
.hero-grid > *, .location > *, .booking > *, .cta-band > *,
.bento > *, .contact-grid > *, .info-list li > * { min-width: 0; }
@media (max-width: 960px) {
  .hero-grid, .location, .booking, .cta-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .hours tr { display: flex; flex-direction: column; margin-bottom: 6px; }
  .hours td:last-child { text-align: left; }
  .booking, .cta-band { box-shadow: 6px 6px 0 0 var(--accent); }
  .cta-band { box-shadow: 6px 6px 0 0 var(--ink); }
  .cal { rotate: 0deg; }
  .site-header .wrap { gap: 8px; }
}
