/* ==========================================================================
   TourGo — минималистичная тема
   Один шрифт (Golos Text), белый фон, чёрный текст.
   Бирюзовый — ссылки и активные состояния, оранжевый — только главное действие.
   ========================================================================== */
:root {
    --bg: #FFFFFF;
    --soft: #F3F5F5;
    --ink: #111416;
    --ink-2: #5F6B70;
    --ink-3: #98A3A7;
    --line: #E4E8E9;
    --line-2: #CCD4D6;
    --sea: #007C89;
    --sea-soft: #E5F3F4;
    --sun: #FF6A2B;
    --sun-ink: #E45716;
    --sun-soft: #FFEEE6;
    --danger: #D23A2C;

    --f: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --wrap: 1200px;
    --gut: clamp(16px, 4vw, 40px);
    --r: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--f); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
em { font-style: normal; }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ── текст ─────────────────────────────────────────────────────── */
.h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -.03em; font-weight: 600; }
.h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.15; letter-spacing: -.02em; font-weight: 600; }
.h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.01em; font-weight: 600; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 52ch; }
.kicker, .mono { font-size: 13px; line-height: 1.4; color: var(--ink-2); font-weight: 400; }
.kicker { display: block; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }

/* ── кнопки ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 46px; padding: 0 20px; border: 1px solid var(--ink); border-radius: var(--r);
    background: var(--ink); color: #fff; font-size: 15px; font-weight: 500;
    cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: #2B3236; border-color: #2B3236; }
.btn-sun { background: var(--sun); border-color: var(--sun); }
.btn-sun:hover { background: var(--sun-ink); border-color: var(--sun-ink); }
.btn-sea { background: var(--sea); border-color: var(--sea); }
.btn-sea:hover { background: #00636D; border-color: #00636D; }
.btn-ghost { background: var(--bg); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--soft); border-color: var(--line-2); color: var(--ink); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.arr { display: none; }
.link { color: var(--sea); }
.link:hover { text-decoration: underline; }
.link-danger { color: var(--danger); background: none; border: 0; padding: 0; cursor: pointer; font-size: 14px; }

/* ── шапка ─────────────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 40px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo svg { width: 24px; height: 24px; }
.logo b { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.logo b i { font-style: normal; color: var(--sea); }
.nav { display: flex; gap: 28px; margin-right: auto; }
.nav a { font-size: 15px; color: var(--ink-2); }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on { font-weight: 500; }
.nav .show-m { display: none; }
.top-act { display: flex; align-items: center; gap: 16px; }
.cart-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--ink-2); }
.cart-link:hover { color: var(--ink); }
.cart-link .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--sun); color: #fff; font-size: 12px; font-weight: 600; line-height: 20px; text-align: center; }
.burger { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ── уведомления ───────────────────────────────────────────────── */
.flash { background: var(--sea-soft); }
.flash .wrap { display: flex; gap: 10px; padding-top: 12px; padding-bottom: 12px; font-size: 15px; }
.flash .mark { display: none; }
.flash.err { background: var(--sun-soft); }
.flash ul { margin: 0; padding: 0; list-style: none; }

/* ── главная ───────────────────────────────────────────────────── */
.hero { padding: clamp(32px, 5vw, 64px) 0 0; }
.hero h1 { max-width: 14ch; }
.hero .lead { margin: 18px 0 0; }
.hero-img { margin-top: clamp(28px, 4vw, 48px); border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 9; background: var(--soft); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

.search { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 8px; margin-top: 28px; }
.search label { display: block; min-width: 0; }
.search label span { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.search select, .search input { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); outline: none; appearance: none; -webkit-appearance: none; }
.search select:focus, .search input:focus { border-color: var(--sea); }
.search .btn { align-self: end; }

.sec { padding: clamp(48px, 7vw, 88px) 0 0; }
.sec:last-of-type { padding-bottom: clamp(56px, 8vw, 96px); }
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 24px; }
.sec-head a { font-size: 15px; color: var(--sea); }
.sec-head a:hover { text-decoration: underline; }

.dest-list { display: flex; flex-wrap: wrap; gap: 8px; }
.dest-list a { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; transition: border-color .15s, background .15s; }
.dest-list a:hover { border-color: var(--ink); }
.dest-list a span { color: var(--ink-3); margin-left: 6px; }

