/* luisilloporberlin · platform line-map world */

@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ground: #f4f6ec;   /* platform tile, lime-tinted */
  --tile: #e7ecd8;
  --lime: #97d616;     /* logo field */
  --lime-deep: #7fb80f;
  --ink: #35200f;      /* logo brown: boards and text */
  --ink-2: #5a4636;
  --on-board: #f4f6ec;
  --on-board-2: #cbb9a6;
  --white: #ffffff;
  --l1: #c8361d;       /* signal red: hover, errors, caret */
  --l3: #97d616;       /* lime: highlights on brown boards */
  --l4: #1f4e9c;       /* focus ring */
  --tbd: #8a5a00;

  /* One colour per tour line */
  --t-free: #7e5330;   /* Berlin U5 brown */
  --t-muro: #da6ba2;   /* Berlin S1 pink: carries ink text */
  --t-alt: #224f86;    /* Berlin U8 blue */
  --t-reich: #da421e;  /* Berlin U2 red */
  --t-sach: #e2001a;   /* VBB regional red (RE5 to Oranienburg) */
  --t-pots: #816da6;   /* Berlin S7 violet (to Potsdam) */
  --t-techno: #111111; /* techno black */

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, sans-serif;

  --s1: .5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem; --s6: 6.5rem;
  --radius: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: min(1240px, 100% - 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; scrollbar-color: var(--ink) var(--tile); }
body {
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
  caret-color: var(--l1);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--l3); color: var(--ink); }
img, svg { display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--l4); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.wrap { width: var(--wrap); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--on-board); padding: var(--s1) var(--s2); z-index: 99; }
.skip:focus { left: var(--s2); }

h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(2.75rem, 6vw, 4.75rem); }
h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }

.icon { width: 1.35em; height: 1.35em; flex: none; }
.icon--sm { width: 1.1em; height: 1.1em; }

/* Plates: enamel-sign buttons */
.plate {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 1.25rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em;
  padding: .95em 1.4em; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease);
}
.plate:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgb(53 32 15 / .22); }
.plate:active { transform: translateY(0); box-shadow: none; }
.plate--dark { background: var(--ink); color: var(--on-board); }
.plate--light { background: var(--lime); color: var(--ink); }
.plate--light:hover { background: var(--lime-deep); }
.plate--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.plate--line { background: var(--c); color: var(--white); }

.textlink { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; font-size: 1.125rem; }
.textlink:hover { color: var(--l1); }

/* Header board */
.board-header { position: sticky; top: 0; z-index: 20; background: var(--ink); color: var(--on-board); }
.header-row { display: flex; align-items: center; gap: var(--s3); min-height: 4.5rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font: 800 1.6rem/1 var(--display); letter-spacing: -.005em; text-decoration: none; }
.logo { width: 46px; height: 46px; border-radius: 12px; flex: none; }
.board-header nav { margin-left: auto; }
.nav-list { list-style: none; padding: 0; display: flex; gap: var(--s3); }
.nav-list a { font: 600 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--on-board-2); transition: color .2s; }
.nav-list a:hover { color: var(--on-board); }

/* Hero: the logo's lime field */
.hero-band { background: var(--white); }
.hero-band .lead { color: var(--ink); }
.hero-band .map-hint { color: var(--ink); }
.hero-band .textlink:hover { color: var(--l1); }
.hero-band :focus-visible { outline-color: var(--ink); }
.board-header :focus-visible, .board-footer :focus-visible, .readout :focus-visible, .facts :focus-visible, .reviews :focus-visible, .other-tours :focus-visible, .article-aside :focus-visible { outline-color: var(--lime); }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s4); align-items: center; padding-block: var(--s5) var(--s6); }
.hero h1 { font-size: clamp(3.5rem, 8vw, 6rem); }
.lead { font-size: 1.3rem; line-height: 1.45; color: var(--ink-2); max-width: 30ch; margin-top: var(--s3); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); margin-top: var(--s4); }

