/* Tour Scanner — design system */
:root {
    --bg: #07080d;
    --bg-elevated: #0c0e16;
    --surface: #12151f;
    --surface-2: #181c28;
    --surface-glass: rgba(18, 21, 31, 0.72);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f0f2f8;
    --muted: #8b93a8;
    --accent: #4d9fff;
    --accent-2: #2dd4bf;
    --accent-glow: rgba(77, 159, 255, 0.35);
    --success: #3ecf8e;
    --warning: #f5b942;
    --danger: #f07178;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    --font: 'DM Sans', system-ui, sans-serif;
    --font-display: 'Outfit', var(--font);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: #7eb8ff; }

/* Ambient background */
.mesh-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.mesh-bg::before,
.mesh-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
    animation: mesh-float 18s ease-in-out infinite alternate;
}
.mesh-bg::before {
    width: 55vw;
    height: 55vw;
    top: -15%;
    right: -10%;
    background: radial-gradient(circle, rgba(77, 159, 255, 0.35), transparent 70%);
}
.mesh-bg::after {
    width: 45vw;
    height: 45vw;
    bottom: -20%;
    left: -15%;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.22), transparent 70%);
    animation-delay: -6s;
}
@keyframes mesh-float {
    to { transform: translate(3%, 4%) scale(1.05); }
}

.wrap {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 22px;
    padding-right: 22px;
    box-sizing: border-box;
}

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}
.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; color: var(--text); }
.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #061018;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 8px 24px var(--accent-glow);
}
.nav-links { display: flex; gap: 6px; margin-left: 4px; }
.nav-links a {
    color: var(--muted);
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.nav-links a.is-active {
    color: var(--text);
    background: rgba(77, 159, 255, 0.12);
    border: 1px solid rgba(77, 159, 255, 0.25);
}
.nav-spacer { flex: 1; }
.badge {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(77, 159, 255, 0.12);
    color: var(--accent);
    border: 1px solid rgba(77, 159, 255, 0.25);
}
.badge-count {
    background: rgba(45, 212, 191, 0.15);
    color: var(--accent-2);
    border-color: rgba(45, 212, 191, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
    font-family: inherit;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #3a7fd4 100%);
    color: #061018;
    box-shadow: 0 10px 28px var(--accent-glow);
}
.btn-primary:hover {
    box-shadow: 0 14px 36px var(--accent-glow);
    text-decoration: none;
    color: #061018;
}
.btn-ghost {
    background: var(--surface-2);
    color: var(--text);
    border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; color: var(--text); }
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 10px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--muted);
}
.btn-icon:hover { color: var(--warning); border-color: rgba(245, 185, 66, 0.5); }
.btn-icon.is-active { color: var(--warning); border-color: var(--warning); background: rgba(245, 185, 66, 0.1); }

/* Forms */
label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.02em; }
input, select, textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: var(--bg-elevated);
    color: var(--text);
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
input[type="date"] {
    color-scheme: dark;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.85);
    cursor: pointer;
}
input:focus, select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(77, 159, 255, 0.15);
}
input[type="checkbox"] { width: auto; accent-color: var(--accent); }