.note { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; background: var(--soft); border-radius: var(--r); }
.note p { margin: 4px 0 0; color: var(--ink-2); }

/* карточки туров */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { display: block; }
.card .ph { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; background: var(--soft); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.card:hover .ph img { opacity: .9; }
.card .tag { display: none; }
.card .body { padding-top: 12px; }
.card .where { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--ink-2); }
.card h3 { font-size: 18px; line-height: 1.3; font-weight: 600; margin: 2px 0 2px; }
.card:hover h3 { color: var(--sea); }
.card .meta { font-size: 14px; color: var(--ink-2); }
.card .foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; }
.card .foot b { font-weight: 600; font-size: 16px; }
.card .foot .mono { color: var(--ink-3); }
.rating { font-size: 14px; color: var(--ink-2); }
.rating::before { content: '★ '; color: var(--sun); }

/* ── подвал ────────────────────────────────────────────────────── */
.foot-site { border-top: 1px solid var(--line); padding: 48px 0 32px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-site .slogan { color: var(--ink-2); margin: 10px 0 0; font-size: 15px; }
.foot-site h4 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.foot-site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.foot-site a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; font-size: 13px; color: var(--ink-3); }

/* ── формы ─────────────────────────────────────────────────────── */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; margin-bottom: 6px; font-size: 14px; color: var(--ink-2); }
.field > span i { color: var(--danger); font-style: normal; }
.input, .field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea {
    width: 100%; height: 46px; padding: 0 12px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r);
    font-size: 16px; outline: none; transition: border-color .15s;
}
.field textarea { height: auto; min-height: 110px; padding: 10px 12px; resize: vertical; line-height: 1.5; }
.field select, select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23111416' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sea); }
.field input:disabled { background: var(--soft); color: var(--ink-2); }
.field .err, .err-text { display: block; margin-top: 6px; color: var(--danger); font-size: 13px; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--danger); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--sea); flex-shrink: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 12px; }
fieldset { border: 0; padding: 0; margin: 0 0 28px; }
legend { font-size: 19px; font-weight: 600; margin-bottom: 14px; padding: 0; }

/* ── вход / регистрация ────────────────────────────────────────── */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 65px); }
.auth-photo { position: relative; overflow: hidden; background: var(--soft); }
.auth-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-photo blockquote { display: none; }
.auth-form { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 6vw, 88px); max-width: 600px; }
.auth-form .kicker { display: none; }
.auth-form .h2 { margin-bottom: 8px; }
.auth-form form { margin-top: 28px; }
.demo-logins { margin-top: 28px; padding: 14px 16px; background: var(--soft); border-radius: var(--r); font-size: 14px; color: var(--ink-2); }
.demo-logins code { font-family: inherit; font-weight: 600; color: var(--ink); }

/* ── каталог ───────────────────────────────────────────────────── */
.page-head { padding: clamp(28px, 4vw, 48px) 0 0; }
.page-head .h1 { margin-top: 8px; font-size: clamp(32px, 4vw, 48px); }
.crumbs { font-size: 14px; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 48px; padding-top: 32px; padding-bottom: 88px; }
.filters { position: sticky; top: 88px; align-self: start; }
.filters h4 { font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.filters .grp { margin-bottom: 24px; }
.filters .check { margin-bottom: 8px; color: var(--ink); font-size: 15px; }
.filters .input { height: 40px; font-size: 15px; }
.seg { display: flex; gap: 4px; padding: 3px; background: var(--soft); border-radius: var(--r); }
.seg label { flex: 1; text-align: center; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 7px 2px; font-size: 13px; border-radius: 6px; }
.seg input:checked + span { background: var(--bg); box-shadow: 0 0 0 1px var(--line-2); font-weight: 500; }
.seg input:focus-visible + span { outline: 2px solid var(--sea); }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.results-bar select { width: auto; height: 38px; font-size: 14px; }
.empty { padding: 64px 24px; text-align: center; background: var(--soft); border-radius: var(--r); }
.empty .h3 { margin-bottom: 6px; }
.filter-toggle { display: none; }

.pager { display: flex; gap: 4px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r); font-size: 14px; }
.pager a:hover { background: var(--soft); }
.pager .on { background: var(--ink); color: #fff; }
.pager .off { color: var(--ink-3); }

/* ── страница тура ─────────────────────────────────────────────── */
.tour-head { padding: 28px 0 24px; }
.tour-head .h1 { margin: 10px 0 6px; font-size: clamp(32px, 4.4vw, 52px); }
.tour-head .sub { font-size: 19px; color: var(--ink-2); margin: 0; }
.tour-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 20px; }
.tour-meta span { display: block; font-size: 13px; color: var(--ink-2); }
.tour-meta b { font-weight: 500; font-size: 15px; }
.stars { color: var(--sun); letter-spacing: 1px; font-size: 14px; }
.stars .off { color: var(--line-2); }

