/* Vazirmatn (OFL) bundled locally so the site does not depend on Google Fonts. */
@font-face { font-family: 'Vazirmatn'; src: url('../fonts/Vazirmatn-Variable.woff2') format('woff2-variations'), url('../fonts/Vazirmatn-Variable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Palette: accent pink taken from the Manooja logo (#F0628C), green actions and cream ground from the reference mockup.
   Layout: phone app screens (reference mockup) on mobile; the same cream/pink/green system widened into a 1200px site on desktop. */
:root {
  --bg: #F4EFEB;
  --surface: #FFFFFF;
  --sheet: #F7F3F0;
  --ink: #3B2A2A;
  --ink-2: #5E4D4B;
  --muted: #8E807C;
  --line: #EAE1DA;
  --accent: #F0628C;
  --accent-soft: #FDE2EA;
  --medium-soft: #FDE8D3;
  --green: #5DAE6B;
  --green-deep: #4A9A58;
  --green-soft: #DDF0DF;
  --teal: #0E3B4A;
  --brand-dark: #1F3A2D;
  --brand-pink: #F0628C;
  --easy: #2E8B4E;
  --medium: #F08A24;
  --hard: #E0453A;
  --bar-off: #DAD4D0;
  --font: 'Vazirmatn', 'Vazirmatn Local', 'Tahoma', 'Segoe UI', sans-serif;
  --r-xl: 34px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(92, 52, 36, .35);
  --shadow-soft: 0 8px 24px -14px rgba(92, 52, 36, .28);
  --on-color: #FFFFFF;
  --glass: rgba(255, 255, 255, .92);
  --pill: #FFFFFF;
  --dash: #C9C2BD;
  --faint: #B5ABA6;
  --nav-icon: #9A8E8A;
  --grab: #CFC6C0;
  --lvl2-fg: #D9681C;
  --lvl3-bg: #FBDAD6;
  --more-bg: #4A2530;
  --ev-mix: 100%;
  --art-filter: none;
  --topbar-bg: rgba(244, 239, 235, .88);
  color-scheme: light;
}

/* Dark theme: Chrome-style greys (#202124 family) with the logo pink and trail green kept as accents. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #202124; --surface: #2B2C30; --sheet: #242528; --ink: #E8EAED; --ink-2: #BDC1C6; --muted: #9AA0A6; --line: #3C4043;
    --accent: #F47A9F; --accent-soft: #4A2533; --medium-soft: #4A3322; --green: #57AD66; --green-deep: #4C9D5A; --green-soft: #1F3A27;
    --teal: #10333F; --brand-dark: #17291F; --brand-pink: #F0628C; --easy: #7BD08F; --medium: #F5A15A; --hard: #F07167; --bar-off: #4A4C50;
    --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); --shadow-soft: 0 8px 24px -14px rgba(0, 0, 0, .6);
    --glass: rgba(43, 44, 48, .9); --pill: #35363A; --dash: #4A4C50; --faint: #6B6F75; --nav-icon: #9AA0A6; --grab: #5F6368;
    --lvl2-fg: #F5A15A; --lvl3-bg: #4A2323; --more-bg: #5F2B3C; --ev-mix: 22%; --art-filter: brightness(.88) saturate(.95);
    --topbar-bg: rgba(32, 33, 36, .88);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #202124; --surface: #2B2C30; --sheet: #242528; --ink: #E8EAED; --ink-2: #BDC1C6; --muted: #9AA0A6; --line: #3C4043;
  --accent: #F47A9F; --accent-soft: #4A2533; --medium-soft: #4A3322; --green: #57AD66; --green-deep: #4C9D5A; --green-soft: #1F3A27;
  --teal: #10333F; --brand-dark: #17291F; --brand-pink: #F0628C; --easy: #7BD08F; --medium: #F5A15A; --hard: #F07167; --bar-off: #4A4C50;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .7); --shadow-soft: 0 8px 24px -14px rgba(0, 0, 0, .6);
  --glass: rgba(43, 44, 48, .9); --pill: #35363A; --dash: #4A4C50; --faint: #6B6F75; --nav-icon: #9AA0A6; --grab: #5F6368;
  --lvl2-fg: #F5A15A; --lvl3-bg: #4A2323; --more-bg: #5F2B3C; --ev-mix: 22%; --art-filter: brightness(.88) saturate(.95);
  --topbar-bg: rgba(32, 33, 36, .88);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { background: var(--bg); color: var(--ink); }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 10px; }
svg.art { width: 100%; height: 100%; display: block; filter: var(--art-filter); }
.ic { width: 22px; height: 22px; flex: none; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 20px; }
main { padding-bottom: 120px; min-height: 70vh; }

/* ---------- Header ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--topbar-bg); backdrop-filter: blur(12px); }
.topbar .wrap { display: flex; align-items: center; gap: 14px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; }
.logo-badge { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-soft); overflow: hidden; }
.logo-badge img { width: 40px; height: auto; }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); margin-top: -4px; }
.nav { display: none; gap: 4px; margin-inline-start: 24px; }
.nav a { padding: 8px 16px; border-radius: 999px; font-weight: 600; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--surface); }
.nav a.on { background: var(--surface); color: var(--green-deep); box-shadow: var(--shadow-soft); }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow-soft); color: var(--ink); position: relative; }
.icon-btn .dot { position: absolute; top: 10px; inset-inline-end: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface); }
.avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--accent-soft); flex: none; }

/* ---------- Buttons & chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding-inline: 26px; border-radius: 16px; font-weight: 600; font-size: 15px; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 12px 24px -12px rgba(74, 154, 88, .8); }
.btn-green:hover { background: var(--green-deep); }
.btn-orange { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -12px rgba(240, 98, 140, .9); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-soft); }
.btn-sm { height: 42px; padding-inline: 20px; border-radius: 14px; font-size: 14px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding-inline: 14px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.lvl-1 { background: var(--green-soft); color: var(--easy); }
.lvl-2 { background: var(--medium-soft); color: var(--lvl2-fg); }
.lvl-3 { background: var(--lvl3-bg); color: var(--hard); }
.bars { display: inline-flex; gap: 3px; direction: ltr; }
.bars i { width: 7px; height: 16px; border-radius: 2px; background: var(--bar-off); }
.bars.b1 i:nth-child(1) { background: var(--easy); }
.bars.b2 i:nth-child(-n+2) { background: var(--medium); }
.bars.b3 i { background: var(--hard); }
.diff-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--pill); border-radius: 999px; height: 40px; padding-inline: 16px; font-weight: 700; font-size: 14px; }

/* ---------- Home hero ---------- */
.hero { padding-top: 26px; display: grid; gap: 28px; }
.hero h1 { font-size: clamp(34px, 8.6vw, 64px); font-weight: 800; letter-spacing: -.5px; line-height: 1.25; }
.hero h1 > span:not(.w) { color: var(--accent); display: block; }
.hero-lead { color: var(--muted); font-size: 16px; max-width: 46ch; margin-top: 12px; }
.hero-art { display: none; }
.searchbar { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 20px; padding: 8px 8px 8px 8px; padding-inline-start: 18px; box-shadow: var(--shadow-soft); margin-top: 22px; max-width: 560px; }
.searchbar input { flex: 1; border: 0; outline: 0; background: transparent; height: 44px; min-width: 0; font-size: 15px; }
.searchbar .btn { height: 44px; border-radius: 14px; padding-inline: 18px; }
.stats { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.stats b { display: block; font-size: 22px; font-weight: 800; }
.stats span { color: var(--muted); font-size: 13px; }

.row-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; margin-bottom: 18px; }
.row-head h2 { font-size: 22px; font-weight: 800; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 17px; color: var(--ink); height: 44px; }
.dd-btn .ic { width: 18px; height: 18px; color: var(--accent); transition: transform .2s; }
.dd.open .dd-btn .ic { transform: rotate(180deg); }
.dd-menu { position: absolute; top: 48px; inset-inline-start: 0; z-index: 20; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 8px; min-width: 220px; display: none; }
.dd.open .dd-menu { display: block; animation: pop .18s ease-out; }
.dd-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 12px; border-radius: 12px; font-weight: 600; }
.dd-menu button:hover, .dd-menu button.on { background: var(--sheet); }
.dd-menu button small { color: var(--muted); font-weight: 500; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Place card (reference: center screen) ---------- */
.cards { display: grid; gap: 22px; }
.place { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; box-shadow: var(--shadow); isolation: isolate; transition: transform .25s ease; }
.place:hover { transform: translateY(-4px); }
.place .art-wrap { position: absolute; inset: 0; z-index: -1; transition: transform .6s ease; }
.place:hover .art-wrap { transform: scale(1.04); }
.place .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 40px 22px 18px; color: #fff; background: linear-gradient(to top, rgba(30,16,14,.55), rgba(30,16,14,.25) 60%, transparent); }
.place h3, .place .loc { text-shadow: 0 1px 6px rgba(0,0,0,.25); }
.place h3 { font-size: 22px; font-weight: 700; }
.place .loc { display: flex; align-items: center; gap: 6px; font-size: 14px; opacity: .92; }
.place .loc .ic { width: 16px; height: 16px; }
.place .tl { position: absolute; top: 14px; inset-inline: 14px; display: flex; justify-content: space-between; align-items: center; }
.place .tag { background: var(--glass); color: var(--ink); }
.fav { width: 40px; height: 40px; border-radius: 50%; background: var(--glass); display: grid; place-items: center; color: var(--ink); transition: transform .2s; }
.fav .ic { width: 20px; height: 20px; }
.fav.on { color: var(--hard); }
.fav.on .ic path { fill: currentColor; }
.fav:active { transform: scale(.85); }
.place .price-tag { position: absolute; bottom: 20px; inset-inline-end: 20px; background: var(--glass); color: var(--ink); border-radius: 12px; padding: 4px 10px; font-size: 12px; font-weight: 700; }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cat { background: var(--surface); border-radius: var(--r-md); padding: 16px 12px; display: grid; justify-items: center; gap: 8px; text-align: center; box-shadow: var(--shadow-soft); transition: transform .2s; }
.cat:hover { transform: translateY(-3px); }
.cat .cico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; }
.cat .cico .ic { width: 28px; height: 28px; }
.cat b { font-size: 15px; }
.cat small { color: var(--muted); font-size: 12px; margin-top: -8px; }

/* ---------- Tour list item (reference: right screen) ---------- */
.tl-list { display: grid; gap: 14px; }
.tl-item { display: flex; gap: 16px; align-items: center; background: var(--surface); border-radius: 22px; padding: 12px; padding-inline-end: 16px; box-shadow: var(--shadow-soft); position: relative; transition: transform .2s; cursor: pointer; text-align: start; width: 100%; }
.tl-item:hover { transform: translateY(-2px); }
.tl-item.active { outline: 2px solid var(--green); }
.tl-thumb { width: 96px; height: 110px; border-radius: 16px; overflow: hidden; flex: none; }
.tl-body { min-width: 0; flex: 1; display: grid; gap: 4px; }
.tl-meta { color: var(--muted); font-size: 13px; display: flex; gap: 8px; align-items: center; }
.tl-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); display: inline-block; }
.tl-body h4 { font-size: 17px; font-weight: 700; }
.tl-body .chip { justify-self: start; }
.tl-more { position: absolute; top: 12px; inset-inline-end: 14px; color: var(--muted); }