.map { position: relative; }
.map-hint { font: 600 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); margin-bottom: var(--s2); }
.map-svg { width: 100%; height: auto; overflow: visible; }
.track { fill: none; stroke: var(--c); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.track.hit { stroke: transparent; stroke-width: 44; }
.stop { fill: var(--white); stroke: var(--ink); stroke-width: 5; }
.badge { fill: var(--c); }
.badge-t { font: 800 21px/1 var(--display); fill: var(--white); text-anchor: middle; }
.badge-t--ink { fill: var(--ink); }
.line-name { font: 800 22px/1 var(--display); fill: var(--ink); text-transform: uppercase; letter-spacing: .01em; }
.line-name--long { font-size: 18px; }
.interchange { fill: var(--white); stroke: var(--ink); stroke-width: 6; }
.interchange-t { font: 800 22px/1 var(--display); fill: var(--ink); text-transform: uppercase; text-anchor: middle; letter-spacing: .03em; }

.line { cursor: pointer; outline: none; transition: opacity .35s var(--ease); }
.map[data-active] .line { opacity: .2; }
.map[data-active] .line.is-active { opacity: 1; }
.map:not([data-active]) .line:hover, .line:focus-visible { opacity: 1; }
.line:focus-visible .badge { stroke: var(--ink); stroke-width: 5; }
.line:focus-visible .line-name { text-decoration: underline; text-decoration-thickness: 3px; }

/* One authored moment: lines draw onto the map */
@media (prefers-reduced-motion: no-preference) {
  .track[pathLength] { stroke-dasharray: 1; animation: draw 1.4s var(--ease) both; }
  .line:nth-of-type(2) .track { animation-delay: .1s; }
  .line:nth-of-type(3) .track { animation-delay: .2s; }
  .line:nth-of-type(4) .track { animation-delay: .3s; }
  .line:nth-of-type(5) .track { animation-delay: .4s; }
  .line:nth-of-type(6) .track { animation-delay: .5s; }
  .line:nth-of-type(7) .track { animation-delay: .6s; }
  .stop { animation: pop .5s var(--ease) both; animation-delay: .9s; transform-box: fill-box; transform-origin: center; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } }

/* Departure readout */
.readout { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); background: var(--ink); color: var(--on-board); border-radius: var(--radius); padding: var(--s2) var(--s3); min-height: 5rem; }
.readout-badge { font: 800 1.35rem/1 var(--display); white-space: nowrap; background: var(--c, var(--l1)); color: var(--white); border-radius: 8px; padding: .35em .5em; }

.readout-body { display: grid; gap: .15rem; min-width: 0; }
.readout-body strong { font: 800 1.45rem/1.05 var(--display); text-transform: uppercase; }
.readout-body span { color: var(--on-board-2); font-size: .98rem; }
.readout-go { margin-left: auto; background: none; border: 0; cursor: pointer; padding: .4rem 0; display: inline-flex; align-items: center; gap: .35em; font: 600 1.1rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; white-space: nowrap; color: var(--on-board); }
.readout-go:hover { color: var(--l3); }

/* Section heads */
.section-head { display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s4); align-items: end; margin-bottom: var(--s4); }
.section-head p { max-width: 52ch; color: var(--ink-2); font-size: 1.15rem; padding-bottom: .4rem; }

/* Lines / tours */
.lines { padding-block: var(--s6) var(--s5); background: var(--tile); }
.route {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); grid-template-areas: "head text facts" "strip strip actions";
  gap: var(--s3) var(--s4); align-items: start; padding-block: var(--s4); border-top: 3px solid var(--ink);
}
.route:last-child { border-bottom: 3px solid var(--ink); }
.route-head { grid-area: head; display: flex; gap: var(--s2); align-items: flex-start; }
.route-badge { font: 800 1.6rem/1 var(--display); white-space: nowrap; min-width: 4.2rem; text-align: center; background: var(--c); color: var(--white); border-radius: var(--radius); padding: .3em .45em; flex: none; }
.route-sub { font: 600 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin-top: .5rem; }
.route-text { grid-area: text; max-width: 46ch; font-size: 1.125rem; }
.facts { grid-area: facts; display: grid; gap: .1rem; background: var(--ink); color: var(--on-board); border-radius: var(--radius); padding: var(--s2) var(--s3); }
.facts div { display: flex; justify-content: space-between; gap: var(--s2); padding-block: .6rem; border-bottom: 1px solid rgb(244 246 236 / .14); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font: 600 1rem/1.3 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--on-board-2); }
.facts dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.facts dd.tbd { color: var(--l3); font-weight: 500; font-style: italic; }
.route h3 a { text-decoration: none; }
.route h3 a:hover { text-decoration: underline; text-decoration-color: var(--c); text-decoration-thickness: 4px; }
.route-actions { grid-area: actions; display: grid; gap: var(--s2); justify-items: center; }
.route-actions .plate--line { justify-self: stretch; justify-content: center; }

.route--custom .route-badge { font-size: 1.15rem; padding: .55em .6em; }
.route-badge--ink, .readout-badge.is-ink { color: var(--ink); }
#t-muro-y-guerra-fria .plate--line, #tour-muro-y-guerra-fria .plate--line { color: var(--ink); }
.facts del { color: var(--on-board-2); font-weight: 500; margin-right: .35em; }

/* The strip: stops on a coloured bar */
.strip { grid-area: strip; list-style: none; padding: 2.4rem 0 0; display: flex; justify-content: space-between; position: relative; counter-reset: s; }
.strip::before { content: ""; position: absolute; left: 0; right: 0; top: .9rem; height: 12px; border-radius: 6px; background: var(--c); }
.strip--open::before { background: repeating-linear-gradient(90deg, var(--c) 0 18px, transparent 18px 30px); }
.strip li { position: relative; flex: 1; text-align: center; font: 600 1.05rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; padding-inline: .3rem; }
.strip li:first-child { text-align: left; padding-left: 0; }
.strip li:last-child { text-align: right; padding-right: 0; }
.strip li::before { content: ""; position: absolute; top: -2.15rem; left: 50%; translate: -50% 0; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 5px solid var(--ink); }
.strip li:first-child::before { left: 0; translate: 0 0; }
.strip li:last-child::before { left: auto; right: 0; translate: 0 0; }

