/* Route&Camp — mobile first, green palette */
[hidden] { display: none !important; }
:root {
  --forest: #1d4a37;
  --forest-2: #245f44;
  --green: #2f7a56;
  --leaf: #4f9d6f;
  --mint: #e6f2ea;
  --mint-2: #f3f8f4;
  --sand: #f3d27a;
  --amber: #d98f2b;
  --ink: #17261f;
  --muted: #5b6d63;
  --line: #d6e4da;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(20, 50, 35, .06), 0 6px 20px rgba(20, 50, 35, .08);
  --header-h: 60px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0; background: var(--mint-2); color: var(--ink);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img, svg { max-width: 100%; }
svg { display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--forest); }
h2 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ---------- header and menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 8px 0 16px; background: var(--forest); color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -.01em; }
.brand b { color: var(--sand); }
.logo-icon { width: 40px; height: 27px; color: var(--leaf); }
.menu-btn, .menu-close {
  width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 12px;
  background: transparent; color: inherit; cursor: pointer;
}
.menu-btn svg, .menu-close svg { width: 28px; height: 28px; }
.menu-btn:active, .menu-close:active { background: rgba(255,255,255,.12); }
.menu-backdrop { position: fixed; inset: 0; background: rgba(10, 30, 20, .45); z-index: 1001; }
.menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1002; width: min(86vw, 340px);
  background: #fff; box-shadow: -8px 0 30px rgba(0,0,0,.2); overflow-y: auto;
  transform: translateX(100%); transition: transform .25s ease;
  padding-bottom: env(safe-area-inset-bottom);
}
.menu.open { transform: none; }
.menu-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 6px 20px; height: var(--header-h); background: var(--forest); color: #fff; font-weight: 700; }
.menu-links { list-style: none; margin: 0; padding: 8px 0; }
.menu-links a { display: block; padding: 14px 20px; font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--mint); }
.menu-links a:active { background: var(--mint); }
.menu-links .menu-sub { padding-left: 36px; font-weight: 500; font-size: 1rem; }
.menu-links small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.menu-lang { padding: 12px 20px 24px; }
.menu-lang p { margin: 0 0 8px; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.menu-lang ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.menu-lang a, .lang-soon { display: block; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .95rem; }
.menu-lang a[aria-current] { background: var(--forest); color: #fff; border-color: var(--forest); }
.lang-soon { color: #9aa8a0; }
.lang-soon small { display: block; font-size: .72rem; }
body.menu-open { overflow: hidden; }

/* ---------- buttons ---------- */
.btn, .btn-ghost, .btn-soft, .btn-icon {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 650; font-size: .95rem; cursor: pointer; text-decoration: none;
}
.btn { background: var(--green); color: #fff; }
.btn-ghost { background: transparent; color: var(--green); border: 1.5px solid var(--line); }
.btn-soft { background: var(--mint); color: var(--forest); }
.btn-soft svg { width: 18px; height: 18px; flex: none; }
.btn-soft:active { background: #d4e9db; }
.btn-icon { width: 44px; padding: 0; background: var(--mint); color: var(--forest); }
.btn-icon svg { width: 22px; height: 22px; }

/* ---------- home ---------- */
.hero { position: relative; background: linear-gradient(170deg, var(--forest) 0%, var(--forest-2) 60%, var(--green) 100%); color: #fff; overflow: hidden; padding: 36px 0 110px; }
.hero-art { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; }
.hero-art svg { width: 100%; height: 100%; }
.hero-inner { position: relative; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 7vw, 3rem); letter-spacing: -.02em; max-width: 14em; }
.hero p { font-size: 1.08rem; opacity: .92; max-width: 36em; margin: 0; }
.search-card { position: relative; margin-top: -78px; }
.search-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.search-box h2 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.search-box h2 svg { width: 22px; height: 22px; color: var(--green); }
.search { display: grid; gap: 12px; }
.search label { display: grid; gap: 4px; }
.search label span { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.search select, .search input {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--mint-2); font: inherit; font-size: 16px; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.search select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%232f7a56' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
.search select:focus, .search input:focus { border-color: var(--green); outline: none; background-color: #fff; }
.results { display: grid; gap: 14px; padding: 24px 0 8px; }
.country-group h2 { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 10px; }
.country-group h2 small { font-size: .9rem; color: var(--muted); font-weight: 500; }
.cards { display: grid; gap: 14px; }
.route-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.route-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20,50,35,.08), 0 14px 32px rgba(20,50,35,.14); }
.rc-media { position: relative; aspect-ratio: 16 / 9; background: var(--mint); }
.rc-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rc-zone { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px 5px 7px; border-radius: 999px; background: rgba(17, 45, 33, .82); color: #fff; font-size: .8rem; font-weight: 700; backdrop-filter: blur(4px); }
.rc-zone svg { width: 15px; height: 15px; color: var(--sand); }
.rc-body { padding: 14px 16px 16px; display: grid; gap: 8px; }
.route-card h3 { font-size: 1.3rem; margin: 0; }
.route-card p { margin: 0; color: var(--muted); font-size: .97rem; }
.rc-days { display: flex; flex-wrap: wrap; gap: 6px; }
.rc-days span { background: var(--mint); color: var(--forest); border-radius: 999px; padding: 3px 11px; font-size: .82rem; font-weight: 700; }
.empty { padding: 24px; text-align: center; color: var(--muted); background: #fff; border-radius: var(--radius); }

/* ---------- route page ---------- */
.route-hero { background: linear-gradient(170deg, var(--forest) 0%, var(--forest-2) 100%); color: #fff; padding: 14px 0 22px; }
.crumbs ol { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .85rem; opacity: .88; }
.crumbs li + li::before { content: "›"; margin-right: 4px; opacity: .7; }
.crumbs a { color: #fff; }
.eyebrow { display: flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--sand); margin: 0 0 6px; }
.eyebrow svg { width: 18px; height: 18px; }
.route-hero h1 { color: #fff; font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -.02em; margin-bottom: 8px; }
.route-hero h1 span { display: block; font-size: .5em; font-weight: 600; opacity: .8; letter-spacing: 0; }
.tagline { font-size: 1.05rem; opacity: .92; margin: 0; max-width: 40em; }

.len-bar { position: sticky; top: var(--header-h); z-index: 900; background: rgba(243, 248, 244, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 10px 0; }
.len-label { margin: 0 0 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.len-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: #dcebe1; padding: 4px; border-radius: 14px; }
.len-tabs button { min-height: 46px; border: 0; border-radius: 11px; background: transparent; font: inherit; font-size: .95rem; font-weight: 600; color: var(--forest); cursor: pointer; }
.len-tabs button b { font-size: 1.25rem; margin-right: 2px; }
.len-tabs button[aria-selected="true"] { background: var(--forest); color: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.15); }

.route-body { padding-top: 16px; padding-bottom: 32px; display: grid; gap: 16px; }
.route-body > *, .grid-2 > *, .facts > * { min-width: 0; }
html, body { overflow-x: hidden; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts > div { background: #fff; border-radius: 14px; padding: 12px; box-shadow: var(--shadow); display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; align-items: center; }
.facts svg { width: 24px; height: 24px; color: var(--leaf); grid-row: span 2; }
.facts span { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.facts b { font-size: .98rem; color: var(--forest); line-height: 1.25; }
.variant-intro { margin: 14px 2px 0; font-size: 1.02rem; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.grid-2 { display: grid; gap: 16px; }
.intro-card p:last-child { margin-bottom: 0; }
.section-title { margin: 8px 2px 12px; }

/* situation map */
.situation { width: 100%; height: auto; }
.sit-sea-bg { fill: #dcecf3; }
.sit-other { fill: #eef1ec; stroke: #c9d3cb; stroke-width: 1.2; stroke-linejoin: round; }
.sit-main { fill: #cfe5d6; stroke: var(--green); stroke-width: 2; stroke-linejoin: round; }
.sit-label { font: 700 15px system-ui, sans-serif; fill: #8a9a90; letter-spacing: .12em; }
.sit-label-main { font: 800 26px system-ui, sans-serif; fill: var(--forest); letter-spacing: .16em; opacity: .55; }
.sit-sea { font: italic 15px Georgia, serif; fill: #6c95a8; }
.sit-city { fill: #fff; stroke: var(--forest); stroke-width: 2; }
.sit-city-label { font: 600 15px system-ui, sans-serif; fill: var(--ink); }
.sit-zone-glow { fill: none; stroke: var(--sand); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
.sit-zone { fill: none; stroke: var(--amber); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.sit-dot { fill: var(--amber); stroke: #fff; stroke-width: 3; }
.sit-pulse { fill: var(--amber); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
.sit-callout rect { fill: var(--forest); }
.sit-callout text { font: 700 16px system-ui, sans-serif; fill: #fff; }
@media (prefers-reduced-motion: reduce) { .sit-pulse { animation: none; } html { scroll-behavior: auto; } }

/* route map */
.map-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.map-head h2 { margin: 0; }
.map { height: 62vh; min-height: 340px; max-height: 620px; border-radius: 12px; overflow: hidden; background: #e8efe9; z-index: 1; }
.map-card.full { position: fixed; inset: 0; z-index: 1500; border-radius: 0; display: flex; flex-direction: column; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
.map-card.full .map { flex: 1; height: auto; max-height: none; }
.map-card.full > .muted { display: none; }
.layer-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px; scrollbar-width: none; }
.layer-chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px 0 8px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: .88rem; font-weight: 650; color: var(--ink); cursor: pointer; }
.chip i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; color: #fff; font-size: 13px; font-weight: 800; }
.chip[aria-pressed="false"] { opacity: .5; }
.chip[aria-pressed="false"] i { filter: grayscale(1); }
.chip .count { color: var(--muted); font-weight: 500; }
.map-status { margin: 8px 2px 4px; font-size: .9rem; color: var(--forest); font-weight: 600; min-height: 1.4em; }
.map-status button { margin-left: 8px; min-height: 34px; }

.stop-marker { width: 34px; height: 34px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); background: var(--forest); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); display: grid; place-items: center; }
.stop-marker span { transform: rotate(45deg); color: #fff; font-weight: 800; font-size: 14px; }
.poi-marker { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); display: grid; place-items: center; color: #fff; font: 800 13px system-ui, sans-serif; }
.poi-campsite { background: #2f8f4e; }
.poi-area { background: #2b6cb0; }
.poi-parking { background: #5a67d8; }
.poi-service { background: #c05621; }
.poi-free { background: var(--amber); }
.leaflet-popup-content { font: 15px/1.45 system-ui, sans-serif; margin: 12px 14px; }
.leaflet-popup-content h4 { margin: 0 0 4px; font-size: 1rem; color: var(--forest); }
.leaflet-popup-content p { margin: 0 0 6px; }
.popup-type { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.popup-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.popup-links a { font-weight: 700; }
.leaflet-touch .leaflet-bar a { width: 40px; height: 40px; line-height: 40px; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background-color: rgba(47, 122, 86, .25) !important; }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background-color: rgba(47, 122, 86, .85) !important; color: #fff; font-weight: 700; }

/* day by day */
.days { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.day > details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.day > details > summary { list-style: none; display: grid; grid-template-columns: 54px 1fr 28px; gap: 12px; align-items: center; padding: 12px 14px; cursor: pointer; min-height: 64px; }
.day > details > summary::-webkit-details-marker { display: none; }
.day-num { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--mint); color: var(--green); font-size: .7rem; font-weight: 700; text-transform: uppercase; line-height: 1; }
.day-num b { font-size: 1.45rem; color: var(--forest); }
.day > details[open] .day-num { background: var(--forest); color: var(--sand); }
.day > details[open] .day-num b { color: #fff; }
.day-title { font-weight: 700; font-size: 1.05rem; color: var(--forest); }
.day-title small { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .84rem; font-weight: 500; color: var(--muted); margin-top: 3px; }
.day-title small svg { width: 15px; height: 15px; display: inline-block; }
.chev svg { width: 24px; height: 24px; color: var(--muted); transition: transform .2s; }
.day > details[open] > summary .chev svg { transform: rotate(180deg); }
.stops { list-style: none; margin: 0; padding: 0 16px; border-top: 1px solid var(--mint); }
.stops li { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.stops li:last-child { border-bottom: 0; }
.stops h4 { display: flex; gap: 6px; align-items: center; font-size: 1.02rem; margin-bottom: 4px; }
.stops h4 svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }
.stops p { margin: 0; font-size: .98rem; }
.van-note { display: flex; gap: 8px; margin-top: 8px !important; padding: 10px 12px; background: #fff7e3; border-radius: 10px; font-size: .92rem !important; }
.van-note svg { width: 22px; height: 22px; flex: none; color: var(--amber); }
.day-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 16px; }

.tips h2 { display: flex; align-items: center; gap: 8px; }
.tips h2 svg { width: 26px; height: 26px; color: var(--leaf); }
.tips ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.tips li { padding: 12px 14px; background: var(--mint-2); border-radius: 12px; border-left: 4px solid var(--leaf); }
.tips h3 { font-size: 1rem; margin-bottom: 4px; }
.tips p { margin: 0; font-size: .97rem; }

.prose { padding-top: 28px; padding-bottom: 40px; max-width: 760px; }

.site-footer { background: var(--forest); color: rgba(255,255,255,.85); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 24px; }
.site-footer a { color: #fff; }
.brand-foot { margin-bottom: 10px; }
.site-footer p { margin: 0 0 6px; }

/* ---------- larger screens ---------- */
@media (min-width: 720px) {
  .search { grid-template-columns: 1fr 1fr 1.5fr auto; align-items: end; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .grid-2 { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .len-bar .wrap { display: flex; align-items: center; gap: 16px; }
  .len-label { margin: 0; }
  .len-tabs { flex: 0 1 420px; }
  .hero { padding: 56px 0 130px; }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- additions v003 ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero .eyebrow { color: var(--sand); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 10px; }
h1, h2, h3 { text-wrap: balance; }

/* gallery */
.route-hero { padding-bottom: 28px; }
.gallery-wrap { position: relative; z-index: 1; }
.gallery-wrap { padding: 0; }
.gallery { position: relative; background: var(--forest); }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.g-track::-webkit-scrollbar { display: none; }
.g-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; overflow: hidden; }
.g-slide picture, .g-slide img { display: block; width: 100%; height: 100%; }
.g-slide img { object-fit: cover; }
.g-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 40px; background: linear-gradient(transparent, rgba(10, 30, 20, .72)); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.g-slide figcaption span { font-weight: 750; font-size: 1.1rem; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.g-slide figcaption small { font-size: .75rem; opacity: .85; }
.g-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 4px; }
.g-dots button { width: 28px; height: 28px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; }
.g-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,.55); transition: width .2s, background .2s; }
.g-dots button[aria-current="true"]::after { width: 22px; background: #fff; }
.g-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--forest); display: none; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.g-btn svg { width: 24px; height: 24px; }
.g-prev { left: 14px; } .g-next { right: 14px; }
.g-btn[disabled] { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .g-btn { display: grid; } }

/* list pages */
.page-hero { background: linear-gradient(170deg, var(--forest) 0%, var(--forest-2) 100%); color: #fff; padding: 14px 0 26px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 7vw, 2.6rem); letter-spacing: -.02em; }
.list-body { padding-top: 20px; padding-bottom: 24px; display: grid; gap: 16px; }
.list-body > *, .cards > * { min-width: 0; }
.country-group h2 a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--leaf); }
.cards-tight { align-content: start; }

/* how it works */
.how { padding-top: 12px; padding-bottom: 12px; }
.how-grid { display: grid; gap: 12px; }
.how-grid > div { background: #fff; border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.how-grid svg { width: 30px; height: 30px; color: var(--leaf); margin-bottom: 8px; }
.how-grid h3 { font-size: 1.08rem; margin-bottom: 4px; }
.how-grid p { margin: 0; color: var(--muted); font-size: .97rem; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq .section-title { display: flex; align-items: center; gap: 8px; }
.faq .section-title svg { width: 26px; height: 26px; color: var(--leaf); }
.faq details { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.02rem; }
.faq details[open] .chev svg { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 16px 16px; }

.days-sub { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.updated { display: flex; align-items: center; gap: 6px; margin: 8px 0 0 !important; font-size: .85rem; color: var(--muted); }
.updated svg { width: 16px; height: 16px; }
.intro-card h2 { font-size: 1.15rem; }
.map-ph { height: 100%; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--muted); font-weight: 600; }
.map-ph svg { width: 34px; height: 34px; color: var(--leaf); }

.foot-grid { display: grid; gap: 20px; }
.foot-title { font-weight: 800; color: #fff; margin-bottom: 6px !important; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer ul a { text-decoration: none; color: rgba(255,255,255,.85); }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.foot-legal { margin-top: 20px !important; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); }

@media (min-width: 720px) {
  .gallery-wrap { padding: 0 16px; margin-top: 28px; margin-bottom: 8px; }
  .gallery { border-radius: 20px; overflow: hidden; box-shadow: 0 10px 34px rgba(20, 50, 35, .22); }
  .g-slide { aspect-ratio: 16 / 9; }
  .g-slide figcaption { padding: 60px 24px 22px; }
  .g-slide figcaption span { font-size: 1.3rem; }
  .g-dots { left: auto; right: 18px; bottom: 18px; }
  .how-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* single route photo (v004) */
.g-single { margin: 0; position: relative; }
.g-single figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px; background: linear-gradient(transparent, rgba(10, 30, 20, .72)); color: #fff; display: flex; flex-direction: column; gap: 2px; }
.g-single figcaption span { font-weight: 750; font-size: 1.1rem; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
.g-single figcaption small { font-size: .75rem; opacity: .85; }
@media (min-width: 720px) { .g-single figcaption { padding: 60px 24px 20px; } .g-single figcaption span { font-size: 1.3rem; } }

/* ---------- v009: home photo hero, language switcher, reverse note ---------- */
.head-actions { display: flex; align-items: center; gap: 2px; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px 0 10px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: .9rem; font-weight: 750; letter-spacing: .04em; cursor: pointer; margin-right: 4px; }
.lang-btn svg { width: 20px; height: 20px; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.6); }
.lang-pop { position: absolute; top: calc(var(--header-h) - 6px); right: 8px; width: min(300px, calc(100vw - 16px)); background: #fff; color: var(--ink); border-radius: 16px; box-shadow: 0 12px 40px rgba(10, 30, 20, .3); padding: 14px; z-index: 1003; }
.lang-pop p { margin: 0 0 8px 4px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.lang-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lang-list a, .lang-list .lang-off { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; }
.lang-list b { display: inline-grid; place-items: center; width: 34px; height: 26px; border-radius: 6px; background: var(--mint); color: var(--forest); font-size: .78rem; letter-spacing: .04em; }
.lang-list a:hover { background: var(--mint-2); }
.lang-list a[aria-current] { background: var(--forest); color: #fff; }
.lang-list a[aria-current] b { background: var(--sand); color: var(--forest); }
.lang-list .lang-off { color: #9aa8a0; cursor: default; }
.lang-list .lang-off b { background: #eef1ee; color: #9aa8a0; }
.lang-list small { margin-left: auto; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.menu-lang .lang-grid { grid-template-columns: 1fr; }
.site-header { position: sticky; }

.hero-photo { position: relative; padding: 0; min-height: 640px; display: flex; align-items: flex-start; background: var(--forest); }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 30% 100%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 36, 26, .9) 0%, rgba(12, 36, 26, .72) 34%, rgba(12, 36, 26, .1) 62%, rgba(12, 36, 26, 0) 80%, rgba(12, 36, 26, .25) 100%); }
.hero-photo .hero-inner { position: relative; z-index: 1; padding-top: 30px; padding-bottom: 130px; }
.hero-photo h1 { text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.hero-photo .hero-text { font-size: 1.05rem; opacity: .95; max-width: 34em; margin: 0 0 14px; }
.hero-note { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(243, 210, 122, .18); border: 1px solid rgba(243, 210, 122, .45); color: #fff; font-size: .88rem; font-weight: 600; }
.hero-note svg { width: 20px; height: 20px; color: var(--sand); flex: none; }
.hero-lang { display: flex; align-items: center; gap: 8px; }
.hero-lang > svg { width: 22px; height: 22px; color: var(--sand); flex: none; }
.lang-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lang-pills a, .lang-pills .lang-off { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; text-decoration: none; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(4px); }
.lang-pills a[aria-current] { background: #fff; color: var(--forest); border-color: #fff; }
.lang-pills b { font-weight: 800; }
.lang-pills a b + *, .lang-pills .lang-off { }
.lang-pills a, .lang-pills .lang-off { font-size: 0; }
.lang-pills b { font-size: .85rem; }
.lang-pills .lang-off { opacity: .55; cursor: default; }
.lang-pills small { display: none; }
.home .search-card { margin-top: -70px; z-index: 2; }

.reverse-note { display: flex; gap: 10px; align-items: flex-start; margin: -2px 0 14px; padding: 12px 14px; background: #fff7e3; border: 1px solid #f0dca6; border-radius: 12px; font-size: .95rem; color: #4d3a12; }
.reverse-note svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 1px; }
.how-grid > div > svg { display: block; }

@media (min-width: 720px) {
  .hero-photo { min-height: min(72vh, 680px); }
  .hero-photo::after { background: linear-gradient(90deg, rgba(12, 36, 26, .85) 0%, rgba(12, 36, 26, .55) 38%, rgba(12, 36, 26, 0) 65%), linear-gradient(180deg, rgba(12, 36, 26, .35) 0%, rgba(12, 36, 26, 0) 40%, rgba(12, 36, 26, .25) 100%); }
  .hero-bg img { object-position: 50% 70%; }
  .hero-photo .hero-inner { padding-top: 64px; }
  .hero-photo h1 { max-width: 12em; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .lang-pills a, .lang-pills .lang-off { font-size: .85rem; gap: 6px; }
  .lang-pills b { display: none; }
}
@media (min-width: 1000px) { .how-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 719px) {
  .hero-photo { flex-direction: column; min-height: 0; background: linear-gradient(180deg, var(--forest) 0%, var(--forest-2) 100%); }
  .hero-photo::after { display: none; }
  .hero-photo .hero-inner { order: 1; padding-top: 24px; padding-bottom: 6px; }
  .hero-bg { position: relative; order: 2; display: block; height: 330px; }
  .hero-bg img { position: absolute; inset: 0; object-position: 30% 80%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
  .hero-photo h1 { font-size: 2rem; }
  .hero-note { font-size: .84rem; border-radius: 14px; }
  .home .search-card { margin-top: -60px; }
}

/* ---------- v010: export buttons ---------- */
.export-card h2 { display: flex; align-items: center; gap: 8px; }
.export-card h2 svg { width: 22px; height: 22px; color: var(--leaf); }
.export-sub { margin: 0 0 10px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.export-grid { display: grid; gap: 10px; margin-bottom: 12px; }
.export-btn { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.export-btn:hover { border-color: var(--leaf); background: var(--mint-2); }
.export-btn > svg { width: 30px; height: 30px; flex: none; }
.export-btn span { display: grid; gap: 1px; min-width: 0; }
.export-btn b { font-size: 1rem; color: var(--forest); }
.export-btn small { font-size: .84rem; color: var(--muted); }
.ex-gpx > svg { color: var(--green); background: var(--mint); border-radius: 8px; padding: 4px; }
.day-actions .btn-soft svg { width: 18px; height: 18px; }
@media (min-width: 720px) { .export-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- v011: what to see ---------- */
.see { margin-top: 10px; padding: 12px 14px; background: var(--mint-2); border-radius: 12px; }
.see-title { display: flex; align-items: center; gap: 6px; margin: 0 0 6px !important; font-size: .76rem !important; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--green); }
.see-title svg { width: 16px; height: 16px; }
.see ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.stops .see li { padding: 0 0 0 14px; border: 0; position: relative; font-size: .95rem; line-height: 1.5; }
.stops .see li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--leaf); }
.see b { color: var(--forest); }
.see b::after { content: " ·"; color: var(--muted); font-weight: 400; }

/* ---------- v012: footer legal links, cookie banner, legal pages ---------- */
.foot-legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; }
.foot-legal-links a, .foot-legal-links button { color: rgba(255,255,255,.88); font: inherit; font-size: .92rem; text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.foot-legal-links a:hover, .foot-legal-links button:hover { color: #fff; text-decoration: underline; }

.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1600; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.cookie-inner { pointer-events: auto; max-width: 560px; margin: 0 auto; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 10px 40px rgba(10, 30, 20, .35); padding: 18px; border-top: 4px solid var(--leaf); }
.cookie-title { margin: 0 0 6px; font-weight: 800; font-size: 1.08rem; color: var(--forest); }
.cookie-text { margin: 0 0 14px; font-size: .93rem; line-height: 1.5; color: var(--muted); }
.cookie-text a { color: var(--green); font-weight: 600; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cookie-actions .ck-ghost { grid-column: 1 / -1; order: 3; }
.ck-btn { min-height: 46px; padding: 0 14px; border-radius: 12px; font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; }
.ck-solid { background: var(--forest); color: #fff; border: 2px solid var(--forest); }
.ck-solid:hover { background: var(--forest-2); }
.ck-ghost { background: #fff; color: var(--forest); border: 2px solid var(--line); }
.ck-ghost:hover { border-color: var(--leaf); }
.cookie-modal { position: fixed; inset: 0; z-index: 1700; background: rgba(10, 30, 20, .55); display: flex; align-items: flex-end; justify-content: center; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); }
.cookie-modal[hidden] { display: none; }
.cookie-box { width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.cookie-box-head { display: flex; align-items: center; justify-content: space-between; }
.ck-close { width: 44px; height: 44px; border: 0; background: var(--mint); border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--forest); }
.ck-close svg { width: 20px; height: 20px; }
.ck-cats { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.ck-cats li { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.ck-cats b { color: var(--forest); }
.ck-cats p { margin: 2px 0 0; font-size: .88rem; color: var(--muted); }
.ck-always { flex: none; font-size: .78rem; font-weight: 800; color: var(--green); text-transform: uppercase; letter-spacing: .04em; padding-top: 3px; }
.ck-switch { position: relative; flex: none; width: 50px; height: 30px; cursor: pointer; }
.ck-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ck-switch span[aria-hidden] { position: absolute; inset: 0; border-radius: 999px; background: #c9d3cb; transition: background .2s; }
.ck-switch span[aria-hidden]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.ck-switch input:checked + span { background: var(--green); }
.ck-switch input:checked + span::after { transform: translateX(20px); }
.ck-switch input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
body.ck-lock { overflow: hidden; }

.legal h2 { font-size: 1.15rem; margin-top: 1.6em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.legal .owner { list-style: none; padding: 14px 16px; background: #fff; border-radius: 12px; box-shadow: var(--shadow); }
.table-wrap { overflow-x: auto; margin: 0 0 1em; }
.legal table { border-collapse: collapse; width: 100%; min-width: 520px; background: #fff; font-size: .92rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--mint); color: var(--forest); }

@media (min-width: 720px) {
  .cookie-banner { left: 16px; right: auto; bottom: 16px; padding: 0; }
  .cookie-inner { max-width: 440px; }
  .cookie-actions { grid-template-columns: 1fr auto 1fr; }
  .cookie-actions .ck-ghost { grid-column: auto; order: 0; }
  .cookie-modal { align-items: center; }
}

/* ---------- v013: advertising ---------- */
.promo { display: grid; justify-items: center; gap: 4px; }
.promo-label { margin: 0; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.promo-slot { display: block; width: 300px; max-width: 100%; height: 250px; border-radius: 12px; overflow: hidden; text-decoration: none; }
.promo-real img { display: block; width: 100%; height: 100%; object-fit: cover; }
.promo-house { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; padding: 20px; text-align: center; color: #fff;
  background: radial-gradient(circle at 85% 15%, rgba(243,210,122,.35), transparent 45%), linear-gradient(135deg, var(--forest) 0%, var(--green) 100%);
  border: 2px dashed rgba(255,255,255,.35); outline: 1px solid var(--line); outline-offset: -1px; }
.promo-house:hover { filter: brightness(1.06); }
.promo-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); color: var(--sand); }
.promo-icon svg { width: 32px; height: 32px; }
.promo-copy { display: grid; gap: 4px; }
.promo-copy b { font-size: 1.12rem; line-height: 1.25; }
.promo-copy small { font-size: .86rem; opacity: .88; }
.promo-cta { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--sand); color: var(--forest); font-weight: 800; font-size: .9rem; }
.promo-cta svg { width: 16px; height: 16px; }
@media (min-width: 760px) {
  .promo-slot { width: 728px; height: 90px; }
  .promo-house { flex-direction: row; justify-content: flex-start; text-align: left; padding: 0 18px; gap: 14px; }
  .promo-icon { width: 52px; height: 52px; flex: none; }
  .promo-copy { flex: 1; min-width: 0; }
  .promo-copy b { font-size: 1.05rem; }
  .promo-cta { flex: none; }
}

.pyc-hero { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-2) 60%, var(--green) 100%); color: #fff; padding: 28px 0 40px; }
.pyc-langs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.pyc-langs button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-weight: 800; font-size: .85rem; cursor: pointer; }
.pyc-langs button span { font-weight: 500; display: none; }
.pyc-langs button[aria-pressed="true"] { background: #fff; color: var(--forest); border-color: #fff; }
.pyc-block h1, .pyc-h { color: #fff; font-size: clamp(1.7rem, 6vw, 2.6rem); letter-spacing: -.02em; max-width: 20em; margin-bottom: 14px; }
.pyc-text { font-size: 1.12rem; max-width: 34em; opacity: .95; }
.pyc-claim { font-size: 1.15rem; font-weight: 800; color: var(--sand); max-width: 34em; }
.pyc-btn { min-height: 54px; padding: 0 24px; font-size: 1.05rem; background: var(--sand); color: var(--forest); margin-top: 6px; }
.pyc-btn svg { width: 20px; height: 20px; }
.pyc-mail { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; opacity: .9; user-select: all; }
.pyc-mail svg { width: 20px; height: 20px; color: var(--sand); }
.pyc-formats { padding-top: 28px; padding-bottom: 28px; }
.pyc-grid { display: grid; gap: 16px; margin-bottom: 12px; }
.pyc-grid > div { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; min-width: 0; }
.pyc-demo { display: grid; place-items: center; max-width: 100%; margin: 0 auto 12px; border: 2px dashed var(--leaf); border-radius: 8px; background: var(--mint-2); color: var(--green); font-weight: 800; font-variant-numeric: tabular-nums; }
.pyc-demo-wide { width: 728px; aspect-ratio: 728 / 90; }
.pyc-demo-sq { width: 300px; aspect-ratio: 300 / 250; }
.pyc-grid p { margin: 0; }
@media (min-width: 720px) { .pyc-langs button span { display: inline; } }
@media (min-width: 1000px) { .pyc-grid { grid-template-columns: 2.4fr 1fr; align-items: start; } }

/* ---------- v016: premium logo ---------- */
.logo-icon { width: 38px; height: 38px; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.brand { gap: 11px; font-weight: 800; font-size: 1.24rem; letter-spacing: -.025em; }
.brand b { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; font-size: 1.18em; color: var(--sand); margin: 0 1px; position: relative; top: .02em; }
.brand-foot .logo-icon { width: 44px; height: 44px; }

/* ---------- v017: logo from the user's design ---------- */
.brand b { color: #f4b942; }
.logo-icon { filter: drop-shadow(0 2px 6px rgba(0,0,0,.3)); }

/* ---------- v018: softer header green so the logo stands out ---------- */
:root { --header-bg: #2e6a4f; }
.site-header, .menu-head { background: var(--header-bg); }
body::before { background: var(--header-bg); }
/* v020: footer in option A green (same as header) */
.site-footer { background: var(--header-bg); }

/* ---------- v021: route photo full width, like the home photo ---------- */
.gallery-wrap { padding: 0 !important; margin: 0 !important; }
.gallery-wrap .gallery { max-width: none; border-radius: 0; box-shadow: none; }
.gallery-wrap .g-slide { aspect-ratio: auto; height: clamp(240px, 56vw, 340px); }
.g-single figcaption { padding-left: 0; padding-right: 0; }
.g-single figcaption .wrap { display: flex; flex-direction: column; gap: 2px; }
@media (min-width: 720px) {
  .gallery-wrap .g-slide { height: clamp(360px, 52vh, 620px); }
  .g-single figcaption { padding-left: 0; padding-right: 0; }
}

/* ---------- v022: TXT / WhatsApp buttons, search filters, card meta ---------- */
button.export-btn { font: inherit; text-align: left; cursor: pointer; width: 100%; }
button.export-btn:disabled { opacity: .7; cursor: progress; }
.ex-txt > svg { color: var(--green); background: var(--mint); border-radius: 8px; padding: 4px; }
.ex-wa { border-color: #b7e4c7; }
.ex-wa:hover { border-color: #25d366; background: #effbf3; }
.search { grid-template-columns: 1fr 1fr; }
.search .search-q, .search #f-clear { grid-column: 1 / -1; }
.rc-meta2 { display: grid; gap: 4px; margin: 2px 0 0; font-size: .86rem; }
.rc-meta2 div { display: flex; align-items: center; gap: 6px; }
.rc-meta2 svg { width: 16px; height: 16px; color: var(--leaf); flex: none; }
.rc-meta2 dt { color: var(--muted); }
.rc-meta2 dt::after { content: ":"; }
.rc-meta2 dd { margin: 0; font-weight: 650; color: var(--forest); }
@media (min-width: 720px) {
  .search { grid-template-columns: repeat(4, 1fr); }
  .search .search-q { grid-column: 1 / 4; }
  .search #f-clear { grid-column: 4; }
  .export-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- v023: latest routes on home, photos button ---------- */
.home-routes { padding-top: 24px; }
.home-routes .results { padding-top: 0; }
.home-routes.is-default .route-card:not([data-recent]) { display: none; }
.see-all { margin: 16px 0 0; text-align: center; }
.see-all .btn-ghost svg { width: 18px; height: 18px; }
@media (max-width: 719px) {
  /* on phones the home page shows no route cards until the visitor searches */
  .home-routes.is-default .section-title, .home-routes.is-default .results { display: none; }
  .home-routes.is-default .see-all { margin-top: 0; }
}
.photos-btn { position: absolute; right: max(12px, env(safe-area-inset-right, 0px)); top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: rgba(12, 36, 26, .72); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.25); }
.photos-btn:hover { background: rgba(12, 36, 26, .88); }
.photos-btn svg { width: 18px; height: 18px; color: var(--sand); }
@media (min-width: 720px) { .photos-btn { top: auto; bottom: 20px; right: max(24px, calc((100vw - 1100px) / 2 + 16px)); } }

/* ---------- v025: rental companies ---------- */
.rent-card { padding: 0; }
.rent-card summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; cursor: pointer; }
.rent-card summary::-webkit-details-marker { display: none; }
.rent-card summary h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }
.rent-card summary h2 svg { width: 24px; height: 24px; color: var(--leaf); flex: none; }
.rent-card details[open] .chev svg { transform: rotate(180deg); }
.rent-body { padding: 0 16px 16px; border-top: 1px solid var(--mint); }
.rent-intro { margin: 14px 0; }
.rent-body h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 16px 0 8px; }
.rent-airports { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rent-airports li { display: flex; align-items: center; gap: 12px; }
.rent-airports b { flex: none; display: grid; place-items: center; width: 50px; height: 34px; border-radius: 8px; background: var(--forest); color: #fff; font-size: .85rem; letter-spacing: .05em; }
.rent-airports span { display: grid; font-weight: 600; line-height: 1.3; }
.rent-airports small { font-weight: 400; color: var(--muted); }
.rent-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.rent-list li { padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; display: grid; gap: 8px; min-width: 0; }
.rent-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.rent-head b { font-size: 1.05rem; color: var(--forest); }
.rent-town { display: inline-flex; align-items: center; gap: 4px; font-size: .88rem; color: var(--muted); }
.rent-town svg { width: 14px; height: 14px; }
.rent-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.rent-tags span { padding: 3px 10px; border-radius: 999px; background: var(--mint); color: var(--forest); font-size: .8rem; font-weight: 700; }
.rent-tags .rent-air { background: #fff7e3; color: #6b4a10; }
.rent-list p { margin: 0; font-size: .93rem; }
.rent-list .btn-soft { justify-self: start; }
.rent-list .btn-soft svg { width: 16px; height: 16px; }
@media (min-width: 720px) { .rent-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- v026: rental block with its own banner ---------- */
.rent-card { padding: 16px; display: grid; gap: 14px; }
.rent-h { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 1.2rem; }
.rent-h svg { width: 26px; height: 26px; color: var(--leaf); flex: none; }
.rent-card .promo { margin: 0; }
.promo-rent .promo-house { background: radial-gradient(circle at 85% 15%, rgba(243,210,122,.35), transparent 45%), linear-gradient(135deg, #1f5a73 0%, #2f7a6a 100%); }
.rent-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--mint-2); color: var(--forest); font: inherit; font-weight: 700; cursor: pointer; }
.rent-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
.rent-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.rent-body { padding: 0; border-top: 0; }
.rent-body .rent-intro { margin-top: 0; }
.pyc-other { margin-top: 10px; font-weight: 600; }

/* ---------- v027: "Where to sleep tonight" list at the end of each day ---------- */
.sleep { margin: 4px 16px 14px; padding: 14px; border-radius: 14px; background: #eef6f1; border: 1px solid #d6e9dd; }
.sleep-title { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-weight: 800; color: var(--forest); font-size: 1.02rem; }
.sleep-title svg { width: 26px; height: 26px; flex: none; color: var(--leaf); }
.sleep-title small { display: block; font-weight: 500; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.sleep-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sleep-list:empty { display: none; }
.sleep-list li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px; padding: 8px 8px 8px 10px; min-width: 0; }
.poi-badge { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 800 12px system-ui, sans-serif; font-style: normal; flex: none; }
.sl-main { flex: 1; min-width: 0; }
.sl-main b { display: block; font-size: .96rem; line-height: 1.25; overflow-wrap: anywhere; }
.sl-main small { display: block; color: var(--muted); font-size: .84rem; }
.sl-go { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--forest); }
.sl-go svg { width: 17px; height: 17px; }
.sleep-empty, .sleep-status { margin: 0 0 6px; font-size: .92rem; color: var(--muted); }
.sleep-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; }
.sleep-foot .btn-soft { background: #fff; }
.sleep-foot .btn-soft svg { width: 18px; height: 18px; }
.sleep-foot small { font-size: .8rem; }
.rent-none { margin: 14px 0 6px; font-weight: 600; }

/* ---------- v028: "What to see" folds inside each stop; sleep box at the start of the day ---------- */
details.see { padding: 0; }
.see > summary { list-style: none; display: flex; align-items: center; gap: 6px; padding: 12px 14px; cursor: pointer; margin: 0 !important; }
.see > summary::-webkit-details-marker { display: none; }
.see > summary .see-n { font-weight: 700; color: var(--muted); letter-spacing: 0; }
.see > summary .see-chev { margin-left: auto; display: grid; }
.see > summary .see-chev svg { width: 20px; height: 20px; color: var(--green); transition: transform .2s; }
.see[open] > summary .see-chev svg { transform: rotate(180deg); }
.see > ul { padding: 0 14px 12px !important; }
.sleep.sleep-top { margin-top: 14px; }

/* ---------- v029: "Where to sleep tonight" folds too ---------- */
details.sleep { padding: 0; }
.sleep > summary { list-style: none; cursor: pointer; padding: 12px 14px; margin: 0; align-items: center; }
.sleep > summary::-webkit-details-marker { display: none; }
.sleep > summary > span:first-of-type { flex: 1; min-width: 0; }
.sleep-n { font-weight: 700; color: var(--muted); }
.sleep-chev { display: grid; flex: none; }
.sleep-chev svg { width: 22px; height: 22px; color: var(--green); transition: transform .2s; }
.sleep[open] > summary .sleep-chev svg { transform: rotate(180deg); }
.sleep-body { padding: 0 14px 14px; }

/* ---------- v030: route map edge to edge on wide screens (like the route photo) ---------- */
.map { position: relative; }
.map-hint { position: absolute; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 20px; text-align: center; background: rgba(12, 36, 26, .55); color: #fff; font-weight: 700; font-size: 1.15rem; opacity: 0; pointer-events: none; transition: opacity .25s; }
.map-hint.show { opacity: 1; }
@media (min-width: 900px) {
  .map-card:not(.full) { width: 100vw; margin-left: calc(50% - 50vw); border-radius: 0; box-shadow: none; padding-left: max(16px, calc(50vw - 534px)); padding-right: max(16px, calc(50vw - 534px)); }
  .map-card:not(.full) .map { width: 100vw; margin-left: calc(-1 * max(16px, calc(50vw - 534px))); border-radius: 0; height: 72vh; max-height: 720px; }
}