.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; height: clamp(300px, 42vw, 520px); }
.gallery button { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; border-radius: var(--r); background: var(--soft); position: relative; }
.gallery button:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .more { position: absolute; right: 10px; bottom: 10px; background: rgba(255,255,255,.95); padding: 4px 10px; border-radius: 6px; font-size: 13px; color: var(--ink); }
.gallery.one { grid-template-columns: 1fr; }
.gallery.one button:first-child { grid-row: auto; }

.tour-body { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 72px); padding: 40px 0 88px; }
.prose { font-size: 17px; line-height: 1.65; max-width: 66ch; }
.block { margin-top: 48px; }
.block > .h3 { margin-bottom: 16px; }

.program { list-style: none; padding: 0; margin: 0; }
.program li { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.program .d { font-size: 14px; color: var(--ink-2); }
.program .d b { display: block; font-weight: 600; color: var(--ink); font-size: 15px; }
.program .d b::before { content: 'День '; }
.program h4 { font-size: 16px; font-weight: 600; margin: 0 0 2px; }
.program p { margin: 0; color: var(--ink-2); }

.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.incl ul { list-style: none; padding: 0; margin: 0; }
.incl li { padding: 6px 0 6px 22px; position: relative; font-size: 15px; }
.incl li::before { position: absolute; left: 0; top: 6px; font-weight: 600; }
.incl .yes li::before { content: '✓'; color: var(--sea); }
.incl .no li::before { content: '—'; color: var(--ink-3); }
.incl h4 { font-size: 16px; margin-bottom: 8px; }

/* блок бронирования */
.ticket { position: sticky; top: 88px; z-index: 2; align-self: start; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.ticket .t-top, .ticket .t-bot { padding: 0; }
.ticket .route { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.ticket .route .to { text-align: right; }
.ticket .route b { display: block; font-weight: 600; font-size: 16px; }
.ticket .route .line { display: none; }
.ticket .route .small { display: none; }
.perf { height: 1px; background: var(--line); margin: 0 0 16px; }
.ticket .price { font-size: 30px; font-weight: 600; letter-spacing: -.02em; }
.ticket .price small { font-size: 14px; font-weight: 400; color: var(--ink-2); letter-spacing: 0; }
.ticket .kv { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.ticket .total { display: flex; justify-content: space-between; align-items: end; margin: 18px 0; }
.ticket .total b { font-size: 20px; font-weight: 600; }
.ticket .acts { display: grid; gap: 8px; }
.seats.low { color: var(--sun-ink); font-weight: 500; }
.fav-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; cursor: pointer; font-size: 14px; color: var(--ink-2); padding: 14px 0 0; }
.fav-btn:hover { color: var(--ink); }
.fav-btn svg { width: 18px; height: 18px; }
.fav-btn.on { color: var(--sun-ink); }
.fav-btn.on svg { fill: var(--sun); stroke: var(--sun); }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r); height: 40px; overflow: hidden; }
.stepper button { width: 36px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--ink-2); }
.stepper button:hover { background: var(--soft); color: var(--ink); }
.stepper input { width: 38px; height: 100%; border: 0; text-align: center; font-weight: 500; background: transparent; -moz-appearance: textfield; outline: none; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }

