/* Trail: phone first (375 px), then 768 and up. Fonts are the two files in fonts/ (SIL OFL, licences beside them);
   nothing loads from another site. Colours come from the operator's theme (head of each page). */
@font-face{font-family:"Hanken Grotesk";font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/hanken-grotesk-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Fraunces";font-style:normal;font-weight:100 900;font-display:swap;src:url(fonts/fraunces-latin-opsz-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root {
  --c-accent: #1f6f5c;
  --c-on-accent: #ffffff;
  --c-accent-text: #1f6f5c;
  --c-accent-dark: #0f3b31;
  --c-accent-soft: #e3efeb;
  --c-ink: #1b2a26;
  --c-bg: #f7f5ef;
  --c-card: #ffffff;
  --c-line: #e1dcce;
  --c-mute: #5b6560;
  --c-ok: #14573a;
  --c-warn: #7a4300;
  --c-bad: #8a1f17;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-head: "Fraunces", Georgia, "Times New Roman", serif;
  --fs-s: .875rem;
  --fs-b: 1rem;
  --fs-l: 1.125rem;
  --shadow: 0 1px 2px rgba(20,30,25,.06), 0 8px 24px rgba(20,30,25,.08);
  --bar-h: 72px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-b);
  line-height: 1.55;
  color: var(--c-ink);
  background: var(--c-bg);
}
body.has-bar { padding-bottom: 88px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent-text); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5rem; letter-spacing: -.01em; }
h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; margin-bottom: .75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }
.h-small { font-family: var(--f-body); font-size: var(--fs-l); font-weight: 700; letter-spacing: 0; }
.h-gap { margin-top: 1.5rem; }
p { margin: 0 0 .75rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.sec { padding-top: 40px; padding-bottom: 8px; }
.small { font-size: var(--fs-s); color: var(--c-mute); }
.sub { color: var(--c-mute); margin-bottom: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--c-accent-text); outline-offset: 2px; border-radius: 6px; }
.hero :focus-visible, .foot :focus-visible, body.overlay .top :focus-visible { outline-color: #fff; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-big { width: 40px; height: 40px; stroke-width: 1.5; }
.i-tick { width: 20px; height: 20px; margin-top: 2px; }
.crumb { font-size: var(--fs-s); margin-bottom: 8px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 16px; background: var(--c-card); border-bottom: 1px solid var(--c-line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-ink); font-family: var(--f-head); font-weight: 600; font-size: var(--fs-l); min-height: 44px; margin-right: auto; min-width: 0; }
.brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: #fff; }
.nav-inline { display: none; gap: 4px; }
.nav-inline a { padding: 10px 12px; min-height: 44px; text-decoration: none; color: inherit; font-weight: 600; border-radius: 8px; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; padding: 10px 14px; border: 1.5px solid var(--c-line); border-radius: 999px; font-weight: 700; background: var(--c-card); color: var(--c-ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 52px; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; min-width: 210px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; }
.menu nav a { padding: 12px 16px; min-height: 48px; display: flex; align-items: center; text-decoration: none; color: var(--c-ink); border-bottom: 1px solid var(--c-line); font-weight: 600; }
.menu nav a:last-child { border-bottom: 0; }
.top-actions { display: flex; gap: 8px; }
.top-actions ~ .menu { display: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); }
.icon-btn[data-book="call"] { background: var(--c-accent-soft); color: var(--c-accent-text); }
body.overlay .top { position: absolute; left: 0; right: 0; background: transparent; border: 0; color: #fff; }
body.overlay .brand { color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
body.overlay .menu summary { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.55); color: #fff; backdrop-filter: blur(4px); }

/* Buttons: 44 px to touch */
.btn, .bar-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px; border-radius: 12px; border: 2px solid var(--c-accent);
  background: var(--c-accent); color: var(--c-on-accent); text-decoration: none; font-weight: 700; font-size: var(--fs-b); cursor: pointer; font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover, .bar-btn:hover { box-shadow: 0 4px 14px rgba(0,0,0,.18); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--c-accent-text); border-color: var(--c-accent-text); }
.btn-lg { min-height: 56px; width: 100%; font-size: var(--fs-l); }
.btn-sm { min-height: 44px; padding: 8px 16px; }
.btn.is-idle { background: #d9d5c8; border-color: #d9d5c8; color: #3c433f; box-shadow: none; transform: none; }
.textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: var(--fs-s); font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }

/* Hero */
.hero { position: relative; color: #fff; background: var(--c-accent-dark); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,14,12,.62) 0%, rgba(6,14,12,.12) 38%, rgba(6,14,12,.82) 100%); }
.hero-plain { background: linear-gradient(160deg, var(--c-accent-dark), var(--c-accent)); }
.hero-plain::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: url(ridge.svg) bottom center / cover no-repeat; opacity: .5; }
.hero-plain::after { display: none; }
.hero .tagline { font-size: var(--fs-l); font-weight: 600; max-width: 36rem; margin: 0 0 .6rem; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hero-in { position: relative; z-index: 2; min-height: 460px; padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; justify-content: flex-end; animation: rise .6s ease both; }
.hero-route .hero-in { min-height: 300px; padding-bottom: 36px; }
.hero h1 { font-size: 2.5rem; margin-bottom: .5rem; text-shadow: 0 2px 16px rgba(0,0,0,.35); }
.hero .lead, .hero .tagline, .hero .crumb, .hero .crumb a { color: #fff; }
.hero .lead { font-size: var(--fs-l); max-width: 36rem; margin-bottom: 0; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-sec { padding-bottom: 8px; }

/* The two ways in */
.choices-wrap { position: relative; z-index: 3; margin-top: -64px; }
.choices { display: grid; gap: 12px; }
.choice { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; background: var(--c-card); border-radius: 16px; box-shadow: var(--shadow); text-decoration: none; color: var(--c-ink); border: 1px solid var(--c-line); transition: transform .15s ease, box-shadow .15s ease; }
.choice:hover { transform: translateY(-2px); }
.ch-ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--c-accent); color: var(--c-on-accent); }
.ch-ic .i { width: 24px; height: 24px; }
.ch-tx { display: flex; flex-direction: column; flex: 1; line-height: 1.3; }
.ch-tx strong { font-size: var(--fs-l); }
.ch-tx span { color: var(--c-mute); font-size: var(--fs-s); }
.ch-go { color: var(--c-accent-text); }

/* Trips at a glance */
.glance-wrap { padding-top: 28px; }
/* phones: a plain stack, so no card is cut off at the edge (a swipe strip gave no hint that it scrolled) */
.glance { list-style: none; margin: 0; padding: 4px 0 8px; display: grid; grid-template-columns: 1fr; gap: 12px; }
.gcard { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; text-decoration: none; color: var(--c-ink); transition: transform .15s ease, box-shadow .15s ease; }
.gcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.gtag { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mute); }
.gpills { display: flex; flex-wrap: wrap; gap: 4px; }
.mpill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--c-accent-soft); color: var(--c-ink); font-size: .8125rem; font-weight: 700; }
.gcard strong { font-family: var(--f-head); font-size: var(--fs-l); line-height: 1.2; }
.gmeta { color: var(--c-mute); font-size: var(--fs-s); }