/* Alerts */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 22px;
    font-size: 14px;
    backdrop-filter: blur(8px);
}
.alert-error { background: rgba(240, 113, 120, 0.12); border: 1px solid rgba(240, 113, 120, 0.35); color: #ffc4c8; }
.alert-info { background: rgba(77, 159, 255, 0.1); border: 1px solid rgba(77, 159, 255, 0.28); color: #b8d9ff; }

main { padding: 36px 0 72px; }

/* Site footer */
.site-footer {
    margin-top: 48px;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent 0%, rgba(8, 12, 22, 0.55) 100%);
}
.site-footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px 48px;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 32px;
}
.footer-brand {
    flex: 1 1 300px;
    max-width: 420px;
    min-width: min(100%, 280px);
}
.footer-col {
    flex: 0 0 auto;
    min-width: 140px;
}
.footer-logo { margin-bottom: 12px; }
.footer-tagline {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}
.footer-disclaimer {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    opacity: 0.85;
}
.footer-col-title {
    display: block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-nav a {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0 28px;
}
.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}
.footer-bottom-inner a {
    color: var(--accent);
    text-decoration: none;
}
.footer-bottom-inner a:hover { text-decoration: underline; }
.footer-credit {
    margin: 14px auto 0;
    text-align: center;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
    opacity: 0.8;
}
.footer-credit a {
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s var(--ease);
}
.footer-credit a:hover {
    color: var(--accent-2);
    text-decoration: underline;
}
.legal-doc {
    max-width: 720px;
    padding: 28px 32px 36px;
}
.legal-doc h2 {
    margin: 28px 0 10px;
    font-size: 18px;
    font-weight: 600;
}
.legal-doc p,
.legal-doc li {
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}
.legal-doc ul { margin: 0 0 16px; padding-left: 1.25rem; }
.legal-doc a { color: var(--accent); }
.legal-requisites {
    display: grid;
    gap: 12px;
    margin: 0 0 24px;
    padding: 18px 20px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.legal-requisites div {
    display: grid;
    gap: 4px;
}
.legal-requisites dt {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}
.legal-requisites dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}

@media (max-width: 768px) {
    .site-footer-main {
        flex-direction: column;
        gap: 24px;
        padding-top: 32px;
        padding-bottom: 24px;
    }
    .footer-brand { max-width: none; min-width: 0; }
}

/* Typography */
.display {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.gradient-text {
    background: linear-gradient(120deg, #fff 0%, #a8c8ff 45%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.eyebrow {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-2);
    margin: 0 0 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 18px;
    letter-spacing: -0.02em;
}
.scan-meta { color: var(--muted); font-size: 14px; }

/* Glass panel */
.panel {
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}
.panel-accent {
    position: relative;
    overflow: hidden;
}
.panel-accent::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--accent-2));
    border-radius: 3px 0 0 3px;
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 56px;
    padding: 12px 0 20px;
}
.hero h1.display { font-size: clamp(32px, 5vw, 48px); margin: 0 0 16px; }
.hero-lead { color: var(--muted); margin: 0 0 28px; max-width: 48ch; font-size: 17px; }
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.stat {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s var(--ease);
}
.stat:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.stat b {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat small { color: var(--muted); font-size: 11px; }

.scan-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scan-form .full { grid-column: 1 / -1; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip {
    font-size: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    text-decoration: none;
    background: var(--bg-elevated);
    transition: all 0.2s var(--ease);
}
a.chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 52px;
}
.step-card {
    padding: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}
.step-card::before {
    content: attr(data-step);
    position: absolute;
    top: 12px;
    right: 14px;
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
}
.step-card h3 { margin: 0 0 8px; font-size: 16px; font-family: var(--font-display); }
.step-card p { margin: 0; font-size: 13px; color: var(--muted); }

/* City cards */
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 14px; }
.city-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: var(--text);
    display: block;
    transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.25s;
}
.city-card:hover {
    border-color: rgba(77, 159, 255, 0.45);
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.city-card-cover {
    height: 96px;
    background: var(--surface-2) center/cover;
    position: relative;
}
.city-card-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 8, 13, 0.85));
}
.city-card-body { padding: 14px 16px; position: relative; }
.city-card strong { display: block; font-size: 15px; font-weight: 600; }
.city-card span { font-size: 12px; color: var(--muted); }

/* Pick cards (home) */
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 48px; }
.pick-card {
    display: grid;
    grid-template-rows: 140px 1fr;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.pick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.pick-cover { background: var(--surface-2) center/cover; position: relative; }
.pick-cover .match-pill {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(7, 8, 13, 0.75);
    border: 1px solid rgba(62, 207, 142, 0.5);
    color: var(--success);
    backdrop-filter: blur(6px);
}
.pick-body { padding: 16px; }
.pick-body h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.35; }
.pick-meta { font-size: 13px; color: var(--muted); }