/* Metro map: each tour's own 45° route with its line plate (desktop). The <ol> stays for screen readers and becomes the vertical line on mobile. */
.metro { grid-area: strip; display: none; width: 100%; height: auto; overflow: visible; }
.metro path { fill: none; stroke: var(--c); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.metro--open path { stroke-dasharray: 18 14; stroke-linecap: butt; }
.metro circle { fill: var(--white); stroke: var(--ink); stroke-width: 3.5; }
.metro text { font: 600 20px/1 var(--display); fill: var(--ink); letter-spacing: .03em; }
.metro-badge rect { fill: var(--c); }
.metro-badge text { font: 800 25px/1 var(--display); fill: var(--white); letter-spacing: 0; }
.metro-badge--ink text { fill: var(--ink); }
@media (min-width: 861px) {
  .metro { display: block; }
  .metro + .strip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; padding: 0; }
}

/* About */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: center; padding-block: var(--s6); }
.photo-slot { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--tile); border: 3px dashed var(--ink-2); display: grid; place-content: center; text-align: center; gap: .4rem; padding: var(--s3); }
.photo-slot span { font: 800 1.8rem/1 var(--display); text-transform: uppercase; }
.photo-slot small { color: var(--ink-2); font-size: .95rem; }
.about-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius); background: var(--tile); }
.station-sign { display: inline-block; font-size: clamp(2.6rem, 5.5vw, 4.25rem); background: var(--white); border: 5px solid var(--ink); border-radius: var(--radius); padding: .2em .45em .1em; }
.about-lead { font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.15 var(--display); text-transform: uppercase; margin-top: var(--s4); max-width: 24ch; }
.about-copy > * + * { margin-top: var(--s3); }
.placeholder-text { color: var(--tbd); font-style: italic; max-width: 55ch; font-size: 1.125rem; }

/* Reviews board */
.reviews { background: var(--ink); color: var(--on-board); padding-block: var(--s6); }
.section-head--board p { color: var(--on-board-2); }
.review-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.review-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.review-filters button { font: 600 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: .05em; color: var(--on-board); background: transparent; border: 2px solid rgb(244 246 236 / .35); border-radius: 999px; padding: .6em 1em; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.review-filters button:hover { border-color: var(--lime); }
.review-filters button[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.review-nav { display: flex; gap: .6rem; }
.review-arrow { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 0; background: var(--lime); color: var(--ink); cursor: pointer; transition: transform .25s var(--ease), opacity .2s; }
.review-arrow:hover { transform: translateY(-2px); }
.review-arrow:disabled { opacity: .3; cursor: default; transform: none; }
.review-arrow--prev .icon { transform: scaleX(-1); }
.review-track { list-style: none; padding: 0 0 var(--s2); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--s3)) / 3); gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-color: var(--lime) rgb(244 246 236 / .12); scrollbar-width: thin; }
.review-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--s2); background: #452b16; border-top: 6px solid var(--lime); border-radius: var(--radius); padding: var(--s3); }
.review-top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s2); }
.review-platform { font: 600 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--on-board-2); }
.review-score { font: 800 1.35rem/1 var(--display); color: var(--lime); font-variant-numeric: tabular-nums; }
.review-title { font-size: 1.4rem; line-height: 1.05; color: var(--on-board); }
.review-text { margin: 0; color: var(--on-board); font-size: 1.05rem; line-height: 1.6; max-height: 10.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.review-text.is-short, .review-card.is-open .review-text { max-height: none; -webkit-mask-image: none; mask-image: none; }
.review-text p + p { margin-top: .8em; }
.review-track:has(.is-open) .review-card:not(.is-open) { align-self: start; }
.review-more { align-self: flex-start; background: none; border: 0; padding: .2rem 0; cursor: pointer; color: var(--lime); font: 600 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; text-decoration: underline; text-underline-offset: .25em; }
.review-who { margin-top: auto; padding-top: var(--s2); border-top: 1px solid rgb(244 246 236 / .14); display: grid; gap: .2rem; }
.review-who strong { font: 800 1.2rem/1.1 var(--display); text-transform: uppercase; }
.review-who span { color: var(--on-board-2); font-size: .95rem; }
.review-count { margin-top: var(--s2); color: var(--on-board-2); font-size: .95rem; }
.review-grid.review-grid--single { grid-template-columns: minmax(0, 56rem); }
.review-grid--single .review-text { max-height: none; -webkit-mask-image: none; mask-image: none; font-size: 1.15rem; }
.review-grid--single .review-title { font-size: 1.9rem; }
.review-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: var(--s3); align-items: start; }