/* Status words and pills: the words always carry the meaning, colour is extra */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill-ok { background: #e1f2e8; color: var(--c-ok); }
.pill-low { background: #fff0cf; color: var(--c-warn); }
.pill-full { background: #eceae3; color: #444b47; }
.pill-closed { background: #fde4e1; color: var(--c-bad); }
.status { display: inline-block; padding: 3px 12px; border-radius: 8px; font-weight: 700; font-size: var(--fs-s); margin: 0 0 8px; }
.status-open { background: #e1f2e8; color: var(--c-ok); }
.status-later { background: #fff0cf; color: var(--c-warn); }
.status-closed { background: #fde4e1; color: var(--c-bad); }
.alt { font-size: var(--fs-s); margin: 4px 0 0; position: relative; z-index: 2; }
.price { font-weight: 800; font-size: var(--fs-l); margin: 8px 0 0; }

/* Departures as tickets */
.tickets { display: grid; gap: 14px; }
.ticket { display: grid; grid-template-columns: 72px 1fr; gap: 0 16px; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 18px; padding: 16px; box-shadow: 0 1px 2px rgba(20,30,25,.05); }
.tk-date { display: flex; flex-direction: column; align-items: center; justify-content: center; align-self: start; padding: 8px 0; border-radius: 14px; background: var(--c-accent); color: var(--c-on-accent); line-height: 1; }
.tk-day { font-family: var(--f-head); font-size: 2rem; font-weight: 700; }
.tk-mon { font-size: .875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.tk-year { font-size: .6875rem; opacity: .85; margin-top: 2px; }
.tk-main h3 { margin-bottom: 4px; }
.tk-line { color: var(--c-mute); font-size: var(--fs-s); margin-bottom: 8px; }
.tk-price { margin: 8px 0 0; font-size: var(--fs-s); color: var(--c-mute); }
.tk-price strong { font-size: 1.375rem; color: var(--c-ink); font-family: var(--f-head); }
.tk-price small { display: block; font-size: var(--fs-s); }
.tk-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--c-line); }
.tk-act .btn { flex: 1 1 160px; }
.tk-off { margin: 0; color: var(--c-warn); font-weight: 600; font-size: var(--fs-s); }
.ticket-off .tk-date { background: #8d948f; }

/* Route cards */
.cards { display: grid; gap: 16px; }
.rcard { position: relative; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,30,25,.05); transition: transform .15s ease, box-shadow .15s ease; }
.rcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rc-media { aspect-ratio: 16 / 10; background: linear-gradient(160deg, var(--c-accent-dark), var(--c-accent)); color: #fff; }
.rc-media img { width: 100%; height: 100%; object-fit: cover; }
.rc-blank { width: 100%; height: 100%; display: grid; place-items: center; }
.rc-body { padding: 16px; }
.rc-body h3 a { color: var(--c-ink); text-decoration: none; }
.rc-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.rc-meta { color: var(--c-mute); font-size: var(--fs-s); margin-bottom: 0; }
.rc-sum { margin-bottom: 0; }
.rcard-off .rc-media img { filter: saturate(.55); }
.mstrip { max-width: 440px; list-style: none; margin: 10px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.mstrip li { text-align: center; font-size: .6875rem; font-weight: 700; line-height: 22px; height: 22px; border-radius: 4px; background: #e8e4d8; color: #5b6560; }
.mstrip li.on { background: var(--c-accent); color: var(--c-on-accent); }
.alt-note { display: flex; gap: 8px; align-items: flex-start; color: var(--c-warn); font-size: var(--fs-s); margin-bottom: 8px; }
.alt-note .i { width: 18px; height: 18px; margin-top: 2px; }

/* Lists, terms, rates, about */
.cols { display: grid; gap: 14px; }
.tcard { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px; padding: 16px; }
.tickl { list-style: none; margin: 0; padding: 0; }
.tickl li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.tickl-check .i { color: #1b7a4b; }
.tickl-cross .i { color: #a4372b; }
.terms { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; padding: 14px 16px; line-height: 1.65; }
.terms-note { margin-top: 12px; }
.tablewrap { overflow-x: auto; }
.about { max-width: 46rem; font-size: var(--fs-l); }
.why { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.why li { display: flex; gap: 12px; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; padding: 14px; }
.why .i-tick { color: var(--c-accent-text); }
.why strong { display: block; }
.why span { color: var(--c-mute); font-size: var(--fs-s); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.faq { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; margin-bottom: 8px; padding: 0 16px; }
.faq summary { cursor: pointer; min-height: 48px; padding: 12px 0; font-weight: 700; }
.review { margin: 0; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px; padding: 16px; }
.review footer { color: var(--c-mute); font-size: var(--fs-s); }
.plainlist { padding-left: 1.2rem; }
.plainlist li { margin-bottom: .4rem; }

/* A route page */
.facts { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; background: var(--c-card); border: 1px solid var(--c-line); border-radius: 14px; padding: 12px; }
.facts .i { color: var(--c-accent-text); margin-top: 2px; }
.facts b { display: block; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--c-mute); }
.facts span { font-weight: 600; font-size: var(--fs-s); }
.route-sum { font-size: var(--fs-l); max-width: 46rem; margin-top: 8px; }
.plan { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 16px; margin-bottom: 14px; padding: 0 16px 8px; }
.plan > summary { cursor: pointer; min-height: 52px; padding: 14px 0; font-weight: 700; font-family: var(--f-head); font-size: 1.125rem; }
.tl { list-style: none; margin: 0; padding: 0; }
.tl-day { position: relative; display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 20px; }
.tl-day::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--c-line); }
.tl-day:last-child::before { display: none; }
.tl-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); font-weight: 800; }
.tl-label { display: block; font-family: var(--f-body); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mute); font-weight: 700; }
.tl-body p { margin-bottom: 8px; }
.tl-body img { border-radius: 12px; margin-top: 8px; width: 100%; max-width: 520px; aspect-ratio: 16 / 9; object-fit: cover; }

/* Footer and the fixed WhatsApp and call bar */
.foot { margin-top: 56px; padding: 32px 0 28px; background: var(--c-accent-dark); color: #f1f5f2; }
.foot a { color: #fff; }
.foot-in { display: grid; gap: 16px; }
.foot-name { font-family: var(--f-head); font-weight: 600; font-size: 1.5rem; margin: 0; }
.foot-lines { display: grid; gap: 10px; }
.foot-lines p { display: flex; gap: 10px; margin: 0; }
.foot-lines .social { flex-wrap: wrap; gap: 8px 18px; }
.foot-lines .social a { text-decoration: underline; text-underline-offset: 3px; }
.foot-lines .i { margin-top: 3px; opacity: .85; }
.foot-note { margin: 0; font-size: var(--fs-s); color: #c3d0c9; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--c-card); border-top: 1px solid var(--c-line); box-shadow: 0 -6px 20px rgba(20,30,25,.08); }
.bar-btn { flex: 1; min-height: 48px; }
.bar-btn[data-book="call"] { background: transparent; color: var(--c-accent-text); border-color: var(--c-accent-text); }
.bar-plan { flex: 2.4; }
.bar-plan ~ .bar-btn { flex: 0 0 52px; padding: 0; }
.bar-plan ~ .bar-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The request page (built by client.js) */
.bk { padding-bottom: 120px; }
.wrap.bk { max-width: 760px; }
.bk-head { margin-bottom: 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: #e8e4d8; border-radius: 14px; margin-bottom: 20px; }
.seg button { min-height: 48px; padding: 6px 8px; border: 0; border-radius: 11px; background: transparent; color: var(--c-ink); font: inherit; font-weight: 700; cursor: pointer; line-height: 1.2; }
.seg button[aria-pressed="true"] { background: var(--c-card); box-shadow: 0 1px 6px rgba(20,30,25,.18); color: var(--c-accent-text); }
.step { background: var(--c-card); border: 1px solid var(--c-line); border-radius: 18px; padding: 16px; margin-bottom: 14px; }
.step-h { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; margin-bottom: 12px; }
.step-n { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); font-family: var(--f-body); font-size: .875rem; font-weight: 800; }
.step-sub { color: var(--c-mute); font-size: var(--fs-s); margin: -6px 0 12px; }
.lab { display: block; font-weight: 700; margin: 14px 0 6px; }
.lab:first-of-type { margin-top: 0; }
.opts { display: grid; gap: 10px; }
.opt-wrap { display: flex; flex-direction: column; gap: 6px; }
.opt { position: relative; display: flex; gap: 12px; align-items: center; width: 100%; min-height: 64px; padding: 10px; text-align: left; background: var(--c-card); border: 1.5px solid var(--c-line); border-radius: 14px; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.opt:hover:not([disabled]) { border-color: var(--c-accent); }
.opt.is-on { border-color: var(--c-accent); background: var(--c-accent-soft); box-shadow: 0 0 0 1.5px var(--c-accent); }
.opt[disabled] { cursor: not-allowed; background: #f1eee5; }
.opt[disabled] .opt-media, .opt[disabled] .tk-date, .opt[disabled] .opt-ic { opacity: .5; }
.opt[disabled] strong { color: #4d5651; }
.opt-media, .opt-ic { flex: none; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, var(--c-accent-dark), var(--c-accent)); color: #fff; }
.opt-media img { width: 100%; height: 100%; object-fit: cover; }
.opt-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--c-accent-soft); color: var(--c-accent-text); }
.opt-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.opt-body strong { font-size: var(--fs-b); line-height: 1.25; }
.opt-sub, .opt-alt { color: var(--c-mute); font-size: var(--fs-s); }
.opt-alt { display: flex; gap: 6px; color: var(--c-warn); }
.opt-alt .i { width: 16px; height: 16px; margin-top: 2px; }
.opt-tag { align-self: flex-start; margin-top: 4px; }
.opt .mstrip { margin: 6px 0 2px; }
.opt .tk-date { flex: none; width: 60px; align-self: flex-start; }
.opt-check { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--c-accent); color: var(--c-on-accent); stroke-width: 3; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 6px 16px; border-radius: 999px; border: 1.5px solid var(--c-line); background: var(--c-card); color: var(--c-ink); font: inherit; font-weight: 600; cursor: pointer; transition: background-color .15s ease; }
.chip[aria-pressed="true"] { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.chip[disabled] { opacity: .5; cursor: not-allowed; text-decoration: line-through; background: #f1eee5; }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--c-line); }
.qty-row:last-of-type { border-bottom: 0; }
.qty-row strong { display: block; }
.qty-row span.small { display: block; line-height: 1.3; }
.qty { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.qty-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--c-accent-text); background: var(--c-card); color: var(--c-accent-text); cursor: pointer; font: inherit; }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-n { min-width: 40px; text-align: center; font-weight: 800; font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font-size: var(--fs-b); font-family: inherit;
  border: 1.5px solid #9aa59f; border-radius: 12px; background: #fff; color: var(--c-ink);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--c-accent-text); }
.field textarea { min-height: 88px; }
.field.has-err input, .field.has-err textarea, .field.has-err select { border-color: var(--c-bad); }
.field-err, .err { color: var(--c-bad); font-size: var(--fs-s); font-weight: 600; margin: 6px 0 0; }
.field-err:empty, .err:empty, .missing:empty, .hint:empty { display: none; }
.err { background: #fde8e6; border-radius: 10px; padding: 10px 12px; }
.hint { color: var(--c-warn); font-size: var(--fs-s); margin: 8px 0 0; }
.pair { display: grid; gap: 12px; }
.tick-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; border: 1.5px solid var(--c-line); border-radius: 14px; margin-bottom: 8px; cursor: pointer; background: var(--c-card); }
.tick-row.is-on { border-color: var(--c-accent); background: var(--c-accent-soft); }
.tick-row input { width: 24px; height: 24px; flex: none; accent-color: var(--c-accent); }
.tick-row .tr-name { flex: 1; font-weight: 600; line-height: 1.3; }
.tick-row .tr-price { text-align: right; font-size: var(--fs-s); color: var(--c-mute); white-space: nowrap; }
.plan-inline { margin-top: 12px; border: 1px solid var(--c-line); border-radius: 14px; padding: 0 14px; background: #fbfaf6; }
.plan-inline summary { cursor: pointer; min-height: 48px; padding: 12px 0; font-weight: 700; }
.plan-inline .tl { padding-top: 4px; }
.banner { background: #fff0cf; color: var(--c-warn); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; font-size: var(--fs-s); }
.banner .actions { margin: 8px 0 0; }
.verify { background: var(--c-accent-soft); border-color: transparent; }
.verify-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.code-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important; font-size: 1.5rem !important; letter-spacing: .4em; text-align: center; max-width: 16rem; }
.send-wrap { margin-top: 8px; }
.missing { background: #fff0cf; color: var(--c-warn); border-radius: 10px; padding: 10px 12px; margin: 10px 0 0; font-weight: 600; font-size: var(--fs-s); }
.sumbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--c-card); border-top: 1px solid var(--c-line); box-shadow: 0 -6px 20px rgba(20,30,25,.1); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
.sb-in { max-width: 728px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sb-lab { display: block; font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mute); font-weight: 700; }
.sb-val { display: block; font-weight: 800; font-size: var(--fs-l); line-height: 1.25; }
.sheet { position: fixed; left: 0; right: 0; bottom: var(--bar-h); z-index: 39; max-height: 68vh; overflow: auto; background: var(--c-card); border-radius: 20px 20px 0 0; box-shadow: 0 -10px 30px rgba(20,30,25,.18); padding: 16px 16px 20px; animation: slide .22s ease both; }
.sheet-in { max-width: 720px; margin: 0 auto; }
@keyframes slide { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sum-table { width: 100%; border-collapse: collapse; margin: 8px 0 12px; }
.sum-table td { padding: 8px 0; border-bottom: 1px dashed var(--c-line); vertical-align: top; }
.sum-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 12px; }
.sum-table tr.total td { border-bottom: 0; border-top: 2px solid var(--c-ink); font-weight: 800; font-size: var(--fs-l); }
.sum-list { list-style: none; padding: 0; margin: 8px 0 12px; }
.sum-list li { padding: 6px 0; border-bottom: 1px dashed var(--c-line); }

/* The receipt */
.receipt { background: var(--c-card); border: 1px solid var(--c-line); border-top: 6px solid var(--c-accent); border-radius: 16px; padding: 20px 16px; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto; }
.rc-letter { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--c-line); margin-bottom: 16px; }
.rc-letter img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; }
.rc-letter strong { display: block; font-family: var(--f-head); font-size: 1.25rem; line-height: 1.2; }
.rc-letter span { color: var(--c-mute); font-size: var(--fs-s); }
.rc-title { display: flex; align-items: center; gap: 10px; }
.rc-title .i { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--c-ok); color: #fff; stroke-width: 3; }
.rc-title h1 { font-size: 1.75rem; margin: 0; }
.ref-block { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 14px 0; padding: 14px 16px; background: var(--c-accent-soft); border: 2px dashed var(--c-accent); border-radius: 14px; }
.ref-label { display: block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mute); font-weight: 700; }
.ref-code { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.625rem; font-weight: 800; letter-spacing: .1em; word-break: break-all; user-select: all; }
.rcp-table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.rcp-table th, .rcp-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.rcp-table th { width: 38%; color: var(--c-mute); font-weight: 600; font-size: var(--fs-s); padding-right: 10px; }
.rcp-table td { font-weight: 600; }
.rcp-table tr.total td, .rcp-table tr.total th { border-top: 2px solid var(--c-ink); font-weight: 800; color: var(--c-ink); font-size: var(--fs-b); }
.rcp-table td.amt { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.next { background: #fbfaf6; border: 1px solid var(--c-line); border-radius: 14px; padding: 14px 16px; margin: 16px 0; }
.next h2 { font-size: 1.25rem; }
.next p:last-child { margin-bottom: 0; }

@media (min-width: 480px) {
  .choices { grid-template-columns: 1fr 1fr; }
  .pair { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 640px) {
  .opts.two { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .receipt { padding: 28px; }
}
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.125rem; }
  .hero h1 { font-size: 3.5rem; }
  .hero-in { min-height: 540px; padding-bottom: 104px; }
  .hero-route .hero-in { min-height: 340px; }
  .sec { padding-top: 56px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cols { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
  .glance { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .ticket { grid-template-columns: 88px 1fr auto; padding: 18px 20px; }
  .tk-act { grid-column: auto; flex-direction: column; align-items: stretch; margin: 0; padding: 0 0 0 20px; border-top: 0; border-left: 2px dashed var(--c-line); justify-content: center; min-width: 200px; }
  .tk-act .btn { flex: none; }
  .tk-act .textlink { justify-content: center; }
  .foot-in { grid-template-columns: 1fr 1.6fr; align-items: start; }
  .foot-note { grid-column: 1 / -1; }
  .bar { left: auto; right: 16px; bottom: 16px; padding: 8px; border: 1px solid var(--c-line); border-radius: 18px; box-shadow: var(--shadow); }
  .bar-btn { flex: none; }
  .bar-plan ~ .bar-btn { flex: 0 0 48px; }
  .bk { padding-bottom: 140px; }
  .opts.three { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav-inline { display: flex; }
  .menu { display: none; }
  body.overlay .nav-inline a { color: #fff; }
  body.overlay .nav-inline a:hover { background: rgba(255,255,255,.18); }
  .nav-inline a:hover { background: var(--c-accent-soft); }
}
@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .opts.three { grid-template-columns: repeat(3, 1fr); }
  .choices { max-width: 860px; }
}
@media print {
  .top, .foot, .bar, .sumbar, .sheet, .no-print, .hero { display: none !important; }
  body { background: #fff; padding: 0 !important; }
  .bk { padding: 0; }
  .receipt { box-shadow: none; border: 1px solid #999; border-top: 6px solid #333; max-width: none; margin: 0; }
  .ref-block, .next { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