/* Match rings */
.match-ring, .match-ring-sm {
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    background: conic-gradient(
        var(--accent) 0%,
        var(--accent-2) calc(var(--pct, 0) * 1%),
        var(--surface-2) calc(var(--pct, 0) * 1%)
    );
    position: relative;
    flex-shrink: 0;
}
.match-ring { width: 76px; height: 76px; font-size: 17px; }
.match-ring-sm { width: 50px; height: 50px; font-size: 11px; }
.match-ring span, .match-ring-sm span {
    border-radius: 50%;
    background: var(--surface);
    display: grid;
    place-items: center;
}
.match-ring span { width: 56px; height: 56px; }
.match-ring-sm span { width: 38px; height: 38px; }

/* Scan page */
.scan-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 26px;
    align-items: start;
}
.scan-results-main { min-width: 0; }
.scan-sidebar { min-width: 0; }
.scan-sidebar .heatmap { max-width: 100%; overflow: hidden; }
.scan-head {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 8px 0 24px;
    padding: 22px 26px;
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
}
.scan-head-copy { flex: 1; min-width: 0; }
.scan-head-eyebrow { margin-bottom: 8px !important; }
.scan-head h1 { margin: 0 0 6px; font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px); }
.toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; flex-wrap: wrap; }

.tour-featured {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    gap: 0;
    border: 1px solid rgba(77, 159, 255, 0.35);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 18px;
    background: var(--surface);
    box-shadow: 0 0 0 1px rgba(77, 159, 255, 0.08), var(--shadow);
    animation: card-in 0.5s var(--ease) both;
}
@keyframes card-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.tour-photo {
    min-height: 200px;
    background: linear-gradient(160deg, #152238, #1e3a5f) center/cover;
    position: relative;
}
.tour-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 50%, rgba(18, 21, 31, 0.4));
    pointer-events: none;
}
.tour-body { padding: 22px 24px; }
.tour-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0 0 10px; line-height: 1.25; }
.tour-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.tag {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 6px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--muted);
}
.tag-match {
    color: var(--success);
    border-color: rgba(62, 207, 142, 0.45);
    background: rgba(62, 207, 142, 0.08);
}

.tour-row {
    display: grid;
    grid-template-columns: 36px 1fr auto auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    background: var(--surface);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    animation: card-in 0.45s var(--ease) both;
}
.tour-row.is-selected,
.tour-featured.is-selected {
    border-color: rgba(77, 159, 255, 0.45);
    box-shadow: 0 0 0 1px rgba(77, 159, 255, 0.12);
}
.tour-row[data-scan-tour-id],
.tour-featured[data-scan-tour-id] {
    cursor: pointer;
}
.tour-row:hover { border-color: var(--border-strong); background: var(--surface-2); }
.tour-row .rank {
    font-family: var(--font-display);
    color: var(--muted);
    font-weight: 700;
    text-align: center;
    font-size: 15px;
}

.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.compare-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition: transform 0.2s var(--ease);
}
.compare-card:hover { transform: translateY(-2px); border-color: rgba(77, 159, 255, 0.3); }

.sidebar-panel {
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    backdrop-filter: blur(10px);
}
.sidebar-panel > strong {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.heatmap {
    display: flex;
    gap: 6px;
    align-items: flex-end;
    min-height: 72px;
    margin-top: 4px;
    padding-top: 4px;
}
.heatmap-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}
.heatmap-col.is-in-range .heatmap-label,
.heatmap-col.is-in-range .heatmap-count {
    color: var(--accent-2);
    font-weight: 600;
}
.heatmap-col.is-in-range .heatmap-bar.has-slots {
    box-shadow: 0 0 14px rgba(45, 212, 191, 0.35);
}
.heatmap-bar {
    width: 100%;
    border-radius: 5px 5px 3px 3px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
    min-height: 4px;
    transition: height 0.3s var(--ease), opacity 0.3s;
}
.heatmap-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}
.heatmap-label {
    font-size: 10px;
    color: var(--muted);
    text-transform: lowercase;
    line-height: 1;
}
.heatmap-col.is-empty .heatmap-bar {
    background: var(--surface-2);
    opacity: 0.35 !important;
}
.heatmap-col.is-empty .heatmap-count {
    color: var(--muted);
    font-weight: 500;
}
.heatmap-bar.has-slots {
    box-shadow: 0 0 12px rgba(45, 212, 191, 0.25);
}
.schedule-empty,
.schedule-hint {
    margin: 10px 0 0;
}