.reviews { display: grid; }
.review { padding: 18px 0; border-top: 1px solid var(--line); }
.review .who { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--ink-2); display: grid; place-items: center; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.review .who b { font-weight: 500; }
.rate-input { display: inline-flex; flex-direction: row-reverse; gap: 2px; }
.rate-input input { position: absolute; opacity: 0; }
.rate-input label { font-size: 26px; color: var(--line-2); cursor: pointer; line-height: 1; }
.rate-input input:checked ~ label, .rate-input label:hover, .rate-input label:hover ~ label { color: var(--sun); }
details.report summary { cursor: pointer; font-size: 14px; color: var(--ink-3); list-style: none; }
details.report summary::-webkit-details-marker { display: none; }
details.report summary:hover { color: var(--danger); }
details.report[open] summary { margin-bottom: 12px; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 12, 13, .95); display: none; align-items: center; justify-content: center; padding: 48px 72px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 30px; line-height: 1; padding: 12px; opacity: .75; }
.lightbox button:hover { opacity: 1; }
.lightbox .x { top: 10px; right: 14px; }
.lightbox .prev { left: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 10px; top: 50%; transform: translateY(-50%); }
.lightbox .cnt { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #aaa; font-size: 13px; }

/* ── корзина, оформление ───────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px, 5vw, 64px); padding-top: 32px; padding-bottom: 88px; align-items: start; }
.lines { border-top: 1px solid var(--line); }
.line-item { display: grid; grid-template-columns: 104px 1fr auto auto 28px; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 104px; height: 78px; object-fit: cover; border-radius: var(--r); }
.line-item h3 { font-size: 18px; font-weight: 600; margin: 2px 0; }
.line-item h3 a:hover { color: var(--sea); }
.line-item .sum { font-weight: 600; min-width: 100px; text-align: right; }
.x-btn { background: none; border: 0; cursor: pointer; color: var(--ink-3); font-size: 22px; line-height: 1; padding: 4px; }
.x-btn:hover { color: var(--danger); }
.summary { position: sticky; top: 88px; background: var(--soft); border-radius: 12px; padding: 22px; }
.summary .kv { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 15px; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 18px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.summary .total b { font-size: 24px; font-weight: 600; }

.pay-opts { display: grid; gap: 8px; }
.pay-opt { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--r); cursor: pointer; }
.pay-opt input { margin-top: 3px; accent-color: var(--sea); width: 18px; height: 18px; }
.pay-opt b { font-weight: 500; display: block; }
.pay-opt small { color: var(--ink-2); font-size: 14px; }
.pay-opt:has(input:checked) { border-color: var(--sea); background: var(--sea-soft); }
.pay-opt.disabled { opacity: .5; cursor: not-allowed; }

.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.5; background: var(--sea-soft); color: var(--sea); white-space: nowrap; }
.badge.sun { background: var(--sun-soft); color: var(--sun-ink); }
.badge.grey { background: var(--soft); color: var(--ink-2); }
.badge.red { background: #FBE4E1; color: var(--danger); }
.badge.ink { background: var(--ink); color: #fff; }

/* ── бронирование ──────────────────────────────────────────────── */
.success-note { padding: 18px 22px; border-radius: var(--r); background: var(--sea-soft); margin-top: 28px; }
.success-note b { display: block; font-size: 18px; color: var(--sea); }
.receipt { display: grid; grid-template-columns: 1fr 300px; gap: 40px; margin: 20px 0 40px; align-items: start; }
.receipt .h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 6px 0 4px; }
.receipt-items { border-top: 1px solid var(--line); margin-top: 24px; }
.receipt-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.receipt-item img { width: 88px; height: 66px; object-fit: cover; border-radius: 6px; }
.receipt-item h3 { font-size: 17px; }
.receipt-item h3 a:hover { color: var(--sea); }
.facts-list { display: grid; gap: 0; }
.facts-list div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.facts-list div:last-child { border-bottom: 0; }
.facts-list span { color: var(--ink-2); }
.facts-list b { font-weight: 500; text-align: right; }

