/* Kyrgyz Driver — variant D: full-bleed photo hero, light page, blue accent, ochre highlights. */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/bricolage-latin.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: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/bricolage-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.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: "Instrument Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #F7F8F6;
  --ink: #14202A;
  --ink-hover: #24384A;
  --muted: #5E6A70;
  --line: #DCE1E2;
  --card: #FFFFFF;
  --blue: #1D5D86;
  --blue-deep: #164A6B;
  --blue-soft: #E6EEF3;
  --ochre: #C9932E;
  --ochre-soft: #F4EAD6;
  --ochre-ink: #7A5713;
  --disp: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; }

/* ── Top bar ─────────────────────────────── */
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.topbar-overlay { position: absolute; z-index: 5; inset: 0 0 auto 0; color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 650 19px/1 var(--disp); letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; }
.topbar-overlay .brand img { background: #fff; border-radius: 50%; padding: 2px; }
.topnav { display: flex; align-items: center; gap: 18px; }
.topnav-link { color: var(--muted); text-decoration: none; font: 500 15px/1 var(--body); }
.topnav-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.topbar-overlay .topnav-link { color: rgba(255,255,255,.88); }
.topbar-overlay .topnav-link:hover { color: #fff; }
.topnav-wide { display: none; }
@media (min-width: 700px) { .topnav-wide { display: inline; } }
@media (max-width: 380px) { .topnav { gap: 12px; } .wa-mini { padding: 8px 12px; } .brand { font-size: 17px; gap: 8px; } }
.wa-mini { color: var(--ink); background: #fff; text-decoration: none; font: 600 14px/1 var(--body); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; }
.topbar-overlay .wa-mini { color: #fff; background: transparent; border: 1.5px solid rgba(255,255,255,.7); }
.wa-mini:hover { border-color: currentColor; }

/* ── Home hero: full-bleed photo with copy ── */
.hero { position: relative; display: grid; align-items: end; min-height: max(74svh, 540px); overflow: hidden; color: #fff; background: #2B3135; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 35%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,16,20,.55) 0%, rgba(10,16,20,.15) 24%, rgba(10,16,20,.38) 50%, rgba(10,16,20,.88) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-block: 112px 32px; }
.hero-copy { max-width: 560px; }
.kicker { margin: 0; font: 600 13px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; color: #E8D3A6; }
.hero h1 { margin-top: 10px; max-width: 13ch; font: 650 clamp(40px, 5.4vw, 70px)/1.02 var(--disp); letter-spacing: -.025em; text-wrap: balance; }
.hero-lede { margin: 14px 0 0; max-width: 34rem; font-size: 18px; color: #E7ECEE; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); text-decoration: none; border-radius: 12px; padding: 15px 20px; font: 600 16px/1 var(--body); }
.hero-cta .icon { color: var(--blue); }
.hero-cta:hover { background: #EAF1F5; }
.hero-link { color: #fff; font: 600 15px/1 var(--body); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 960px) {
  .hero { min-height: min(94svh, 900px); align-items: center; }
  .hero::after { background: linear-gradient(90deg, rgba(10,16,20,.8) 0%, rgba(10,16,20,.45) 40%, rgba(10,16,20,.05) 62%, rgba(10,16,20,.35) 100%), linear-gradient(180deg, rgba(10,16,20,.5) 0%, rgba(10,16,20,0) 20%); }
  .hero-media img { object-position: 46% 40%; }
  .hero-inner { padding-block: 112px 56px; }
}

/* ── Sections ───────────────────────────── */
.section { padding-block: 56px; border-top: 1px solid var(--line); }
.hero + .section, .tour-hero + .section { border-top: 0; }
.tour-hero + .section { padding-top: 8px; }
.section h2 { margin-bottom: 8px; font: 650 clamp(30px, 3.8vw, 46px)/1.05 var(--disp); letter-spacing: -.02em; }
.lead { margin: 0 0 28px; max-width: 38rem; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px; font: 500 15px/1.2 var(--body); white-space: nowrap; text-decoration: none; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.send { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 12px; padding: 16px 20px; font: 600 16px/1 var(--body); }
.send:hover { background: var(--ink-hover); }
.text-link { color: var(--ink); font: 600 15px/1 var(--body); text-decoration: underline; text-underline-offset: 4px; }

/* ── Trips ──────────────────────────────── */
.trip { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.trip:first-child { border-top: 1px solid var(--line); }
.trip-thumb img { width: 96px; height: 120px; object-fit: cover; border-radius: 12px; }
.trip h3 { margin-bottom: 4px; font: 650 24px/1.1 var(--disp); letter-spacing: -.01em; }
.trip h3 a { text-decoration: none; }
.trip h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.days { display: inline-block; margin-bottom: 8px; background: var(--ochre-soft); color: var(--ochre-ink); font-size: 13px; font-weight: 600; border-radius: 999px; padding: 3px 10px; }
.trip p { margin: 0; color: var(--muted); font-size: 15px; }
.trip-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.daylist { grid-column: 1 / -1; display: grid; gap: 2px; margin: 6px 0 0; padding: 0; list-style: none; }
.daylist li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 15px; }
.daylist b { color: var(--blue); font-variant-numeric: tabular-nums; }
.daylist small { display: block; color: var(--muted); }
.daylist .daylist-more { display: block; padding-top: 12px; }
.daylist-more a { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
@media (min-width: 760px) {
  .trip { grid-template-columns: 160px minmax(0, 1fr) auto; gap: 24px; align-items: center; }
  .trip-thumb img { width: 160px; height: 120px; }
  .trip-actions { grid-column: auto; flex-direction: column; }
}

/* ── Planner ────────────────────────────── */
.plan-grid { display: grid; gap: 24px; }
.plan-intro img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; margin-top: 8px; }
@media (max-width: 899px) { .plan-intro picture { display: none; } }
@media (min-width: 900px) { .plan-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 56px; align-items: start; } }
.planner { display: grid; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: 0 1px 0 rgba(20,32,42,.04), 0 24px 50px -24px rgba(20,32,42,.4); scroll-margin-top: 24px; }
.q { margin: 0; padding: 0; border: 0; min-width: 0; }
.q legend { padding: 0; margin-bottom: 10px; font: 600 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 13px; font: 500 15px/1 var(--body); }
.chip small { margin-left: 5px; font-size: 13px; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip[aria-pressed="true"] small { color: #CFE0EC; }
.stepper { display: inline-flex; align-items: center; width: max-content; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.stepper button { width: 44px; height: 40px; border: 0; background: #fff; font-size: 20px; }
.stepper button:hover { background: var(--blue-soft); }
.stepper output { min-width: 40px; text-align: center; font: 600 17px/1 var(--body); font-variant-numeric: tabular-nums; }
.preview { margin: 0; background: var(--blue-soft); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; line-height: 1.45; color: #23394A; }
.preview-label { display: block; margin-bottom: 6px; font: 600 11px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.preview-text { white-space: pre-wrap; }

/* ── Drivers ────────────────────────────── */
.duo { display: grid; gap: 28px; margin-top: 24px; }
.duo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 18px; }
.duo h3 { margin: 14px 0 6px; font: 650 26px/1 var(--disp); letter-spacing: -.01em; }
.duo p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; gap: 22px; } }

/* ── Good to know ───────────────────────── */
.qa { display: grid; margin-top: 20px; }
.qa div { padding: 18px 0; border-top: 1px solid var(--line); }
.qa h3 { margin-bottom: 4px; font: 600 18px/1.3 var(--disp); }
.qa p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 760px) { .qa { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* ── Tour page ──────────────────────────── */
.tour-hero-grid { display: grid; gap: 28px; padding-block: 8px 48px; }
.tour-hero-media img { width: 100%; aspect-ratio: 4 / 5; max-height: 78svh; object-fit: cover; border-radius: 22px; }
.tour-hero-media.is-wide img { aspect-ratio: 4 / 3; }
.back-link { display: inline-block; margin-bottom: 18px; color: var(--muted); font-size: 15px; text-decoration: none; }
.back-link:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.eyebrow { margin: 0 0 14px; font: 600 15px/1.3 var(--body); color: var(--blue); }
.tour-hero h1 { margin-bottom: 14px; font: 650 clamp(36px, 4.6vw, 58px)/1.04 var(--disp); letter-spacing: -.02em; text-wrap: balance; }
.tour-hero .sub { margin: 0 0 14px; max-width: 34rem; color: var(--muted); }
.route-line { margin: 0 0 24px; max-width: 34rem; color: var(--blue); font: 500 16px/1.45 var(--body); }
.tour-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.tour-actions .send { display: inline-flex; }
@media (min-width: 940px) {
  .tour-hero-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; padding-block: 16px 48px; }
  .tour-hero-media.is-wide img { aspect-ratio: 1 / 1; }
}

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 40px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts div { background: #fff; padding: 12px 14px; }
.facts dt { margin-bottom: 6px; font: 600 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-size: 15px; line-height: 1.4; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.road { position: relative; margin: 0; padding: 0 0 0 64px; list-style: none; }
.road::before { content: ""; position: absolute; left: 18px; top: 6px; bottom: 6px; width: 18px; border-radius: 6px; background: var(--ink); }
.road::after { content: ""; position: absolute; left: 26px; top: 14px; bottom: 14px; width: 2px; background: repeating-linear-gradient(#fff 0 14px, transparent 14px 26px); }
.stop { position: relative; padding: 0 0 30px; }
.post { position: absolute; z-index: 2; left: -60px; top: 0; display: grid; place-items: center; width: 44px; height: 36px; background: #fff; border: 2px solid var(--ink); border-radius: 4px 4px 2px 2px; font: 650 18px/1 var(--disp); font-variant-numeric: tabular-nums; }
.post::before { content: attr(data-label); position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 0 3px; background: var(--bg); font: 600 8.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stop h3 { margin: 4px 0 6px; font: 600 20px/1.25 var(--disp); letter-spacing: -.005em; }
.stop p { margin: 0 0 6px; max-width: 40rem; }
.stop .meta { color: var(--muted); font-size: 15px; }
.kmbar { display: flex; align-items: center; gap: 8px; height: 22px; margin-top: 6px; }
.kmbar span { display: block; height: 8px; background: var(--ochre); border-radius: 1px; }
.kmbar em { font: 600 14px/1 var(--body); font-style: normal; color: #8A6420; font-variant-numeric: tabular-nums; }
.side { display: grid; gap: 12px; margin-top: 8px; }
.total { background: var(--ochre-soft); color: var(--ink); border-radius: 14px; padding: 18px 20px; }
.total small { display: block; color: var(--ochre-ink); font-size: 14px; font-weight: 500; }
.total small:first-child { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.total b { display: block; margin: 6px 0; font: 650 46px/1 var(--disp); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.side .btn { padding-block: 14px; }
@media (min-width: 900px) {
  .route-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
  .side { position: sticky; top: 24px; margin-top: 0; }
}

.photo-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.photo-strip picture { scroll-snap-align: start; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
@media (min-width: 760px) { .photo-strip { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } }

.incl { display: grid; gap: 16px; }
.incl-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.incl-card h3 { margin-bottom: 8px; font: 650 20px/1.2 var(--disp); }
.incl-card ul { margin: 0; padding-left: 20px; }
.incl-card li { margin: 6px 0; }
.incl-card li::marker { color: var(--blue); }
@media (min-width: 760px) { .incl { grid-template-columns: 1fr 1fr; } }

.price-card { display: grid; gap: 20px; background: var(--ochre-soft); border-radius: 18px; padding: 28px 24px; }
.price-card .label { margin: 0 0 8px; font: 600 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-ink); }
.price-card h2 { margin-bottom: 8px; }
.price-card p { margin: 0; max-width: 36rem; }
@media (min-width: 760px) { .price-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 36px 40px; } }

.not-found { padding-block: 48px 96px; }
.not-found h1 { margin-bottom: 14px; font: 650 clamp(36px, 4.6vw, 58px)/1.04 var(--disp); letter-spacing: -.02em; }
.not-found p { max-width: 34rem; color: var(--muted); margin: 0 0 24px; }

/* ── Place guides ───────────────────────── */
.tour-hero-grid.no-media { grid-template-columns: minmax(0, 760px); }
.prose h2 { margin: 36px 0 10px; font: 650 clamp(24px, 2.6vw, 30px)/1.15 var(--disp); letter-spacing: -.015em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; max-width: 42rem; }
.prose ul { margin: 0 0 14px; padding-left: 20px; max-width: 42rem; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--blue); }
.ours { background: var(--ochre-soft); border-radius: 14px; padding: 18px 20px; }
.ours .label { margin: 0 0 8px; font: 600 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-ink); }
.ours p { margin: 0 0 10px; font-size: 15px; }
.ours p:last-child { margin-bottom: 0; }
.place-links { display: grid; gap: 12px; }
.place-link { display: grid; gap: 4px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.place-link:hover { border-color: var(--blue); }
.place-link h3 { font: 650 20px/1.2 var(--disp); letter-spacing: -.01em; }
.place-link h3::after { content: " →"; color: var(--blue); }
.place-link p { margin: 0; color: var(--muted); font-size: 15px; }
@media (min-width: 760px) { .place-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.checked { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.footer-guides { line-height: 1.8; }
.footer-guides span { color: var(--muted); }

/* ── Footer and floating WhatsApp ───────── */
.footer { padding-block: 36px 72px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer-inner { display: grid; gap: 10px; }
.footer .brand { color: var(--ink); margin-bottom: 4px; }
.footer p { margin: 0; }
.footer a { color: var(--ink); text-underline-offset: 3px; }
.floating-whatsapp { position: fixed; z-index: 20; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: 0 10px 28px -8px rgba(20,32,42,.55); }
.floating-whatsapp .icon { width: 26px; height: 26px; }
.floating-whatsapp:hover { background: var(--ink-hover); }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