.filter-form {
    display: grid;
    gap: 12px;
    margin-bottom: 26px;
    padding: 20px;
    background: var(--surface-glass);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}
.filter-form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }

/* City search */
.city-search-wrap { position: relative; }
.city-suggest {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    max-height: 240px;
    overflow: auto;
    display: none;
    box-shadow: var(--shadow);
}
.city-suggest button {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border: none;
    background: transparent;
    color: inherit;
    cursor: pointer;
    font: inherit;
    border-bottom: 1px solid var(--border);
}
.city-suggest button:last-child { border-bottom: none; }
.city-suggest button:hover { background: var(--surface-2); }

/* Experience detail */
.exp-detail {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.exp-hero {
    height: min(42vh, 360px);
    background: linear-gradient(160deg, #152238, #243b5c) center/cover;
    position: relative;
}
.exp-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, var(--surface) 100%);
}
.exp-body {
    padding: 40px 32px 28px;
    position: relative;
    margin-top: 0;
    z-index: 1;
    background: var(--surface);
}
.exp-body h1 { font-family: var(--font-display); font-size: clamp(24px, 4vw, 32px); margin: 0 0 12px; }
.exp-tagline { color: var(--muted); margin: 0 0 18px; font-size: 16px; }
.exp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.exp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}
.exp-grid .sidebar-panel { min-width: 0; }
.about-lead { margin: 0; }
.about-stats { margin: 32px 0; }
.about-hero .page-heading { font-size: clamp(30px, 4vw, 42px); margin-bottom: 16px; }
.fav-empty-icon { font-size: 48px; margin: 0 0 12px; }
.fav-empty-title { margin: 0 0 16px; color: var(--text); font-weight: 600; }
.fav-empty-hint { margin-bottom: 20px; }
.btn-block { width: 100%; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; margin-bottom: 6px; }
.legal-doc .page-heading { font-size: clamp(26px, 4vw, 36px); margin: 0 0 24px; }
.exp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.review-list { margin: 12px 0 0; padding: 0; list-style: none; }
.review-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted);
}

/* Favorites page */
.fav-empty {
    text-align: center;
    padding: 60px 24px;
    background: var(--surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
}
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

/* Breadcrumbs */
.breadcrumbs {
    margin: 0 0 28px;
}
.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 9px 16px;
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    width: fit-content;
    max-width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}
.breadcrumbs-item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    font-size: 13px;
    line-height: 1.4;
}
.breadcrumbs-item + .breadcrumbs-item::before {
    content: '›';
    margin: 0 10px;
    color: var(--muted);
    opacity: 0.65;
    font-size: 14px;
    line-height: 1;
    user-select: none;
}
.breadcrumbs-item a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s var(--ease);
}
.breadcrumbs-item a:hover {
    color: var(--accent);
}
.breadcrumbs-item [aria-current="page"] {
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(420px, 70vw);
}

@media (max-width: 640px) {
    .breadcrumbs-list {
        border-radius: var(--radius-sm);
        padding: 10px 14px;
    }
    .breadcrumbs-item + .breadcrumbs-item::before {
        margin: 0 8px;
    }
}

/* City landing */
.city-hero {
    position: relative;
    padding: 36px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 32px;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.city-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--surface-2) center/cover;
    z-index: 0;
}
.city-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 8, 13, 0.2) 0%, rgba(7, 8, 13, 0.92) 75%);
}
.city-hero-content { position: relative; z-index: 1; }
.city-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.city-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin: 12px 0 20px;
    font-size: 14px;
    color: var(--muted);
}
.city-stats strong { color: var(--text); }
.city-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.city-scan-panel {
    margin-bottom: 36px;
}
.city-tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.city-tour-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.city-tour-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    border-color: rgba(77, 159, 255, 0.35);
}
.tag-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag-filter {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    cursor: pointer;
    color: var(--muted);
    font-family: inherit;
}
.tag-filter:has(input:checked) {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(77, 159, 255, 0.1);
}
.tag-filter input { display: none; }