/* Terminus */
.terminus { padding-block: var(--s6); }
.terminus-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s5); align-items: start; }
.terminus-copy h2 { font-size: clamp(3.25rem, 7vw, 5.5rem); }
.channel-pending { font: 500 .95rem/1 var(--text); font-style: italic; text-transform: none; letter-spacing: 0; color: var(--tbd); }
.ticket-note.is-warn { color: var(--tbd); font-weight: 700; }
.terminus-copy > p { font-size: 1.2rem; color: var(--ink-2); margin-top: var(--s3); max-width: 38ch; }
.channels { list-style: none; padding: 0; margin-top: var(--s4); display: grid; gap: var(--s1); }
.channels a { display: inline-flex; align-items: center; gap: .6rem; font: 600 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; padding-block: .45rem; }
.channels a:hover { color: var(--l1); }

.ticket { background: var(--white); border: 3px solid var(--ink); border-radius: calc(var(--radius) + 4px); padding: var(--s4); display: grid; gap: var(--s3); box-shadow: 0 18px 40px -18px rgb(53 32 15 / .35); }
.field { display: grid; gap: .45rem; border: 0; padding: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.field label, .field legend { font: 600 1.05rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; padding: 0; margin-bottom: .45rem; }
.field legend { margin-bottom: .7rem; }
.opt { color: var(--ink-2); text-transform: none; letter-spacing: 0; font-weight: 600; }
input, textarea {
  font: 500 1.0625rem/1.4 var(--text); color: var(--ink);
  background: var(--ground); border: 2px solid var(--ink-2); border-radius: 8px; padding: .8rem .9rem; width: 100%;
  transition: border-color .2s, background-color .2s;
}
input:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--l4); outline-offset: 1px; background: var(--white); border-color: var(--ink); }
::placeholder { color: #6e5a49; }
[aria-invalid="true"] { border-color: var(--l1); background: #fdf1f0; }
.err { color: var(--l1); font-weight: 700; font-size: .98rem; }

.line-choice { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.line-choice label { display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border: 2px solid var(--tile); border-radius: 8px; cursor: pointer; font: 500 1.05rem/1.2 var(--text); text-transform: none; letter-spacing: 0; margin: 0; transition: border-color .2s, background-color .2s; }
.line-choice label:hover { border-color: var(--ink-2); }
.line-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.line-choice label:has(input:checked) { border-color: var(--ink); background: var(--ground); font-weight: 700; }
.line-choice label:has(input:focus-visible) { outline: 3px solid var(--l4); outline-offset: 2px; }
.chip { width: 1.6rem; height: .75rem; border-radius: 4px; background: var(--c); flex: none; }
.chip--open { background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 10px); }
.line-choice-wide { grid-column: 1 / -1; }
.line-choice label:has(input:checked) .chip { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--ink); }

.ticket-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }
.ticket-note { color: var(--ink-2); font-size: .98rem; }

/* Footer board */
.board-footer { background: var(--ink); color: var(--on-board-2); padding-block: var(--s4); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }
.board-footer .wordmark { color: var(--on-board); }
.board-footer nav { margin-left: auto; }
.tbd-link { font-style: italic; }

/* Floating WhatsApp (phones) */
/* Floating WhatsApp: green circle with the WhatsApp logo, bottom right on every screen */
.float-wa { position: fixed; right: 24px; bottom: 24px; z-index: 30; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1a9e4a; color: #fff; box-shadow: 0 2px 10px rgb(0 0 0 / .3); transition: transform .2s ease, box-shadow .2s ease, opacity .2s; }
.float-wa:hover { transform: scale(1.06); box-shadow: 0 4px 16px rgb(0 0 0 / .35); }
.float-wa:active { transform: scale(.97); }
.float-wa:focus-visible { outline: 3px solid #25d366; outline-offset: 3px; }
.float-wa svg { width: 28px; height: 28px; }
.float-wa.is-hidden { transform: translateY(150%); opacity: 0; pointer-events: none; }

/* ---------- Subpages ---------- */
.crumbs { padding-top: var(--s3); }
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; font: 600 1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.crumbs li + li::before { content: "›"; margin-right: .4rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--l1); }

/* Tour page */
.tour-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s5); align-items: start; padding-block: var(--s4) var(--s5); }
.tour-hero h1 { font-size: clamp(3rem, 7vw, 5.75rem); }
.tour-hero h1::after { content: ""; display: block; width: 6rem; height: 12px; border-radius: 6px; background: var(--c); margin-top: var(--s3); }
.tour-hero .facts { padding: var(--s3); }
.tour-hero .facts dd { max-width: 22ch; }
.tour-hero .actions { margin-top: var(--s4); }
.tour-cta { display: grid; gap: var(--s2); margin-top: var(--s3); }
.tour-cta .plate { justify-content: center; }


.photo-band { margin-bottom: var(--s5); }
.photo-band .photo-slot { aspect-ratio: 21 / 8; }