/* ---------- Week schedule (Manooja) ---------- */
.week { background: var(--surface); border-radius: var(--r-xl); padding: 16px; display: grid; gap: 12px; box-shadow: var(--shadow-soft); }
.sched { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: stretch; }
.dbox { border: 2px dashed var(--dash); border-radius: 16px; display: grid; place-items: center; text-align: center; padding: 8px 4px; line-height: 1.3; background: var(--surface); }
.dbox small { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.dbox b { font-size: 22px; font-weight: 800; }
.dbox.empty { border-color: var(--line); color: var(--muted); }
.dbox.empty b, .dbox.empty small { color: var(--faint); }
.dbox.today { border-color: var(--brand-pink); border-style: solid; }
.ev { background: color-mix(in srgb, var(--cbg) var(--ev-mix), var(--surface)); border-radius: 18px; padding: 12px 14px; display: flex; align-items: center; gap: 12px; min-width: 0; transition: transform .2s; text-align: start; width: 100%; }
.ev:hover { transform: translateX(-3px); }
.ev .eico { width: 54px; height: 54px; border-radius: 50%; background: var(--pill); display: grid; place-items: center; flex: none; }
.ev .eico .ic { width: 30px; height: 30px; }
.ev .ebody { flex: 1; min-width: 0; }
.ev h4 { font-size: 18px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev .emeta { display: flex; gap: 12px; font-size: 13px; font-weight: 600; flex-wrap: wrap; }
.ev .emeta span { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); }
.ev .emeta .ic { width: 15px; height: 15px; }
.ev .diff-pill { height: 34px; padding-inline: 12px; font-size: 13px; gap: 8px; flex: none; }
.ev .diff-pill .bars i { width: 6px; height: 14px; }
.ev-empty { border-radius: 18px; border: 2px dashed var(--line); display: flex; align-items: center; padding-inline: 16px; color: var(--faint); font-size: 13px; }

.cal-head { background: var(--brand-dark); color: #fff; border-radius: 28px; padding: 22px; display: flex; align-items: center; gap: 16px; position: relative; overflow: hidden; }
.cal-head .kicker { color: #9BD7A8; font-weight: 700; font-size: 14px; }
.cal-head h1 { font-size: clamp(34px, 9vw, 58px); font-weight: 900; line-height: 1.15; }
.cal-head .range { display: inline-block; background: var(--brand-pink); border-radius: 999px; padding: 4px 16px; font-weight: 800; font-size: 15px; margin-top: 8px; }
.cal-head .lg { position: absolute; top: 18px; left: 18px; width: 76px; height: 76px; border-radius: 50%; background: var(--brand-pink); border: 4px solid #fff; display: grid; place-items: center; overflow: hidden; }
.cal-head .lg img { width: 64px; filter: brightness(0) invert(1); }
.cal-nav { display: flex; gap: 8px; margin-top: 12px; align-items: center; }
.cal-nav button { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.cal-nav .dots { display: flex; gap: 6px; margin-inline: 6px; }
.cal-nav .dots i { width: 24px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.28); }
.cal-nav .dots i.on { background: var(--brand-pink); }
.legend { border: 2px dashed var(--dash); border-radius: 22px; padding: 14px 18px; display: grid; gap: 10px; background: var(--surface); }
.legend .lrow { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14px; font-weight: 600; }
.legend .lrow > b { min-width: 92px; }
.legend .sw { width: 20px; height: 20px; border-radius: 6px; display: inline-block; vertical-align: middle; margin-inline-end: 6px; }
.brand-bar { background: var(--brand-dark); color: #fff; border-radius: 26px; padding: 16px 22px; display: flex; flex-wrap: wrap; justify-content: space-around; gap: 12px 22px; font-weight: 700; font-size: 16px; direction: ltr; }
.brand-bar span { display: inline-flex; align-items: center; gap: 8px; }
.tagline { text-align: center; color: var(--ink-2); font-weight: 700; margin-top: 10px; }

/* ---------- Detail (reference: left screen) ---------- */
.detail { display: block; }
.d-hero { position: relative; height: 360px; overflow: hidden; margin-inline: -20px; }
.d-hero .art-wrap { position: absolute; inset: 0; }
.d-hero .hbar { position: absolute; top: 18px; inset-inline: 20px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.d-hero .hbar .icon-btn { background: transparent; box-shadow: none; color: #fff; }
.d-hero .hbar .icon-btn .ic { width: 28px; height: 28px; filter: drop-shadow(0 1px 3px rgba(0,0,0,.3)); }
.d-hero .hbar .right { display: flex; gap: 6px; }
.dmenu { position: absolute; top: 64px; inset-inline-end: 20px; z-index: 5; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow); padding: 6px; min-width: 190px; }
.dmenu button { display: flex; gap: 10px; align-items: center; width: 100%; padding: 10px 12px; border-radius: 10px; font-weight: 600; }
.dmenu button:hover { background: var(--sheet); }
.d-band { background: var(--green); color: #fff; margin-inline: -20px; margin-top: -40px; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 22px 30px 64px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.d-band .day { font-size: 21px; font-weight: 600; }
.d-band .date { font-size: 14px; opacity: .92; }
.d-band .wx { display: flex; align-items: center; gap: 14px; }
.d-band .wx .sunb { width: 60px; height: 60px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.d-band .wx b { font-size: 42px; font-weight: 500; line-height: 1; direction: ltr; }
.d-sheet { background: var(--sheet); margin-inline: -20px; margin-top: -40px; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 14px 30px 30px; position: relative; z-index: 2; display: grid; gap: 22px; }
.grab { width: 38px; height: 4px; border-radius: 3px; background: var(--grab); margin: 0 auto; }
.d-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.d-title h1 { font-size: 26px; font-weight: 700; }
.d-title .sub { color: var(--muted); font-size: 14px; }
.overall { background: var(--accent); color: #fff; border-radius: 16px; padding: 8px 16px; text-align: center; line-height: 1.4; flex: none; }
.overall small { display: block; font-size: 13px; opacity: .92; }
.overall b { display: inline-flex; gap: 4px; align-items: center; font-size: 16px; }
.overall .ic { width: 16px; height: 16px; }
.dist { background: var(--surface); border-radius: 22px; padding: 18px 22px; display: flex; align-items: center; gap: 18px; box-shadow: var(--shadow-soft); }
.dist .th { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex: none; }
.dist b { font-size: 24px; font-weight: 600; display: block; line-height: 1.3; }
.dist span { color: var(--muted); font-size: 14px; }
.dist .go { margin-inline-start: auto; color: var(--green); width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; transition: background .2s; }
.dist .go:hover { background: var(--green-soft); }
.dist .go .ic { width: 30px; height: 30px; transform: scaleX(-1); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { background: var(--surface); border-radius: 18px; padding: 12px 16px; display: grid; gap: 2px; min-width: 0; }
.fact small { color: var(--muted); font-size: 12px; font-weight: 600; }
.fact b { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.people { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.people b { font-size: 22px; font-weight: 600; display: block; line-height: 1.3; }
.people span { color: var(--muted); font-size: 15px; }
.avs { display: flex; direction: ltr; }
.avs > * { width: 50px; height: 50px; border-radius: 50%; border: 3px solid var(--sheet); margin-left: -12px; overflow: hidden; display: grid; place-items: center; }
.avs .more { background: var(--more-bg); color: #fff; font-size: 14px; font-weight: 600; }
.d-desc { color: var(--ink-2); font-size: 15px; }
.d-sec-title { display: flex; justify-content: space-between; align-items: center; }
.d-sec-title h3 { font-size: 20px; font-weight: 600; }
.d-sec-title a { color: var(--green-deep); font-weight: 700; font-size: 14px; }
.incl { display: flex; flex-wrap: wrap; gap: 8px; }
.incl span { background: var(--surface); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.incl .ic { width: 16px; height: 16px; color: var(--green); }
.pay { position: sticky; bottom: 0; background: var(--surface); margin-inline: -20px; padding: 18px 30px calc(18px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; z-index: 5; border-radius: 26px 26px 0 0; box-shadow: 0 -10px 30px -20px rgba(92,52,36,.4); }
.pay small { color: var(--ink-2); font-size: 14px; display: block; }
.pay .amt { font-size: 24px; font-weight: 700; }
.pay .amt em { font-style: normal; color: var(--accent); font-size: 13px; font-weight: 600; margin-inline-start: 4px; }
.pay .btn { height: 56px; padding-inline: 28px; border-radius: 18px; font-size: 16px; }
.pay .btn .ic { width: 18px; height: 18px; }

/* ---------- Live view (reference: right screen) ---------- */
.live { position: relative; }
.live-art { position: relative; height: 470px; margin-inline: -20px; overflow: hidden; }
.live-art .art-wrap { position: absolute; inset: 0; }
.live-art h1 { position: absolute; top: 26px; inset-inline-start: 26px; color: #fff; font-size: 30px; font-weight: 600; z-index: 2; text-shadow: 0 1px 8px rgba(0,0,0,.2); }
.live-art .close { position: absolute; top: 26px; inset-inline-end: 22px; z-index: 2; color: #fff; }
.live-art .close .ic { width: 30px; height: 30px; }
.bubble { position: absolute; z-index: 3; background: var(--pill); border-radius: 18px; padding: 10px 18px; box-shadow: var(--shadow); transition: top .5s cubic-bezier(.3,1.3,.5,1), left .5s cubic-bezier(.3,1.3,.5,1); transform: translate(-50%, -100%); line-height: 1.5; }
.bubble::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 16px; height: 16px; background: var(--pill); border-radius: 3px; }
.bubble small { color: var(--muted); font-size: 13px; display: block; }
.bubble b { font-size: 15px; }
.pin-dot { position: absolute; z-index: 2; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--accent); transform: translate(-50%, -50%); }
.pin-dot.on { animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,98,140,.6); } 100% { box-shadow: 0 0 0 16px rgba(240,98,140,0); } }
.route-line { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.live-sheet { background: var(--sheet); margin-inline: -20px; margin-top: -40px; position: relative; z-index: 3; border-radius: var(--r-xl) var(--r-xl) 0 0; padding: 14px 24px 30px; display: grid; gap: 18px; }
.live-sheet h2 { font-size: 22px; font-weight: 600; }

/* ---------- Explore ---------- */
.page-title { font-size: 30px; font-weight: 800; margin-top: 22px; }
.page-title span { color: var(--accent); }
.filters { display: grid; gap: 14px; margin: 18px 0 22px; }
.filters > * { min-width: 0; }
.scroller { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: -20px; padding-inline: 20px; }
.scroller::-webkit-scrollbar { display: none; }
.fchip { height: 42px; padding-inline: 18px; border-radius: 14px; background: var(--surface); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; box-shadow: var(--shadow-soft); transition: background .2s, color .2s; }
.fchip .ic { width: 18px; height: 18px; }
.fchip.on { background: var(--ink); color: var(--bg); }
.frow { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.seg { display: inline-flex; background: var(--surface); border-radius: 14px; padding: 4px; box-shadow: var(--shadow-soft); }
.seg button { height: 36px; padding-inline: 14px; border-radius: 10px; font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.seg button.on { background: var(--green); color: #fff; }
.sel { height: 44px; border-radius: 14px; border: 0; background: var(--surface); padding-inline: 14px; font-weight: 600; box-shadow: var(--shadow-soft); }
.count { color: var(--muted); font-size: 14px; }
.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); display: grid; gap: 12px; justify-items: center; }

/* ---------- Sections ---------- */
.why { display: grid; gap: 14px; }
.why-card { background: var(--surface); border-radius: var(--r-lg); padding: 20px; display: flex; gap: 16px; align-items: flex-start; }
.why-card .wi { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; flex: none; }
.why-card h4 { font-size: 17px; font-weight: 700; }
.why-card p { color: var(--muted); font-size: 14px; }
.quote { background: var(--teal); color: #fff; border-radius: var(--r-xl); padding: 26px; display: grid; gap: 14px; position: relative; overflow: hidden; }
.quote p { font-size: 18px; font-weight: 500; line-height: 1.9; max-width: 52ch; }
.quote .who { display: flex; gap: 12px; align-items: center; }
.quote .who .avatar { width: 46px; height: 46px; }
.quote .who small { display: block; opacity: .75; font-size: 13px; }
.quote .stars { color: #F7B548; display: flex; gap: 2px; }
.quote .stars .ic { width: 18px; height: 18px; }
.quote .qart { position: absolute; inset: 0; opacity: .16; z-index: 0; }
.quote > *:not(.qart) { position: relative; z-index: 1; }
.cta-band { background: var(--accent); color: #fff; border-radius: var(--r-xl); padding: 26px; display: grid; gap: 14px; margin-top: 30px; }
.cta-band h3 { font-size: 24px; font-weight: 800; }
.cta-band p { opacity: .95; }
.cta-band .btn { background: var(--pill); color: var(--ink); justify-self: start; }

footer.site { margin-top: 40px; padding-block: 30px 120px; }
footer.site .fgrid { display: grid; gap: 24px; }
footer.site h5 { font-size: 15px; margin: 0 0 8px; }
footer.site a { display: block; color: var(--ink-2); padding: 3px 0; font-size: 14px; }
footer.site .copy { color: var(--muted); font-size: 13px; margin-top: 18px; }

/* ---------- Profile ---------- */
.prof { background: var(--surface); border-radius: var(--r-xl); padding: 22px; display: grid; gap: 18px; margin-top: 18px; box-shadow: var(--shadow-soft); }
.prof .me { display: flex; align-items: center; gap: 14px; }
.prof .me .avatar { width: 64px; height: 64px; }
.prof .me h2 { font-size: 20px; font-weight: 800; }
.prof .me small { color: var(--muted); }
.pstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pstats div { background: var(--sheet); border-radius: 16px; padding: 12px; text-align: center; }
.pstats b { display: block; font-size: 22px; font-weight: 800; }
.pstats small { color: var(--muted); font-size: 12px; }
.tabs { display: flex; gap: 8px; margin: 22px 0 16px; }
.settings { display: grid; gap: 2px; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; margin-top: 24px; }
.settings .srow { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--surface); }
.settings .srow + .srow { border-top: 1px solid var(--line); }
.settings .srow span { flex: 1; font-weight: 600; }
.settings .srow small { color: var(--muted); }
.toggle { width: 48px; height: 28px; border-radius: 999px; background: var(--bar-off); position: relative; transition: background .2s; flex: none; }
.toggle::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: inset-inline-start .2s; }
.toggle.on { background: var(--green); }
.toggle.on::after { inset-inline-start: 23px; }
.booking-code { font-family: ui-monospace, monospace; background: var(--sheet); border-radius: 8px; padding: 2px 8px; font-size: 13px; }

/* ---------- Bottom nav (reference: center screen) ---------- */
.bnav { position: fixed; bottom: 0; inset-inline: 0; z-index: 40; background: var(--surface); padding: 12px 22px calc(12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 6px; border-radius: 28px 28px 0 0; box-shadow: 0 -10px 30px -20px rgba(92,52,36,.35); }
.bnav a { width: 58px; height: 50px; display: grid; place-items: center; color: var(--nav-icon); position: relative; }
.bnav a .ic { width: 26px; height: 26px; }
.bnav a.on { color: var(--green); }
.bnav a.on::after { content: ''; position: absolute; bottom: -22px; width: 34px; height: 16px; border-radius: 16px 16px 0 0; background: var(--green); }
.bnav a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fab { margin-inline-start: auto; width: 68px; height: 68px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 26px -10px rgba(240,98,140,.9); transform: translateY(-26px); transition: transform .2s; }
.fab:hover { transform: translateY(-28px) rotate(-8deg); }
.fab .ic { width: 28px; height: 28px; }

/* ---------- Modal / sheet ---------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(43, 26, 22, .42); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; }
.mnj-modal { background: var(--sheet); width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; border-radius: 30px 30px 0 0; padding: 14px 22px calc(24px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 18px; animation: up .28s cubic-bezier(.2,.9,.3,1); }
.mnj-modal h3 { font-size: 21px; font-weight: 800; }
.mnj-modal .mhead { display: flex; align-items: center; justify-content: space-between; }
.mtour { display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: 18px; padding: 10px; }
.mtour .tl-thumb { width: 74px; height: 74px; border-radius: 14px; }
.mtour b { display: block; font-size: 16px; }
.mtour small { color: var(--muted); }
.field { display: grid; gap: 6px; }
.field label, .field .lbl { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field select, .field textarea { height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); padding-inline: 14px; outline: 0; transition: border-color .2s; width: 100%; }
.field textarea { height: 96px; padding-block: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.dates { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.dchip { flex: none; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; padding: 8px 14px; text-align: center; line-height: 1.4; }
.dchip small { display: block; color: var(--muted); font-size: 12px; }
.dchip b { font-size: 15px; }
.dchip.on { border-color: var(--green); background: var(--green-soft); }
.stepper { display: inline-flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 14px; padding: 5px; }
.stepper button { width: 40px; height: 40px; border-radius: 10px; background: var(--sheet); display: grid; place-items: center; }
.stepper b { min-width: 24px; text-align: center; font-size: 18px; }
.opt { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: 14px; padding: 12px 14px; cursor: pointer; }
.opt span { flex: 1; font-weight: 600; font-size: 14px; }
.opt small { color: var(--muted); }
.opt input { width: 20px; height: 20px; accent-color: var(--green); }
.sum { display: flex; justify-content: space-between; align-items: center; border-top: 1.5px dashed var(--line); padding-top: 14px; }
.sum b { font-size: 22px; }
.success { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 14px 0; }
.success .ok { width: 84px; height: 84px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; animation: pop .3s; }
.success .ok .ic { width: 42px; height: 42px; }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }

.toast { position: fixed; bottom: 110px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 12px 20px; border-radius: 14px; z-index: 80; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); animation: up .25s; max-width: calc(100% - 32px); }

.reveal { animation: rise .45s ease-out both; }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } }

/* ---------- Tablet & desktop: same theme, desktop scale ---------- */
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(6, 1fr); }
  .why { grid-template-columns: repeat(3, 1fr); }
  .why-card { flex-direction: column; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .mnj-modal { border-radius: 30px; margin-bottom: 5vh; }
  .overlay { align-items: center; }
  footer.site .fgrid { grid-template-columns: 2fr 1fr 1fr 1.4fr; }
}
@media (min-width: 1024px) {
  .wrap { padding-inline: 32px; }
  .nav { display: flex; }
  .bnav { display: none; }
  main { padding-bottom: 40px; }
  footer.site { padding-bottom: 40px; }
  .toast { bottom: 40px; }
  .topbar .wrap { height: 84px; }
  .hero { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; padding-top: 40px; }
  .hero-art { display: block; position: relative; height: 480px; }
  .hero-art .big { position: absolute; inset: 0 0 0 60px; border-radius: 40px; overflow: hidden; box-shadow: var(--shadow); }
  .hero-art .float { position: absolute; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: 14px 18px; display: flex; gap: 12px; align-items: center; }
  .hero-art .f1 { bottom: 40px; left: 0; }
  .hero-art .f2 { top: 36px; right: -14px; background: var(--green); color: #fff; }
  .hero-art .f3 { top: 160px; left: 110px; transform: translateY(0); }
  .row-head { margin-top: 56px; }
  .row-head h2 { font-size: 28px; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .cards.four { grid-template-columns: repeat(4, 1fr); }
  .cards.four .place h3 { font-size: 19px; }
  .split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }

  .detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; padding-top: 24px; align-items: start; }
  .d-left { position: sticky; top: 104px; }
  .d-hero { margin: 0; height: 520px; border-radius: 40px 40px 0 0; }
  .d-band { margin: -40px 0 0; border-radius: var(--r-xl); padding-bottom: 26px; }
  .d-sheet { margin: 0; border-radius: var(--r-xl); background: var(--sheet); padding: 26px 34px; }
  .d-sheet .grab { display: none; }
  .d-left .route-mini { margin-top: 18px; }
  .pay { margin: 0; border-radius: 26px; position: sticky; bottom: 20px; box-shadow: var(--shadow); }
  .d-title h1 { font-size: 32px; }

  .live { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; padding-top: 24px; align-items: start; }
  .live-art { margin: 0; height: 640px; border-radius: 40px; }
  .live-sheet { margin: 0; border-radius: var(--r-xl); padding: 26px; }
  .live-sheet .grab { display: none; }

  .page-title { font-size: 40px; margin-top: 30px; }
  .scroller { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; }
  .week-grid { display: grid; grid-template-columns: 380px 1fr; gap: 28px; align-items: start; }
  .week-grid .side { position: sticky; top: 104px; display: grid; gap: 16px; }
  .cal-head { padding: 30px; }
  .sched { grid-template-columns: 110px 1fr; }
  .profile-grid { display: grid; grid-template-columns: 360px 1fr; gap: 28px; align-items: start; }
  .quote { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Narrow-screen refinements ---------- */
.seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg button { white-space: nowrap; flex: none; }
.pay .amt { display: block; line-height: 1.3; }
.pay .amt em { display: block; margin: 0; }
@media (max-width: 699px) {
  .week { background: transparent; box-shadow: none; padding: 0; }
  .sched { grid-template-columns: 74px 1fr; gap: 10px; }
  .dbox b { font-size: 18px; }
  .dbox small { font-size: 12px; }
  .ev { padding: 12px; gap: 10px; }
  .ev .eico { width: 42px; height: 42px; }
  .ev .eico .ic { width: 24px; height: 24px; }
  .ev h4 { font-size: 16px; }
  .ev .diff-pill { height: 30px; padding-inline: 10px; font-size: 12px; gap: 6px; }
  .ev .diff-pill .bars i { width: 5px; height: 12px; }
  .cal-head { padding: 20px; }
  .cal-head .lg { position: absolute; top: 16px; left: 16px; width: 64px; height: 64px; border-width: 3px; }
  .cal-head .lg img { width: 54px; }
  .cal-nav .dots i { width: 8px !important; }
  .cal-nav .dots i.on { width: 18px !important; }
  .pay .amt { font-size: 21px; }
}
@media (max-width: 400px) {
  .ev .eico { display: none; }
}

/* ---------- Redesign pass: centered logo header, variable-weight type, dark mode details ---------- */
.ev .emeta .act { color: color-mix(in srgb, var(--cfg) var(--ev-mix), var(--cbg)); }
.hdr { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center; }
.h-start { display: flex; align-items: center; gap: 10px; justify-self: start; min-width: 0; }
.nav { margin-inline-start: 0; }
.top-actions { justify-self: end; margin-inline-start: 0; }
.logo-center { flex-direction: column; gap: 2px; text-align: center; line-height: 1.15; }
.logo-center .logo-badge { width: 36px; height: 36px; }
.logo-center .logo-badge img { width: 31px; }
.logo-center .wordmark { font-size: 15px; font-weight: 900; letter-spacing: -.2px; }
.logo-center .wordmark small { font-size: 10px; font-weight: 500; margin-top: 0; }
.topbar .wrap.hdr { height: 76px; }
.topbar { border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.icon-btn { background: var(--surface); color: var(--ink); }
.hero h1 { font-weight: 900; letter-spacing: -1px; }
.hero h1 > span:not(.w) { font-weight: 800; }
.row-head h2, .page-title { font-weight: 900; letter-spacing: -.3px; }
.place h3 { font-weight: 800; }
.d-title h1 { font-weight: 800; }
.stats b { font-weight: 900; }
.btn { font-weight: 700; }
body { font-variation-settings: normal; }
[data-act="theme"] .ic { transition: transform .4s ease; }
[data-act="theme"]:hover .ic { transform: rotate(-20deg); }
@media (min-width: 1024px) {
  .topbar .wrap.hdr { height: 92px; }
  .logo-center { flex-direction: row; gap: 12px; text-align: start; }
  .logo-center .logo-badge { width: 54px; height: 54px; }
  .logo-center .logo-badge img { width: 46px; }
  .logo-center .wordmark { font-size: 21px; }
  .logo-center .wordmark small { font-size: 11px; }
  .d-left, .week-grid .side { top: 112px; }
}

/* ---------- Logo: flat pink M only (no badge, no wordmark) ---------- */
.mark { display: block; color: var(--brand-pink); overflow: visible; }
.logo-center .mark { width: 64px; height: auto; }
.logo-foot .mark { width: 72px; height: auto; }
.cal-head .lg { background: none; border: 0; border-radius: 0; width: auto; height: auto; overflow: visible; }
.cal-head .lg .mark { width: 76px; height: auto; }
.logo-center:hover .mark { transform: translateY(-2px); }
.logo-center .mark { transition: transform .25s ease; }
@media (min-width: 1024px) {
  .logo-center .mark { width: 84px; }
  .cal-head .lg .mark { width: 92px; }
}

/* ---------- Motion (figma.com-style): word reveal, scroll reveal, rolling labels, live cursors ---------- */
.motion .reveal { animation: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .12em; margin-block: -.12em; }
.w > span { display: inline-block; transform: translateY(115%); transition: transform 1s cubic-bezier(.19, 1, .22, 1) var(--d, 0ms); }
.mv.in .w > span { transform: none; }
.mv:not(h1):not(h2):not(h3) { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .7s ease var(--stagger, 0ms), transform 1s cubic-bezier(.19, 1, .22, 1) var(--stagger, 0ms); }
.mv.in:not(h1):not(h2):not(h3) { opacity: 1; transform: none; }

.roll { display: inline-block; overflow: hidden; height: 1.6em; line-height: 1.6em; vertical-align: middle; }
.roll > span { display: block; transition: transform .5s cubic-bezier(.19, 1, .22, 1); }
.roll > span::after { content: attr(data-t); display: block; }
.btn:hover .roll > span, .nav a:hover .roll > span, .fchip:hover .roll > span { transform: translateY(-50%); }

.btn-outline { color: var(--accent); border: 2px solid var(--accent); box-shadow: none;
  background: linear-gradient(var(--accent), var(--accent)) no-repeat bottom / 100% 0%, var(--bg);
  transition: background-size .45s cubic-bezier(.19, 1, .22, 1), color .3s ease, transform .15s; }
.btn-outline:hover { background-size: 100% 100%, auto; color: var(--on-color); }

.topbar .wrap.hdr { transition: height .35s cubic-bezier(.19, 1, .22, 1); }
.topbar { transition: box-shadow .3s ease; }
.scrolled .topbar { box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .45); }
.cat .cico { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.cat:hover .cico { transform: translateY(-4px) rotate(-8deg) scale(1.08); }
.why-card .wi { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.why-card:hover .wi { transform: scale(1.12) rotate(6deg); }

.hero { position: relative; }
.cursors { position: absolute; inset: 0; pointer-events: none; z-index: 6; overflow: hidden; }
.cur { position: absolute; display: flex; align-items: flex-start; gap: 0; direction: ltr; will-change: left, top; }
.cur svg { filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); }
.cur span { margin-top: 16px; margin-left: -4px; background: var(--cc); color: #FFFFFF; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 4px 12px 12px 12px; white-space: nowrap; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); }
.cur.c1 { animation: cur1 14s ease-in-out infinite; }
.cur.c2 { animation: cur2 17s ease-in-out infinite; }
.cur.c3 { animation: cur3 15s ease-in-out infinite; }
@keyframes cur1 { 0%, 100% { left: 10%; top: 30%; } 25% { left: 30%; top: 58%; } 50% { left: 20%; top: 80%; } 75% { left: 6%; top: 52%; } }
@keyframes cur2 { 0%, 100% { left: 72%; top: 14%; } 30% { left: 56%; top: 40%; } 60% { left: 80%; top: 64%; } 80% { left: 64%; top: 28%; } }
@keyframes cur3 { 0%, 100% { left: 44%; top: 86%; } 35% { left: 50%; top: 62%; } 70% { left: 36%; top: 44%; } }
@media (max-width: 699px) {
  .cur.c3 { display: none; }
  @keyframes cur1 { 0%, 100% { left: 4%; top: 72%; } 50% { left: 28%; top: 84%; } }
  @keyframes cur2 { 0%, 100% { left: 66%; top: 76%; } 50% { left: 50%; top: 88%; } }
}
@media (prefers-reduced-motion: reduce) {
  .cursors { display: none; }
  .w > span, .mv:not(h1):not(h2):not(h3) { transform: none !important; opacity: 1 !important; }
}

/* =====================================================================
   Minimal pass: one accent (logo pink), ink for actions, tone instead of
   shadows and borders, a 4-px spacing scale and fewer floating elements.
   ===================================================================== */
:root {
  --bg: #F6F3F0; --surface: #FFFFFF; --sheet: #F6F3F0; --line: #E9E3DE; --muted: #8A7F7B;
  --shadow: none; --shadow-soft: none;
  --r-xl: 28px; --r-lg: 20px; --r-md: 16px; --r-sm: 12px;
  --act: var(--ink); --on-act: #FFFFFF;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #1F2023; --sheet: #1F2023; --surface: #2A2B2F; --line: #36383C; --on-act: #1F2023; } }
:root[data-theme="dark"] { --bg: #1F2023; --sheet: #1F2023; --surface: #2A2B2F; --line: #36383C; --on-act: #1F2023; }

/* Type scale (1.25): 13 / 15 / 18 / 22 / 28 / 44-64 */
.row-head h2, .page-title { font-size: 22px; font-weight: 800; letter-spacing: -.2px; }
.hero h1 { font-weight: 800; letter-spacing: -1.2px; line-height: 1.18; }
.hero-lead { font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.stats b { font-size: 28px; font-weight: 800; letter-spacing: -.5px; }

/* Actions: ink is the action colour; pink stays for the brand and the one CTA band */
.btn-green, .btn-orange { background: var(--act); color: var(--on-act); box-shadow: none; }
.btn-green:hover, .btn-orange:hover { background: color-mix(in srgb, var(--act) 86%, var(--bg)); }
.btn-ghost { background: transparent; box-shadow: none; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.row-head .btn-sm { height: 36px; padding-inline: 14px; font-size: 13px; background: transparent; color: var(--ink); border: 1px solid var(--line); }
.row-head .btn-sm:hover { border-color: var(--ink); }
.seg button.on, .fchip.on { background: var(--act); color: var(--on-act); }
.bnav a.on { color: var(--ink); }
.bnav a.on::after { background: var(--ink); height: 4px; width: 20px; bottom: -10px; border-radius: 4px; }
.fab { box-shadow: none; }
.dist .go { color: var(--ink); }
.dist .go:hover { background: var(--sheet); }
.incl .ic, .d-sec-title a { color: var(--ink); }
.tl-item.active { outline: 1.5px solid var(--ink); }

/* Surfaces: tone, not shadow */
.searchbar { box-shadow: none; border: 1px solid var(--line); }
.searchbar:focus-within { border-color: var(--ink); }
.seg { box-shadow: none; }
.fchip, .seg { background: var(--surface); }
.place { box-shadow: none; border-radius: var(--r-lg); }
.place .price-tag { border-radius: 999px; }
.tl-item, .dist, .prof, .cat, .why-card, .week { box-shadow: none; }

/* Rhythm: sections breathe */
.row-head { margin-top: var(--s7); margin-bottom: var(--s4); }
.hero + .wrap > .row-head:first-child { margin-top: var(--s6); }
.cards { gap: var(--s4); }
@media (min-width: 1024px) { .row-head { margin-top: var(--s8); } .cards { gap: var(--s5); } }

/* Hero: one illustration, one supporting note */
.hero-art .float { box-shadow: none; }

/* Categories: quiet tiles, colour only in the icon */
.cat { background: transparent; border: 1px solid var(--line); padding: var(--s4) var(--s3); transition: border-color .2s, transform .2s; }
.cat:hover { border-color: var(--ink); }
.cat .cico { background: transparent !important; width: 36px; height: 36px; }
.cat .cico .ic { width: 26px; height: 26px; }

/* Schedule: neutral rows, category shown by a thin start bar and the icon */
.week { background: transparent; padding: 0; gap: var(--s2); }
.dbox { border: 0; background: transparent; }
.dbox.today { border: 0; color: var(--accent); }
.dbox.today b, .dbox.today small { color: var(--accent); }
.ev { background: var(--surface); box-shadow: inset -3px 0 0 var(--cfg); border-radius: 14px; }
.ev .eico { background: transparent; width: 36px; height: 36px; }
.ev .eico .ic { width: 24px; height: 24px; }
.ev h4 { font-size: 16px; font-weight: 700; }
.ev .emeta .act { color: var(--cfg); }
.ev .diff-pill { background: transparent; padding-inline: 0; }
.legend { border: 0; background: transparent; padding: 0; }

/* Why Manooja: three plain columns, numbered */
.why { counter-reset: why; }
.why-card { background: transparent; border-top: 1px solid var(--line); border-radius: 0; padding: var(--s4) 0 0; display: block; }
.why-card .wi { display: none; }
.why-card h4::before { counter-increment: why; content: "۰" counter(why, persian); display: block; color: var(--accent); font-size: 13px; font-weight: 800; margin-bottom: var(--s2); }

/* Testimonial: typographic, not a colour block */
.quote { background: transparent; color: var(--ink); padding: 0; border-radius: 0; }
.quote .qart { display: none; }
.quote p { font-size: clamp(19px, 2.4vw, 26px); font-weight: 600; line-height: 1.8; max-width: 40ch; letter-spacing: -.2px; }
.quote .stars { color: var(--accent); }
.quote .who small { color: var(--muted); opacity: 1; }

/* The one bold block */
.cta-band { margin-top: var(--s8); border-radius: var(--r-xl); padding: clamp(24px, 5vw, 56px); }
.cta-band h3 { font-size: clamp(22px, 3vw, 32px); letter-spacing: -.4px; }
.cta-band .btn { background: #fff; color: #2A1E1E; }

/* Calendar head: text on the page, no dark slab */
.cal-head { background: transparent; color: var(--ink); padding: var(--s5) 0 var(--s2); border-radius: 0; }
.cal-head .kicker { color: var(--muted); }
.cal-head .range { background: var(--accent-soft); color: var(--accent); }
.cal-head .lg { display: none; }
.cal-nav button { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.cal-nav .dots i { background: var(--line); }
.cal-nav .dots i.on { background: var(--ink); }

/* Tour page: the green weather band becomes a quiet strip */
.d-band { background: var(--sheet); color: var(--ink); }
.d-band .wx .sunb { background: var(--surface); }

/* Footer contact: plain text instead of a dark block */
.brand-bar { background: transparent; color: var(--ink); padding: 0; justify-content: flex-start; gap: var(--s2) var(--s5); font-size: 15px; font-weight: 600; }
.tagline { text-align: start; color: var(--muted); font-weight: 500; }

/* Motion: shorter and calmer */
.cat .cico, .why-card .wi { transition: none; }
.cat:hover .cico { transform: none; }
.nav a.on { background: transparent; color: var(--ink); box-shadow: none; font-weight: 800; }
.nav a.on::after { content: ''; display: block; height: 2px; border-radius: 2px; background: var(--accent); margin-top: 2px; }
.toggle.on { background: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.dchip.on { border-color: var(--ink); background: var(--surface); }
.opt input { accent-color: var(--ink); }
.d-title .overall { background: var(--accent-soft); color: var(--accent); box-shadow: none; }

/* ---------- WordPress additions ---------- */
.brand-bar a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
img.art { width: 100%; height: 100%; object-fit: cover; display: block; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Server-rendered fallback (search engines, no-JS); the app replaces it on load. */
.ssr { max-width: 1100px; margin: 0 auto; padding: 32px 16px 60px; }
.ssr-head { display: flex; justify-content: center; padding: 18px 0 8px; color: var(--accent); }
.ssr-head .mark { width: 72px; height: auto; }
.ssr h1 { font-size: clamp(24px, 4vw, 38px); margin: 12px 0 6px; }
.ssr-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.ssr-list li { background: var(--surface); border-radius: 18px; padding: 14px 16px; }
.ssr-list a { color: var(--ink); font-weight: 800; text-decoration: none; }
.ssr-list small { display: block; color: var(--muted); }
.page-plain { max-width: 820px; margin: 0 auto; padding: 24px 16px 80px; }
.page-plain .entry { background: var(--surface); border-radius: 26px; padding: clamp(20px, 4vw, 40px); }
.page-plain .entry img { max-width: 100%; height: auto; border-radius: 16px; }
.page-plain .entry a { color: var(--accent); }
.page-plain h1 { font-size: clamp(24px, 4vw, 36px); margin: 0 0 14px; }
.plain-top { display: flex; align-items: center; justify-content: space-between; max-width: 820px; margin: 0 auto; padding: 16px; }
.plain-top .mark { width: 60px; height: auto; color: var(--accent); }
.plain-top nav { display: flex; gap: 16px; }
.plain-top nav a { color: var(--ink); text-decoration: none; font-weight: 700; }

/* Full programme description on the tour page (imported from the programme text). */
.d-body { margin: 6px 0 14px; border: 1px solid var(--line); border-radius: var(--r-md, 16px); padding: 4px 16px; }
.d-body summary { cursor: pointer; font-weight: 700; padding: 10px 0; color: var(--ink); }
.d-body .d-desc p { margin: 0 0 10px; }
.float.f1 { gap: 12px; align-items: center; }
/* Real locations can be long sentences: keep cards to one line. */
.place .cap .loc { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; display: block; }
.place .cap h3 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Blog list (program reports), post cover, comments and plain-page footer. */
.page-plain.page-list { max-width: 1120px; }
.page-plain .list-title { margin: 6px 0 18px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border-radius: 22px; overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s var(--ease, ease); }
.post-card:hover { transform: translateY(-3px); }
.post-thumb { aspect-ratio: 16 / 10; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-thumb .post-mark { width: 70px; color: var(--accent); }
.post-body { display: grid; gap: 6px; padding: 14px 16px 18px; }
.post-body small { color: var(--muted); }
.post-body b { font-size: 16px; line-height: 1.6; }
.post-body span { color: var(--ink-2); font-size: 14px; line-height: 1.8; }
.page-plain .entry-cover { margin: calc(-1 * clamp(20px, 4vw, 40px)) calc(-1 * clamp(20px, 4vw, 40px)) 20px; }
.page-plain .entry-cover img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 26px 26px 0 0 !important; display: block; }
.page-plain .entry-meta { color: var(--muted); margin: -6px 0 18px; font-size: 14px; }
.page-plain .comments { margin-top: 16px; }
.page-plain .comment-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.page-plain .comment-list .children { list-style: none; padding-inline-start: 22px; margin-top: 12px; display: grid; gap: 12px; }
.page-plain .comment-body { background: var(--bg); border-radius: 16px; padding: 14px 16px; }
.page-plain .comment-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.page-plain .comment-meta img { border-radius: 50%; }
.page-plain .comment-author .fn { color: var(--ink); font-style: normal; font-weight: 700; }
.page-plain .comment-author .says { display: none; }
.page-plain .comment-form input:not([type=submit]):not([type=checkbox]), .page-plain .comment-form textarea { width: 100%; box-sizing: border-box; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-family: var(--font); }
.page-plain .comment-form .submit { background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 12px 26px; font-family: var(--font); font-weight: 700; cursor: pointer; }
.page-plain .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.page-plain .nav-links a, .page-plain .nav-links span { padding: 8px 14px; border-radius: 12px; background: var(--surface); color: var(--ink); text-decoration: none; }
.page-plain .nav-links .current { background: var(--accent); color: #fff; }
.plain-foot { max-width: 1120px; margin: 0 auto; padding: 10px 16px 40px; text-align: center; color: var(--muted); font-size: 14px; }
.plain-foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; margin-bottom: 10px; }
.plain-foot a { color: var(--ink-2); text-decoration: none; }