/* Scan overlay */
.scan-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(7, 8, 13, 0.82);
    backdrop-filter: blur(10px);
    display: grid;
    place-items: center;
}
.scan-overlay[hidden] { display: none !important; }
.scan-overlay-inner { text-align: center; }
.scan-overlay-title {
    font-family: var(--font-display);
    font-size: 22px;
    margin: 20px 0 6px;
}
.scan-overlay-hint { color: var(--muted); font-size: 14px; margin: 0; }
.scan-radar {
    width: 88px;
    height: 88px;
    margin: 0 auto;
    border-radius: 50%;
    border: 2px solid rgba(77, 159, 255, 0.25);
    position: relative;
}
.scan-radar::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, var(--accent) 60deg, transparent 120deg);
    animation: radar-spin 1.2s linear infinite;
}
.scan-radar::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background: var(--bg);
}
@keyframes radar-spin { to { transform: rotate(360deg); } }

/* Share toast */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--surface);
    border: 1px solid var(--border-strong);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    z-index: 1100;
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.35s;
    box-shadow: var(--shadow);
}
.toast.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Recent scans */
.recent-scans { margin-bottom: 40px; }
.recent-list { display: flex; flex-wrap: wrap; gap: 10px; }
.recent-item {
    font-size: 13px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    transition: border-color 0.2s;
}
.recent-item:hover {
    border-color: var(--accent);
    text-decoration: none;
    color: var(--text);
}
.recent-item small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }

/* Loader */
.btn.is-loading { pointer-events: none; opacity: 0.75; }
.btn.is-loading::after {
    content: '';
    width: 14px;
    height: 14px;
    margin-left: 8px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Mobile nav */
.nav-toggle { display: none; min-width: 44px; }
.nav-menu-open .nav-links {
    display: flex !important;
}

/* Catalog */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 14px;
}
.catalog-search label { margin-bottom: 6px; }
.pagination-wrap {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.pagination-wrap nav,
.pagination-nav { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pagination-summary { margin: 12px 0 0; }
.pagination-wrap a,
.pagination-wrap span,
.pagination-nav a,
.pagination-nav span {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 14px;
    text-decoration: none;
}
.pagination-wrap a:hover { border-color: var(--accent); text-decoration: none; }
.pagination-wrap span[aria-current="page"],
.pagination-nav span[aria-current="page"] {
    border-color: var(--accent);
    background: rgba(77, 159, 255, 0.12);
}
.pagination-nav .is-disabled,
.pagination-nav .pagination-gap {
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    opacity: 0.6;
}
.filter-panel:not([open]) .filter-panel-hint { display: none; }
.filter-panel-summary span:first-child { flex: 1; }

/* Radar */
.radar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}
.radar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.radar-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
    font-size: 14px;
}
.radar-list li:last-child { border-bottom: none; }
.radar-form .form-field { margin-bottom: 14px; }
.radar-form-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

/* Catalog */
.page-heading { margin: 0 0 12px; font-size: clamp(28px, 4vw, 38px); }
.page-lead { margin-bottom: 24px; max-width: 52ch; }
.catalog-search {
    margin-bottom: 28px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.catalog-search .catalog-search-field { flex: 1; min-width: 200px; }
.catalog-search .catalog-search-submit { align-self: flex-end; }

/* Page sections */
.page-section { margin-bottom: 28px; }
.page-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Rich tour rows */
.tour-row-rich {
    grid-template-columns: 56px 28px 1fr auto auto !important;
    gap: 12px !important;
    align-items: center !important;
}
.tour-row-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: var(--surface-2) center/cover;
    flex-shrink: 0;
}
.tour-row-info { min-width: 0; }
.tour-row-info strong {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tour-row-price { text-align: right; min-width: 108px; }
.tour-row-actions {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    align-items: center;
}
.tour-row-actions a {
    font-size: 12px;
    color: var(--muted);
    text-decoration: none;
}
.tour-row-actions a:hover { color: var(--accent); }
.btn-icon-sm { width: 32px; height: 32px; font-size: 14px; }
.tour-price { font-size: 18px; }
.empty-state-title { margin: 0 0 8px; color: var(--text); font-weight: 600; }

.about-hero { margin-bottom: 8px; }

/* Presets */
.presets-section { margin-bottom: 44px; }
.presets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.preset-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.25s;
}
.preset-card:hover {
    transform: translateY(-3px);
    border-color: rgba(77, 159, 255, 0.4);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
}
.preset-icon { font-size: 28px; line-height: 1; }
.preset-card strong { font-size: 15px; }
.preset-card small { color: var(--muted); font-size: 12px; }