.route-detail { background: var(--tile); padding-block: var(--s6); }
.route-detail-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s5); align-items: start; }
.route-detail-grid > div:first-child { position: sticky; top: 6.5rem; }
.route-detail-grid h2 + p { margin-top: var(--s3); color: var(--ink-2); font-size: 1.15rem; max-width: 34ch; }
.stops { list-style: none; padding: 0; position: relative; }
.stops::before { content: ""; position: absolute; left: 13px; top: 1rem; bottom: 1rem; width: 12px; border-radius: 6px; background: var(--c); }
.stops li { position: relative; padding: 0 0 var(--s4) 3.5rem; }
.stops li:last-child { padding-bottom: 0; }
.stops li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 6px solid var(--ink); box-sizing: border-box; }
.stops li:first-child::before, .stops li:last-child::before { background: var(--ink); box-shadow: inset 0 0 0 5px var(--white); }
.stops h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); padding-top: .25rem; }
.stops p { margin-top: .6rem; max-width: 62ch; font-size: 1.1rem; }
.stop-tag { display: inline-block; margin-top: .5rem; font: 600 .95rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }

.faq { padding-block: var(--s6); }
.faq-list { display: grid; border-top: 3px solid var(--ink); }
.faq details { border-bottom: 1px solid rgb(53 32 15 / .2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s3); padding-block: var(--s3); font: 800 clamp(1.3rem, 2.2vw, 1.65rem)/1.1 var(--display); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 1.1rem; height: 1.1rem; background: linear-gradient(var(--ink) 0 0) center / 100% 3px no-repeat, linear-gradient(var(--ink) 0 0) center / 3px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--l1); }
.faq details > div { padding-bottom: var(--s3); max-width: 70ch; font-size: 1.1rem; }
.faq details > div p + p { margin-top: .8rem; }

.other-tours { background: var(--ink); color: var(--on-board); padding-block: var(--s5); }
.other-tours h2 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); margin-bottom: var(--s4); }
.other-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--s2); }
.other-list a { display: flex; align-items: center; gap: .8rem; padding: var(--s2) 0; border-top: 3px solid var(--c); text-decoration: none; font: 800 1.4rem/1.1 var(--display); text-transform: uppercase; }
.other-list a:hover { color: var(--l3); }
.other-list small { display: block; font: 500 .95rem/1.3 var(--text); text-transform: none; color: var(--on-board-2); margin-top: .25rem; }