/* ── демо-шлюз ─────────────────────────────────────────────────── */
.gate { min-height: calc(100vh - 65px); display: grid; place-items: center; padding: 40px var(--gut); background: var(--soft); }
.gate-card { width: 100%; max-width: 440px; background: var(--bg); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.gate-head { padding: 18px 24px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.gate-body { padding: 24px; }
.gate .amount { font-size: 34px; font-weight: 600; letter-spacing: -.02em; margin: 2px 0 20px; }
.cardface { margin-bottom: 4px; }
.cardface input { letter-spacing: .04em; }
.hint { background: var(--soft); border-radius: var(--r); padding: 12px 14px; font-size: 13px; color: var(--ink-2); margin-bottom: 16px; line-height: 1.7; }
.hint code { font-family: inherit; font-weight: 600; color: var(--ink); cursor: pointer; border-bottom: 1px dashed var(--ink-3); }

/* ── личный кабинет ────────────────────────────────────────────── */
.acc-head { display: flex; align-items: center; gap: 16px; padding: 40px 0 0; }
.acc-head .avatar { width: 56px; height: 56px; font-size: 17px; }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin: 28px 0 28px; overflow-x: auto; }
.tabs a { padding: 10px 0; font-size: 15px; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--ink); border-color: var(--ink); font-weight: 500; }
.tabs a small { color: var(--ink-3); margin-left: 4px; font-size: 13px; }
.mini-pass { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini-pass:hover h3 { color: var(--sea); }
.mini-pass h3 { font-size: 17px; margin: 2px 0; }

/* ── панель управления ─────────────────────────────────────────── */
.panel { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.side { background: var(--soft); border-right: 1px solid var(--line); padding: 20px 14px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.side .logo { padding: 0 10px; }
.side .role { margin: 16px 10px 20px; font-size: 13px; color: var(--ink-2); }
.side .role b { display: block; color: var(--ink); font-weight: 500; font-size: 14px; }
.side nav { display: grid; gap: 1px; }
.side nav a { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 6px; font-size: 15px; color: var(--ink-2); }
.side nav a:hover { color: var(--ink); background: rgba(0,0,0,.03); }
.side nav a.on { background: var(--bg); color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px var(--line); }
.side nav a .n { font-size: 12px; font-weight: 600; background: var(--sun); color: #fff; border-radius: 10px; padding: 0 7px; line-height: 20px; }
.side .sep { font-size: 12px; color: var(--ink-3); margin: 16px 10px 4px; }
.side .bottom { margin-top: auto; padding-top: 20px; display: grid; gap: 2px; }
.side .bottom a, .side .bottom button { padding: 7px 10px; color: var(--ink-2); background: none; border: 0; text-align: left; cursor: pointer; font-size: 14px; }
.side .bottom a:hover, .side .bottom button:hover { color: var(--ink); }
.main { padding: 32px clamp(20px, 3vw, 44px) 64px; min-width: 0; }
.main-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.main-head .h2 { font-size: clamp(24px, 2.4vw, 30px); margin-top: 4px; }
.main-head a.mono:hover { color: var(--ink); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 24px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; }
.tile b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin-top: 4px; }
.tile.accent { border-color: var(--sea); }
.tile.accent b { color: var(--sea); }
.box { border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-bottom: 16px; background: var(--bg); }
.box > h3 { font-size: 17px; margin-bottom: 14px; }
.cols2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
.t th { text-align: left; font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--soft); }
.t td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.t tr:last-child td { border-bottom: 0; }
.t .thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 4px; }
.t .acts { display: flex; gap: 12px; align-items: center; justify-content: flex-end; white-space: nowrap; }
.t select.input { height: 34px; font-size: 13px; padding: 0 30px 0 10px; width: auto; }
.t .mono { color: var(--ink); font-size: 14px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center; }
.toolbar .input { height: 38px; width: auto; min-width: 220px; font-size: 14px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips a { padding: 6px 12px; border-radius: 999px; font-size: 13px; background: var(--soft); color: var(--ink-2); }
.chips a:hover { color: var(--ink); }
.chips a.on { background: var(--ink); color: #fff; }
.bars { display: flex; align-items: flex-end; gap: 12px; height: 160px; }
.bars div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; }
.bars i { display: block; width: 100%; background: var(--sea-soft); border-radius: 4px 4px 0 0; min-height: 2px; }
.bars div:last-child i { background: var(--sea); }
.bars span { font-size: 12px; color: var(--ink-2); }
.prog-row { display: grid; grid-template-columns: 60px 1fr 1.6fr 32px; gap: 8px; align-items: start; margin-bottom: 8px; }
.prog-row .d { font-size: 13px; line-height: 46px; color: var(--ink-3); }
.prog-row textarea { min-height: 46px !important; height: 46px; }
.gal-edit { display: flex; gap: 8px; flex-wrap: wrap; }
.gal-edit label { position: relative; cursor: pointer; }
.gal-edit img { width: 104px; height: 76px; object-fit: cover; border-radius: 6px; }
.gal-edit input { position: absolute; top: 6px; left: 6px; accent-color: var(--danger); }
.gal-edit span { position: absolute; bottom: 4px; left: 6px; font-size: 11px; color: #fff; text-shadow: 0 1px 3px #000; }
.form-actions { display: flex; gap: 14px; align-items: center; }

/* ── статичные страницы ────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); padding: 40px 0 72px; }
.about-grid .big { font-size: clamp(20px, 2vw, 24px); line-height: 1.4; font-weight: 500; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.nums b { display: block; font-size: 36px; font-weight: 600; letter-spacing: -.02em; }
.credits { font-size: 13px; color: var(--ink-2); columns: 2; column-gap: 40px; padding-left: 18px; }
.credits li { break-inside: avoid; margin-bottom: 6px; }
.contacts-list div { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.contacts-list b { font-size: 20px; font-weight: 500; }
.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px var(--gut); }
.err-page .code { font-size: clamp(72px, 12vw, 128px); font-weight: 600; letter-spacing: -.04em; color: var(--line-2); line-height: 1; }

/* ── адаптив ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .cards.four { grid-template-columns: repeat(2, 1fr); }
    .tour-body, .split { grid-template-columns: 1fr 320px; }
}
@media (max-width: 960px) {
    .nav, .top-act .hide-m { display: none; }
    .burger { display: block; }
    .top.open .nav { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 4px var(--gut) 12px; }
    .top.open .nav a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
    .top.open .nav a:last-child { border-bottom: 0; }
    .top.open .nav .show-m { display: block; }
    .search { grid-template-columns: 1fr 1fr; }
    .hero-img { aspect-ratio: 16 / 9; }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .foot-grid > :first-child { grid-column: 1 / -1; }
    .catalog { grid-template-columns: 1fr; gap: 20px; }
    .filters { position: static; display: none; }
    .filters.open { display: block; }
    .filter-toggle { display: inline-flex; }
    .tour-body, .split, .receipt { grid-template-columns: 1fr; }
    .ticket, .summary { position: static; }
    .auth { grid-template-columns: 1fr; }
    .auth-photo { min-height: 200px; }
    .panel { grid-template-columns: 1fr; }
    .side { position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .side nav { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .side .bottom { display: flex; flex-wrap: wrap; }
    .cols2, .about-grid { grid-template-columns: 1fr; }
    .note { flex-direction: column; align-items: start; }
}
@media (max-width: 640px) {
    body { font-size: 15px; }
    .search { grid-template-columns: 1fr; }
    .hero-img { aspect-ratio: 4 / 3; }
    .cards, .cards.four { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; }
    .foot-bottom { flex-direction: column; }
    .row2, .row3, .incl { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 400px; }
    .gallery button:first-child { grid-column: span 2; grid-row: auto; }
    .program li { grid-template-columns: 1fr; gap: 2px; }
    .program .d { display: flex; gap: 8px; }
    .line-item { grid-template-columns: 72px 1fr 28px; gap: 12px; }
    .line-item img { width: 72px; height: 72px; }
    .line-item .stepper-cell, .line-item .sum { grid-column: 2; }
    .line-item .sum { text-align: left; }
    .line-item .x-btn { grid-row: 1; grid-column: 3; }
    .receipt-item { grid-template-columns: 64px 1fr; }
    .receipt-item img { width: 64px; height: 64px; }
    .receipt-item > b { grid-column: 2; }
    .contacts-list div { grid-template-columns: 1fr; gap: 2px; }
    .credits { columns: 1; }
    .lightbox { padding: 56px 8px; }
    .prog-row { grid-template-columns: 1fr 32px; }
    .prog-row .d { display: none; }
    .prog-row .x-btn { grid-column: 2; grid-row: 1; }
}
.tour-meta .stars { display: inline; font-size: inherit; }
.hero h1 { max-width: none; }
.t td.mono { white-space: nowrap; }

/* надёжность: отправляемая кнопка и неподгрузившееся фото */
.btn.is-sending { opacity: .7; cursor: progress; position: relative; }
img.img-failed { visibility: hidden; }

/* ==========================================================================
   Плавность: меню, появление блоков, слайдер
   ========================================================================== */
:root { --ease: cubic-bezier(.22, .8, .24, 1); }
html { scroll-behavior: smooth; }
main { animation: pageIn .5s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* шапка: тень при прокрутке, подчёркивание пунктов */
.top { transition: box-shadow .3s, border-color .3s; }
.top.scrolled { box-shadow: 0 6px 24px rgba(17, 20, 22, .06); border-color: transparent; }
.nav a { position: relative; transition: color .2s; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: var(--sun); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }

/* выпадающее меню профиля */
.menu { position: relative; }
.menu-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px 0 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); cursor: pointer; color: var(--ink-2); transition: border-color .2s; }
.menu-btn:hover { border-color: var(--ink-3); }
.menu-btn .avatar { width: 30px; height: 30px; font-size: 11px; background: var(--sea-soft); color: var(--sea); }
.menu-btn svg { transition: transform .3s var(--ease); }
.menu.open .menu-btn svg { transform: rotate(180deg); }
.menu-pop {
    position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; min-width: 230px; padding: 6px;
    background: var(--bg); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(17, 20, 22, .12);
    opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.97); transform-origin: top right;
    transition: opacity .2s, transform .28s var(--ease), visibility 0s .28s;
}
.menu.open .menu-pop { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .28s var(--ease), visibility 0s; }
.menu-who { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-who b { display: block; font-weight: 600; font-size: 15px; }
.menu-who span { font-size: 13px; color: var(--ink-2); }
.menu-pop a, .menu-pop button { display: block; width: 100%; text-align: left; padding: 9px 12px; border: 0; background: none; border-radius: 8px; font-size: 15px; cursor: pointer; transition: background .15s, padding-left .25s var(--ease); }
.menu-pop a:hover, .menu-pop button:hover { background: var(--soft); padding-left: 16px; }
.menu-pop form { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.menu-pop button { color: var(--danger); }

/* уведомления: выезжают и сами исчезают */
.flash { display: grid; grid-template-rows: 1fr; animation: flashIn .5s var(--ease) both; transition: grid-template-rows .45s var(--ease), opacity .3s; }
.flash > .wrap { overflow: hidden; min-height: 0; transition: padding .45s var(--ease); }
.flash.hide { grid-template-rows: 0fr; opacity: 0; }
.flash.hide > .wrap { padding-top: 0; padding-bottom: 0; }
@keyframes flashIn { from { opacity: 0; transform: translateY(-12px); } }

/* кнопки, карточки, поля */
.btn { transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .25s; }
.btn:active { transform: scale(.98); }
.btn-sun:hover { box-shadow: 0 8px 20px rgba(255, 106, 43, .28); }
.card .ph img { transition: transform .9s var(--ease), opacity .3s; }
.card:hover .ph img { transform: scale(1.04); opacity: 1; }
.card h3 { transition: color .2s; }
.dest-list a { transition: border-color .2s, background .2s, color .2s, transform .25s var(--ease); }
.dest-list a:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.dest-list a:hover span { color: rgba(255,255,255,.6); }
.search select, .search input { transition: border-color .2s, box-shadow .2s; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus, .search select:focus, .search input:focus { box-shadow: 0 0 0 4px var(--sea-soft); }
.seg span { transition: background .25s, box-shadow .25s; }
.pay-opt { transition: border-color .2s, background .25s; }
.tabs a { transition: color .2s, border-color .3s; }
.gallery img { transition: transform .9s var(--ease); }
.gallery button:hover img { transform: scale(1.03); }
.mini-pass h3, .receipt-item h3 a, .line-item h3 a { transition: color .2s; }
.side nav a { transition: background .2s, color .2s; }
.fav-btn svg { transition: transform .3s var(--ease), fill .2s; }
.fav-btn:active svg { transform: scale(1.3); }
details.report[open] > form { animation: fadeUp .35s var(--ease); }

/* появление блоков при прокрутке */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* лайтбокс с затуханием */
.lightbox { display: flex; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.lightbox img { transform: scale(.96); transition: transform .4s var(--ease), opacity .25s; }
.lightbox.open img { transform: none; }
.lightbox img.swap { opacity: 0; }

/* ── слайдер ───────────────────────────────────────────────────── */
.slider { position: relative; height: min(84vh, 760px); min-height: 540px; overflow: hidden; background: #0E1A1E; color: #fff; isolation: isolate; touch-action: pan-y; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; z-index: 0; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 8s cubic-bezier(.2, .5, .3, 1); }
.slide.on img { transform: scale(1); }
.slider::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(90deg, rgba(8, 16, 19, .62) 0%, rgba(8, 16, 19, .25) 45%, rgba(8, 16, 19, 0) 70%),
                linear-gradient(0deg, rgba(8, 16, 19, .55) 0%, rgba(8, 16, 19, 0) 40%); }
.slider-text { position: absolute; left: 0; right: 0; bottom: clamp(130px, 18vh, 180px); z-index: 3; }
.slider-text .hello { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); font-size: 14px; margin-bottom: 18px; }
.slider-text .h1 { color: #fff; max-width: 12ch; font-size: clamp(40px, 6.2vw, 80px); }
.slider-text .lead { color: rgba(255,255,255,.86); margin: 18px 0 28px; max-width: 46ch; }
.slider-text > * { animation: fadeUp .9s var(--ease) both; }
.slider-text > :nth-child(2) { animation-delay: .1s; }
.slider-text > :nth-child(3) { animation-delay: .2s; }
.slider-text > :nth-child(4) { animation-delay: .3s; }
.slide-cap { position: absolute; z-index: 3; right: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); bottom: clamp(130px, 18vh, 180px); width: 270px;
    padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.12); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.18);
    opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); }
.slide.on .slide-cap { opacity: 1; transform: none; transition-delay: .6s; }
.slide-cap span { display: block; font-size: 13px; color: rgba(255,255,255,.78); }
.slide-cap a { display: block; font-size: 18px; font-weight: 600; margin: 4px 0 6px; line-height: 1.25; }
.slide-cap a i { font-style: normal; display: inline-block; transition: transform .3s var(--ease); }
.slide-cap a:hover i { transform: translateX(4px); }
.slide-cap b { font-weight: 500; font-size: 15px; }
.slider-ui { position: absolute; left: 0; right: 0; bottom: 72px; z-index: 4; display: flex; justify-content: space-between; align-items: center; }
.dots { display: flex; gap: 8px; }
.dots button { width: 42px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; align-items: center; }
.dots i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; position: relative; }
.dots i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.dots button.done i::after { transform: scaleX(1); }
.dots button.on i::after { animation: dotFill var(--slide-time, 6s) linear forwards; }
.slider.paused .dots button.on i::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; font-size: 18px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .25s var(--ease); }
.arrows button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.arrows button:active { transform: scale(.94); }

