/* Rider Arava: dark desert look. Black bands with mustard accents, sand bands for reading. Mobile first. */
:root {
  --black: #0e0d0b;
  --black-2: #171511;
  --black-3: #221f19;
  --line: #2f2a22;
  --mustard: #e3a521;
  --mustard-2: #f2bb3c;
  --mustard-deep: #7a5206;
  --sand: #efe6d4;
  --sand-2: #e2d3b5;
  --sand-3: #cdb88f;
  --brown: #5c3f24;
  --white: #ffffff;
  --text-dark: #1b1813;
  --muted-dark: #5d5244;
  --muted-light: #b3a891;
  --wa: #0f7a3d;
  --display: "Rubik", "Arial Hebrew", Arial, sans-serif;
  --body: "Assistant", "Arial Hebrew", Arial, sans-serif;
  --radius: 14px;
  --header-h: 70px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--black); color: var(--sand); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--mustard-2); }
p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.1; letter-spacing: -.01em; }
h1 { font-weight: 900; }
h2 { font-weight: 800; font-size: clamp(1.9rem, 6vw, 3rem); text-wrap: balance; }
h3 { font-weight: 700; font-size: 1.25rem; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--mustard); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 720px) { .wrap { padding-inline: 28px; } }
.ic { width: 24px; height: 24px; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 700 1.05rem var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background-color .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn .ic { width: 22px; height: 22px; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0b6630; }
.btn-gold { background: var(--mustard); color: var(--black); }
.btn-gold:hover { background: var(--mustard-2); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(0,0,0,.25); }
.btn-ghost:hover { border-color: var(--mustard); color: var(--mustard-2); }
.btn-dark { background: var(--black); color: var(--sand); }
.btn-dark:hover { background: var(--black-3); }
.btn-line-dark { border-color: var(--text-dark); color: var(--text-dark); }
.btn-line-dark:hover { background: var(--text-dark); color: var(--sand); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .98rem; }
.btn-block { width: 100%; }

/* Header: a dark glass bar with a gold line under it. Over a page's top photo it starts clear,
   and turns solid and a little shorter once the page scrolls (.is-clear / .is-scrolled, set in app.js). */
.top { position: fixed; inset-inline: 0; top: 0; z-index: 50; height: var(--header-h); background: linear-gradient(180deg, rgba(8,7,6,.97), rgba(14,13,11,.9)); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 8px 30px rgba(0,0,0,.35); transition: background .35s, box-shadow .35s, height .3s; }
.top::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--mustard) 25%, var(--mustard-2) 50%, var(--mustard) 75%, transparent); opacity: .85; transition: opacity .35s; }
.top.is-clear { background: linear-gradient(180deg, rgba(8,7,6,.7), rgba(8,7,6,0)); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.top.is-clear::after { opacity: 0; }
.top.is-scrolled { height: calc(var(--header-h) - 10px); }
.top-in { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; flex: none; transition: transform .2s; }
.brand:hover { transform: scale(1.03); }
.brand img { height: 48px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); transition: height .3s; }
.top.is-scrolled .brand img { height: 40px; }
@media (min-width: 1040px) { .brand img { height: 54px; } .top.is-scrolled .brand img { height: 44px; } }
/* on the full-width map pages the bar spans the whole screen too, so the logo lines up with the side panel under it */
.map-page-body .top .wrap { max-width: none; padding-inline: 16px; }
.nav { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(227,165,33,.6); background: rgba(14,13,11,.6); color: var(--mustard-2); cursor: pointer; transition: background .2s, color .2s; }
.menu-btn:hover, .menu-open .menu-btn { background: var(--mustard); color: var(--black); }
.menu-btn .ic-close { display: none; }
.menu-open .menu-btn .ic-menu { display: none; }
.menu-open .menu-btn .ic-close { display: block; }
.menu-open .top { background: var(--black); height: var(--header-h); }
.drawer { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: var(--black); padding: 12px 16px 120px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; counter-reset: dl; }
.menu-open .drawer { opacity: 1; transform: none; visibility: visible; }
.drawer a.dl { display: flex; align-items: center; gap: 14px; padding: 15px 4px; border-bottom: 1px solid var(--line); color: var(--sand); text-decoration: none; font: 700 1.3rem var(--display); counter-increment: dl; }
.drawer a.dl::before { content: counter(dl, decimal-leading-zero); font: 800 .8rem var(--display); color: var(--mustard); opacity: .7; width: 22px; }
.drawer a.dl::after { content: "←"; margin-inline-start: auto; color: var(--mustard); opacity: .6; }
.drawer a.dl[aria-current="page"] { color: var(--mustard); }
.drawer .btn { margin-top: 24px; width: 100%; }
@media (min-width: 1040px) {
  :root { --header-h: 78px; }
  .menu-btn, .drawer { display: none; }
  .nav { display: flex; gap: 2px; margin-inline-start: auto; }
  .nav a { position: relative; color: #efe6d4; text-decoration: none; font: 600 .98rem var(--display); letter-spacing: .01em; padding: 10px 12px; white-space: nowrap; transition: color .2s; }
  .nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--mustard); transform: scaleX(0); transition: transform .25s ease; }
  .nav a:hover { color: #fff; }
  .nav a:hover::after { transform: scaleX(.6); }
  .nav a[aria-current="page"] { color: var(--mustard-2); }
  .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .top-social { margin-inline-start: 8px; padding-inline-start: 16px; border-inline-start: 1px solid rgba(239,230,212,.18); }
}
@media (min-width: 1040px) and (max-width: 1239px) {
  .nav a { padding: 10px 8px; font-size: .93rem; }
  .nav a::after { inset-inline: 8px; }
  .top-social { padding-inline-start: 10px; gap: 6px; }
}
.menu-open .fab-wa { display: none; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; animation: slowzoom 22s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,13,11,.55) 0%, rgba(14,13,11,.15) 30%, rgba(14,13,11,.55) 62%, rgba(14,13,11,.97) 100%); }
.hero-in { padding-top: calc(var(--header-h) + 40px); padding-bottom: 48px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--mustard); font-weight: 700; letter-spacing: .04em; font-size: .95rem; margin-bottom: 14px; }
.hero-kicker::before { content: ""; width: 28px; height: 3px; background: var(--mustard); border-radius: 2px; }
.hero h1 { font-size: clamp(3.2rem, 15vw, 7.5rem); color: #fff; line-height: .92; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero .sub { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 5.4vw, 2.4rem); color: var(--mustard); margin-top: 14px; line-height: 1.15; }
.hero .lede { color: #f1ead9; max-width: 560px; margin-top: 16px; font-size: 1.12rem; }
.hero-actions { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 640px) { .hero-actions { display: flex; flex-wrap: wrap; } }
.scroll-cue { display: none; }
@media (min-width: 900px) { .hero-in { padding-bottom: 80px; } .scroll-cue { display: block; position: absolute; bottom: 22px; left: 50%; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; } .scroll-cue::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--mustard); animation: cue 1.8s infinite; } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Page hero (inner pages) */
.phero { position: relative; padding: calc(var(--header-h) + 48px) 0 40px; overflow: hidden; isolation: isolate; }
.phero.has-img { min-height: 52svh; display: flex; align-items: flex-end; }
.phero .bg { position: absolute; inset: 0; z-index: -2; }
.phero .bg img { width: 100%; height: 100%; object-fit: cover; }
.phero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,13,11,.5), rgba(14,13,11,.35) 40%, rgba(14,13,11,.96)); }
.phero h1 { font-size: clamp(2.5rem, 10vw, 4.6rem); color: #fff; }
.phero .lede { margin-top: 14px; max-width: 640px; font-size: 1.1rem; color: #ece3cf; }
.crumbs { font-size: .9rem; color: var(--muted-light); margin-bottom: 12px; }
.crumbs a { color: var(--muted-light); }

/* Sections */
.sec { padding: 64px 0; }
@media (min-width: 900px) { .sec { padding: 96px 0; } }
.sec.sand { background: var(--sand); color: var(--text-dark); color-scheme: light; }
.sec.sand a { color: var(--mustard-deep); }
.sec.sand2 { background: var(--sand-2); color: var(--text-dark); color-scheme: light; }
.sec.sand2 a { color: var(--brown); }
.sec.dark2 { background: var(--black-2); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .88rem; letter-spacing: .06em; color: var(--mustard); margin-bottom: 12px; }
.sand .eyebrow, .sand2 .eyebrow { color: var(--mustard-deep); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: currentColor; }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head .lede { margin-top: 12px; font-size: 1.1rem; color: var(--muted-light); }
.sand .sec-head .lede, .sand2 .sec-head .lede { color: var(--muted-dark); }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* Service cards */
.services { display: grid; gap: 16px; }
@media (min-width: 640px) { .services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .services { grid-template-columns: repeat(4, 1fr); } }
.svc { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px 22px 22px; border-radius: var(--radius); background: linear-gradient(160deg, var(--black-3), var(--black-2)); border: 1px solid var(--line); overflow: hidden; transition: transform .25s, border-color .25s; }
.svc:hover { transform: translateY(-4px); border-color: rgba(227,165,33,.55); }
.svc::before { content: attr(data-n); position: absolute; top: 6px; inset-inline-end: 16px; font: 900 4.2rem/1 var(--display); color: rgba(227,165,33,.08); }
.svc .ic-wrap { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--mustard); color: var(--black); }
.svc .ic-wrap .ic { width: 30px; height: 30px; }
.svc h3 { font-size: 1.45rem; color: #fff; }
.svc p { color: var(--muted-light); flex: 1; }
.svc .btn { margin-top: 6px; }
.svc .note { font-size: .85rem; color: var(--muted-light); flex: 0; }

/* Why */
.why { display: grid; gap: 14px; }
@media (min-width: 640px) { .why { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .why { grid-template-columns: repeat(5, 1fr); } }
.why li { list-style: none; padding: 22px 20px; border-radius: var(--radius); background: rgba(255,255,255,.55); border: 1px solid rgba(92,63,36,.14); }
.why .ic { width: 34px; height: 34px; color: var(--mustard-deep); margin-bottom: 10px; }
.why b { display: block; font: 700 1.15rem var(--display); margin-bottom: 4px; }
.why span { color: var(--muted-dark); font-size: .98rem; }
ul.why { margin: 0; padding: 0; }

/* Split feature */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.split .media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media .tag { position: absolute; bottom: 12px; inset-inline-start: 12px; background: rgba(14,13,11,.8); color: var(--sand); padding: 6px 12px; border-radius: 999px; font-size: .85rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--mustard) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230e0d0b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Notice */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: rgba(227,165,33,.12); border: 1px solid rgba(227,165,33,.5); color: var(--sand); margin-bottom: 28px; }
.notice .ic { color: var(--mustard); margin-top: 2px; }
.notice b { color: var(--mustard-2); }
.sand .notice, .sand2 .notice { color: var(--text-dark); background: #f7e6b8; border-color: var(--mustard-deep); }
.sand .notice b { color: var(--brown); }
.sand .notice .ic { color: var(--mustard-deep); }

/* Route cards */
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 20px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--black-2); color: var(--sand); font: 600 .98rem var(--body); cursor: pointer; }
.chip i { width: 12px; height: 12px; border-radius: 50%; }
.chip[aria-pressed="true"] { background: var(--mustard); color: var(--black); border-color: var(--mustard); }
.routes-grid { display: grid; gap: 16px; }
@media (min-width: 760px) { .routes-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .routes-grid.three { grid-template-columns: repeat(3, 1fr); } }
.rcard { display: flex; flex-direction: column; border-radius: var(--radius); background: var(--black-2); border: 1px solid var(--line); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 16px); }
.rcard.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0%, 30% { border-color: var(--mustard); box-shadow: 0 0 0 4px rgba(227,165,33,.35); } 100% { box-shadow: none; } }
.rcard-top { padding: 20px 20px 0; }
.rgroup { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--muted-light); }
.rgroup i { width: 10px; height: 10px; border-radius: 50%; }
.ibt-badge { display: flex; width: fit-content; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(227,165,33,.15); border: 1px solid var(--mustard); color: var(--mustard-2); font-size: .85rem; font-weight: 700; text-decoration: none; }
.ibt-badge .ic { width: 16px; height: 16px; }
.rcard h3 { font-size: 1.4rem; color: #fff; margin-top: 8px; }
.rcard h3 a { color: inherit; text-decoration: none; }
.from-to { margin-top: 6px; color: var(--muted-light); font-size: .95rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 16px 20px 0; border-radius: 10px; overflow: hidden; background: var(--line); }
.stats div { background: var(--black-3); padding: 10px 8px; text-align: center; }
.stats b { display: block; font: 800 1.3rem/1.1 var(--display); color: #fff; }
.stats span { font-size: .78rem; color: var(--muted-light); }
.lvl-קל { color: #8cc98a !important; }
.lvl-בינוני { color: var(--mustard-2) !important; }
.lvl-קשה { color: #ff8a65 !important; }
.rcard .desc { padding: 14px 20px 0; color: #ddd3bf; }
.rcard details { margin: 14px 20px 0; border-top: 1px solid var(--line); }
.rcard summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-weight: 700; color: var(--mustard-2); }
.rcard summary::-webkit-details-marker { display: none; }
.rcard summary::after { content: "+"; font: 700 1.5rem var(--display); }
.rcard details[open] summary::after { content: "–"; }
.rmore h4 { font-size: 1rem; color: #fff; margin: 14px 0 6px; }
.rmore ul { margin: 0; padding-inline-start: 18px; color: #d6ccb6; }
.rmore li { margin: 3px 0; }
.rmore .gpx-btn { margin-top: 14px; border-color: var(--mustard); color: var(--mustard-2); }
.rmore .gpx-btn .ic { width: 20px; height: 20px; }
.rmore .gpx-note { font-size: .88rem; color: var(--muted-light); margin-top: 6px; }
.rmore .links {display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; font-size: .95rem; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0 !important; }
.svc-tags li { background: var(--black-3); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; font-size: .88rem; }
.rcard-actions { display: grid; gap: 8px; padding: 18px 20px 20px; margin-top: auto; }
@media (min-width: 420px) { .rcard-actions { grid-template-columns: 1fr auto; } }

/* Map */
.map-shell { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--black-2); }
.map { position: relative; z-index: 0; height: 62svh; min-height: 380px; background: #fff; }
.map.leaflet-container { background: #fff; }
.map-page .map { height: calc(100svh - var(--header-h)); min-height: 420px; }
.map-page .map-shell { border-radius: 0; border: 0; }
.map-page { padding-top: var(--header-h); }
.map-layout { display: grid; }
@media (min-width: 700px) { .map-layout { grid-template-columns: 320px 1fr; } .map-panel { height: calc(100svh - var(--header-h)); overflow-y: auto; } }
@media (min-width: 1000px) { .map-layout { grid-template-columns: 380px 1fr; } }
.map-panel { background: var(--black); border-inline-start: 1px solid var(--line); padding: 18px 16px 120px; }
@media (max-width: 699px) { .map-layout .map-shell { order: -1; } .map-page .map { height: 62svh; min-height: 360px; } }
.map-panel h1 { font-size: 1.9rem; color: #fff; }
.map-panel .lede { color: var(--muted-light); margin: 8px 0 16px; font-size: .98rem; }
.layer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 18px; }
.layer-list label { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 10px; border-radius: 10px; background: var(--black-2); border: 1px solid var(--line); font-size: .92rem; cursor: pointer; }
.layer-list input { accent-color: var(--mustard); width: 18px; height: 18px; }
.layer-list i { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.route-pick { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; }
.route-pick button { width: 100%; text-align: start; display: flex; gap: 10px; align-items: center; min-height: 52px; padding: 8px 12px; border-radius: 10px; background: var(--black-2); border: 1px solid var(--line); color: var(--sand); font: 600 1rem var(--body); cursor: pointer; }
.route-pick button[aria-pressed="true"] { border-color: var(--mustard); background: var(--black-3); }
.route-pick i { width: 14px; height: 4px; border-radius: 2px; flex: none; }
.route-pick small { margin-inline-start: auto; color: var(--muted-light); white-space: nowrap; }
.route-info { position: relative; margin-top: 16px; padding: 16px; border-radius: 12px; background: var(--black-2); border: 1px solid var(--mustard); }
.ri-close { position: absolute; top: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--black-3); border: 1px solid var(--mustard); color: #fff; font: 700 .95rem var(--body); cursor: pointer; }
.ri-close:hover, .ri-close:focus-visible { background: var(--mustard); color: var(--black); }
.ri-close .ic { width: 16px; height: 16px; }
.route-info .ri-back { margin-top: 16px; }
.route-info h2 { font-size: 1.4rem; color: #fff; margin-top: 8px; }
.route-info .rmore { margin-top: 12px; padding-top: 4px; border-top: 1px solid var(--line); }
.route-info .rmore .links a { display: inline; }
.pick-ibt { font-size: .72rem; font-weight: 700; color: var(--mustard-2); border: 1px solid rgba(227,165,33,.6); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.route-info .from-to { margin-bottom: 8px; }
.route-info .stats { margin: 12px 0; }
.route-info .btn { width: 100%; margin-top: 8px; }
/* On the route pages the trail notice and the filter/layer controls sit on top of the map */
.map-overlay { position: absolute; z-index: 5; top: 12px; right: 12px; left: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; pointer-events: none; }
.map-overlay > * { pointer-events: auto; }
.map-notice { display: flex; gap: 8px; align-items: flex-start; max-width: 520px; padding: 8px 12px; border-radius: 10px; background: rgba(14,13,11,.88); backdrop-filter: blur(6px); border: 1px solid rgba(227,165,33,.6); color: var(--sand); font-size: .88rem; line-height: 1.45; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.map-notice[hidden] { display: none; }
.map-notice .ic { flex: none; width: 18px; height: 18px; color: var(--mustard); margin-top: 2px; }
.map-notice b { color: var(--mustard-2); }
.map-notice a { color: var(--mustard-2); font-weight: 700; }
.map-tools { border-radius: 12px; background: rgba(14,13,11,.92); backdrop-filter: blur(6px); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0,0,0,.3); max-width: min(360px, 100%); }
.map-tools > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; font: 700 .95rem var(--display); color: #fff; }
.map-tools > summary::-webkit-details-marker { display: none; }
.map-tools > summary::before { content: ""; width: 18px; height: 14px; background: linear-gradient(var(--mustard) 0 0) top / 100% 2px no-repeat, linear-gradient(var(--mustard) 0 0) center / 70% 2px no-repeat, linear-gradient(var(--mustard) 0 0) bottom / 40% 2px no-repeat; }
.map-tools > summary::after { content: "▾"; margin-inline-start: auto; color: var(--mustard); }
.map-tools[open] > summary::after { content: "▴"; }
.map-tools-body { padding: 0 12px 12px; max-height: 55svh; overflow-y: auto; }
.map-tools-body h2 { font-size: .95rem; color: #fff; margin: 6px 0 8px; }
.map-tools-body .filters { margin-bottom: 8px; }
.map-tools-body .chip { min-height: 38px; padding: 0 12px; font-size: .9rem; }
.map-tools-body .layer-list { margin: 0; }
.map-tools-body .layer-list label { min-height: 38px; font-size: .85rem; }
@media (max-width: 699px) { .map-overlay { top: 8px; right: 8px; left: 56px; } .map-notice { font-size: .8rem; padding: 6px 10px; } }
.map-credit { font-size: .8rem; color: var(--muted-light); margin-top: 10px; }
.leaflet-container { font-family: var(--body); }
.leaflet-popup-content { direction: rtl; text-align: right; font-size: .95rem; line-height: 1.5; margin: 12px 14px; }
.leaflet-popup-content b { font-family: var(--display); font-size: 1.05rem; }
.leaflet-popup-content a { color: #8a5d00; font-weight: 700; }
.leaflet-popup-content .pop-wa { display: inline-block; margin-top: 8px; background: var(--wa); color: #fff !important; padding: 6px 12px; border-radius: 999px; text-decoration: none; }
.pin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #0e0d0b; box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.pin.pin-town { width: 12px; height: 12px; background: #fff; }
.pin-end { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font: 800 11px/1 var(--display); color: #0e0d0b; border: 2px solid #0e0d0b; box-shadow: 0 1px 5px rgba(0,0,0,.5); }
.town-label { background: none; border: 0; box-shadow: none; font: 700 12px var(--display); color: #1b1813; text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; padding: 0; }
.town-label::before { display: none; }
.zoomed-out .town-label { display: none; }
.map-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: .9rem; color: var(--muted-light); }
.map-legend span { display: inline-flex; align-items: center; gap: 6px; }
.map-legend i { width: 18px; height: 4px; border-radius: 2px; }

/* Place lists (lodging, attractions) */
.cat-nav { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; position: sticky; top: var(--header-h); z-index: 5; background: var(--sand); margin: 0 -16px 24px; padding-inline: 16px; }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid var(--sand-3); color: var(--text-dark) !important; text-decoration: none; font-weight: 700; font-size: .95rem; }
.cat-block { margin-bottom: 48px; scroll-margin-top: calc(var(--header-h) + 70px); }
.cat-block > h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); display: flex; align-items: center; gap: 12px; }
.cat-block > h2 .ic { width: 34px; height: 34px; color: var(--mustard-deep); }
.cat-block > p.lede { color: var(--muted-dark); margin: 8px 0 18px; max-width: 700px; }
.places { display: grid; gap: 14px; }
@media (min-width: 700px) { .places { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .places { grid-template-columns: repeat(3, 1fr); } }
.place { display: flex; flex-direction: column; border-radius: var(--radius); background: #fffaf0; border: 1px solid rgba(92,63,36,.16); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 70px); }
.place .thumb { position: relative; height: 120px; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.place .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.place .thumb .ic { width: 44px; height: 44px; position: relative; }
.place .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.place h3 { font-size: 1.15rem; }
.place .loc { display: flex; gap: 6px; align-items: center; color: var(--muted-dark); font-size: .92rem; }
.place .loc .ic { width: 16px; height: 16px; color: var(--mustard-deep); }
/* the list of nearby routes is running text, so it wraps like a sentence instead of squeezing into columns */
.place .loc.near { display: block; }
.place .loc.near .ic { vertical-align: -3px; margin-inline-end: 6px; }
.place p { color: #3a332a; font-size: .97rem; }
.place .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.place .tags span { font-size: .8rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--sand-2); color: var(--brown); }
.place .acts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 10px; font-size: .95rem; font-weight: 700; }
.place .acts a { display: inline-flex; align-items: center; min-height: 32px; }
.th-campsite { background: linear-gradient(135deg, #6f8f4f, #3d5a2e); }
.th-camping { background: linear-gradient(135deg, #3f8f86, #255a55); }
.th-khan { background: linear-gradient(135deg, #b0713e, #6d4022); }
.th-rural { background: linear-gradient(135deg, #5b8db4, #2f5675); }
.th-food { background: linear-gradient(135deg, #d27a3e, #8d4519); }
.th-attraction { background: linear-gradient(135deg, #8d6ca8, #4f3a66); }
.th-town { background: linear-gradient(135deg, #8a7a5c, #4a3f2c); }
.th-field { background: linear-gradient(135deg, #e3a521, #a8740d); color: var(--black) !important; }
/* Attractions page: highlights and folding categories */
.hls { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
@media (max-width: 559px) { .hl { flex-direction: column; align-items: flex-start; gap: 8px; padding: 10px; } .hl-ic { width: 36px; height: 36px; } .hl b { font-size: .95rem; } .hl small { font-size: .8rem; } }
@media (min-width: 1000px) { .hls { grid-template-columns: repeat(4, 1fr); } }
.hl { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--black-2); border: 1px solid var(--line); color: var(--sand) !important; text-decoration: none; transition: border-color .2s, transform .2s; }
.hl:hover { border-color: var(--mustard); transform: translateY(-2px); }
.hl-ic { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.hl b { display: block; font: 700 1rem var(--display); color: #fff; }
.hl small { color: var(--muted-light); font-size: .85rem; }
details.cat-fold { margin-bottom: 12px; border-radius: var(--radius); background: #fffaf0; border: 1px solid rgba(92,63,36,.18); scroll-margin-top: calc(var(--header-h) + 16px); }
details.cat-fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 72px; }
details.cat-fold > summary::-webkit-details-marker { display: none; }
details.cat-fold > summary::after { content: "+"; margin-inline-start: auto; font: 700 1.7rem var(--display); color: var(--mustard-deep); flex: none; }
details.cat-fold[open] > summary::after { content: "–"; }
.cf-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--black); color: var(--mustard); }
.cf-ic .ic { width: 26px; height: 26px; }
.cf-t b { display: block; font: 800 clamp(1.15rem, 3.8vw, 1.4rem) var(--display); }
.cf-t small { color: var(--muted-dark); font-size: .92rem; }
.cf-body { padding: 4px 14px 18px; }
.place.flash, .town.flash { animation: flash 1.6s ease-out; }
.towns { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .towns { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .towns { grid-template-columns: repeat(3, 1fr); } }
.town { padding: 14px 16px; border-radius: 12px; background: #fffaf0; border: 1px solid rgba(92,63,36,.16); }
.town b { font: 700 1.1rem var(--display); }
.town p { color: #3a332a; font-size: .95rem; margin-top: 2px; }
.town .here { font-size: .88rem; color: var(--muted-dark); margin-top: 6px; }
.town .here a { font-weight: 700; }

/* Guide */
.guide { display: grid; gap: 40px; }
@media (min-width: 1000px) { .guide { grid-template-columns: 260px 1fr; gap: 56px; align-items: start; } .toc { position: sticky; top: calc(var(--header-h) + 20px); } }
.toc { background: #fffaf0; border: 1px solid rgba(92,63,36,.16); border-radius: var(--radius); padding: 16px 18px; }
.toc b { font-family: var(--display); }
.toc ol { margin: 8px 0 0; padding-inline-start: 20px; }
.toc li { margin: 6px 0; }
.toc a { color: var(--text-dark) !important; text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--mustard-deep) !important; }
.guide-one { max-width: 860px; }
.gsum { background: var(--black); color: var(--sand); border-radius: var(--radius); padding: 22px 18px; margin-bottom: 40px; }
@media (min-width: 700px) { .gsum { padding: 30px 28px; } }
.gsum h2 { color: #fff; font-size: clamp(1.6rem, 5vw, 2.1rem); margin-bottom: 18px; }
.gsum-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .gsum-list { grid-template-columns: 1fr 1fr; } }
.gsum-list li { display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: start; padding: 14px; border-radius: 12px; background: var(--black-2); border: 1px solid var(--line); }
.gsum-list .ic { grid-row: span 2; width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--mustard); color: var(--black); }
.gsum-list b { font: 700 1.08rem var(--display); color: #fff; }
.gsum-list span { font-size: .95rem; color: var(--muted-light); }
.gsum-sos { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted-light); }
.gsum-sos b { color: var(--mustard-2); }
.gfull-h { font-size: clamp(1.5rem, 4.5vw, 1.9rem); margin-bottom: 4px; }
details.gsec { padding: 0; margin: 0 0 10px; border: 1px solid rgba(92,63,36,.18); border-radius: 12px; background: #fffaf0; }
details.gsec > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; min-height: 60px; }
details.gsec > summary::-webkit-details-marker { display: none; }
details.gsec > summary::after { content: "+"; font: 700 1.6rem var(--display); color: var(--mustard-deep); flex: none; }
details.gsec[open] > summary::after { content: "–"; }
details.gsec > summary h2 { margin: 0; font-size: clamp(1.15rem, 3.8vw, 1.4rem); }
details.gsec > summary h2 .num { width: 34px; height: 34px; font-size: 1rem; border-radius: 10px; }
details.gsec .gbody { padding: 4px 16px 18px; }
details.gsec:last-child { border-bottom: 1px solid rgba(92,63,36,.18); }
.gsec { scroll-margin-top: calc(var(--header-h) + 16px); padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid rgba(92,63,36,.18); }
.gsec:last-child { border-bottom: 0; }
.gsec h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.gsec h2 .num { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--black); color: var(--mustard); font-size: 1.2rem; }
.gsec p { margin-bottom: 12px; max-width: 72ch; }
.gsec ul { max-width: 72ch; padding-inline-start: 20px; margin: 0 0 12px; }
.gsec li { margin: 6px 0; }
.gear { display: grid; gap: 12px; margin: 14px 0; }
@media (min-width: 700px) { .gear { grid-template-columns: 1fr 1fr; } }
.gear div { background: #fffaf0; border: 1px solid rgba(92,63,36,.16); border-radius: 12px; padding: 14px 16px; }
.gear h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--brown); }
.gear ul { margin: 0; padding-inline-start: 18px; font-size: .97rem; }
.callout { display: flex; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--black); color: var(--sand); margin: 16px 0; max-width: 72ch; }
.callout .ic { color: var(--mustard); margin-top: 2px; }
.callout b { color: var(--mustard-2); }
.callout a { color: var(--mustard-2) !important; }
.big-num { display: flex; gap: 14px; align-items: center; margin: 12px 0 16px; }
.big-num b { font: 900 3rem/1 var(--display); color: var(--mustard-deep); }
.src { font-size: .9rem; color: var(--muted-dark); }

/* Gallery */
.gallery { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; } .gallery .g-wide { grid-column: span 2; } .gallery .g-tall { grid-row: span 2; } }
.gallery button { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: var(--black-3); aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .gallery button { aspect-ratio: auto; } }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 18px 10px 8px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: .85rem; text-align: start; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(8,7,6,.95); display: none; align-items: center; justify-content: center; padding: 16px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: 1200px; width: 100%; }
.lightbox img { max-height: 78svh; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { text-align: center; color: var(--sand); margin-top: 10px; font-size: .95rem; }
.lightbox figcaption a { color: var(--muted-light); }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-close { top: 14px; left: 14px; }
.lb-prev { right: 10px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 10px; top: 50%; transform: translateY(-50%); }
.photo-wanted { margin-top: 18px; padding: 16px 18px; border-radius: 12px; border: 1px dashed var(--mustard); color: var(--muted-light); font-size: .95rem; }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0; background: var(--mustard); color: var(--black); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-35deg, transparent 0 40px, rgba(0,0,0,.035) 40px 80px); }
.cta h2 { font-size: clamp(2.2rem, 8vw, 4rem); font-weight: 900; }
.cta p { font-size: 1.15rem; margin-top: 12px; max-width: 560px; }
.cta-actions { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 640px) { .cta-actions { display: flex; flex-wrap: wrap; } }
.cta .btn-wa { box-shadow: 0 10px 30px rgba(0,0,0,.2); min-height: 60px; font-size: 1.15rem; padding: 0 30px; }
.cta .phone-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--black); text-decoration: none; font-size: 1.15rem; min-height: 52px; }

/* Contact */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.quick { display: grid; gap: 10px; }
.quick a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; border-radius: 12px; background: #fffaf0; border: 1px solid rgba(92,63,36,.16); color: var(--text-dark) !important; text-decoration: none; font-weight: 700; }
.quick a:hover { border-color: var(--wa); }
.quick .ic { color: var(--wa); width: 28px; height: 28px; }
.quick small { display: block; font-weight: 400; color: var(--muted-dark); }
.form { background: var(--black); color: var(--sand); border-radius: var(--radius); padding: 22px 18px; color-scheme: dark; }
@media (min-width: 700px) { .form { padding: 30px 28px; } }
.form h2 { font-size: 1.7rem; color: #fff; }
.form .lede { color: var(--muted-light); margin: 6px 0 18px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--black-2); color: var(--sand); font: 400 1rem var(--body); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--mustard); border-color: transparent; }
.row2 { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.form .hint { font-size: .85rem; color: var(--muted-light); margin-top: 10px; }

/* Footer */
.foot { background: #070706; padding: 48px 0 110px; border-top: 1px solid var(--line); }@media (min-width: 900px) { .foot { padding-bottom: 48px; } }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.foot img.flogo { width: 170px; height: auto; }
.foot .slogan { font: 800 1.2rem var(--display); color: var(--mustard); margin-top: 14px; }
.foot h3 { font-size: 1rem; color: #fff; margin-bottom: 10px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.foot a { color: var(--muted-light); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.foot a:hover { color: var(--mustard-2); }
.foot .fine { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: #8a8170; }
.foot .fine a { color: #8a8170; text-decoration: underline; min-height: 0; display: inline; }

/* Logo in two layers: the lettering stays, the rider moves.
   Leaving for another page the rider rides off to the left (forward, the way he faces) and the page fades;
   on the next page he rides back in from the right and lands in place. A small hop on hover. */
.logo-wrap { position: relative; display: block; }
.brand .logo-rider { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 14% 40%; will-change: transform; }
.brand:hover .logo-rider { animation: rider-hop .55s ease-out; }
@keyframes rider-hop { 0% { transform: none; } 35% { transform: translate(-3%, -9%) rotate(-7deg); } 70% { transform: translate(-1%, 2%) rotate(2deg); } 100% { transform: none; } }
html.rider-leave .logo-rider { animation: rider-out .6s cubic-bezier(.55, 0, .9, .45) forwards; }
@keyframes rider-out { 0% { transform: none; } 15% { transform: translate(2%, -4%) rotate(-4deg); } 100% { transform: translateX(-120vw) rotate(-4deg); } }
html.rider-enter .logo-rider { animation: rider-in .8s cubic-bezier(.3, .6, .4, 1) both; }
/* he arrives through the air above the lettering, like the jump in the logo, and lands in place */
@keyframes rider-in { 0% { transform: translate(220%, -150%) rotate(-14deg); opacity: 0; } 20% { opacity: 1; } 55% { transform: translate(60%, -95%) rotate(-10deg); } 82% { transform: translate(-3%, 4%) rotate(5deg); } 92% { transform: translate(0, -3%) rotate(-2deg); } 100% { transform: none; } }
html.rider-leave main, html.rider-leave .foot, html.rider-leave .cta { opacity: 0; transform: translateX(-24px); transition: opacity .4s ease, transform .4s ease; }
html.rider-enter main { animation: page-in .5s ease-out both; }
@keyframes page-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .logo-rider, html.rider-enter main { animation: none !important; } }
html.a11y-still .logo-rider { animation: none !important; }

/* Social logos in the header: the plain brand marks, no background. White, and the brand's own color on hover. */
.top-social { display: flex; align-items: center; gap: 4px; }
@media (max-width: 1039px) { .top-social { margin-inline-start: auto; } }
.top-social a { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; transition: color .15s, transform .15s; }
.top-social svg { width: 26px; height: 26px; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.top-social a:hover { transform: translateY(-2px); }
.top-social a.ts-fb:hover { color: #3b8bff; }
.top-social a.ts-ig:hover { color: #ff5a8a; }
@media (max-width: 380px) { .brand img { height: 42px; } }
/* Social links */
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 48px; height: 48px; min-height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--black-3); border: 1px solid var(--line); color: var(--sand); transition: background-color .15s, color .15s; }
.social a:hover { background: var(--mustard); color: var(--black); }
.social .ic { width: 24px; height: 24px; }
.drawer .social { justify-content: center; margin-top: 20px; }
.quick .ic-social { color: var(--mustard-deep); }

/* Accessibility: form placeholders, focus on the gold band, and the accessibility menu */
::placeholder { color: var(--muted-light); opacity: 1; }
.sand ::placeholder, .sand2 ::placeholder { color: var(--muted-dark); }
.cta :focus-visible { outline-color: var(--black); }
.a11y-btn { position: fixed; z-index: 60; bottom: max(16px, env(safe-area-inset-bottom)); right: 16px; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--mustard); background: var(--black); color: var(--mustard-2); display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.a11y-btn .ic { width: 30px; height: 30px; }
.a11y-panel { position: fixed; z-index: 61; bottom: calc(max(16px, env(safe-area-inset-bottom)) + 62px); right: 16px; width: min(320px, calc(100vw - 32px)); max-height: calc(100svh - 120px); overflow-y: auto; background: var(--black); color: var(--sand); border: 1px solid var(--mustard); border-radius: var(--radius); padding: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.a11y-panel[hidden] { display: none; }
.a11y-panel h2 { font-size: 1.2rem; color: #fff; margin-bottom: 12px; }
.a11y-panel .row { display: flex; gap: 8px; margin-bottom: 8px; }
.a11y-panel button { flex: 1; min-height: 46px; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--black-2); color: var(--sand); font: 600 .95rem var(--body); cursor: pointer; text-align: start; }
.a11y-panel button[aria-pressed="true"] { background: var(--mustard); color: var(--black); border-color: var(--mustard); }
.a11y-panel .a11y-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; font-size: .92rem; }
.a11y-panel .a11y-foot a { color: var(--mustard-2); }
html.a11y-f1 { font-size: 112.5%; }
html.a11y-f2 { font-size: 125%; }
html.a11y-f3 { font-size: 140%; }
html.a11y-contrast { --sand: #fff; --muted-light: #fff; --muted-dark: #000; --mustard-deep: #000; --brown: #000; --line: #fff; --black-2: #000; --black-3: #000; }
html.a11y-contrast body, html.a11y-contrast .sec:not(.sand):not(.sand2) { background: #000; }
html.a11y-contrast .sand, html.a11y-contrast .sand2 { background: #fff; color: #000; }
html.a11y-contrast .hero::after, html.a11y-contrast .phero.has-img::after { background: rgba(0,0,0,.82); }
html.a11y-contrast a { text-decoration: underline; }
html.a11y-links a:not(.btn):not(.fab-wa) { text-decoration: underline !important; text-underline-offset: 3px; outline: 1px dashed currentColor; outline-offset: 2px; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .reveal { opacity: 1; transform: none; }
html.a11y-readable body, html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3, html.a11y-readable h4, html.a11y-readable .btn, html.a11y-readable .nav a { font-family: Arial, "Arial Hebrew", sans-serif !important; letter-spacing: .01em; }
.menu-open .a11y-btn { display: none; }

/* Floating WhatsApp */
.fab-wa { position: fixed; z-index: 60; bottom: max(16px, env(safe-area-inset-bottom)); left: 16px; width: 62px; height: 62px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.4); transition: transform .2s; }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa .ic { width: 34px; height: 34px; }
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.map-page-body .fab-wa { bottom: max(24px, env(safe-area-inset-bottom)); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Misc */
.stack-sm > * + * { margin-top: 10px; }
.more-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 800; text-decoration: none; margin-top: 16px; }
.more-link::after { content: "←"; transition: transform .2s; }
.more-link:hover::after { transform: translateX(-4px); }
.todo { border: 2px dashed var(--mustard); border-radius: 12px; padding: 14px 16px; color: var(--muted-light); }
