/* ============================================================
   BICIS LA RIBERA — styles.css
   "Neighbourhood workshop meets vintage cycling poster."
   Red / charcoal / cream. 8px grid. Fluid type. No framework.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  --red-600: #C8102E;
  --red-700: #A30D25;
  --ink-900: #16161A;
  --ink-700: #2A2A31;
  --cream-50: #FAF5EC;
  --cream-100: #F1E9DA;
  --tile-300: #D9B98C;
  --steel-400: #9AA0A6;
  --ok-green: #1E8E4E;

  /* aliases that flip in dark mode */
  --bg: var(--cream-50);
  --bg-soft: var(--cream-100);
  --surface: #FFFFFF;
  --text: var(--ink-900);
  --text-soft: #4A4A52;
  --border: var(--ink-900);
  --border-soft: #D8CDBA;
  --accent: var(--red-600);
  --accent-strong: var(--red-700);
  --accent-text: var(--red-600);   /* red used AS text — AA-checked */
  --on-accent: #FFFFFF;
  --shadow-c: rgba(22, 22, 26, 0.18);
  --hero-grad-a: #E0463F;

  --font-head: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-hard: 0 4px 0 var(--ink-900);
  --shadow-soft: 0 10px 30px var(--shadow-c);
  --header-h: 76px;
  --wrap: 1160px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131317;
    --bg-soft: #1B1B21;
    --surface: #1E1E24;
    --text: #F3EDE2;
    --text-soft: #B9B4A8;
    --border: #45454E;
    --border-soft: #3A3A44;
    --accent: var(--red-600);
    --accent-strong: #E4313F;
    --accent-text: #FF5C72;        /* lighter red: AA on ink surfaces */
    --on-accent: #FFFFFF;
    --shadow-c: rgba(0, 0, 0, 0.5);
    --shadow-hard: 0 4px 0 #000;
  }
}

