/* Без меж — light theme; colour taken from the tiffany leather of the seats. */
:root {
  --paper: #f6fbfa;
  --white: #fff;
  --mint: #a6e9df;
  --mint-soft: #e3f6f2;
  --teal: #0f7a70;
  --teal-dark: #0a5c54;
  --ink: #142321;
  --muted: #566a67;
  --line: #d6e9e5;
  --wa: #1c9f50;
  --viber: #6f5bd9;
  --tg: #229ed9;
  --f-head: "Geologica", "Segoe UI", system-ui, sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, sans-serif;
  --wrap: min(1180px, 100% - 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --top-h: 72px;
  --shadow: 0 30px 60px -36px rgba(15, 80, 74, .45);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 10px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip; }
body.is-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.025em; }
h2 { font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 17px; font-weight: 700; margin: 0; }
p { margin: 0 0 1em; }
a { color: var(--teal); }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.wrap { width: var(--wrap); margin-inline: auto; }
.hero__in > *, .seat__in > *, .class-card > *, .seat__stage > *, .finder > *, .form__grid > * { min-width: 0; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 10px; }
.skip:focus { top: 12px; }
.ic { width: 24px; height: 24px; flex: none; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.sec-head h2 { margin: 0; }
.sec-lead { color: var(--muted); font-size: 17px; margin: 12px 0 0; max-width: 60ch; }
.note { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 14px 26px; border: 0; border-radius: 999px; font-weight: 700; font-size: 16.5px; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn--main { background: var(--teal); color: #fff; box-shadow: 0 12px 26px -12px rgba(15,122,112,.7); }
.btn--main:hover { background: var(--teal-dark); }
.btn--ghost { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn--small { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--call { background: var(--ink); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--viber { background: var(--viber); color: #fff; }
.btn--tg { background: var(--tg); color: #fff; }
.btn--block { width: 100%; }

/* segmented controls */
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--mint-soft); border-radius: 999px; }
.tab, .tab-r span { display: block; border: 0; background: none; padding: 11px 22px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: background-color .25s, color .25s; }
.tab.is-on, .tab-r input:checked + span { background: var(--teal); color: #fff; }
.tab-r, .cls label, .pick label { position: relative; }
.tab-r input, .cls input, .pick input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.tab-r input:focus-visible + span, .cls input:focus-visible + span, .pick input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.tabs--small .tab-r span { padding: 9px 18px; font-size: 15px; }

/* header */
.top { position: sticky; top: 0; z-index: 50; height: var(--top-h); background: rgba(246,251,250,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); transition: box-shadow .3s; }
.top.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(20,35,33,.4); }
.top__in { height: 100%; display: flex; align-items: center; gap: 26px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo__mark { position: relative; width: 34px; height: 34px; border-radius: 11px; background: var(--teal); overflow: hidden; flex: none; }
.logo__mark::before { content: ""; position: absolute; left: 7px; right: 7px; bottom: 9px; height: 3px; border-radius: 2px; background: var(--mint); }
.logo__mark::after { content: ""; position: absolute; left: 50%; top: 7px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: #fff; }
.logo__word { font-family: var(--f-head); font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .2s; }
.nav a:hover, .nav a.is-active { background: var(--mint-soft); }
.top__phone { font-weight: 700; color: var(--teal); text-decoration: none; white-space: nowrap; }
.burger { display: none; }

/* hero */
.hero { padding: 36px 0 70px; background: radial-gradient(1200px 600px at 85% -10%, var(--mint-soft), transparent 70%); }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero__title { font-size: clamp(40px, 5.8vw, 82px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin-bottom: 24px; }
.hero__title .line { display: block; animation: rise .9s var(--ease) both; }
.hero__title .line--accent { animation-delay: .12s; font-weight: 600; }
.hero__lead { max-width: 50ch; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); margin-bottom: 34px; animation: rise .9s var(--ease) .22s both; }
.stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 40px; animation: rise .9s var(--ease) .3s both; }
.stats b { display: block; font-family: var(--f-head); font-size: clamp(34px, 3.6vw, 48px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--teal); font-variant-numeric: tabular-nums; }
.stats span { font-size: 15px; color: var(--muted); }
.hero__photo { margin: 0; border-radius: 34px; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; animation: settle 1.4s var(--ease) both; }

/* finder */
.finder { position: relative; z-index: 2; margin-top: -60px; display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr) auto auto; gap: 10px; align-items: stretch; padding: 12px; border-radius: 28px; background: var(--white); box-shadow: 0 30px 70px -30px rgba(15,80,74,.45), inset 0 0 0 1px var(--line); animation: rise .9s var(--ease) .4s both; }
.finder__route { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { position: relative; display: grid; align-content: center; gap: 2px; min-height: 70px; padding: 10px 16px; border-radius: 18px; background: var(--paper); cursor: pointer; min-width: 0; transition: box-shadow .2s, background-color .2s; }
.field:hover { background: var(--mint-soft); }
.field:focus-within { box-shadow: inset 0 0 0 2px var(--teal); background: var(--white); }
.field__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field select, .field input { width: 100%; min-width: 0; border: 0; padding: 0; background: transparent; font-weight: 700; font-size: 18px; outline: none; cursor: pointer; -webkit-appearance: none; appearance: none; text-overflow: ellipsis; }
.swap { position: absolute; left: 50%; top: 50%; z-index: 1; width: 42px; height: 42px; margin: -21px 0 0 -21px; border: 4px solid var(--white); border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; cursor: pointer; transition: rotate .45s var(--ease); }
.swap .ic { width: 18px; height: 18px; rotate: 90deg; }
.swap:hover, .swap.is-spin { rotate: 180deg; }
.field--pax { cursor: default; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 20px; line-height: 1; cursor: pointer; color: var(--teal); transition: background-color .2s; }
.stepper button:hover:not(:disabled) { background: var(--mint-soft); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 22px; text-align: center; font-weight: 800; font-size: 18px; }
.cls { display: flex; gap: 4px; padding: 5px; border-radius: 18px; background: var(--paper); }
.cls label { display: flex; }
.cls span { display: grid; place-items: center; padding: 0 18px; border-radius: 14px; font-weight: 700; cursor: pointer; color: var(--muted); transition: background-color .25s, color .25s, box-shadow .25s; }
.cls input:checked + span { background: var(--white); color: var(--teal); box-shadow: 0 6px 16px -10px rgba(15,80,74,.5), inset 0 0 0 1.5px var(--teal); }
.finder__sum { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 4px 2px 10px; }
.finder__price { display: grid; min-width: 0; }
.finder__price small { font-size: 13.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.finder__price strong { font-family: var(--f-head); font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.finder__price em { font-style: normal; font-family: var(--f-body); font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.bump { animation: bump .45s var(--ease); }

/* classes */
.classes { padding: 90px 0; }
.class-card { display: grid; grid-template-columns: .95fr 1.05fr; gap: 40px; padding: 18px; border-radius: 34px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.class-card__photo { position: relative; margin: 0; border-radius: 24px; overflow: hidden; min-height: 460px; background: var(--mint-soft); }
.class-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .8s var(--ease); }
.class-card__photo img.is-swap { opacity: 0; transform: scale(1.04); }
.price-badge { position: absolute; left: 16px; bottom: 16px; padding: 10px 16px; border-radius: 16px; background: rgba(255,255,255,.94); font-size: 15px; color: var(--muted); }
.price-badge b { font-family: var(--f-head); font-size: 22px; color: var(--ink); letter-spacing: -.02em; }
.class-card__body { padding: 16px 12px 12px 0; display: flex; flex-direction: column; }
.class-card__title { font-size: clamp(30px, 3vw, 40px); font-weight: 800; margin-bottom: 8px; }
.class-card__lead { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 15.5px; animation: rise .5s var(--ease) both; }
.ticks .ic { width: 20px; height: 20px; color: var(--teal); margin-top: 2px; }
.seatpick { padding: 18px; border-radius: 24px; background: var(--paper); margin-bottom: 20px; display: grid; grid-template-columns: 1fr 230px; gap: 18px; align-items: center; }
.seatpick__head p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.seatpick__head p b { color: var(--teal); }
.seatpick .note { grid-column: 1 / -1; margin: 0; }
.class-card__body > .btn { margin-top: auto; align-self: flex-start; }
.bus { position: relative; padding: 52px 18px 18px; border-radius: 44px 44px 20px 20px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line); }
.bus__driver { position: absolute; top: 16px; left: 18px; font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.bus__driver::before { content: ""; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--muted); }
.bus__door { position: absolute; right: -2px; top: 62px; width: 5px; height: 52px; border-radius: 3px; background: var(--teal); }
.bus__rows { display: grid; gap: 9px; }
.bus__row { display: grid; grid-template-columns: 1fr 26px 1fr; gap: 8px; }
.bus__row--back { grid-template-columns: 1fr 1fr 1fr; }
.aisle { visibility: hidden; }
.place { width: 100%; aspect-ratio: 1 / 1.05; border: 0; border-radius: 14px 14px 8px 8px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line), 0 5px 0 -2px var(--line); font-family: var(--f-head); font-weight: 700; font-size: 16px; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.place:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--teal), 0 7px 0 -2px var(--line); }
.place[aria-pressed="true"] { background: var(--teal); color: #fff; box-shadow: inset 0 0 0 2px var(--teal-dark), 0 5px 0 -2px var(--teal-dark); animation: pop .35s var(--ease); }

/* seat */
.seat { background: var(--mint); padding: 90px 0; }
.seat__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.seat__intro { color: #29403c; font-size: 18px; }
.modes { display: inline-flex; max-width: 100%; gap: 4px; padding: 5px; margin: 8px 0 20px; background: rgba(255,255,255,.55); border-radius: 999px; }
.mode { border: 0; background: none; padding: 11px 20px; border-radius: 999px; font-weight: 700; cursor: pointer; transition: background-color .25s, color .25s; }
.mode.is-on { background: var(--ink); color: #fff; }
.mode__desc { min-height: 4.8em; max-width: 44ch; font-size: 18px; transition: opacity .2s; }
.mode__desc.is-fading { opacity: 0; }
.seat__progress { width: 100%; max-width: 280px; height: 3px; border-radius: 3px; background: rgba(20,35,33,.12); overflow: hidden; }
.seat__progress span { display: block; height: 100%; width: 0; background: var(--ink); }
.seat__progress.is-running span { animation: fill 4s linear forwards; }
.seat__stage { display: grid; grid-template-columns: 1fr 200px; gap: 20px; align-items: end; }
.chair-card { padding: 26px 18px 10px; border-radius: 30px; background: rgba(255,255,255,.6); }
.chair { width: 100%; height: auto; overflow: visible; }
.chair__floor { stroke: var(--ink); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; }
.chair__base { fill: var(--ink); }
.chair__part { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.chair__head { fill: var(--teal); stroke: var(--ink); stroke-width: 3; }
.chair__arm { fill: var(--mint-soft); stroke: var(--ink); stroke-width: 3; }
.chair__back, .chair__legs { transform-box: view-box; transition: transform .9s var(--ease); }
.chair__back { transform-origin: 150px 178px; transform: rotate(-6deg); }
.chair__legs { transform-origin: 284px 184px; transform: rotate(0); }
.chair[data-mode="rest"] .chair__back { transform: rotate(-28deg); }
.chair[data-mode="rest"] .chair__legs { transform: rotate(-52deg); }
.chair[data-mode="sleep"] .chair__back { transform: rotate(-70deg); }
.chair[data-mode="sleep"] .chair__legs { transform: rotate(-86deg); }
.seat__photo { margin: 0; }
.seat__photo img { border-radius: 24px; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 30px 50px -30px rgba(10,92,84,.6); }
.seat__photo figcaption { margin-top: 10px; font-size: 14px; color: #29403c; }

/* routes */
.routes { padding: 90px 0; background: var(--white); }
.tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 14px; }
.search { position: relative; display: flex; align-items: center; flex: 1 1 280px; max-width: 380px; }
.search .ic { position: absolute; left: 16px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search input { width: 100%; min-height: 50px; padding: 12px 16px 12px 46px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 16px; outline: none; }
.search input:focus { box-shadow: inset 0 0 0 2px var(--teal); background: var(--white); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; flex: 1 1 400px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 15px; border: 0; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: 14.5px; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.routes__count { color: var(--muted); font-size: 14.5px; margin: 0 0 16px; }
.rgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rcard { position: relative; display: grid; gap: 12px; padding: 18px; border: 0; border-radius: 22px; text-align: left; cursor: pointer; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease), box-shadow .25s, background-color .25s; animation: shotIn .45s var(--ease) both; }
.rcard:hover { transform: translateY(-3px); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--teal), 0 20px 34px -24px rgba(15,80,74,.5); }
.rcard__line { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.rcard__line i { flex: 1; height: 2px; min-width: 20px; background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 11px); position: relative; }
.rcard__line i::after { content: ""; position: absolute; right: -2px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.rcard:hover .rcard__line i { animation: dash 1s linear infinite; }
.rcard__meta { display: flex; gap: 14px; font-size: 14px; color: var(--muted); }
.rcard__meta span { display: inline-flex; align-items: center; gap: 5px; }
.rcard__meta .ic { width: 16px; height: 16px; }
.rcard__foot { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.rcard__price { font-family: var(--f-head); font-size: 24px; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rcard__price small { font-family: var(--f-body); font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.rcard__cta { font-size: 14px; font-weight: 700; color: var(--teal); }
.routes__empty { margin: 20px 0 0; color: var(--muted); }
.routes__more { display: flex; justify-content: center; margin-top: 26px; }

/* comfort */
.comfort { padding: 90px 0; }
.feats { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.feat { display: flex; gap: 16px; padding: 26px 0; border-top: 1.5px solid var(--line); transition: border-color .3s; }
.feat:hover { border-top-color: var(--teal); }
.feat .ic { width: 30px; height: 30px; color: var(--teal); transition: transform .4s var(--ease); }
.feat:hover .ic { transform: rotate(-8deg) scale(1.12); }
.feat p { color: var(--muted); margin: 0; font-size: 16px; }

/* salons */
.salons { padding: 90px 0; background: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 14px; }
.shot { position: relative; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: zoom-in; background: var(--mint-soft); }
.shot--big { grid-column: span 2; grid-row: span 2; }
.shot--wide { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot.is-entering { animation: shotIn .6s var(--ease) both; }

/* steps */
.book { padding: 90px 0; background: var(--mint-soft); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 36px 0 40px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.steps li { counter-increment: s; position: relative; padding-top: 74px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; font-family: var(--f-head); font-weight: 800; font-size: 64px; line-height: 1; color: var(--teal); }
.steps p { color: var(--muted); margin: 0; }

/* contacts */
.contacts { padding: 90px 0; }
.mgrs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.mgr { padding: 30px; border-radius: 28px; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.mgr:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--teal), 0 24px 40px -28px rgba(15,122,112,.5); }
.mgr__role { color: var(--muted); margin: 0 0 4px; }
.mgr__phone { display: block; font-family: var(--f-head); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.03em; color: var(--ink); text-decoration: none; margin-bottom: 20px; }
.mgr__links { display: flex; flex-wrap: wrap; gap: 8px; }

/* footer */
.foot { padding: 50px 0 60px; border-top: 1.5px solid var(--line); }
.foot__in { display: grid; gap: 8px; color: var(--muted); }
.foot__in p { margin: 0; }
.foot__phones { display: flex; gap: 22px; flex-wrap: wrap; }
.foot__phones a { font-weight: 700; text-decoration: none; }

.dock { display: none; }


/* floating chat buttons + manager chooser */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: grid; gap: 12px; }
.fab__btn { position: relative; width: 60px; height: 60px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; box-shadow: 0 14px 30px -12px rgba(20,35,33,.55); transition: transform .25s var(--ease); }
.fab__btn .ic { width: 30px; height: 30px; }
.fab__btn--wa { background: #25d366; }
.fab__btn--tg { background: var(--tg); }
.fab__btn:hover { transform: scale(1.08); }
.fab__btn--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; animation: ping 2.4s var(--ease) infinite; pointer-events: none; }
.chat { overflow: hidden; touch-action: pan-y; position: fixed; inset: auto 22px 22px auto; margin: 0; width: min(360px, calc(100% - 24px)); padding: 0; border: 0; border-radius: 24px; background: var(--white); color: var(--ink); box-shadow: 0 30px 70px -24px rgba(20,35,33,.5), inset 0 0 0 1px var(--line); }
.chat::backdrop { background: rgba(20,35,33,.3); }
.chat[open] { animation: pop .3s var(--ease); }
.chat__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px 10px; }
.chat__title { font-size: 20px; margin: 0; }
.chat__list { display: grid; gap: 8px; padding: 6px 14px 16px; }
.chat__item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; text-decoration: none; color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s var(--ease), box-shadow .2s; }
.chat__item:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--teal); }
.chat__ava { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.chat__ava .ic { width: 22px; height: 22px; }
.chat__who { display: grid; flex: 1; line-height: 1.25; }
.chat__who b { font-size: 16px; }
.chat__who small { color: var(--muted); font-size: 13.5px; }

/* modal */
.modal { overflow-x: hidden; touch-action: pan-y; position: fixed; inset: 0; margin: auto; height: fit-content; width: min(580px, 100% - 24px); max-height: min(92dvh, 900px); padding: 0; border: 0; border-radius: 28px; color: var(--ink); background: var(--white); box-shadow: 0 40px 100px -30px rgba(20,35,33,.5); overflow-y: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(20,35,33,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal[open] { animation: pop .35s var(--ease); }
.form { padding: 22px; display: grid; gap: 14px; }
.modal__head { position: sticky; top: 0; z-index: 2; margin: -22px -22px 0; padding: 18px 22px 12px; background: var(--white); display: flex; justify-content: space-between; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 26px; margin: 0; }
.modal__close, .lightbox__close { width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; background: var(--mint-soft); color: var(--ink); transition: rotate .3s var(--ease); }
.modal__close:hover, .lightbox__close:hover { rotate: 90deg; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label, .form .lbl { display: grid; gap: 6px; font-size: 14px; font-weight: 600; min-width: 0; }
.form input, .form select, .form textarea { width: 100%; min-width: 0; min-height: 48px; padding: 11px 14px; border: 0; border-radius: 14px; background-color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 16px; font-weight: 500; resize: vertical; -webkit-appearance: none; appearance: none; }
.form select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.form input[type="date"], .field input[type="date"] { display: block; max-width: 100%; min-width: 0; text-align: left; }
input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--teal); background-color: #fff; }
.form .is-bad, .form .is-bad:focus { box-shadow: inset 0 0 0 2px #c0392b; }
.cls--form { min-height: 48px; }
.cls--form label { flex: 1; }
.cls--form span { padding: 0 14px; flex: 1; }
.opt { font-weight: 400; color: var(--muted); }
.pax { display: grid; border-radius: 18px; background: var(--paper); padding: 4px 14px; }
.pax__row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; font-weight: 600; }
.pax__row + .pax__row { border-top: 1px solid var(--line); }
.pax__row small { color: var(--muted); font-weight: 500; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 14px 16px; border-radius: 18px; background: var(--mint-soft); }
.total b { font-family: var(--f-head); font-size: 26px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; text-align: right; }
.pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.pick label { display: block; }
.pick span { display: block; padding: 12px; border-radius: 14px; text-align: center; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.pick input:checked + span { background: var(--mint-soft); box-shadow: inset 0 0 0 2px var(--wa); color: var(--wa); }
.form__seats { margin: 0; font-size: 15px; color: var(--teal); font-weight: 600; }
.form__err { margin: 0; min-height: 1.2em; color: #c0392b; font-size: 14px; }

/* lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12,22,21,.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(12,22,21,.94); }
.lightbox img { max-width: 92vw; max-height: 84dvh; border-radius: 18px; animation: pop .35s var(--ease); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__count { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; color: #fff; font-size: 14px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; translate: -50% 200%; padding: 12px 18px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; transition: translate .35s var(--ease), opacity .25s, visibility 0s .35s; max-width: calc(100% - 32px); opacity: 0; visibility: hidden; pointer-events: none; }
.toast.is-on { translate: -50% 0; opacity: 1; visibility: visible; transition: translate .35s var(--ease), opacity .25s; }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes fill { to { width: 100%; } }
@keyframes sheet { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes shotIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bump { 40% { transform: scale(1.06); } }
@keyframes dash { to { background-position: 22px 0; } }

/* responsive */
@media (max-width: 1080px) {
  .finder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .finder__route { grid-column: 1 / -1; }
  .rgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .class-card { grid-template-columns: 1fr; }
  .class-card__photo { min-height: 340px; }
  .class-card__body { padding: 4px 6px 6px; }
}
@media (max-width: 980px) {
  .nav { position: fixed; inset: var(--top-h) 0 auto 0; flex-direction: column; gap: 0; padding: 10px 20px 22px; background: var(--paper); box-shadow: 0 20px 40px -24px rgba(20,35,33,.4); transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .nav a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav a.is-active { background: none; color: var(--teal); }
  .top__phone { margin-left: auto; }
  .burger { display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--mint-soft); cursor: pointer; }
  .burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero__in, .seat__in { grid-template-columns: 1fr; gap: 32px; }
  .hero__photo { aspect-ratio: 16 / 11; }
  .finder { margin-top: 20px; }
  .feats { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
}
@media (max-width: 640px) {
  :root { --top-h: 64px; }
  body { font-size: 16px; padding-bottom: 84px; }
  .top__phone { display: none; }
  .burger { margin-left: auto; }
  .hero { padding: 18px 0 50px; }
  .stats { gap: 24px; }
  .hero__photo { aspect-ratio: 4 / 3.4; border-radius: 26px; }
  .finder { grid-template-columns: 1fr 1fr; padding: 10px; border-radius: 24px; }
  .finder__route { grid-template-columns: 1fr; }
  .swap { left: auto; right: 14px; }
  .cls { grid-column: 1 / -1; min-height: 52px; }
  .cls label { flex: 1; }
  .cls span { flex: 1; }
  .finder__sum { flex-wrap: wrap; }
  .finder__sum .btn { flex: 1 1 100%; }
  .classes, .seat, .routes, .comfort, .salons, .book, .contacts { padding: 64px 0; }
  .class-card { padding: 12px; border-radius: 26px; }
  .class-card__photo { min-height: 260px; }
  .ticks { grid-template-columns: 1fr; }
  .seatpick { grid-template-columns: 1fr; }
  .bus { max-width: 260px; margin-inline: auto; width: 100%; }
  .class-card__body > .btn { align-self: stretch; }
  .seat__stage { grid-template-columns: 1fr; }
  .mode { padding: 10px 14px; font-size: 15px; }
  .seat__photo { max-width: 240px; }
  .rgrid, .feats, .steps, .mgrs { grid-template-columns: 1fr; }
  .search { max-width: none; }
  .gallery { grid-auto-rows: 160px; gap: 10px; }
  .form { padding: 18px; }
  .form__grid { grid-template-columns: 1fr; }
  .modal { inset: 0; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; }
  .modal[open] { animation: sheet .35s var(--ease); }
  .modal__head { top: 0; margin: -18px -18px 0; padding: 14px 18px 12px; }
  .lightbox__nav { display: none; }
  .dock { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; padding: 8px; border-radius: 22px; background: rgba(255,255,255,.96); box-shadow: 0 16px 40px -16px rgba(20,35,33,.45); transition: transform .3s var(--ease); }
  .dock a, .dock button { min-height: 52px; border: 0; border-radius: 16px; display: grid; place-content: center; text-align: center; font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.15; }
  .dock small { display: block; font-weight: 600; font-size: 12px; opacity: .85; }
  .dock__call { background: var(--mint-soft); color: var(--ink); }
  .dock__book { background: var(--teal); color: #fff; }
  .toast { bottom: 96px; }
  .fab { right: 14px; bottom: calc(max(10px, env(safe-area-inset-bottom)) + 82px); gap: 10px; }
  .fab__btn { width: 54px; height: 54px; }
  .chat { inset: auto 0 0 0; width: 100%; max-width: 100%; border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom); }
  .chat[open] { animation: sheet .3s var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