/* Blog */
.blog-teaser { padding-block: var(--s6) 0; }
.blog-teaser > .textlink { margin-top: var(--s3); }
.blog-hero { padding-block: var(--s4) var(--s5); }
.blog-hero h1 { font-size: clamp(3.25rem, 8vw, 6rem); }
.blog-hero p { font-size: 1.3rem; color: var(--ink-2); max-width: 44ch; margin-top: var(--s3); }
.post-list { list-style: none; padding: 0; border-top: 3px solid var(--ink); }
.post-list li { border-bottom: 1px solid rgb(53 32 15 / .2); }
.post-list a { display: grid; grid-template-columns: 10rem minmax(0, 1fr) auto; gap: var(--s1) var(--s4); align-items: baseline; padding-block: var(--s3); text-decoration: none; }
.post-list a:hover strong { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .15em; }
.post-cat { font: 600 1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.post-list strong { font: 800 clamp(1.5rem, 2.8vw, 2.2rem)/1.05 var(--display); text-transform: uppercase; }
.post-list p { grid-column: 2; color: var(--ink-2); max-width: 64ch; }
.post-time { grid-column: 3; grid-row: 1; font: 600 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.post-list--compact a { grid-template-columns: 10rem minmax(0, 1fr); }
.blog-index { padding-bottom: var(--s6); }

.article { padding-block: var(--s4) var(--s6); }
.article-head { max-width: 52rem; }
.article-head h1 { font-size: clamp(2.6rem, 6vw, 4.75rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: var(--s3); font: 600 1rem/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.article-lead { font-size: 1.35rem; line-height: 1.5; margin-top: var(--s4); max-width: 60ch; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: var(--s5); margin-top: var(--s5); align-items: start; }
.prose { max-width: 68ch; font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-top: 2em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--ink-2); font-weight: 700; }
.prose a { font-weight: 700; text-decoration-color: var(--l1); }
.prose a:hover { color: var(--l1); }
.prose strong { font-weight: 700; }
.article-aside { position: sticky; top: 6.5rem; background: var(--ink); color: var(--on-board); border-radius: var(--radius); padding: var(--s3); border-top: 12px solid var(--c, var(--l1)); }
.article-aside h2 { font-size: 1.8rem; }
.article-aside p { color: var(--on-board-2); margin-top: var(--s2); }
.article-aside .plate { margin-top: var(--s3); width: 100%; justify-content: center; }
.article-aside .textlink { margin-top: var(--s2); color: var(--on-board); }
.article-aside .textlink:hover { color: var(--l3); }

/* Placeholder marker (remove once real content lands) */
[data-placeholder] { position: relative; }

/* Responsive */
@media (max-width: 1080px) {
  .route { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "text facts" "strip strip" ". actions"; }
}
@media (max-width: 860px) {
  .board-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: var(--s4) var(--s5); gap: var(--s4); }
  .section-head { grid-template-columns: 1fr; }
  .about, .terminus-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .photo-slot { aspect-ratio: 4 / 3; }
  .about-photo { aspect-ratio: 1 / 1; object-position: 50% 28%; }
  .review-track { grid-auto-columns: calc((100% - var(--s3)) / 2); }
  .tour-hero, .route-detail-grid, .article-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .route-detail-grid > div:first-child, .article-aside { position: static; }
  .post-list a, .post-list--compact a { grid-template-columns: 1fr; }
  .post-list p, .post-time { grid-column: 1; grid-row: auto; }
}
@media (max-width: 640px) {
  :root { --s4: 2rem; --s5: 3rem; --s6: 4.5rem; }
  .route { grid-template-columns: 1fr; grid-template-areas: "head" "text" "strip" "facts" "actions"; }
  .strip { flex-direction: column; gap: 1.35rem; padding: 0 0 0 2.6rem; }
  .strip::before { left: .55rem; right: auto; top: .3rem; bottom: .3rem; width: 12px; height: auto; }
  .strip--open::before { background: repeating-linear-gradient(180deg, var(--c) 0 18px, transparent 18px 30px); }
  .strip li, .strip li:first-child, .strip li:last-child { text-align: left; padding: 0; }
  .strip li::before, .strip li:first-child::before, .strip li:last-child::before { top: -.1rem; left: -2.6rem; right: auto; translate: 0 0; }
  .lines .strip::before { width: 6px; left: calc(.55rem + 3px); }
  .lines .strip li::before, .lines .strip li:first-child::before, .lines .strip li:last-child::before { width: 18px; height: 18px; border-width: 3.5px; left: calc(-2.6rem + 6px); top: .05rem; }
  .line-choice, .field-row { grid-template-columns: 1fr; }
  .ticket { padding: var(--s3); }
  .ticket-actions .plate { width: 100%; justify-content: center; }
  .readout { flex-wrap: wrap; }
  .readout-go { margin-left: 0; }
  .float-wa { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .float-wa svg { width: 25px; height: 25px; }
  .review-track { grid-auto-columns: 86%; }
  .review-bar { flex-direction: column; align-items: flex-start; }
  .photo-band .photo-slot { aspect-ratio: 4 / 3; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .board-footer nav { margin-left: 0; }
  .board-footer .nav-list { flex-wrap: wrap; gap: var(--s2); }
}

/* Hero: map on the left, its lines flow into the copy column (the "Contacto" station) */
.l2-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0; align-items: center; padding-block: var(--s5) var(--s6); }
.l2-map .map-svg { width: 100%; height: auto; overflow: visible; }
.l2-map .readout { margin-right: var(--s4); }
.l2-copy { border-left: 6px solid var(--ink); padding: var(--s3) 0 var(--s3) var(--s4); }
.l2-station { font: 800 1.1rem/1 var(--display); text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin-bottom: var(--s2); }
.l2-copy h1 { font-size: clamp(3rem, 6vw, 5.25rem); }
.l2-copy .lead { margin-top: var(--s3); }
.l2-copy .actions { margin-top: var(--s4); }
@media (max-width: 860px) {
  .l2-hero { grid-template-columns: 1fr; }
  .l2-copy { order: -1; border-left: 0; border-bottom: 6px solid var(--ink); padding: 0 0 var(--s3); margin-bottom: var(--s3); }
  .l2-map .readout { margin-right: 0; }
}

/* Hero: four destination photos; a click opens the details below */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-dest { padding-block: var(--s4) var(--s5); }
.dest-title { font-size: clamp(2.6rem, 6vw, 5.25rem); text-align: center; text-wrap: balance; max-width: 18ch; margin-inline: auto; text-transform: none; letter-spacing: -.005em; line-height: 1; margin-bottom: var(--s4); }
.dest-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s2); }
.dest-tile { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: var(--tile); }
.dest-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .3s; }
.dest-tile:hover img, .dest-tile:focus-visible img { transform: scale(1.05); }
.dest-name { position: absolute; left: var(--s2); bottom: var(--s2); font: 800 clamp(1.5rem, 2.6vw, 2.4rem)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--on-board); background: var(--ink); border-radius: 10px; padding: .35em .55em .3em; transition: background-color .2s, color .2s; }
.dest-tile[aria-expanded="true"] { box-shadow: 0 0 0 4px var(--white), 0 0 0 8px var(--lime); }
.dest-tile[aria-expanded="true"] .dest-name { background: var(--lime); color: var(--ink); }
.dest-grid:has([aria-expanded="true"]) .dest-tile[aria-expanded="false"] img { filter: saturate(.6) brightness(.85); }
.dest-tile:focus-visible { outline: 3px solid var(--l4); outline-offset: 4px; }
.dest-panels { margin-top: var(--s3); }
.dest-panel { scroll-margin-top: 1rem; } /* html already reserves 5rem for the sticky header (scroll-padding-top) */
@media (prefers-reduced-motion: no-preference) { .dest-panel:not([hidden]) { animation: destIn .45s var(--ease) both; } }
@keyframes destIn { from { opacity: 0; transform: translateY(12px); } }
.dest-card { position: relative; background: var(--ink); color: var(--on-board); border-radius: 14px; padding: var(--s4); }
.dest-card h2 { font-size: clamp(2.4rem, 5vw, 4.25rem); color: var(--on-board); padding-right: 6rem; }
.dest-text { margin-top: var(--s2); color: var(--on-board-2); font-size: 1.15rem; line-height: 1.5; max-width: 52ch; }
.dest-text[data-placeholder] { color: var(--lime); font-style: italic; }
.dest-soon { display: inline-block; margin-top: var(--s2); font: 800 1.1rem/1 var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--ink); background: var(--lime); border-radius: 999px; padding: .5em 1em; }
.dest-card .actions { margin-top: var(--s3); }
.dest-card .subtabbar { margin-top: var(--s3); }
.dest-card :focus-visible { outline-color: var(--lime); }
.dest-close { position: absolute; top: var(--s3); right: var(--s3); background: none; border: 2px solid rgb(244 246 236 / .35); color: var(--on-board); border-radius: 999px; padding: .45em .9em; font: 600 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.dest-close:hover { border-color: var(--lime); color: var(--lime); }
.subtabbar { display: flex; flex-wrap: wrap; gap: .5rem; }
.subtabbar [role="tab"] { font: 800 1rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--on-board); background: transparent; border: 2px solid rgb(244 246 236 / .35); border-radius: 999px; padding: .55em 1em; cursor: pointer; transition: background-color .2s, color .2s; }
.subtabbar [aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.textlink--board { color: var(--on-board); }
.textlink--board:hover { color: var(--lime); }
.l2-copy h2.l2-title { font-size: clamp(3rem, 6vw, 5.25rem); }
@media (max-width: 860px) {
  .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dest-tile { aspect-ratio: 4 / 5; }
  .dest-card { padding: var(--s3); }
  .dest-card h2 { padding-right: 0; margin-top: 3.25rem; }
}
.dest-map-bar { display: flex; justify-content: flex-end; }
.dest-close--light { position: static; color: var(--ink); border-color: var(--ink); }
.dest-close--light:hover { color: var(--l1); border-color: var(--l1); }
.dest-panel--map .l2-hero { width: auto; padding-block: var(--s2) var(--s3); }
/* Desktop: the whole map (all 7 lines + readout) fits under the sticky header on a laptop screen.
   330px = header + gap + close bar + hint + readout + paddings. */
@media (min-width: 861px) {
  .dest-panel--map .l2-map .map-svg { height: clamp(340px, calc(100svh - 330px), 580px); width: auto; max-width: 100%; aspect-ratio: 600 / 580; }
}

/* Para tu viaje */
.trip-section { padding-block: var(--s5); }
.trip-maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.trip-map h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.trip-map h3::after { content: ""; display: block; width: 4rem; height: 10px; border-radius: 5px; background: var(--c); margin-top: .6rem; }
.trip-map > p { margin-top: var(--s2); color: var(--ink-2); }
.trip-map-frame { margin-block: var(--s3) var(--s2); aspect-ratio: 4 / 3; border: 3px solid var(--ink); border-radius: 14px; overflow: hidden; background: var(--tile); }
.trip-map-frame iframe { width: 100%; height: calc(100% + 64px); margin-top: -64px; border: 0; display: block; } /* hides the My Maps header (owner name); Google logo and terms stay visible at the bottom */
.trip-band { background: var(--tile); padding-block: var(--s5); }
.trip-tips { list-style: none; padding: 0; display: grid; border-top: 3px solid var(--ink); }
.trip-tip { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: var(--s2) var(--s4); align-items: baseline; padding-block: var(--s3); border-bottom: 1px solid rgb(53 32 15 / .2); }
.trip-tip h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.trip-tip p { color: var(--ink-2); max-width: 60ch; }
.trip-tip .textlink { white-space: nowrap; }
.review-ask { background: var(--ink); color: var(--on-board); border-radius: 14px; padding: var(--s4); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2) var(--s4); align-items: center; }
.review-ask h2 { font-size: clamp(2rem, 4vw, 3.25rem); grid-column: 1; }
.review-ask p { grid-column: 1; color: var(--on-board-2); max-width: 52ch; font-size: 1.15rem; }
.review-ask .plate { grid-column: 2; grid-row: 1 / span 2; }
.review-ask :focus-visible { outline-color: var(--lime); }
.trip-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s3); border-top: 3px solid var(--ink); }
.trip-next h2 { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 860px) {
  .trip-maps { grid-template-columns: 1fr; }
  .trip-tip { grid-template-columns: 1fr; }
  .review-ask { grid-template-columns: 1fr; }
  .review-ask .plate { grid-column: 1; grid-row: auto; justify-self: start; }
}
.about-text { font-size: 1.15rem; max-width: 55ch; color: var(--ink-2); }