/* Trending */
.trending-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}
.trending-chip {
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s;
}
.trending-chip:hover {
    border-color: var(--accent);
    text-decoration: none;
    color: inherit;
}
.trending-chip strong { display: block; font-size: 14px; }
.trending-chip span { font-size: 11px; color: var(--muted); }

/* Trust bar */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    padding: 20px 24px;
    margin-bottom: 40px;
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
}
.trust-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 10px rgba(62, 207, 142, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* Compare table */
.compare-table-wrap {
    overflow-x: auto;
    margin-bottom: 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--surface);
}
.compare-table th,
.compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    text-align: left;
}
.compare-table th {
    background: var(--surface-2);
    font-weight: 600;
}
.compare-table td:first-child {
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}
.compare-thumb {
    width: 100%;
    height: 72px;
    border-radius: 8px;
    background: var(--surface-2) center/cover;
    margin-bottom: 8px;
}
.compare-score {
    display: inline-block;
    font-weight: 800;
    color: var(--accent-2);
    font-size: 18px;
}
.compare-score small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: var(--muted);
}

/* Photo gallery */
.photo-gallery {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    overflow-x: auto;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.photo-gallery-item {
    flex: 0 0 72px;
    height: 52px;
    border-radius: 8px;
    border: 2px solid transparent;
    background: var(--surface-2) center/cover;
    cursor: pointer;
    padding: 0;
    opacity: 0.65;
    transition: opacity 0.2s, border-color 0.2s;
}
.photo-gallery-item.is-active,
.photo-gallery-item:hover {
    opacity: 1;
    border-color: var(--accent);
}

/* Breakdown */
.breakdown-list { list-style: none; margin: 12px 0 0; padding: 0; font-size: 12px; }
.breakdown-list li {
    display: grid;
    grid-template-columns: minmax(96px, 1fr) 1fr 36px;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    color: var(--muted);
}
.breakdown-bar {
    height: 6px;
    background: var(--surface-2);
    border-radius: 999px;
    overflow: hidden;
}
.breakdown-bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: 999px;
}

/* 404 */
.error-page {
    text-align: center;
    padding: 48px 24px 64px;
    max-width: 560px;
    margin: 0 auto;
}
.error-code { font-size: clamp(40px, 8vw, 72px); margin: 0 0 12px; }
.error-lead { margin: 0 auto 28px; max-width: 40ch; text-align: center; }
.error-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Reveal on scroll (light) */
.reveal,
.step-card,
.preset-card,
.city-card,
.pick-card {
    opacity: 0;
    transform: translateY(14px);
}
.reveal.is-visible,
.step-card.is-visible,
.preset-card.is-visible,
.city-card.is-visible,
.pick-card.is-visible {
    animation: reveal-up 0.55s var(--ease) both;
    opacity: 1;
    transform: none;
}
@keyframes reveal-up {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    background: var(--surface);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius);
}
.empty-state-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }

/* Scan landing */
.scan-landing {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 40px;
}
.scan-landing-features {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
}
.scan-landing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 14px;
}
.feature-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.5);
}
kbd {
    font-family: inherit;
    font-size: 11px;
    padding: 2px 7px;
    border-radius: 6px;
    border: 1px solid var(--border-strong);
    background: var(--surface-2);
    color: var(--muted);
}

/* Filter panel */
.filter-panel {
    margin-bottom: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-glass);
    overflow: hidden;
}
.filter-panel-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}
.filter-panel-summary::-webkit-details-marker { display: none; }
.filter-panel-hint { color: var(--muted); font-size: 12px; font-weight: 400; }
.filter-panel[open] .filter-panel-summary { border-bottom: 1px solid var(--border); }
.filter-panel .filter-form { padding: 0 20px 20px; margin: 0; }
.filter-form-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 12px 0 16px;
}