/* поиск поверх нижнего края слайдера */
.hero { padding-top: 0; }
.search-panel { position: relative; z-index: 5; margin-top: -40px; padding: 18px; background: var(--bg); border-radius: 14px; box-shadow: 0 16px 40px rgba(17, 20, 22, .10); animation: fadeUp .8s var(--ease) .35s both; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 36px 0 0; }
.perks div { padding-left: 16px; border-left: 2px solid var(--sea-soft); }
.perks b { display: block; font-weight: 600; font-size: 17px; }
.perks span { font-size: 14px; color: var(--ink-2); }

@media (max-width: 960px) {
    /* мобильное меню выезжает сверху */
    .nav { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 4px var(--gut) 12px;
        box-shadow: 0 18px 30px rgba(17, 20, 22, .08); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s; }
    .top.open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease), visibility 0s; }
    .nav a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .4s var(--ease), color .2s; }
    .nav a:last-child { border-bottom: 0; }
    .nav a::after { display: none; }
    .top.open .nav a { opacity: 1; transform: none; }
    .top.open .nav a:nth-child(2) { transition-delay: .04s; }
    .top.open .nav a:nth-child(3) { transition-delay: .08s; }
    .top.open .nav a:nth-child(4) { transition-delay: .12s; }
    .top.open .nav a:nth-child(5) { transition-delay: .16s; }
    .nav .show-m { display: block; }
    .burger span { transition: transform .35s var(--ease); }
    .top.open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
    .top.open .burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

    /* фильтры каталога плавно раскрываются */
    .filters { display: block; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .3s; }
    .filters.open { max-height: 2400px; opacity: 1; }

    .slide-cap { display: none; }
    .slider-text .h1 { max-width: 14ch; }
    .perks { grid-template-columns: 1fr; gap: 14px; padding-top: 28px; }
}
@media (max-width: 640px) {
    .slider { height: 78vh; min-height: 480px; }
    .slider::after { background: linear-gradient(0deg, rgba(8, 16, 19, .75) 0%, rgba(8, 16, 19, .2) 60%, rgba(8, 16, 19, .1) 100%); }
    .slider-text { bottom: 104px; }
    .slider-text .lead { font-size: 16px; margin: 12px 0 20px; }
    .slider-ui { bottom: 56px; }
    .arrows { display: none; }
    .dots button { width: 30px; }
    .search-panel { margin-top: -28px; padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