/* Tour photos: gallery band + photos beside stops */
.tour-gallery { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--s2); }
.tour-gallery figure { position: relative; margin: 0; height: clamp(300px, 40vw, 540px); border-radius: 14px; overflow: hidden; background: var(--tile); }
.tour-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tour-gallery figcaption { position: absolute; left: var(--s2); bottom: var(--s2); font: 800 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--on-board); background: var(--ink); border-radius: 8px; padding: .45em .65em .4em; }
.stops li.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(11rem, 17rem); gap: var(--s3); align-items: start; }
.stop-photo { margin: 0; }
.stop-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; box-shadow: 0 0 0 3px var(--white), 0 0 0 6px var(--c); }
@media (max-width: 860px) {
  .tour-gallery { grid-template-columns: 1fr; }
  .tour-gallery figure { height: 60vw; }
  .tour-gallery figure:nth-child(2) { height: 46vw; }
  .stops li.has-photo { grid-template-columns: 1fr; gap: var(--s2); }
  .stop-photo { max-width: 22rem; }
}

/* Tour photo carousel */
.photo-carousel { position: relative; }
.carousel-track { list-style: none; padding: 0; margin: 0; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; border-radius: 14px; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline: 3px solid var(--l4); outline-offset: 3px; }
.slide { scroll-snap-align: start; }
.slide figure { position: relative; margin: 0; height: clamp(320px, 50vw, 620px); background: var(--tile); }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption { position: absolute; left: var(--s3); bottom: var(--s3); max-width: calc(100% - 2 * var(--s3)); font: 800 1.2rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--on-board); background: var(--ink); border-radius: 8px; padding: .5em .7em .45em; }
.carousel-bar { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s2); }
.carousel-dots { display: flex; gap: .5rem; margin-inline: auto; }
.carousel-dot { width: 12px; height: 12px; padding: 0; border: 2px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.carousel-dot[aria-current="true"] { background: var(--ink); transform: scale(1.15); }
.carousel-count { font: 600 1rem/1 var(--display); letter-spacing: .08em; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 3.5rem; text-align: right; }
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }
@media (max-width: 860px) {
  .slide figure { height: 68vw; }
  .slide figcaption { left: var(--s2); bottom: var(--s2); font-size: 1rem; }
}