/* Status pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    max-width: 100%;
    width: fit-content;
}
.status-pill-live {
    border-color: rgba(62, 207, 142, 0.35);
    color: #9ee8c0;
}

/* Match ring animation */
.match-ring-animate {
    animation: ring-pop 0.7s var(--ease) both;
}
@keyframes ring-pop {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Slot badges */
.tag-slots { border-color: rgba(45, 212, 191, 0.35); color: var(--accent-2); }
.slot-hint { color: var(--accent-2); }

/* Clickable tour rows */
.tour-row-rich[data-row-href] {
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.tour-row-rich[data-row-href]:hover {
    background: rgba(77, 159, 255, 0.06);
    border-color: rgba(77, 159, 255, 0.2);
}
.reveal-row {
    animation: reveal-up 0.45s var(--ease) both;
}

/* Scan sticky dock */
.scan-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    padding: 10px 0 calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, rgba(7, 8, 13, 0.92) 30%);
    pointer-events: none;
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
}
.scan-dock.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}
.scan-dock-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--surface-glass);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}
.scan-dock-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--surface-2) center/cover;
    flex-shrink: 0;
}
.scan-dock-info { flex: 1; min-width: 0; }
.scan-dock-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.scan-dock-title {
    display: block;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.scan-dock-actions { display: flex; gap: 8px; flex-shrink: 0; }
.page-scan main { padding-top: 28px; }
.page-scan .breadcrumbs { margin-bottom: 24px; }
.page-scan .scan-layout { padding-bottom: 96px; gap: 28px; }
.page-scan .scan-sidebar {
    position: sticky;
    top: 16px;
}
.page-scan .status-pill,
.page-scan .alert { margin: 0 0 20px; }

/* Booking bar (tour page) */
.booking-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 800;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, transparent, rgba(7, 8, 13, 0.95) 40%);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(12px);
}
.booking-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.booking-bar-info {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.booking-bar-info strong { font-size: 18px; }
.booking-bar-actions { display: flex; gap: 10px; }
.page-tour main { padding-bottom: 88px; }

/* Footer CTA */
.footer-cta {
    margin: 48px 0 32px;
}
.footer-cta-title { margin: 0 0 8px; }
.footer-cta-text { margin: 0; }
.footer-cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(77, 159, 255, 0.12), rgba(45, 212, 191, 0.08));
    box-shadow: var(--shadow);
}
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Stat count-up highlight */
.stat b.is-counted {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Responsive */
@media (max-width: 900px) {
    .hero, .scan-layout { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .tour-featured { grid-template-columns: 1fr; }
    .compare-grid { grid-template-columns: 1fr; }
    .presets-grid { grid-template-columns: 1fr 1fr; }
    .scan-landing { grid-template-columns: 1fr; }
    .radar-grid { grid-template-columns: 1fr; }
    .scan-dock-title { max-width: 140px; }
    .scan-dock-actions .btn-ghost { display: none; }
    .footer-cta-inner { flex-direction: column; align-items: flex-start; }
    .compare-table { font-size: 12px; }
    .nav-toggle { display: inline-flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        padding: 12px;
        margin-top: 8px;
        z-index: 50;
        box-shadow: var(--shadow);
    }
    .wrap > .nav { position: relative; flex-wrap: wrap; }
    .nav-spacer { display: none; }
    .nav .btn-primary { width: 100%; margin-top: 8px; order: 10; }
    .tour-row-rich {
        grid-template-columns: 48px 1fr auto !important;
        grid-template-rows: auto auto;
    }
    .tour-row-thumb { grid-row: 1 / 3; }
    .rank { display: none; }
    .match-ring-sm { grid-column: 3; }
    .exp-body { padding: 28px 20px 20px; }
}
@media (max-width: 600px) {
    .stats { grid-template-columns: 1fr; }
    .scan-form { grid-template-columns: 1fr; }
    .tour-row { grid-template-columns: 28px 1fr; }
    .tour-row .match-ring-sm { grid-column: 2; justify-self: start; }
}

/* City FAQ (SEO) */
.city-faq { margin-top: 28px; padding: 22px 24px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    padding: 0 14px;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 14px 0;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+';
    float: right;
    color: var(--muted);
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

/* ——— UX: accessibility & patterns ——— */
.skip-link {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 2000;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--accent);
    color: #061018;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s var(--ease);
}
.skip-link:focus {
    top: 12px;
    outline: none;
    box-shadow: 0 0 0 3px rgba(77, 159, 255, 0.35);
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.btn:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* Price display (RUB + foreign) */
.price-display {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
    line-height: 1.25;
}
.price-rub {
    font-weight: 700;
    color: var(--text);
}
.price-fx {
    font-size: 0.82em;
    font-weight: 600;
    color: var(--muted);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    letter-spacing: 0.01em;
}
.price-display--lg .price-rub { font-size: 18px; }
.price-display--sm .price-rub { font-size: 14px; }
.price-display--sm .price-fx { font-size: 11px; padding: 1px 6px; }
.badge-price {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}
.tour-price-row { margin: 12px 0 0; }

/* Status banner (flash messages) */
.status-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    margin-bottom: 24px;
    border-radius: var(--radius);
    background: rgba(77, 159, 255, 0.12);
    border: 1px solid rgba(77, 159, 255, 0.32);
    color: #c8e0ff;
    font-size: 14px;
    animation: banner-in 0.4s var(--ease) both;
}
.status-banner.is-dismissed {
    display: none;
}
.status-banner-text { flex: 1; line-height: 1.45; }
.status-banner-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.status-banner-close:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}
@keyframes banner-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Date quick picks */
.date-fields { grid-column: 1 / -1; }
.date-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.date-quick-picks {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}
.date-quick-label {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
}
.date-quick-btn {
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--muted);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.date-quick-btn:hover,
.date-quick-btn.is-active {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(77, 159, 255, 0.1);
}

/* Form checks (touch-friendly) */
.form-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.form-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    transition: border-color 0.2s, background 0.2s;
    margin: 0;
}
.form-check:has(input:checked) {
    border-color: rgba(77, 159, 255, 0.45);
    background: rgba(77, 159, 255, 0.08);
}
.form-check input { width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.form-check span { user-select: none; }
.field-hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.4;
}

