@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/open-sans-cyrillic-ext-400-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:600;src:url(/assets/fonts/open-sans-cyrillic-ext-600-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:700;src:url(/assets/fonts/open-sans-cyrillic-ext-700-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:800;src:url(/assets/fonts/open-sans-cyrillic-ext-800-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/open-sans-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:600;src:url(/assets/fonts/open-sans-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:700;src:url(/assets/fonts/open-sans-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:800;src:url(/assets/fonts/open-sans-cyrillic-800-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/open-sans-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:600;src:url(/assets/fonts/open-sans-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:700;src:url(/assets/fonts/open-sans-latin-ext-700-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:800;src:url(/assets/fonts/open-sans-latin-ext-800-normal.woff2) format('woff2');unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:400;src:url(/assets/fonts/open-sans-latin-400-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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:600;src:url(/assets/fonts/open-sans-latin-600-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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:700;src:url(/assets/fonts/open-sans-latin-700-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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Open Sans';font-style:normal;font-display:swap;font-weight:800;src:url(/assets/fonts/open-sans-latin-800-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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{color-scheme:light;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
body{margin:0;font:14px/1.5 system-ui,sans-serif}img{max-width:100%}[hidden]{display:none!important}
.demo-strip{background:#FCEFD2;color:#5C3D00;font:600 13px/1.4 "Open Sans",system-ui,sans-serif;text-align:center;padding:8px max(16px,env(safe-area-inset-right,0px)) 8px max(16px,env(safe-area-inset-left,0px))}
@media (prefers-color-scheme:dark){.demo-strip{background:#3A2C12;color:#F3D9A6}}
:root {
  /* Layout: sticky header → catalog (filter rail + card grid) and tour (content + sticky booking card); phones: one column with the bottom tab bar from the iOS mock */
  --bg: #F3F6F5;
  --surface: #FFFFFF;
  --surface-2: #EAF2F0;
  --ink: #252B2A;
  --ink-2: #56615F;
  --muted: #7B8785;
  --line: #DFE7E5;
  --brand: #0E6B62;
  --brand-hover: #0B5C54;
  --brand-ink: #FFFFFF;
  --brand-soft: #D5EAE6;
  --brand-text: #0E6B62;
  --sun: #F5C431;
  --sun-ink: #2E2600;
  --pin: #E0524A;
  --danger: #C23A32;
  --danger-soft: #FBE7E5;
  --ok: #1B7A50;
  --ok-soft: #DDF2E8;
  --warn: #8A5A00;
  --warn-soft: #FCEFD2;
  --bar: #262B2A;
  --bar-ink: #FFFFFF;
  --paper: #FFFFFF;
  --paper-ink: #1F2524;
  --paper-muted: #6B7573;
  --paper-line: #E3E8E7;
  --stage-a: #0F7268;
  --stage-b: #0A4E47;
  --on-image: #FFFFFF;
  --map-bg: #ECEFEE;
  --map-road: #FFFFFF;
  --map-major: #F6E2B3;
  --map-park: #D2EAD4;
  --map-water: #BCDDF0;
  --stack-1: #BCD3CE;
  --stack-2: #D8E5E2;
  --shadow: 0 1px 2px rgba(18, 46, 42, .06), 0 6px 20px rgba(18, 46, 42, .07);
  --shadow-lg: 0 14px 44px rgba(18, 46, 42, .18);
  --font: "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --r: 14px;
  --hdr: 68px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D1312; --surface: #151D1C; --surface-2: #1B2826; --ink: #E6EDEB; --ink-2: #B2BFBC; --muted: #8C9A97; --line: #27332F;
    --brand: #137A6F; --brand-hover: #18897D; --brand-ink: #FFFFFF; --brand-soft: #173B36; --brand-text: #5CC4B6;
    --pin: #F06A62; --danger: #F07A72; --danger-soft: #3A1D1B; --ok: #5BC995; --ok-soft: #173326; --warn: #E8B04B; --warn-soft: #3A2C12;
    --bar: #070B0A; --map-bg: #1A2321; --map-road: #27322F; --map-major: #4A4330; --map-park: #1E3A2A; --map-water: #1E3A4E; --stack-1: #2C3E3A; --stack-2: #1F2D2B;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .3); --shadow-lg: 0 14px 44px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D1312; --surface: #151D1C; --surface-2: #1B2826; --ink: #E6EDEB; --ink-2: #B2BFBC; --muted: #8C9A97; --line: #27332F;
  --brand: #137A6F; --brand-hover: #18897D; --brand-ink: #FFFFFF; --brand-soft: #173B36; --brand-text: #5CC4B6;
  --pin: #F06A62; --danger: #F07A72; --danger-soft: #3A1D1B; --ok: #5BC995; --ok-soft: #173326; --warn: #E8B04B; --warn-soft: #3A2C12;
  --bar: #070B0A; --map-bg: #1A2321; --map-road: #27322F; --map-major: #4A4330; --map-park: #1E3A2A; --map-water: #1E3A4E; --stack-1: #2C3E3A; --stack-2: #1F2D2B;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 20px rgba(0, 0, 0, .3); --shadow-lg: 0 14px 44px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
.stack { display: grid; gap: 16px; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 70; background: var(--surface); }
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; text-align: inherit; }
input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
.ico { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 2px; border-radius: 6px; }
.vh, .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; justify-content: center; }
.h1 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.h1-sm { font-size: clamp(24px, 2.8vw, 32px); }
.h2 { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.h3 { font-size: 17px; line-height: 1.3; font-weight: 700; }
.prose { max-width: 66ch; }
.link { color: var(--brand-text); font-weight: 600; }
.link:hover { text-decoration: underline; }
.cnt { font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sel { user-select: all; font-weight: 700; white-space: nowrap; }
.fs { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 10px; }
.fs legend { padding: 0; margin-bottom: 10px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: background-color .15s, border-color .15s, transform .1s; text-align: center; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { border: 1px solid var(--line); background: var(--surface); color: var(--danger); }
.btn-danger:hover { background: var(--danger-soft); }
.btn-danger-solid { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions.center { justify-content: center; }

/* ---------- header ---------- */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); border-bottom: 1px solid var(--line); }
.top-in { height: var(--hdr); display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.proto { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--warn); background: var(--warn-soft); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pickers { display: flex; gap: 4px; }
.picker { display: flex; flex-direction: column; align-items: flex-start; padding: 6px 12px; border-radius: 10px; min-width: 0; }
.picker:hover { background: var(--surface-2); }
.picker small { font-size: 11px; color: var(--muted); line-height: 1.2; }
.picker > span { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.picker .ico { width: 18px; height: 18px; }
.picker .ico:first-child { color: var(--pin); }
.picker .ico:last-child { color: var(--muted); width: 16px; }
.top-nav { margin-left: auto; display: flex; gap: 4px; }
.top-nav a { padding: 8px 14px; border-radius: 10px; font-weight: 600; color: var(--ink-2); }
.top-nav a:hover { background: var(--surface-2); }
.top-nav a.on { color: var(--brand-text); background: var(--brand-soft); }
.top-user { display: flex; align-items: center; gap: 10px; font-weight: 600; border-radius: 999px; padding: 3px 12px 3px 3px; }
.top-user:hover { background: var(--surface-2); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; font-size: 14px; flex: none; }
.avatar-xl { width: 72px; height: 72px; font-size: 26px; }
.top-login { margin-left: 4px; }

/* ---------- tab bar (phones) ---------- */
.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--surface); border-top: 1px solid var(--line); grid-template-columns: repeat(3, 1fr); padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 0; }
.tabbar a.on { color: var(--brand-text); }
.tabbar .ico { width: 24px; height: 24px; }

main { padding-block: 24px 72px; min-height: calc(100vh - var(--hdr) - 110px); }
main:focus { outline: none; }

/* ---------- catalog ---------- */
.city-ask { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 20px; }
.city-ask .ico { color: var(--pin); width: 24px; height: 24px; }
.city-ask div { flex: 1 1 220px; min-width: 0; }
.hero { display: grid; gap: 18px; padding-block: 4px 24px; }
.hero-pickers { display: none; }
.hero-title { display: grid; gap: 6px; }
.hero-title p { margin: 0; }
.about-site p { margin: 0; max-width: 75ch; }
.about-list { margin: 0; padding-left: 20px; display: grid; gap: 6px; max-width: 75ch; }
.about-list a { color: var(--brand-text); }
.search { position: relative; display: block; max-width: 640px; }
.search input { width: 100%; height: 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: 0 16px 0 48px; font-size: 16px; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.search .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.chip:hover { border-color: var(--brand-text); }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.chip.on .cnt { background: var(--brand-ink); color: var(--brand); }
.chip[disabled] { opacity: .5; cursor: default; }
.cat-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--hdr) + 20px + env(safe-area-inset-top, 0px)); display: grid; gap: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.fgroup { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.fgroup legend { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; padding: 0; margin-bottom: 8px; }
.opt { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; }
.opt input { accent-color: var(--brand); width: 18px; height: 18px; margin: 0; flex: none; }
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.results-head .count { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.rh-ctl { display: flex; gap: 8px; align-items: center; }
.select { height: 40px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 10px; font-weight: 600; font-size: 14px; max-width: 100%; }
.btn-filters { display: none; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.empty { text-align: center; padding: 48px 16px; display: grid; gap: 10px; justify-items: center; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r); }
.org-cta { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 22px 24px; border-radius: var(--r); background: var(--brand-soft); }
.org-cta div { flex: 1 1 280px; min-width: 0; display: grid; gap: 4px; }
.org-cta p { color: var(--ink-2); }

/* ---------- tour card ---------- */
.tcard { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3.25; max-width: 100%; background: #1D2B2A; color: var(--on-image); box-shadow: var(--shadow); isolation: isolate; transition: transform .2s ease, box-shadow .2s ease; }
.tcard:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tcard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.tcard:hover .tcard-img { transform: scale(1.04); }
.tcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 14, 13, .3) 0%, rgba(8, 14, 13, 0) 22%, rgba(8, 14, 13, .38) 46%, rgba(8, 14, 13, .9) 100%); }
.chip-dark { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px 4px 8px; border-radius: 999px; background: rgba(20, 24, 24, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 12px; font-weight: 600; color: var(--on-image); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.chip-dark .ico { width: 14px; height: 14px; }
.tcard-loc { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 92px); }
.badge-sun { background: var(--sun); color: var(--sun-ink); font-weight: 700; font-size: 12px; border-radius: 6px; padding: 1px 6px; font-variant-numeric: tabular-nums; }
.tcard-disc { position: absolute; top: 12px; right: 12px; border-radius: 999px; padding: 3px 9px; }
.tcard-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px 16px; display: grid; gap: 3px; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.tcard-body .badge-sun, .tcard-body .date-pill { text-shadow: none; }
.rating-row { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 1px; color: var(--sun); }
.stars .ico { width: 15px; height: 15px; }
.stars .off { color: rgba(255, 255, 255, .38); }
.on-light .stars .off, .stars.on-light .off { color: var(--line); }
.tcard-title { font-size: 20px; font-weight: 700; line-height: 1.2; text-wrap: balance; }
.tcard-meta { font-size: 12px; opacity: .85; }
.tcard-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: 4px; }
.tcard-price { font-weight: 700; font-size: 17px; line-height: 1.2; }
.tcard-price small { font-weight: 600; font-size: 13px; }
.tcard-price s { display: block; font-size: 12px; opacity: .7; font-weight: 400; }
.date-pill { background: var(--brand); color: var(--brand-ink); font-size: 13px; font-weight: 700; border-radius: 10px; padding: 7px 12px; white-space: nowrap; }
.date-pill.is-off { background: rgba(20, 24, 24, .7); }

/* ---------- tour page ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-weight: 600; margin-bottom: 14px; }
.back:hover { color: var(--brand-text); }
.gallery { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 6.5; max-width: 100%; background: #1D2B2A; touch-action: pan-y; }
.gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; display: block; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #1F2524; display: grid; place-items: center; box-shadow: var(--shadow); }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }
.gal-share { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(20, 24, 24, .55); color: #fff; display: grid; place-items: center; }
.gal-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.gal-dots button { width: 8px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .55); transition: width .2s; }
.gal-dots button.on { width: 28px; background: #fff; }
.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "a b" "c b"; column-gap: 36px; margin-top: 24px; align-items: start; }
.tour-a { grid-area: a; display: grid; gap: 16px; padding-bottom: 24px; min-width: 0; }
.tour-b { grid-area: b; position: sticky; top: calc(var(--hdr) + 20px + env(safe-area-inset-top, 0px)); min-width: 0; }
.tour-c { grid-area: c; min-width: 0; }
.tour-head { display: grid; gap: 8px; }
.loc-row { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ink-2); font-weight: 600; align-items: center; }
.loc-row > span { display: inline-flex; align-items: center; gap: 5px; }
.loc-row .i-pin { color: var(--pin); width: 18px; height: 18px; }
.loc-row .i-star { color: var(--sun); width: 18px; height: 18px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: grid; gap: 2px; min-width: 0; }
.fact .ico { color: var(--brand-text); margin-bottom: 4px; }
.fact small { color: var(--muted); font-size: 12px; }
.fact b { font-size: 15px; }
.liked { display: flex; align-items: center; gap: 14px; background: var(--surface-2); border-radius: 12px; padding: 12px 16px; width: 100%; }
.liked > .ico { color: var(--brand-text); width: 26px; height: 26px; }
.liked small { display: block; color: var(--muted); font-size: 12px; }
.liked .rev { margin-left: auto; display: flex; align-items: center; gap: 10px; text-align: right; }
.liked .rev .ico { color: var(--brand-text); }
.sec { padding-block: 26px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.tour-a .sec { padding-bottom: 0; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 64px 20px minmax(0, 1fr); gap: 8px; position: relative; padding-bottom: 14px; }
.timeline li::before { content: ""; position: absolute; left: 81px; top: 14px; bottom: -2px; width: 2px; background: var(--brand-soft); }
.timeline li:last-child::before { display: none; }
.tl-time { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--brand-text); }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--brand); background: var(--surface); margin: 5px 0 0 4px; position: relative; z-index: 1; }
.map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.map svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.m-bg { fill: var(--map-bg); }
.m-road { stroke: var(--map-road); fill: none; }
.m-major { stroke: var(--map-major); fill: none; }
.m-park { fill: var(--map-park); }
.m-water { stroke: var(--map-water); fill: none; }
.m-label rect { fill: var(--surface); }
.m-label text { fill: var(--ink); font-weight: 700; font-size: 15px; }
.m-pin { fill: var(--pin); }
.meet { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.lists { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
.lists > div { display: grid; gap: 10px; align-content: start; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { width: 18px; height: 18px; margin-top: 2px; }
.ticks.yes .ico { color: var(--ok); }
.ticks.no .ico { color: var(--danger); }
.ticks.bag .ico, .ticks.info .ico { color: var(--brand-text); }
.policy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.policy-list li { display: flex; gap: 12px; align-items: flex-start; }
.policy-list b { display: block; }
.policy-list .ico { color: var(--brand-text); margin-top: 2px; }
.org-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.org-card:hover { border-color: var(--brand-text); }
.org-card .chev { margin-left: auto; color: var(--muted); }
.org-ava { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--brand-ink); background: var(--brand); font-size: 16px; flex: none; }
.org-card small { color: var(--muted); }
.rev-head { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.big-rating { font-size: 40px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.review { padding-block: 14px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.review:last-child { border-bottom: 0; }
.review-head { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.review small { color: var(--muted); }

/* booking card */
.book { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 20px; display: grid; gap: 16px; }
.book-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.book-price b { font-size: 28px; font-weight: 800; letter-spacing: -.01em; }
.book-price s { color: var(--muted); }
.deps { display: grid; gap: 8px; max-height: 296px; overflow: auto; padding: 2px; margin: -2px; }
.dep { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--surface); }
.dep:hover { border-color: var(--brand-text); }
.dep:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.dep:has(input:focus-visible) { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.dep.off { opacity: .5; cursor: not-allowed; }
.dep.off:hover { border-color: var(--line); }
.dmain { display: grid; gap: 1px; flex: 1; min-width: 0; }
.dmain b { font-size: 15px; }
.dmain small { color: var(--ink-2); font-size: 13px; }
.dep .left { font-size: 12px; font-weight: 700; color: var(--ok); white-space: nowrap; }
.dep .left.low { color: var(--warn); }
.dep .left.none { color: var(--muted); }
.dep > .ico { color: var(--ink-2); }
.check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; color: transparent; }
.check .ico { width: 14px; height: 14px; }
.dep:has(input:checked) .check { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stepper > span { display: grid; }
.step-ctl { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; flex: none; }
.step-ctl button { width: 42px; height: 42px; display: grid; place-items: center; color: var(--brand-text); }
.step-ctl button:hover:not(:disabled) { background: var(--surface-2); }
.step-ctl button:disabled { opacity: .3; cursor: not-allowed; }
.step-ctl output { min-width: 34px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.breakdown { display: grid; gap: 8px; font-size: 14px; }
.bd-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bd-row > span:first-child { display: inline-flex; align-items: center; gap: 4px; }
.bd-row > span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.bd-total { border-top: 1px dashed var(--line); padding-top: 10px; font-size: 16px; font-weight: 700; }
.bd-total > span:last-child { font-weight: 800; }
.bd-note { color: var(--muted); }
.tip { color: var(--muted); display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.tip:hover { color: var(--brand-text); background: var(--surface-2); }
.tip .ico { width: 16px; height: 16px; }
.policy { display: flex; gap: 10px; font-size: 13px; color: var(--ink-2); background: var(--surface-2); padding: 10px 12px; border-radius: 10px; align-items: flex-start; }
.policy .ico { color: var(--brand-text); width: 18px; height: 18px; margin-top: 1px; }
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--bar); color: var(--bar-ink); padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); align-items: center; justify-content: space-between; gap: 12px; }
.mbar small { display: block; opacity: .7; font-size: 12px; }
.mbar b { font-size: 18px; font-variant-numeric: tabular-nums; }

/* ---------- checkout ---------- */
.steps { list-style: none; margin: 14px 0 22px; padding: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stp { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); font-size: 14px; }
.stp i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font-style: normal; font-size: 13px; font-weight: 700; }
.stp i .ico { width: 14px; height: 14px; }
.stp.on { color: var(--ink); }
.stp.on i { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.stp.done i { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand-text); }
.stp-sep { width: 28px; height: 1.5px; background: var(--line); }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.co-aside { position: sticky; top: calc(var(--hdr) + 20px + env(safe-area-inset-top, 0px)); min-width: 0; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 18px; min-width: 0; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.input { height: 48px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 0 14px; font-size: 16px; width: 100%; min-width: 0; }
textarea.input { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.input::placeholder { color: var(--muted); }
.input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.input[readonly] { background: var(--surface-2); }
.err { color: var(--danger); font-size: 13px; font-weight: 600; }
.bad .input { border-color: var(--danger); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.consent input { accent-color: var(--brand); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.mini { display: flex; gap: 12px; align-items: center; }
.mini img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex: none; }
.mini div { display: grid; gap: 2px; min-width: 0; }
.kv { display: grid; gap: 8px; font-size: 14px; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 12px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.result { text-align: center; display: grid; gap: 12px; justify-items: center; }
.result p { max-width: 46ch; }
.result-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.result-ico .ico { width: 30px; height: 30px; }
.result-ico.bad { background: var(--danger-soft); color: var(--danger); }
.result-ico.neutral { background: var(--brand-soft); color: var(--brand-text); }
.success { display: grid; gap: 24px; justify-items: center; max-width: 720px; margin-inline: auto; }
.success .ticket-stage { width: 100%; }

/* ---------- ticket ---------- */
.ticket-stage { background: linear-gradient(165deg, var(--stage-a), var(--stage-b)); border-radius: 22px; padding: 28px 16px; display: grid; justify-items: center; gap: 16px; min-width: 0; }
.ticket { width: min(100%, 400px); background: var(--paper); color: var(--paper-ink); border-radius: 16px; position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); overflow: hidden; }
.ticket-top { padding: 22px 22px 18px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.ticket-qr { width: 156px; height: 156px; background: #FFFFFF; display: grid; place-items: center; }
.ticket-qr img, .ticket-qr canvas { width: 100% !important; height: 100% !important; image-rendering: pixelated; }
.ticket-no { font-weight: 800; letter-spacing: .03em; font-size: 15px; margin-top: 6px; }
.ticket-sub { font-size: 12px; color: var(--paper-muted); }
.ticket-cut { position: relative; height: 0; border-top: 2px dashed var(--paper-line); margin: 0 20px; }
.ticket-cut::before, .ticket-cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--stage-a); }
.ticket-cut::before { left: -32px; }
.ticket-cut::after { right: -32px; }
.ticket-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 18px 22px; margin: 0; }
.ticket-grid dt { font-size: 12px; color: var(--paper-muted); }
.ticket-grid dd { margin: 2px 0 0; font-weight: 700; font-size: 14px; }
.ticket-grid .span2 { grid-column: 1 / -1; }
.ticket-grid .between { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ticket-grid .between dd { margin: 0; }
.ticket-foot { border-top: 1px solid var(--paper-line); padding: 14px 22px 18px; text-align: center; font-size: 13px; display: grid; gap: 4px; }
.ticket.void .ticket-top, .ticket.void .ticket-grid { opacity: .45; }
.void-stamp { position: absolute; top: 70px; left: 50%; transform: translateX(-50%) rotate(-12deg); border: 3px solid #C23A32; color: #C23A32; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 14px; border-radius: 8px; background: rgba(255, 255, 255, .85); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.status .ico { width: 14px; height: 14px; }
.status.ok { background: var(--ok-soft); color: var(--ok); }
.status.cancel { background: var(--danger-soft); color: var(--danger); }
.status.past { background: var(--surface-2); color: var(--ink-2); }

/* ---------- orders ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 16px 0 22px; overflow-x: auto; scrollbar-width: none; }
.tabs button { padding: 10px 14px; font-weight: 700; color: var(--muted); border-bottom: 2.5px solid transparent; margin-bottom: -1px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }
.tabs button.on { color: var(--brand-text); border-color: var(--brand); }
.ogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.ocard { border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); display: grid; }
.ocard-img { position: relative; aspect-ratio: 16 / 8; max-width: 100%; color: var(--on-image); display: block; isolation: isolate; }
.ocard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ocard-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 14, 13, .15), rgba(8, 14, 13, .75)); }
.ocard-chips { position: absolute; top: 12px; left: 12px; display: grid; gap: 6px; justify-items: start; }
.ocard-title { position: absolute; left: 14px; right: 14px; bottom: 12px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.ocard-demo { position: absolute; top: 12px; right: 12px; }
.ocard-bar { display: grid; grid-template-columns: 1fr 1fr; background: var(--brand); color: var(--brand-ink); }
.ocard-bar > * { padding: 12px; font-weight: 700; display: flex; justify-content: center; gap: 8px; align-items: center; }
.ocard-bar > *:hover { background: var(--brand-hover); }
.ocard-bar > * + * { border-left: 1px solid rgba(255, 255, 255, .2); }
.ocard.cancelled .ocard-bar { background: var(--surface-2); color: var(--ink-2); }
.ocard.cancelled .ocard-bar > * + * { border-color: var(--line); }
.ocard.cancelled .ocard-bar > *:hover { background: var(--line); }
.order-layout { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 28px; align-items: start; }
.order-side { display: grid; gap: 16px; }
.order-title { display: grid; gap: 10px; justify-items: start; }
.gate { max-width: 460px; margin: 40px auto; text-align: center; display: grid; gap: 14px; justify-items: center; }

/* ---------- profile ---------- */
.prof { max-width: 720px; display: grid; gap: 18px; }
.prof-head { display: flex; align-items: center; gap: 16px; }
.prof-head > div { min-width: 0; }
.menu { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.menu h2 { padding: 14px 16px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.mi { display: flex; align-items: center; gap: 12px; padding: 13px 16px; width: 100%; text-align: left; font-weight: 600; }
.mi:hover { background: var(--surface-2); }
.mi .chev { margin-left: auto; color: var(--muted); }
.mi > .ico:first-child { color: var(--ink-2); }
.mi.danger, .mi.danger > .ico:first-child { color: var(--danger); }
.mi + .mi { border-top: 1px solid var(--line); }
.mi .cnt { background: var(--brand); color: var(--brand-ink); }

/* ---------- organizer ---------- */
.org-cover { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 5; max-width: 100%; color: var(--on-image); isolation: isolate; display: flex; align-items: flex-end; }
.org-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.org-cover::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 14, 13, 0) 30%, rgba(8, 14, 13, .78)); }
.org-cover-body { padding: 24px; display: grid; gap: 6px; }
.org-info { display: grid; gap: 18px; margin: 22px 0 6px; }

/* ---------- destinations & comparison ---------- */
.dcard { box-shadow: 0 7px 0 -3px var(--stack-1), 0 14px 0 -7px var(--stack-2), var(--shadow); }
.dcard:hover { box-shadow: 0 7px 0 -3px var(--stack-1), 0 14px 0 -7px var(--stack-2), var(--shadow-lg); }
.grid { row-gap: 30px; }
.orgs-chip { position: absolute; top: 12px; left: 12px; max-width: calc(100% - 24px); display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 700; white-space: nowrap; }
.orgs-chip .ico { width: 14px; height: 14px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 3px; background: var(--surface); gap: 2px; flex: none; }
.seg button { height: 32px; padding: 0 12px; border-radius: 7px; font-weight: 600; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: var(--brand-soft); color: var(--brand-text); }
.rh-ctl { flex-wrap: wrap; }
.crumbs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:hover { color: var(--brand-text); }
.crumbs .sep { width: 16px; height: 16px; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand-text); }
.place-head { display: grid; gap: 16px; margin-top: 24px; padding-bottom: 24px; }
.offers-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; }
.org-line { display: flex; align-items: center; gap: 10px; min-width: 0; }
.org-line > span:last-child { display: grid; min-width: 0; }
.org-line small { color: var(--muted); font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.org-line .i-star, .alt .i-star, .cmp .i-star, .offer .i-star { color: var(--sun); width: 14px; height: 14px; vertical-align: -2px; }
.org-name { font-weight: 700; }
.org-name:hover { color: var(--brand-text); }
.org-ava.sm { width: 36px; height: 36px; border-radius: 10px; font-size: 13px; }
.offer-title { font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--ink); text-wrap: balance; }
.offer-title:hover { color: var(--brand-text); text-decoration: underline; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.b-price { background: var(--ok-soft); color: var(--ok); }
.b-date { background: var(--brand-soft); color: var(--brand-text); }
.b-rate { background: var(--warn-soft); color: var(--warn); }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(to left, var(--surface) 40%, transparent) right / 48px 100% no-repeat local, radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, .2), transparent) right / 16px 100% no-repeat scroll, var(--surface); }
.cmp-hint { display: flex; align-items: center; gap: 6px; }
.cmp-hint .ico { width: 16px; height: 16px; color: var(--brand-text); }
.cmp { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 720px; font-size: 14px; }
.cmp th, .cmp td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp td + td, .cmp thead th + th { border-left: 1px solid var(--line); }
.cmp thead th { font-weight: 400; background: var(--surface-2); }
.cmp thead th.corner { color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; vertical-align: bottom; }
.cmp tbody th { color: var(--muted); font-weight: 600; width: 160px; white-space: nowrap; }
.cmp th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); border-right: 1px solid var(--line); }
.cmp thead th:first-child { background: var(--surface-2); }
.cmp tr:last-child > * { border-bottom: 0; }
.cmp .sub { display: block; color: var(--muted); font-size: 13px; }
.cmp .best, .offer .best { color: var(--brand-text); }
.cmp td { font-variant-numeric: tabular-nums; }
.offer-head { display: grid; gap: 8px; min-width: 190px; }
.offer-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.offer-actions .btn { width: 100%; }
.offer-list { display: none; gap: 16px; }
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: grid; gap: 12px; min-width: 0; }
.offer-price { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.offer-price b { font-size: 20px; font-weight: 800; }
.offer .kv dd .sub { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.offer .kv dd { max-width: 60%; }
.alts { display: grid; gap: 8px; }
.alt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.alt:hover { border-color: var(--brand-text); }
.alt .grow { flex: 1; min-width: 0; display: grid; gap: 2px; }
.alt small { color: var(--muted); font-size: 13px; }
.alt-price { display: grid; text-align: right; white-space: nowrap; }
.alt-price small { font-size: 12px; }
.alt .chev { color: var(--muted); }
@media (max-width: 760px) {
  .cmp-wrap { display: none; }
  .offer-list { display: grid; }
  .alt .org-ava { display: none; }
}

/* ---------- modal, toast ---------- */
.ov { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(8, 14, 13, .55); animation: fade .15s ease; }
.dlg { width: min(100%, 440px); max-height: calc(100% - 32px); overflow: auto; background: var(--surface); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 26px 24px 24px; display: grid; gap: 16px; position: relative; animation: pop .18s ease; }
.dlg > form, .dlg > .stack { display: grid; gap: 16px; }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.dlg-x:hover { background: var(--surface-2); }
.dlg .h2 { padding-right: 32px; }
.opt-list { display: grid; gap: 8px; }
.opt-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); font-weight: 700; width: 100%; }
.opt-btn:hover { border-color: var(--brand-text); }
.opt-btn.on { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.opt-btn.on .cnt { background: var(--brand-ink); color: var(--brand); }
.phone-in { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.phone-in:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.phone-in span { padding-left: 14px; font-weight: 700; }
.phone-in .input { border: 0; box-shadow: none !important; }
.bad .phone-in { border-color: var(--danger); }
.otp { font-size: 24px; letter-spacing: .5em; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.hint { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--warn); background: var(--warn-soft); padding: 10px 12px; border-radius: 10px; }
.hint .ico { width: 18px; height: 18px; }
.gw { display: grid; gap: 18px; }
.gw-amt { display: grid; gap: 2px; justify-items: center; text-align: center; padding: 18px; border-radius: 14px; background: var(--surface-2); }
.gw-amt b { font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; }
.gw-amt small { color: var(--muted); }
.gw-qr { width: 168px; height: 168px; margin-inline: auto; background: #FFFFFF; padding: 8px; border-radius: 12px; }
.gw-qr img, .gw-qr canvas { width: 100% !important; height: 100% !important; }
.copy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 120; background: var(--bar); color: var(--bar-ink); padding: 12px 18px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow-lg); width: max-content; max-width: calc(100% - 32px); animation: up .2s ease; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.97); opacity: 0; } }
@keyframes up { from { transform: translate(-50%, 16px); opacity: 0; } }
@keyframes sheet { from { transform: translateY(30px); opacity: 0; } }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-in { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 14px 32px; justify-content: space-between; align-items: center; color: var(--muted); font-size: 13px; }
.foot-text { flex: 1 1 320px; max-width: 60ch; display: grid; gap: 6px; }
.foot-text p { margin: 0; }
.wa-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-text); font-weight: 600; text-decoration: none; white-space: nowrap; }
.wa-link .ico { width: 16px; height: 16px; }
.wa-link:hover { text-decoration: underline; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: inherit; text-decoration: none; }
.foot-links button:hover, .foot-links a:hover { color: var(--brand-text); }
.logo-sm { font-size: 17px; }
.logo-sm .logo-mark { width: 26px; height: 26px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pickers .picker small { display: none; }
}
@media (max-width: 1180px) and (min-width: 761px) {
  .top .proto { display: none; }
  .top-nav a { padding: 8px 10px; }
  .top-user-name { display: none; }
}
@media (max-width: 920px) and (min-width: 761px) {
  .top .pickers .picker:nth-child(2) { display: none; }
}
@media (max-width: 960px) {
  .cat-layout { grid-template-columns: minmax(0, 1fr); }
  .filters { display: none; }
  .btn-filters { display: inline-flex; }
  .tour-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "b" "c"; }
  .tour-b { position: static; margin-bottom: 8px; }
  .co-layout { grid-template-columns: minmax(0, 1fr); }
  .co-aside { position: static; order: -1; }
  .order-layout { grid-template-columns: minmax(0, 1fr); }
  body.has-mbar .mbar { display: flex; }
  body.has-mbar main { padding-bottom: 110px; }
  body.has-mbar .foot { padding-bottom: 76px; }
}
@media (max-width: 760px) {
  :root { --hdr: 58px; }
  .top-in { gap: 10px; }
  .top .pickers, .top-nav, .top-user-name { display: none; }
  .top-user, .top-login { margin-left: auto; }
  .top-user { padding: 0; }
  .logo { font-size: 18px; }
  .hero-pickers { display: flex; gap: 4px; margin: 0 -12px; }
  .hero-pickers .picker small { display: block; }
  .tabbar { display: grid; }
  body.no-tabbar .tabbar { display: none; }
  body:not(.no-tabbar) main { padding-bottom: 96px; }
  body:not(.no-tabbar) .foot { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .gallery { aspect-ratio: 4 / 3; border-radius: 0; margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); }
  .gal-btn { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lists { grid-template-columns: minmax(0, 1fr); }
  .org-cover { aspect-ratio: 4 / 3; }
  .row2 { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 18px; }
  .ov { place-items: end stretch; padding: 0; }
  .dlg { width: 100%; max-height: 92%; border-radius: 22px 22px 0 0; padding: 22px max(20px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); animation: sheet .22s ease; }
  .dlg::before { content: ""; width: 44px; height: 4px; border-radius: 4px; background: var(--line); justify-self: center; margin-top: -8px; }
  .results-head .h2 { font-size: 20px; }
}
@media (max-width: 400px) {
  .grid, .ogrid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 350px) {
  .proto { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- organizer: landing, dashboard, wizards ---------- */
.badge-new { background: var(--brand); color: var(--brand-ink); font-size: 12px; font-weight: 700; border-radius: 6px; padding: 1px 8px; text-shadow: none; white-space: nowrap; }
.lbl { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field-foot { display: flex; justify-content: space-between; gap: 12px; }
.hint-s { font-size: 13px; color: var(--muted); }
.hint-s:last-child:not(:first-child) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.row2 { align-items: start; }
.p-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: center; padding-bottom: 28px; }
.p-hero .lead { font-size: 17px; color: var(--ink-2); max-width: 54ch; }
.p-hero-art { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.p-hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ptypes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ptype { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 6px; align-content: start; }
.ptype ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; display: grid; gap: 4px; }
.howto { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.howto li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: grid; gap: 6px; align-content: start; }
.howto li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; font-weight: 800; }
.p-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.p-head .org-ava { width: 56px; height: 56px; font-size: 20px; border-radius: 14px; }
.p-head .org-line small { font-size: 14px; }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; flex-wrap: wrap; margin-bottom: 20px; background: var(--surface-2); }
.notice > div { flex: 1 1 280px; display: grid; gap: 4px; min-width: 0; }
.notice > .ico { width: 24px; height: 24px; }
.notice.warn { background: var(--warn-soft); }
.notice.warn > .ico { color: var(--warn); }
.notice.ok { background: var(--ok-soft); }
.notice.ok > .ico { color: var(--ok); }
.p-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ptours { display: grid; gap: 12px; }
.prow { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.prow > img, .prow > .ph { width: 112px; height: 78px; object-fit: cover; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.prow .grow { display: grid; gap: 6px; min-width: 0; }
.prow-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; color: var(--muted); }
.prow-prog { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.progress { display: block; width: 160px; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--brand); }
.prow-actions { display: grid; gap: 6px; min-width: 180px; }
.status.draft { background: var(--surface-2); color: var(--ink-2); }
.status.review { background: var(--warn-soft); color: var(--warn); }
.status.pub { background: var(--ok-soft); color: var(--ok); }
.demo-btn { color: var(--warn); border: 1px dashed var(--warn); background: transparent; }
.demo-btn:hover { background: var(--warn-soft); }
.wiz { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 18px; }
.wiz.has-aside { grid-template-columns: 210px minmax(0, 1fr) 290px; }
.wsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: sticky; top: calc(var(--hdr) + 20px + env(safe-area-inset-top, 0px)); }
.wstep { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 10px; font-weight: 600; color: var(--muted); }
.wstep:hover { background: var(--surface-2); color: var(--ink); }
.wstep i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font-style: normal; font-size: 13px; font-weight: 700; flex: none; background: var(--surface); }
.wstep i .ico { width: 14px; height: 14px; }
.wstep.on { color: var(--ink); background: var(--surface); box-shadow: var(--shadow); }
.wstep.on i { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.wstep.done i { background: var(--brand-soft); border-color: var(--brand-soft); color: var(--brand-text); }
.wstep.bad { color: var(--danger); }
.wstep.bad i { background: var(--danger-soft); border-color: var(--danger-soft); color: var(--danger); }
.wiz-main { gap: 20px; }
.wiz-step-head { display: grid; gap: 4px; }
.wiz-nav { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.wiz-nav-main { display: flex; gap: 10px; align-items: center; }
.wiz-nav-main .btn-primary { margin-left: auto; min-width: 170px; }
.wiz-nav-aux { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.wiz-aside { position: sticky; top: calc(var(--hdr) + 20px + env(safe-area-inset-top, 0px)); display: grid; gap: 12px; min-width: 0; }
.preview-wrap { pointer-events: none; }
.preview-wrap .tcard { aspect-ratio: 4 / 3.6; }
.photo-lock { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; border-radius: 14px; background: var(--surface-2); }
.thumbs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 10px; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs img:first-child { grid-row: 1 / 3; }
.photo-ph { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 10px; border: 2px dashed var(--line); display: grid; place-items: center; align-content: center; gap: 6px; color: var(--muted); text-align: center; padding: 12px; font-size: 13px; }
.lock-title { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 4px; }
.lock-title .ico { color: var(--brand-text); width: 18px; height: 18px; }
.cks { display: flex; flex-wrap: wrap; gap: 8px; }
.ck { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; color: var(--ink-2); }
.ck input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ck .ico { width: 16px; height: 16px; display: none; }
.ck:hover { border-color: var(--brand-text); }
.ck:has(input:checked) { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.ck:has(input:checked) .ico { display: inline-block; }
.ck:has(input:focus-visible) { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.bad .ck:not(:has(input:checked)) { border-color: var(--danger); }
.bad.fs .dep { border-color: var(--danger); }
.prog { display: grid; gap: 8px; }
.prog-row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 44px; gap: 8px; align-items: start; }
.prog-row .err { grid-column: 1 / -1; }
.dep-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) 44px; align-items: end; }
.dcell { display: grid; gap: 4px; min-width: 0; }
.dlab { font-size: 12px; font-weight: 600; color: var(--muted); }
.input.is-bad, .prog-row.bad .input:placeholder-shown { border-color: var(--danger); }
.icon-btn { width: 44px; height: 48px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); background: var(--surface); }
.icon-btn:hover:not(:disabled) { color: var(--danger); border-color: var(--danger); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.quick button { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.quick button:hover { color: var(--brand-text); }
.pay-prev { padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); font-size: 14px; }
.docs { display: grid; gap: 10px; }
.doc { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1.5px dashed var(--line); border-radius: 12px; flex-wrap: wrap; }
.doc > .ico { color: var(--brand-text); }
.doc.has { border-style: solid; background: var(--surface-2); }
.doc.bad { border-color: var(--danger); }
.doc .grow { flex: 1 1 220px; min-width: 0; display: grid; gap: 2px; }
.doc label.btn { cursor: pointer; }
.doc:has(input:focus-visible) label.btn { outline: 2px solid var(--brand-text); outline-offset: 2px; }
.tag-req, .tag-opt { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tag-req { color: var(--danger); }
.tag-opt { color: var(--muted); }
.summary div { align-items: baseline; }
.summary dd { display: flex; gap: 10px; align-items: baseline; justify-content: flex-end; flex-wrap: wrap; }
.review-grid { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.checklist li > span { flex: 1; min-width: 0; }
.checklist .ok-i { color: var(--ok); }
.checklist .bad-i { color: var(--danger); }
.consent.bad { color: var(--danger); }
@media (max-width: 1180px) {
  .wiz.has-aside { grid-template-columns: 200px minmax(0, 1fr); }
  .wiz-aside { display: none; }
}
@media (max-width: 960px) {
  .p-hero, .ptypes { grid-template-columns: minmax(0, 1fr); }
  .howto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-grid { grid-template-columns: minmax(0, 1fr); }
  .preview-wrap { max-width: 380px; }
}
@media (max-width: 860px) {
  .wiz, .wiz.has-aside { grid-template-columns: minmax(0, 1fr); }
  .wsteps { position: static; display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; padding: 2px; }
  .wstep { width: auto; white-space: nowrap; padding: 6px 10px; }
  .wstep:not(.on) span { display: none; }
}
@media (max-width: 640px) {
  .row3 { grid-template-columns: minmax(0, 1fr); }
  .photo-lock { grid-template-columns: minmax(0, 1fr); }
  .prow { grid-template-columns: 84px minmax(0, 1fr); }
  .prow > img, .prow > .ph { width: 84px; height: 64px; }
  .prow-actions { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); min-width: 0; }
  .howto { grid-template-columns: minmax(0, 1fr); }
  .prog-row { grid-template-columns: 96px minmax(0, 1fr) 44px; }
  .dep-row { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) 44px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
  .dep-row .dc-date { grid-column: 1 / -1; }
  .wiz-nav-main .btn-primary { flex: 1; min-width: 0; }
  .wiz-nav-aux { justify-content: stretch; }
  .wiz-nav-aux .btn { flex: 1 1 auto; }
}