/* Tour photo collage: one large photo + a 2x2 grid */
.collage { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, clamp(150px, 16vw, 220px)); gap: var(--s2); }
.collage figure { position: relative; margin: 0; overflow: hidden; border-radius: 12px; background: var(--tile); }
.collage figure:first-child { grid-row: 1 / span 2; }
.collage--4 figure:last-child { grid-column: span 2; } /* 4 photos: the last one fills the free cell */
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.collage figure:hover img { transform: scale(1.04); }
.collage figcaption { position: absolute; left: .6rem; bottom: .6rem; right: .6rem; width: fit-content; font: 800 .9rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--on-board); background: var(--ink); border-radius: 6px; padding: .4em .55em .35em; }
.collage figure:first-child figcaption { font-size: 1.1rem; left: var(--s2); bottom: var(--s2); }
@media (max-width: 860px) {
  .collage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 56vw repeat(2, 34vw); }
  .collage figure:first-child { grid-column: 1 / -1; grid-row: auto; }
}
/* Legal pages */
.legal { padding-bottom: var(--s6); }
.legal > * { max-width: 46rem; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: var(--s4); }
.legal p { margin-top: var(--s2); font-size: 1.1rem; color: var(--ink-2); }
.legal a { color: var(--ink); }
.legal-data { margin-top: var(--s2); border-top: 2px solid var(--ink); }
.legal-data div { display: grid; grid-template-columns: minmax(9rem, 14rem) 1fr; gap: var(--s2); padding-block: .75rem; border-bottom: 1px solid var(--tile); }
.legal-data dt { font: 600 1rem/1.4 var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.legal-data dd { font-size: 1.1rem; }
.legal .fill { background: #fff3c4; color: var(--tbd); font-weight: 700; padding: 0 .25em; border-radius: 3px; }
.legal-updated { font-size: .95rem !important; margin-top: var(--s4) !important; }
@media (max-width: 860px) { .legal-data div { grid-template-columns: 1fr; gap: .2rem; } }

/* Berlin tours stay hidden while another destination's panel is open (script.js sets body[data-dest]) */
body[data-dest="panel-praga"] #tours,
body[data-dest="panel-dresde"] #tours,
body[data-dest="panel-alemania"] #tours { display: none; }
.dest-link { color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.legal-address { line-height: 1.6; }