/* Scan results UX */
.scan-head-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}
.match-score-help {
    margin: 0;
    max-width: 200px;
    font-size: 11px;
    line-height: 1.4;
    color: var(--muted);
}
.toolbar-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.toolbar-scroll .btn { flex-shrink: 0; }
.empty-state-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}
.city-suggest button.is-active,
.city-suggest button:focus-visible {
    background: rgba(77, 159, 255, 0.12);
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .mesh-bg::before,
    .mesh-bg::after,
    .trust-dot,
    .scan-radar::before {
        animation: none !important;
    }
    .reveal,
    .step-card,
    .preset-card,
    .city-card,
    .pick-card {
        opacity: 1;
        transform: none;
    }
}

/* Marketing blocks */
.value-props { margin-bottom: 48px; }
.value-props-lead { max-width: 58ch; margin: -6px 0 22px; }
.value-props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}
.value-prop-card {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.25s var(--ease);
}
.value-prop-card:hover {
    border-color: rgba(77, 159, 255, 0.35);
    transform: translateY(-2px);
}
.value-prop-icon { font-size: 28px; line-height: 1; display: block; margin-bottom: 10px; }
.value-prop-card h3 { margin: 0 0 8px; font-size: 15px; font-family: var(--font-display); }
.value-prop-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

.audience-strip { margin-bottom: 48px; }
.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}
.audience-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--surface-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(8px);
}
.audience-icon { font-size: 24px; line-height: 1; flex-shrink: 0; }
.audience-card strong { display: block; font-size: 14px; margin-bottom: 4px; }
.audience-card p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.45; }

@media (max-width: 600px) {
    .date-fields-row { grid-template-columns: 1fr; }
    .match-score-help { max-width: none; }
    .scan-head { flex-direction: column; align-items: flex-start; }
    .scan-head-score { flex-direction: row; text-align: left; width: 100%; justify-content: space-between; }
    .match-score-help { flex: 1; text-align: left; max-width: none; }
}