/* ---------- 2. Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(72px + env(safe-area-inset-bottom)); /* room for mobile bar */
}
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--accent-text); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--red-600); outline-offset: 2px; border-radius: 4px; }
@media (prefers-color-scheme: dark) { :focus-visible { outline-color: #FF8296; } }
::selection { background: var(--red-600); color: #fff; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink-900); color: #fff; padding: 10px 18px;
  border-radius: 0 0 12px 12px; font-weight: 700; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

body.no-scroll, body.nav-open { overflow: hidden; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
section { scroll-margin-top: calc(var(--header-h) + 14px); }

.section { padding-block: clamp(56px, 9vw, 104px); }
.section--soft { background: var(--bg-soft); }
.section--ink {
  background: var(--ink-900); color: var(--cream-50);
}
.section--ink h2, .section--ink h3 { color: var(--cream-50); }

/* long below-the-fold sections paint lazily */
#faq, #galeria { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- 3. Diamond divider (floor-tile motif) ---------- */
.diamonds {
  height: 14px; border-block: 2px solid var(--ink-900);
  background:
    repeating-linear-gradient(45deg, transparent 0 6px, var(--tile-300) 6px 8px, transparent 8px 14px),
    repeating-linear-gradient(-45deg, transparent 0 6px, var(--tile-300) 6px 8px, transparent 8px 14px),
    var(--bg-soft);
  opacity: 0.9;
}

/* ---------- 4. Icons ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.25em; }
.icon use { pointer-events: none; }
.stroke-ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 5. Buttons & tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 700 1rem var(--font-body); text-decoration: none; cursor: pointer;
  border: 2.5px solid var(--ink-900); border-radius: 999px;
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow-hard);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink-900); color: var(--text); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink-900); }
.btn--primary { background: var(--red-600); color: #fff; }
.btn--primary:hover { background: var(--red-700); color: #fff; }
.btn--wa { background: var(--ok-green); color: #fff; border-color: var(--ink-900); }
.btn--wa:hover { background: #17793f; color: #fff; }
.btn--ghost { background: transparent; }
.section--ink .btn { border-color: var(--cream-50); box-shadow: 0 4px 0 rgba(0,0,0,0.6); }
.section--ink .btn:hover { color: #fff; }

/* price-tag badge */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 26px; position: relative;
  background: var(--bg-soft); border: 2px solid var(--ink-900);
  border-radius: 8px; font: 700 0.82rem/1.2 var(--font-body);
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--text);
}
.tag::before { /* punched hole */
  content: ""; position: absolute; left: 9px; top: 50%;
  width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--ink-900);
}
.tag--red { background: var(--red-600); color: #fff; }

.kicker { display: inline-flex; margin-bottom: 14px; }

/* chips */
.chip {
  display: inline-block; padding: 8px 14px; margin: 0 8px 8px 0;
  background: var(--surface); border: 2px solid var(--border-soft);
  border-radius: 999px; font-weight: 600; font-size: 0.92rem;
}

/* ---------- 6. Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 2.5px solid var(--ink-900);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--text); }
.brand svg { width: 44px; height: 44px; }
.brand-name {
  font: 800 1.18rem/1 var(--font-head); color: var(--text);
}
.brand-name em { font-style: normal; color: var(--accent-text); }

.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  display: inline-block; padding: 10px 12px; border-radius: 10px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--text);
}
.main-nav a:hover { background: var(--bg-soft); color: var(--text); }

.lang-switch {
  display: inline-flex; align-items: center; gap: 4px;
  font: 700 0.9rem var(--font-body);
  border: 2px solid var(--border-soft); border-radius: 999px; padding: 4px 8px;
}
.lang-switch a, .lang-switch span { padding: 4px 8px; border-radius: 999px; text-decoration: none; }
.lang-switch a { color: var(--text-soft); }
.lang-switch a:hover { background: var(--bg-soft); color: var(--text); }
.lang-switch span[aria-current] { background: var(--red-600); color: #fff; }

.header-call { min-height: 48px; padding: 10px 18px; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  border: 2.5px solid var(--ink-900); background: var(--surface); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; }
  .header-call { display: none; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
    background: var(--bg); border-bottom: 3px solid var(--ink-900);
    padding: 12px clamp(16px, 4vw, 40px) 24px;
    transform: translateY(-115%); transition: transform 0.25s ease;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { display: block; font-size: 1.1rem; padding: 14px 10px; }
}

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: clip; }
.hero-grid {
  display: grid; gap: clamp(24px, 4vw, 56px); align-items: center;
  grid-template-columns: 1fr;
  padding-block: clamp(44px, 7vw, 88px);
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }

.hero h1 em { font-style: normal; color: var(--accent-text); }
.hero-sub { font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.open-badge {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 6px 0 4px; padding: 10px 18px;
  border: 2.5px solid var(--ink-900); border-radius: 999px;
  background: var(--surface);
  font: 700 0.98rem var(--font-body);
}
.open-badge::before {
  content: ""; width: 12px; height: 12px; border-radius: 50%;
  background: var(--steel-400); border: 2px solid var(--ink-900);
}
.open-badge[data-open="open"] { border-color: var(--ok-green); }
.open-badge[data-open="open"]::before { background: var(--ok-green); }
.open-badge[data-open="closed"] { border-color: var(--red-600); }
.open-badge[data-open="closed"]::before { background: var(--red-600); }

/* hero visual */
.img-slot { position: relative; overflow: hidden; }
.hero-media {
  border: 3px solid var(--ink-900); border-radius: var(--radius-l);
  box-shadow: var(--shadow-soft); transform: rotate(-1.2deg);
  background: linear-gradient(135deg, var(--hero-grad-a), var(--red-700) 60%, var(--ink-900));
  aspect-ratio: 8 / 5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(200,16,46,0.22), rgba(22,22,26,0.10) 55%, transparent);
  pointer-events: none;
}
.hero-flag {
  position: absolute; z-index: 2; left: -10px; bottom: 22px;
  transform: rotate(-3deg);
}
/* missing-image fallback: designed gradient + bike silhouette */
.img-missing img { visibility: hidden; }
.img-missing {
  background:
    linear-gradient(135deg, rgba(200,16,46,0.16), rgba(22,22,26,0.22)),
    var(--bg-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 78'%3E%3Cg fill='none' stroke='%23C8102E' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='56' r='17'/%3E%3Ccircle cx='96' cy='56' r='17'/%3E%3Cpath d='M24 56 44 26h20l32 30M44 26l-4-9M64 26l32 30M42 56l22-30'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(135deg, rgba(200,16,46,0.14), rgba(22,22,26,0.18));
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: 46% auto, cover;
}

/* trust strip */
.trust {
  background: var(--ink-900); color: var(--cream-50);
  border-top: 3px solid var(--ink-900); border-bottom: 3px solid var(--ink-900);
}
.trust ul {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px;
  list-style: none; margin: 0; padding: 16px clamp(16px, 4vw, 40px);
  font-weight: 600; font-size: 0.95rem;
}
.trust li { display: inline-flex; align-items: center; gap: 9px; }
.trust .icon-star { color: var(--tile-300); }

/* ---------- 8. Hanging-bikes rail ---------- */
.rail-wrap { overflow: hidden; line-height: 0; }
.rail-svg { width: 100%; height: auto; color: var(--ink-900); display: block; }
@media (prefers-color-scheme: dark) { .rail-svg { color: #45454E; } }
.rail-svg .rail-line { stroke: currentColor; stroke-width: 7; stroke-linecap: round; }
.rail-svg .hook { stroke: currentColor; stroke-width: 4; fill: none; }
.rail-svg .bike { stroke: currentColor; stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.rail-svg .sway {
  transform-box: fill-box; transform-origin: 50% 0%;
  animation: sway 5.2s ease-in-out infinite alternate;
}
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@media (prefers-reduced-motion: reduce) {
  .rail-svg .sway { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 9. Cards / grids ---------- */
.section-head { max-width: 44em; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { font-size: 1.06rem; color: var(--text-soft); }
.section--ink .section-head p { color: #CFC9BC; }

.grid-cards {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.card {
  background: var(--surface); border: 2.5px solid var(--ink-900);
  border-radius: var(--radius-m); padding: 22px;
  box-shadow: 0 3px 0 var(--shadow-c);
  display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card .cat-icon { width: 74px; height: 48px; color: var(--accent-text); margin-bottom: 4px; }
.card p { color: var(--text-soft); font-size: 0.95rem; }
.card .card-link {
  margin-top: auto; font-weight: 700; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.card .card-link:hover { text-decoration: underline; }

.stock-note {
  margin-top: 26px; font-weight: 600; color: var(--text-soft);
  display: flex; gap: 10px; align-items: flex-start; max-width: 46em;
}

/* accessories */
.accessories { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 860px) { .accessories { grid-template-columns: 0.9fr 1.1fr; } }
.frame-media {
  border: 3px solid var(--ink-900); border-radius: var(--radius-l);
  overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, var(--tile-300), #B99B6C 70%, var(--ink-900));
}
.frame-media img { width: 100%; height: 100%; object-fit: cover; }
.chips-list { list-style: none; padding: 0; margin: 18px 0 0; }

/* workshop timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.timeline li {
  position: relative; padding: 0 0 26px 62px; counter-increment: step;
}
.timeline li::before {
  content: counter(step); position: absolute; left: 0; top: -2px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red-600); color: #fff; border: 2.5px solid var(--ink-900);
  font: 800 1.2rem/40px var(--font-head); text-align: center;
}
.timeline li:not(:last-child)::after {
  content: ""; position: absolute; left: 21px; top: 48px; bottom: 2px;
  border-left: 3px dashed var(--border-soft);
}
.timeline h3 { margin-bottom: 2px; }
.timeline p { color: var(--text-soft); margin: 0; }

/* services */
.service-card .icon { width: 42px; height: 42px; color: var(--accent-text); }
.payment-note {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; padding: 12px 18px; border-radius: 12px;
  background: var(--bg-soft); border: 2px dashed var(--border-soft);
}

/* ---------- 10. Reviews ---------- */
.rating-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-bottom: 34px; }
.rating-big { font: 800 clamp(3.4rem, 8vw, 5.6rem)/1 var(--font-head); color: var(--text); }
.rating-meta .stars { display: inline-flex; gap: 2px; }
.icon-star { width: 26px; height: 26px; color: var(--steel-400); }
.icon-star.is-on { color: #E9A825; }
.section--ink .icon-star { color: #6b675e; }
.section--ink .icon-star.is-on { color: var(--tile-300); }
.rating-meta p { margin: 4px 0 0; color: var(--text-soft); font-weight: 600; }
.section--ink .rating-meta p { color: #CFC9BC; }
.rating-cta { margin-left: auto; }

#reviews-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.review-card {
  margin: 0; padding: 22px; border-radius: var(--radius-m);
  background: var(--surface); border: 2.5px solid var(--ink-900);
  display: flex; flex-direction: column; gap: 12px;
}
.review-card .icon-quote { width: 30px; height: 30px; color: var(--tile-300); }
.review-card blockquote { margin: 0; }
.review-card blockquote p { margin: 0; font-size: 0.98rem; }
.review-card figcaption { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.review-card .stars { display: inline-flex; gap: 2px; }
.review-card .stars .icon-star { width: 18px; height: 18px; }
.review-src { color: var(--text-soft); font-size: 0.9rem; }
.review-card figcaption strong { font-size: 0.95rem; }

/* ---------- 11. Gallery + lightbox ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter-chip {
  min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 2px solid var(--border-soft); background: var(--surface);
  font: 600 0.92rem var(--font-body); color: var(--text); cursor: pointer;
}
.filter-chip:hover { border-color: var(--ink-900); }
.filter-chip.is-active { background: var(--ink-900); color: var(--cream-50); border-color: var(--ink-900); }

.gallery-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.gallery-item { margin: 0; }
.gallery-btn {
  display: block; width: 100%; padding: 0; cursor: pointer;
  border: 3px solid var(--ink-900); border-radius: var(--radius-m);
  overflow: hidden; background: var(--bg-soft);
  aspect-ratio: 4 / 3; box-shadow: 0 3px 0 var(--shadow-c);
  transition: transform 0.15s ease;
}
.gallery-btn:hover { transform: translateY(-3px); }
.gallery-btn img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item figcaption {
  margin-top: 8px; font-size: 0.88rem; color: var(--text-soft);
  padding-left: 2px;
}

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12, 12, 15, 0.92);
  padding: clamp(10px, 3vw, 40px);
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  position: relative; max-width: min(1000px, 100%);
  display: flex; flex-direction: column; gap: 12px;
}
.lightbox img {
  max-height: 76dvh; width: auto; max-width: 100%;
  object-fit: contain; margin-inline: auto;
  border: 3px solid var(--cream-50); border-radius: var(--radius-s);
  background: #222;
}
.lightbox-caption { color: var(--cream-50); text-align: center; margin: 0; font-weight: 600; }
.lightbox-counter { color: #B9B4A8; text-align: center; margin: 0; font-size: 0.9rem; }
.lb-btn {
  position: absolute; top: -4px; transform: translateY(-100%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red-600); color: #fff; cursor: pointer;
  border: 2.5px solid var(--cream-50);
}
.lb-btn:hover { background: var(--red-700); }
.lb-btn svg { width: 22px; height: 22px; }
#lightbox-prev { left: 0; }
#lightbox-next { left: 62px; }
#lightbox-close { right: 0; }
@media (min-width: 700px) {
  #lightbox-prev { left: -66px; top: 50%; transform: translateY(-50%); }
  #lightbox-next { left: auto; right: -66px; top: 50%; transform: translateY(-50%); }
  #lightbox-close { top: -66px; right: 0; transform: none; }
}

/* ---------- 12. Location ---------- */
.location-grid { display: grid; gap: clamp(24px, 4vw, 44px); }
@media (min-width: 900px) { .location-grid { grid-template-columns: 1fr 1.1fr; } }
.address-card {
  background: var(--surface); border: 2.5px solid var(--ink-900);
  border-radius: var(--radius-m); padding: 24px; box-shadow: 0 3px 0 var(--shadow-c);
}
.address-card address { font-style: normal; font-size: 1.05rem; line-height: 1.7; }
.address-card .pluscode { color: var(--text-soft); font-size: 0.92rem; }
.map-frame {
  border: 3px solid var(--ink-900); border-radius: var(--radius-m);
  overflow: hidden; aspect-ratio: 16 / 10; box-shadow: var(--shadow-soft);
  background: var(--bg-soft);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 22px; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
.hours-table th, .hours-table td {
  text-align: left; padding: 10px 8px;
  border-bottom: 2px solid var(--border-soft);
}
.hours-table th { font-weight: 700; }
.hours-table tr.is-today th, .hours-table tr.is-today td {
  background: color-mix(in srgb, var(--red-600) 12%, transparent);
}
.today-pill {
  display: inline-block; margin-left: 6px; padding: 2px 10px;
  background: var(--red-600); color: #fff; border-radius: 999px;
  font: 700 0.72rem/1.4 var(--font-body); text-transform: uppercase; letter-spacing: 0.06em;
}
.tips-note { color: var(--text-soft); margin-top: 14px; }
.local-seo { color: var(--text-soft); font-size: 0.95rem; max-width: 52em; margin-top: 30px; }

/* ---------- 13. Community routes ---------- */
.routes { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.routes li {
  background: rgba(250, 245, 236, 0.06); border: 2px solid #45454E;
  border-radius: var(--radius-m); padding: 20px;
}
.routes h3 { color: var(--tile-300); font-size: 1.08rem; }
.routes p { margin: 0; color: #CFC9BC; font-size: 0.95rem; }

/* ---------- 14. Contact / form ---------- */
.contact-grid { display: grid; gap: clamp(28px, 4vw, 52px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-leads { display: grid; gap: 14px; align-content: start; }
.phone-big {
  font: 800 clamp(1.6rem, 3.4vw, 2.3rem)/1.1 var(--font-head);
  text-decoration: none; color: var(--accent-text);
  display: inline-flex; align-items: center; gap: 12px;
}
.phone-big:hover { color: var(--red-700); }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; }

.form { background: var(--surface); border: 2.5px solid var(--ink-900); border-radius: var(--radius-l); padding: clamp(20px, 3.5vw, 34px); box-shadow: var(--shadow-soft); }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  font: 500 1rem var(--font-body); color: var(--text);
  background: var(--bg); border: 2.5px solid var(--border-soft); border-radius: var(--radius-s);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible {
  outline: 3px solid var(--red-600); outline-offset: 2px; border-color: var(--ink-900);
}
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] { border-color: var(--red-600); }
.form-error { color: var(--red-600); font-weight: 600; font-size: 0.9rem; min-height: 1.2em; margin: 6px 0 0; }
@media (prefers-color-scheme: dark) { .form-error { color: #FF8296; } }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-alt { font-weight: 600; }
.form-status { margin: 14px 0 0; font-weight: 700; min-height: 1.4em; }
.form-status[data-state="ok"] { color: var(--ok-green); }
.form-status[data-state="error"] { color: var(--red-600); }
.privacy-note { color: var(--text-soft); font-size: 0.88rem; margin-top: 16px; }
.noscript-note {
  background: var(--bg-soft); border: 2px dashed var(--border-soft);
  padding: 12px 16px; border-radius: var(--radius-s); font-weight: 600;
}

/* ---------- 15. FAQ ---------- */
.faq-list { max-width: 760px; margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface); border: 2.5px solid var(--ink-900);
  border-radius: var(--radius-m); overflow: hidden;
}
.faq-list summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; font: 700 1.02rem var(--font-body);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { transition: transform 0.2s ease; color: var(--accent-text); }
.faq-list details[open] summary .icon { transform: rotate(90deg); }
.faq-list details p { padding: 0 20px 18px; margin: 0; color: var(--text-soft); }

/* ---------- 16. Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--cream-50); border-top: 4px solid var(--red-600); }
.footer-grid {
  display: grid; gap: 34px; padding-block: clamp(40px, 6vw, 64px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.site-footer h2, .site-footer h3 { color: var(--cream-50); font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer a { color: #E8E1D3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-nap { font-style: normal; line-height: 1.8; }
.footer-nap .icon { color: var(--tile-300); }
.footer-bottom {
  border-top: 2px solid #45454E;
  display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: space-between;
  padding-block: 20px; font-size: 0.9rem; color: #CFC9BC;
}
.footer-bottom .lang-switch { border-color: #45454E; }
.footer-bottom ul { display: flex; gap: 18px; }
.made-in { display: inline-flex; align-items: center; gap: 8px; }
.made-in .icon { color: var(--red-600); width: 1.6em; height: 1.6em; }
.footer-rail { color: #45454E; }

/* ---------- 17. Mobile action bar ---------- */
.action-bar {
  position: fixed; z-index: 150; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px;
  background: var(--ink-900); border-top: 2.5px solid var(--red-600);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 64px; color: var(--cream-50); text-decoration: none;
  font: 700 0.72rem/1.2 var(--font-body); text-transform: uppercase; letter-spacing: 0.05em;
}
.action-bar a .icon { width: 22px; height: 22px; }
.action-bar a:hover { color: #fff; background: var(--ink-700); }
.action-bar .ab-wa .icon { color: #4CD07D; }
@media (min-width: 768px) { .action-bar { display: none; } }

/* ---------- 18. Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .card, .gallery-btn { transition: none; }
}

/* ---------- 19. 404 ---------- */
.error-page {
  min-height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  background: var(--cream-50); color: var(--ink-900);
  font-family: var(--font-body); gap: 10px; padding: 24px;
}
.error-page h1 { font-family: var(--font-head); font-size: clamp(3rem, 10vw, 6rem); color: #C8102E; }
.error-page .btn {
  display: inline-flex; padding: 12px 24px; border-radius: 999px;
  border: 2.5px solid #16161A; background: #C8102E; color: #fff;
  font-weight: 700; text-decoration: none; box-shadow: 0 4px 0 #16161A;
}
@media (prefers-color-scheme: dark) {
  .error-page { background: #131317; color: #F3EDE2; }
  .error-page .btn { border-color: #45454E; }
}
