/* БСТ-Клуб — тема Webasyst «Сайт».
   Layout concept: a business-class boarding pass. Navy for the journey, ivory for the paperwork,
   gold only where something is booked: routes, the seal, the one primary action. */

@font-face { font-family: "Roboto"; src: url("fonts/roboto-cyrillic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-latin-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-cyrillic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-latin-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-cyrillic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Roboto"; src: url("fonts/roboto-latin-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0F1C2E;
  --navy-2: #16263C;
  --navy-3: #22344D;
  --navy-deep: #0A1422;
  --ivory: #F6F3EC;
  --paper: #FFFFFF;
  --ink: #0F1C2E;
  --ink-2: #4E5866;
  --ink-3: #7C8592;
  --line: #E4DED2;
  --line-dark: rgba(244, 240, 230, .14);
  --on-dark: #F4F0E6;
  --on-dark-2: #AEB6C2;
  --gold: #C6A15B;
  --gold-light: #D9BC82;
  --gold-text: #8A6A2E;
  --ok: #3C8C64;

  --serif: "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --sans: "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
  --fs-h2: clamp(1.85rem, 1.25rem + 2.2vw, 3.1rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .5vw, 1.5rem);
  --fs-lead: clamp(1.02rem, .97rem + .25vw, 1.15rem);

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1240px;
  --r: 14px;
  --r-lg: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --hdr-h: 140px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold-light); color: var(--navy); }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ta-r { text-align: right; }

.wrap {
  width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: var(--on-dark); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.eyebrow { font: 600 .74rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow--gold { color: var(--gold-text); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); max-width: 760px; }
.sec-title { font: 500 var(--fs-h2)/1.1 var(--serif); letter-spacing: -.01em; }
.sec-title em { font-style: normal; color: var(--gold-text); }
.sec-title--light { color: var(--on-dark); }
.sec-title--light em { color: var(--gold-light); }
.sec-lead { color: var(--ink-2); font-size: var(--fs-lead); max-width: 40em; }
.sec-lead a { color: var(--gold-text); border-bottom: 1px solid currentColor; }
a[href^="tel:"] { white-space: nowrap; }
.chip { display: inline-block; vertical-align: middle; font: 600 .68rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-text); margin-left: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 .95rem/1 var(--sans);
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
  white-space: nowrap;
}
.btn .i { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .i { transform: translateX(4px); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 30px -12px rgba(198, 161, 91, .7); }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: var(--on-dark); }
.btn--navy:hover { background: var(--navy-3); }
.btn--ghost { border: 1px solid var(--line-dark); color: var(--on-dark); }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--line { border: 1px solid var(--line); color: var(--ink); background: var(--paper); }
.btn--line:hover { border-color: var(--navy); background: var(--navy); color: var(--on-dark); }
.link-btn { color: inherit; text-align: left; }
.link-btn:hover { color: var(--gold-light); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: var(--on-dark-2); font-size: .84rem; }
.topbar__in { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__tag { font: 600 .68rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); opacity: .85; white-space: nowrap; }
.topbar__nav { display: flex; gap: 26px; }
.topbar__nav a, .topbar__r a, .topbar__r button { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar__nav a:hover, .topbar__nav a[aria-current], .topbar__r a:hover { color: var(--on-dark); }
.topbar__r { display: flex; align-items: center; gap: 22px; }
.topbar .i { width: 15px; height: 15px; color: var(--gold-light); }
.topbar__phone { color: var(--on-dark); font-weight: 600; letter-spacing: .01em; font-size: .92rem; }
@media (max-width: 1100px) { .topbar__tag { display: none; } .topbar__in { justify-content: space-between; } }
@media (max-width: 860px) { .topbar__mail { display: none; } }
@media (max-width: 759px) { .topbar { display: none; } }

/* ---------- Logo: the word БСТ-Клуб, five bars for five lines of business, a split-flap board underneath ---------- */
.brand { display: inline-flex; align-items: center; gap: 13px; color: var(--on-dark); flex: none; }
.brand__bars { display: grid; gap: 3px; width: 30px; transform: skewX(-20deg); }
.brand__bars i { display: block; height: 6px; border-radius: 1px; background: var(--gold); transition: background-color .3s, opacity .3s, box-shadow .3s, transform .4s var(--ease); }
.brand__bars i:nth-child(2) { transform: translateX(2px); } .brand__bars i:nth-child(3) { transform: translateX(4px); }
.brand__bars i:nth-child(4) { transform: translateX(6px); } .brand__bars i:nth-child(5) { transform: translateX(8px); }
.brand__bars.has-on i { opacity: .32; }
.brand__bars i.on { opacity: 1; background: var(--gold-light); box-shadow: 0 0 12px rgba(217, 188, 130, .7); }
.brand__txt { display: grid; gap: 4px; justify-items: stretch; }
.brand__sub { font: 400 .95rem/1 var(--sans); letter-spacing: .01em; color: inherit; white-space: nowrap; margin-top: -2px; }
.brand--lg .brand__sub { font-size: .95rem; }
.brand--xl .brand__sub { font-size: clamp(1rem, .6rem + 1vw, 1.6rem); }
.brand__name { font: 700 2rem/1 var(--sans); letter-spacing: -.005em; white-space: nowrap; }
.brand__board { font-size: 11px; }
.brand--lg .brand__name { font-size: 2rem; }
.brand--lg .brand__board { font-size: 11px; }
.brand--lg .brand__bars { width: 30px; } .brand--lg .brand__bars i { height: 6px; }
.brand--xl { gap: clamp(16px, 2vw, 26px); }
.brand--xl .brand__name { font-size: clamp(2.6rem, 1.6rem + 3.2vw, 4.4rem); }
.brand--xl .brand__board { font-size: clamp(14px, 9px + 1vw, 22px); }
.brand--xl .brand__bars { width: clamp(40px, 4vw, 64px); gap: 6px; } .brand--xl .brand__bars i { height: clamp(8px, .9vw, 13px); border-radius: 2px; }

/* split-flap tiles, shared by the logo, the hero, the boarding passes and 404 */
.flaps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .22em; font-weight: 600; line-height: 1; text-transform: uppercase; color: var(--gold-light); }
.flaps .f, .board__flaps .f { position: relative; display: grid; place-items: center; height: 1.9em; min-width: 1.05em; background: linear-gradient(180deg, #1C2D45 0 49.5%, #15243A 50.5% 100%); border-radius: .28em; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 1px 3px rgba(0,0,0,.35); overflow: hidden; }
.flaps .f::after, .board__flaps .f::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.45); }
.flaps .f.flip, .board__flaps .f.flip { animation: flap .32s var(--ease); }
.flaps .f.sp { background: rgba(28, 45, 69, .45); box-shadow: none; }
.flaps .f.sp::after { display: none; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: var(--navy); border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
.hdr__in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand tkt act"; align-items: center; gap: 28px; min-height: 96px; padding-block: 10px; }
.hdr .brand { grid-area: brand; }
.hdr__act { grid-area: act; display: flex; align-items: center; gap: 14px; }
.hdr__call { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; border: 1px solid var(--line-dark); color: var(--gold-light); }

/* the menu is a boarding pass with five tear-off tabs */
.tkt { grid-area: tkt; justify-self: center; width: 100%; max-width: 900px; display: flex; align-items: stretch; padding: 4px; background: var(--paper); color: var(--ink); border-radius: 13px; box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(15, 28, 46, .06); position: relative; }
.tkt__tab { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 8px 10px; min-height: 52px; border-radius: 9px; color: var(--ink-2); transition: background-color .25s, color .25s; }
.tkt__tab + .tkt__tab::before, .tkt__stub::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; border-left: 1.5px dashed #D9D2C4; transition: opacity .2s; }
.tkt__tab + .tkt__tab::after, .tkt__stub::after { content: ""; position: absolute; left: -7px; top: -4px; bottom: -4px; width: 12px; background: radial-gradient(circle at 50% 0, var(--navy) 5.5px, transparent 6px), radial-gradient(circle at 50% 100%, var(--navy) 5.5px, transparent 6px); pointer-events: none; z-index: 1; }
.tkt__tab.is-on::before, .tkt__tab.is-on + .tkt__tab::before, .tkt__tab.is-on + .tkt__stub::before { opacity: 0; }
.tkt__tab .i { width: 22px; height: 22px; color: var(--gold-text); transition: transform .35s var(--ease), color .25s; }
.tkt__txt { display: grid; gap: 3px; line-height: 1.1; min-width: 0; }
.tkt__txt small { font: 600 .58rem/1 var(--sans); letter-spacing: .2em; color: var(--ink-3); }
.tkt__txt b { font: 500 .9rem/1.1 var(--sans); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tkt__short { display: none; }
.tkt__tab:hover { background: var(--ivory); }
.tkt__tab:hover .i { transform: translateY(-1px) rotate(-8deg); }
.tkt__tab.is-on { background: var(--navy); color: var(--on-dark); }
.tkt__tab.is-on b { color: var(--on-dark); }
.tkt__tab.is-on small, .tkt__tab.is-on .i { color: var(--gold-light); }
.tkt__stub { position: relative; flex: none; width: 58px; margin-left: 2px; display: none; place-items: center; }
.tkt__stub i { width: 30px; height: 30px; opacity: .75; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 3px, var(--ink) 3px 5px, transparent 5px 6px, var(--ink) 6px 7px, transparent 7px 9px); }
@media (min-width: 1560px) { .tkt__stub { display: grid; } }

.burger { width: 44px; height: 44px; display: none; place-content: center; gap: 5px; color: var(--on-dark); }
.burger span { width: 22px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.drawer { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); border-bottom: 1px solid var(--line-dark); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.drawer__in { display: grid; gap: 28px; padding-block: 20px 28px; }
.drawer__nav { display: grid; gap: 2px; font: 500 1.5rem/1.5 var(--serif); }
.drawer__nav a:hover { color: var(--gold-light); }
.drawer__act { display: grid; gap: 10px; max-width: 420px; }
.drawer__phone { font: 600 1.25rem var(--sans); color: var(--gold-light); margin-bottom: 4px; }

@media (max-width: 1279px) {
  /* two rows: logo and actions scroll away, the ticket menu stays pinned */
  :root { --hdr-h: 196px; }
  .hdr__in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand act" "tkt tkt"; gap: 0 16px; padding-block: 0 10px; min-height: 0; }
  .hdr .brand, .hdr__act { height: 84px; }
  .tkt { max-width: none; }
  .burger, .hdr__call { display: grid; }
}
@media (max-width: 979px) { .tkt__full { display: none; } .tkt__short { display: block; } }
@media (max-width: 719px) {
  .tkt__tab { flex-direction: column; gap: 5px; padding: 8px 2px 7px; min-height: 58px; }
  .tkt__tab .i { width: 21px; height: 21px; }
  .tkt__txt { justify-items: center; }
  .tkt__txt small { display: none; }
  .tkt__txt b { font-size: .7rem; font-weight: 600; }
}
@media (max-width: 559px) { .hdr__cta { display: none; } .brand__name { font-size: 1.3rem; } .brand__sub { font-size: .74rem; } .brand__board { font-size: 7.5px; } .hdr .brand, .hdr__act { height: 64px; } .brand__bars { width: 24px; } .brand__bars i { height: 5px; } }
@media (max-width: 359px) { .tkt__txt b { font-size: .62rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(120% 90% at 85% 10%, var(--navy-3) 0%, var(--navy) 55%, var(--navy-deep) 100%); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.hero__map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.3) 28%, #000 62%); mask-image: linear-gradient(90deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.3) 28%, #000 62%); }
@media (max-width: 1039px) { .hero__map { -webkit-mask-image: none; mask-image: none; opacity: .45; } }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .35; }
.hero--photo .hero__map { opacity: .55; }
.hero__in { display: grid; gap: 40px; padding-block: clamp(48px, 8vw, 104px) clamp(48px, 7vw, 96px); align-items: center; }
@media (min-width: 1040px) { .hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 420px); gap: 56px; } }
.hero__copy { display: grid; gap: 26px; min-width: 0; }
.hero__copy .eyebrow--gold { color: var(--gold-light); }
.hero__title { font: 500 var(--fs-hero)/1.05 var(--serif); letter-spacing: -.015em; max-width: 13em; }
.hero__title em { color: var(--gold-light); font-style: normal; }
.hero__lead { font-size: var(--fs-lead); color: var(--on-dark-2); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badges { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; color: var(--on-dark-2); font-size: .92rem; }
.hero__badges li { display: flex; gap: 10px; align-items: flex-start; }
.hero__badges .i { color: var(--gold-light); width: 18px; height: 18px; margin-top: 3px; }

/* split-flap board */
.board { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.board__label { font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }
.board__flaps { display: inline-flex; gap: 3px; font: 600 clamp(.95rem, .85rem + .4vw, 1.2rem)/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--gold-light); min-height: 2.1em; }
.board__flaps .f { position: relative; display: grid; place-items: center; width: 1.25em; height: 1.75em; background: linear-gradient(180deg, #1C2D45 0 49.5%, #15243A 50.5% 100%); border-radius: 4px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05), 0 2px 4px rgba(0,0,0,.3); overflow: hidden; }
.board__flaps .f::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.45); }
.board__flaps .f.sp { background: transparent; box-shadow: none; width: .55em; }
.board__flaps .f.flip { animation: flap .32s var(--ease); }
@keyframes flap { 0% { transform: rotateX(0); } 50% { transform: rotateX(-88deg); filter: brightness(.7); } 100% { transform: rotateX(0); } }

/* boarding pass card */
.pass { display: grid; background: var(--paper); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 40px 90px -30px rgba(0,0,0,.65); position: relative; min-width: 0; }
.pass__main { padding: 24px 24px 22px; display: grid; gap: 18px; }
.pass__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pass__brand { font: 500 .9rem var(--serif); letter-spacing: .14em; color: var(--gold-text); }
.pass__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pass__tab { display: grid; justify-items: center; gap: 6px; padding: 10px 4px 9px; border-radius: 12px; border: 1px solid var(--line); font-size: .7rem; line-height: 1.15; color: var(--ink-2); text-align: center; transition: border-color .2s, background-color .2s, color .2s; }
.pass__tab .i { width: 22px; height: 22px; }
.pass__tab span { white-space: nowrap; }
@media (max-width: 480px) { .pass__tab { font-size: .6rem; padding-inline: 2px; } .pass__main { padding: 20px 16px 18px; } .pass__stub { padding-inline: 16px; } }
.pass__tab:hover { border-color: var(--navy); color: var(--ink); }
.pass__tab.is-on { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.pass__tab.is-on .i { color: var(--gold-light); }
.pass__route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 16px 0 4px; border-top: 1px dashed var(--line); }
.pass__route small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.pass__route b { display: block; font: 500 1.05rem/1.25 var(--serif); margin-top: 4px; overflow-wrap: anywhere; }
.pass__route i { display: block; font: 600 1.55rem/1.1 var(--sans); font-style: normal; letter-spacing: .06em; color: var(--navy); margin-top: 2px; }
.pass__via { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 14%, transparent); }
.pass__via.swap { animation: viaswap .45s var(--ease); }
@keyframes viaswap { 0% { transform: scale(.6) rotate(-20deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.pass__plane { width: 24px; height: 24px; color: var(--gold-text); }
.pass__hint { font-size: .86rem; color: var(--ink-2); min-height: 2.6em; }
.pass__stub { position: relative; padding: 20px 24px 22px; border-top: 2px dashed var(--line); display: grid; gap: 10px; }
.pass__stub::before, .pass__stub::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy); }
.pass__stub::before { left: -12px; }
.pass__stub::after { right: -12px; }
.pass__or { font-size: .84rem; color: var(--ink-3); text-align: center; }
.pass__or a { color: var(--ink); font-weight: 600; }

/* ---------- Services: departures board ---------- */
.services { padding-block: clamp(72px, 9vw, 128px); }
.deps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.dep { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 14px 22px; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--line); position: relative; transition: background-color .3s; }
.dep__no { font: 500 1rem var(--serif); color: var(--ink-3); width: 2ch; }
.dep__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); transition: transform .4s var(--ease); }
.dep__icon .i { width: 26px; height: 26px; }
.dep__main { display: grid; gap: 6px; min-width: 0; }
.dep__main h3 { font: 500 var(--fs-h3)/1.25 var(--serif); }
.dep__main p { color: var(--ink-2); max-width: 42em; }
.dep__main .dep__tags { color: var(--ink-3); font-size: .86rem; }
.dep__code { display: none; }
@media (max-width: 899px) { .dep { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 16px; align-items: start; } .dep__no { display: none; } .dep__icon { width: 48px; height: 48px; border-radius: 14px; } }
.dep:hover .dep__icon { transform: rotate(-6deg) scale(1.05); }
@media (min-width: 900px) {
  .dep { grid-template-columns: 3ch 56px minmax(0, 1fr) 7ch auto; padding: 30px 12px; }
  .dep__code { display: block; font: 600 .82rem var(--sans); letter-spacing: .18em; color: var(--ink-3); text-align: right; }
  .dep:hover { background: var(--paper); }
}

/* ---------- Companies ---------- */
.corp { background: var(--navy); color: var(--on-dark); padding-block: clamp(72px, 9vw, 128px); position: relative; overflow: hidden; }
.corp::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line-dark); box-shadow: 0 0 0 60px rgba(244,240,230,.015), 0 0 0 120px rgba(244,240,230,.012); pointer-events: none; }
.corp .eyebrow--gold { color: var(--gold-light); }
.corp__head { display: grid; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); position: relative; }
@media (min-width: 960px) { .corp__head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 56px; } }
.corp__head > div { display: grid; gap: 16px; }
.corp__lead { color: var(--on-dark-2); font-size: var(--fs-lead); }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; position: relative; }
@media (min-width: 640px) { .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.perks li { background: var(--navy); padding: 28px; display: grid; gap: 10px; align-content: start; transition: background-color .3s; }
.perks li:hover { background: var(--navy-2); }
.perks .i { width: 28px; height: 28px; color: var(--gold-light); margin-bottom: 6px; }
.perks b { font: 500 1.2rem/1.25 var(--serif); }
.perks span { color: var(--on-dark-2); font-size: .94rem; }
.steps { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 26px; justify-items: start; position: relative; }
.steps .eyebrow { color: var(--on-dark-2); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; width: 100%; position: relative; }
@media (min-width: 860px) {
  .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .steps__list::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; border-top: 2px dashed rgba(217, 188, 130, .45); }
}
.steps__list li { display: grid; gap: 6px; position: relative; }
.steps__n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font: 500 1.25rem var(--serif); margin-bottom: 10px; box-shadow: 0 0 0 8px var(--navy); }
.steps__list b { font: 500 1.25rem var(--serif); }
.steps__list span:not(.steps__n) { color: var(--on-dark-2); font-size: .94rem; max-width: 22em; }

/* ---------- About ---------- */
.about { padding-block: clamp(72px, 9vw, 128px); }
.about__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .about__grid { grid-template-columns: 1.1fr 1fr; gap: 72px; } }
.about__copy { display: grid; gap: 22px; min-width: 0; }
.about__text { color: var(--ink-2); font-size: 1.04rem; max-width: 36em; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 10px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.stats dt { font: 500 clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem)/1 var(--serif); color: var(--navy); }
.stats dd { margin: 8px 0 0; font-size: .86rem; color: var(--ink-3); }
.about__media { margin: 0; border-radius: var(--r-lg); overflow: hidden; min-width: 0; }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__seal { aspect-ratio: 4 / 3; max-width: 100%; background: radial-gradient(80% 80% at 70% 20%, var(--navy-3), var(--navy) 60%, var(--navy-deep)); display: grid; place-items: center; align-content: center; gap: 20px; color: var(--on-dark); --gold: #D9BC82; }


/* ---------- Clients ---------- */
.clients { padding-block: 0 clamp(56px, 7vw, 96px); }
.clients .eyebrow { margin-bottom: 22px; }
.clients__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.clients__row li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); height: 96px; display: grid; place-items: center; padding: 18px; }
.clients__row img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.clients__row li:hover img { filter: none; opacity: 1; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(72px, 9vw, 128px); background: var(--paper); border-block: 1px solid var(--line); }
.faq__grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .9fr 1.2fr; gap: 72px; align-items: start; } .faq .sec-head { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font: 500 1.12rem/1.35 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1.6px; background: var(--gold); transition: transform .35s var(--ease); }
.qa summary::before { transform: rotate(90deg); }
.qa[open] summary::before { transform: rotate(0); }
.qa__a { padding: 0 48px 22px 0; color: var(--ink-2); }

/* ---------- Contacts ---------- */
.contacts { padding-block: clamp(72px, 9vw, 128px); }
.contacts__card { background: var(--navy); color: var(--on-dark); border-radius: calc(var(--r-lg) + 6px); overflow: hidden; display: grid; }
@media (min-width: 960px) { .contacts__card { grid-template-columns: 1.1fr 1fr; } }
.contacts__info { padding: clamp(28px, 4vw, 56px); display: grid; gap: 24px; align-content: start; min-width: 0; }
.contacts__info .eyebrow--gold { color: var(--gold-light); }
.contacts__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contacts__list li { display: flex; gap: 14px; align-items: flex-start; color: var(--on-dark-2); }
.contacts__list .i { color: var(--gold-light); margin-top: 3px; }
.contacts__list a { color: var(--on-dark); font-size: 1.1rem; }
.contacts__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.contacts__map { position: relative; min-height: 300px; background: var(--navy-deep); }
.mini-map { position: absolute; inset: 0; width: 100%; height: 100%; }
.contacts__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -150%); font: 600 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; background: var(--gold); color: var(--navy); padding: 8px 12px; border-radius: 999px; }
.contacts__pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; margin-left: -6px; border: 6px solid transparent; border-bottom: 0; border-top-color: var(--gold); }

/* ---------- Footer ---------- */
.ftr { background: var(--navy-deep); color: var(--on-dark-2); padding-block: 64px calc(28px + env(safe-area-inset-bottom, 0px)); font-size: .92rem; }
.ftr__grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.ftr__brand { display: grid; gap: 18px; max-width: 26em; }
.ftr__brand .brand { justify-self: start; }
.ftr .eyebrow { color: var(--on-dark-2); margin-bottom: 14px; }
.ftr__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ftr__list a:hover, .ftr__list button:hover { color: var(--gold-light); }
.ftr__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; }
.ftr__bottom a:hover { color: var(--on-dark); }

/* ---------- Request dialogs ---------- */
.rq { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: 0 40px 120px -20px rgba(10, 20, 34, .6); overflow: auto; }
.rq::backdrop { background: rgba(10, 20, 34, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.rq[open] { animation: rqin .35s var(--ease); }
@keyframes rqin { from { transform: translateY(18px) scale(.98); opacity: 0; } }
.rq__head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--navy); color: var(--on-dark); }
.rq__head h2 { font: 500 1.25rem/1.2 var(--serif); flex: 1; }
.rq__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(244,240,230,.08); color: var(--gold-light); }
.rq__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--on-dark-2); }
.rq__close:hover { background: rgba(244,240,230,.1); color: var(--on-dark); }
.rq__body { padding: 22px 20px 24px; }

/* built-in fallback form (when the «Заявки» app is not connected) */
.fb { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.fb__f { grid-column: span 6; display: grid; gap: 6px; min-width: 0; }
.fb__f.w2 { grid-column: span 3; }
.fb__f.w3 { grid-column: span 2; }
@media (max-width: 480px) { .fb__f.w2, .fb__f.w3 { grid-column: span 6; } }
.fb label, .fb legend { font-size: .8rem; color: var(--ink-2); font-weight: 500; }
.fb input, .fb select, .fb textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory); transition: border-color .2s, background-color .2s; }
.fb textarea { min-height: 84px; resize: vertical; }
.fb input:focus, .fb select:focus, .fb textarea:focus { outline: 0; border-color: var(--navy); background: var(--paper); }
.fb .is-bad { border-color: #C0473B; }
.fb fieldset { border: 0; padding: 0; margin: 0; grid-column: span 6; display: grid; gap: 8px; min-width: 0; }
.fb__opts { display: flex; flex-wrap: wrap; gap: 6px; }
.fb__opts input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; min-height: 0; padding: 0; }
.fb__opts label { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.fb__opts input:checked + label { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.fb__opts input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.fb__agree { grid-column: span 6; display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--ink-2); }
.fb__agree input { width: 18px; min-height: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.fb__submit { grid-column: span 6; margin-top: 6px; }
.fb__err { grid-column: span 6; color: #C0473B; font-size: .86rem; }
.fb__done { grid-column: span 6; display: grid; gap: 12px; padding: 16px; border-radius: 14px; background: var(--ivory); border: 1px solid var(--line); }
.fb__done b { font: 500 1.15rem var(--serif); }
.fb__done p { font-size: .9rem; color: var(--ink-2); }
.fb__routes { display: flex; flex-wrap: wrap; gap: 8px; }
.fb__done textarea { min-height: 120px; font-size: .84rem; color: var(--ink-2); }

/* ---------- Inner pages ---------- */
.page-shell { padding-block: 64px 96px; max-width: 900px; }
.page-shell h1 { font: 500 var(--fs-h2)/1.1 var(--serif); margin-bottom: 28px; }
.page-shell h2 { font: 500 1.6rem/1.2 var(--serif); margin: 36px 0 12px; }
.page-shell p, .page-shell li { color: var(--ink-2); }
.page-shell p + p { margin-top: 1em; }
.page-shell a:not(.btn) { color: var(--gold-text); border-bottom: 1px solid currentColor; }
.e404 { min-height: 50vh; display: grid; align-content: center; gap: 22px; padding-block: 64px 96px; }

/* ---------- Home additions ---------- */
.pass__more { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; color: var(--navy); justify-self: start; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.pass__more .i { width: 16px; height: 16px; color: var(--gold-text); transition: transform .3s var(--ease); }
.pass__more:hover { border-color: var(--gold); }
.pass__more:hover .i { transform: translateX(4px); }
.dep__link { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.dep__link:hover { background-size: 100% 1px; }
.dep__act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) { .dep { grid-template-columns: 3ch 56px minmax(0, 1fr) 7ch auto; } .dep__act { grid-column: auto; justify-content: flex-end; } }
.about__seal .brand { color: var(--on-dark); }
.about__addr { font: 600 .74rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }

/* ---------- Breadcrumbs & prose ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--gold-text); }
.crumbs--light { color: var(--on-dark-2); margin-bottom: 0; }
.crumbs--light a:hover { color: var(--gold-light); }
.prose { color: var(--ink-2); font-size: 1.04rem; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 500 clamp(1.45rem, 1.2rem + .8vw, 1.9rem)/1.2 var(--serif); color: var(--ink); margin-top: 1.8em; }
.prose h3 { font: 500 1.3rem/1.3 var(--serif); color: var(--ink); margin-top: 1.5em; }
.prose a { color: var(--gold-text); border-bottom: 1px solid currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font: 500 1.25rem/1.5 var(--serif); color: var(--ink); }
.prose img { border-radius: var(--r); height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .94rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }

/* ---------- Service page ---------- */
.shero { position: relative; background: radial-gradient(110% 90% at 80% 0%, var(--navy-3) 0%, var(--navy) 55%, var(--navy-deep) 100%); color: var(--on-dark); overflow: hidden; isolation: isolate; }
.shero .hero__map { opacity: 1; }
.shero__in { display: grid; gap: 44px; padding-block: clamp(36px, 6vw, 80px) clamp(52px, 7vw, 96px); align-items: center; }
@media (min-width: 1040px) { .shero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 460px); gap: 64px; } }
.shero__copy { display: grid; gap: 22px; min-width: 0; }
.shero__copy .eyebrow--gold { color: var(--gold-light); }

/* boarding pass of a service */
.bp { display: grid; background: var(--paper); color: var(--ink); border-radius: var(--r-lg); box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); min-width: 0; transform: rotate(-1.2deg); transition: transform .6s var(--ease); }
.bp:hover { transform: rotate(0); }
@media (max-width: 1039px) { .bp { transform: none; } }
.bp__main { padding: 24px; display: grid; gap: 20px; }
.bp__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bp__brand { font: 500 1.05rem var(--serif); }
.bp__kind { display: inline-flex; align-items: center; gap: 8px; font: 600 .72rem var(--sans); letter-spacing: .2em; color: var(--gold-text); padding: 7px 11px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 14%, transparent); }
.bp__kind .i { width: 16px; height: 16px; }
.bp__route { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.bp__route small { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.bp__route b { display: block; font: 500 1.1rem/1.25 var(--serif); margin-top: 4px; overflow-wrap: anywhere; }
.bp__route i { display: block; font: 600 1.7rem/1.1 var(--sans); font-style: normal; letter-spacing: .05em; color: var(--navy); margin-top: 2px; }
.bp__via { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); }
.bp__via .i { width: 24px; height: 24px; }
.bp__rows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding-top: 16px; border-top: 1px dashed var(--line); }
.bp__rows dt { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.bp__rows dd { margin: 4px 0 0; font-weight: 600; font-size: .92rem; overflow-wrap: anywhere; }
@media (max-width: 420px) { .bp__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bp__main { padding: 20px 18px; } .bp__route i { font-size: 1.35rem; } }
.bp__stub { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px 20px; border-top: 2px dashed var(--line); background: var(--navy); color: var(--on-dark); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.bp__stub::before, .bp__stub::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--navy-2); }
.bp__stub::before { left: -12px; } .bp__stub::after { right: -12px; }
.bp__board { display: grid; gap: 8px; min-width: 0; }
.bp__board > span { font: 600 .64rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }
.bp__board .flaps { font-size: clamp(15px, 12px + .4vw, 19px); grid-auto-columns: 1.25em; justify-content: start; }
.bp__code { flex: none; width: 74px; height: 40px; opacity: .8; background: repeating-linear-gradient(90deg, var(--on-dark) 0 2px, transparent 2px 4px, var(--on-dark) 4px 5px, transparent 5px 8px, var(--on-dark) 8px 11px, transparent 11px 12px); }
@media (max-width: 380px) { .bp__code { display: none; } }

.incl { padding-block: clamp(72px, 9vw, 120px); }
.incl__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .incl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .incl__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.incl__grid li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: grid; gap: 10px; align-content: start; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.incl__grid li::after { content: ""; position: absolute; right: 22px; top: 22px; width: 36px; border-top: 2px dashed var(--line); }
.incl__grid li:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(15, 28, 46, .45); }
.incl__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--gold-light); margin-bottom: 6px; }
.incl__icon .i { width: 24px; height: 24px; }
.incl__grid b { font: 500 1.22rem/1.25 var(--serif); }
.incl__grid span:not(.incl__icon) { color: var(--ink-2); font-size: .95rem; }

.how { background: var(--navy); color: var(--on-dark); padding-block: clamp(72px, 9vw, 120px); }
.how .eyebrow--gold { color: var(--gold-light); }
.how__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 720px) { .how__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .how__list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.how__list li { background: var(--navy); padding: 28px; display: grid; gap: 10px; align-content: start; }
.how__n { font: 500 2.4rem/1 var(--serif); color: var(--gold-light); margin-bottom: 10px; }
.how__list b { font: 500 1.25rem var(--serif); }
.how__list span:not(.how__n) { color: var(--on-dark-2); font-size: .94rem; }

.more { padding-block: clamp(64px, 8vw, 104px) 0; }
.more__in { max-width: 860px; display: grid; gap: 18px; }

.req { padding-block: clamp(72px, 9vw, 120px); }
.req__grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .req__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } .req__copy { position: sticky; top: calc(var(--hdr-h) + 32px); } }
.req__copy { display: grid; gap: 18px; min-width: 0; }
.req__facts { list-style: none; margin: 8px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; color: var(--ink-2); }
.req__facts li { display: flex; gap: 12px; align-items: flex-start; }
.req__facts .i { color: var(--gold-text); margin-top: 2px; }
.req__card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); box-shadow: 0 40px 80px -50px rgba(15, 28, 46, .5); min-width: 0; position: relative; }
.req__card::before { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 4px; border-radius: 0 0 4px 4px; background: var(--gold); }

.faq--service { border-bottom: 0; }
.others { padding-block: clamp(56px, 7vw, 96px); }
.others .eyebrow { margin-bottom: 20px; }
.others__row { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.stub { position: relative; display: grid; gap: 10px; padding: 22px 22px 20px; background: var(--navy); color: var(--on-dark); border-radius: var(--r); overflow: hidden; transition: transform .4s var(--ease), background-color .3s; }
.stub::before, .stub::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--ivory); }
.stub::before { left: -9px; } .stub::after { right: -9px; }
.stub .i { width: 26px; height: 26px; color: var(--gold-light); }
.stub b { font: 500 1.2rem/1.2 var(--serif); }
.stub__code { position: absolute; right: 20px; top: 20px; font: 600 .66rem var(--sans); letter-spacing: .2em; color: var(--on-dark-2); }
.stub__go { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--gold-light); }
.stub__go .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.stub:hover { transform: translateY(-3px); background: var(--navy-3); }
.stub:hover .stub__go .i { transform: translateX(4px); }

/* ---------- Journal cards ---------- */
.journal { padding-block: clamp(72px, 9vw, 120px); }
.journal__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.journal__head .sec-head { margin-bottom: 0; }
.journal--more { background: var(--paper); border-top: 1px solid var(--line); }
.journal--more .pcard { background: var(--ivory); }
.posts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.pcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; min-width: 0; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(15, 28, 46, .55); border-color: var(--gold); }
.pcard__link { display: grid; height: 100%; grid-template-rows: auto 1fr; }
.pcard__media { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__media::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; border-bottom: 2px dashed rgba(255,255,255,.65); }
.pcard__gen { position: absolute; inset: 0; display: grid; align-content: space-between; padding: 18px 20px 22px; color: var(--on-dark); background: radial-gradient(circle at 1px 1px, rgba(174, 182, 194, .22) 1px, transparent 1.4px) 0 0 / 11px 11px, radial-gradient(90% 120% at 90% 0%, var(--navy-3), var(--navy) 60%, var(--navy-deep)); }
.pcard__gen b { font: 500 4.2rem/1 var(--serif); color: var(--gold-light); }
.pcard__gen small { font: 600 .66rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }
.pcard__body { padding: 22px 22px 24px; display: grid; gap: 10px; align-content: start; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .78rem; color: var(--ink-3); letter-spacing: .02em; }
.pcard__meta span + span::before { content: "·"; margin-right: 16px; color: var(--gold); }
.pcard h3 { font: 500 1.28rem/1.3 var(--serif); }
.pcard__ex { color: var(--ink-2); font-size: .93rem; }
.pcard__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; color: var(--navy); margin-top: 4px; }
.pcard__go .i { width: 16px; height: 16px; color: var(--gold-text); transition: transform .3s var(--ease); }
.pcard:hover .pcard__go .i { transform: translateX(4px); }

/* ---------- Blog ---------- */
.bhero { background: radial-gradient(110% 120% at 85% 0%, var(--navy-3) 0%, var(--navy) 55%, var(--navy-deep) 100%); color: var(--on-dark); }
.bhero__in { display: grid; gap: 20px; padding-block: clamp(36px, 6vw, 72px) clamp(40px, 6vw, 72px); }
.bhero .eyebrow--gold { color: var(--gold-light); }
.bhero .hero__title { max-width: 16em; }
.hero__title--post { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); max-width: 18em; }
.bhero__bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 10px; }
.tkt--blog { width: auto; max-width: 100%; flex: 0 1 auto; justify-self: start; overflow-x: auto; scrollbar-width: none; }
.tkt--blog .tkt__tab { flex: 0 0 auto; padding-inline: 16px; }
.bsearch { position: relative; flex: 1 1 260px; max-width: 420px; }
.bsearch .i { position: absolute; left: 16px; top: 50%; margin-top: -10px; color: var(--on-dark-2); }
.bsearch input { width: 100%; min-height: 52px; padding: 0 18px 0 46px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(244, 240, 230, .06); color: var(--on-dark); }
.bsearch input::placeholder { color: var(--on-dark-2); }
.bsearch input:focus { outline: 0; border-color: var(--gold-light); background: rgba(244, 240, 230, .1); }
.bmeta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .86rem; color: var(--on-dark-2); }
.bmeta span + span::before { content: "·"; margin-right: 16px; color: var(--gold-light); }
.bshell { padding-block: clamp(48px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.bempty { padding-block: 40px; display: grid; gap: 14px; }
.bnone { color: var(--ink-3); }
.paging { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.paging a { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: .9rem; }
.paging a:hover { border-color: var(--navy); }
.paging a.is-on { background: var(--navy); border-color: var(--navy); color: var(--on-dark); }
.bfound { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.bfound a { display: grid; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.bfound b { font: 500 1.25rem/1.3 var(--serif); }
.bfound a:hover b { color: var(--gold-text); }
.bfound__d { font-size: .78rem; color: var(--ink-3); }
.bfound__ex { color: var(--ink-2); font-size: .94rem; }
.bpost { display: grid; gap: 40px; padding-block: clamp(40px, 6vw, 72px) clamp(56px, 7vw, 96px); }
@media (min-width: 1040px) { .bpost { grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; } .bpost__aside { position: sticky; top: calc(var(--hdr-h) + 24px); align-self: start; } }
.bpost__main { max-width: 760px; min-width: 0; }
.bpost__main .prose { font-size: 1.08rem; }
.bpost__main .prose > p:first-child { font-size: 1.22rem; color: var(--ink); }
.bcta { background: var(--navy); color: var(--on-dark); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; }
.bcta .eyebrow--gold { color: var(--gold-light); }
.bcta__t { font: 500 1.5rem/1.2 var(--serif); }
.bcta__list { list-style: none; margin: 0 0 6px; padding: 0; display: grid; }
.bcta__list a { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px dashed var(--line-dark); }
.bcta__list .i { width: 20px; height: 20px; color: var(--gold-light); }
.bcta__list small { font: 600 .62rem var(--sans); letter-spacing: .18em; color: var(--on-dark-2); }
.bcta__list a:hover span { color: var(--gold-light); }
.balbum { display: grid; gap: 16px; margin-top: 28px; }
.balbum img { border-radius: var(--r); width: 100%; height: auto; }
.balbum figcaption { font-size: .86rem; color: var(--ink-3); margin-top: 8px; }
.bcomm { padding-block: 0 clamp(56px, 7vw, 96px); max-width: 860px; }
.comments { display: grid; gap: 26px; }
.clist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.clist__i { margin-left: calc(var(--depth, 0) * 24px); }
.comment { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 8px; }
.comment__who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.comment__date { font-size: .78rem; color: var(--ink-3); margin-left: auto; }
.comment__text { color: var(--ink-2); }
.cform { display: grid; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); }
.cform h3 { font: 500 1.35rem var(--serif); }
.cform__row { display: grid; gap: 12px; }
@media (min-width: 560px) { .cform__row { grid-template-columns: 1fr 1fr; } }
.cform label { display: grid; gap: 6px; font-size: .8rem; color: var(--ink-2); font-weight: 500; }
.cform input, .cform textarea { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--ivory); }
.cform textarea { min-height: 120px; resize: vertical; }
.cform input:focus, .cform textarea:focus { outline: 0; border-color: var(--navy); background: var(--paper); }
.cform .btn { justify-self: start; }
.cform__note { color: var(--ink-2); font-size: .92rem; }
.cform__note a { color: var(--gold-text); border-bottom: 1px solid currentColor; }
.page--blog { max-width: 860px; display: grid; gap: 20px; }
.page--blog h1 { font: 500 var(--fs-h2)/1.1 var(--serif); }

/* ---------- 404 ---------- */
.e404__board { font-size: clamp(18px, 12px + 2.4vw, 40px); justify-self: start; }
.others__row--404 { margin-block: 8px; }

/* ---------- Reveal ---------- */
.js .rv { transform: translateY(24px); transition: transform 1s var(--ease); }
.js .rv.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { transform: none; }
}

@media (max-width: 759px) { :root { --hdr-h: 162px; } }
@media (max-width: 559px) { :root { --hdr-h: 142px; } }

/* claude 2.1.2: единая высота первого экрана на главной и на всех страницах услуг (компьютер) */
@media (min-width: 1040px) { .hero__in, .shero__in { min-height: 690px; } }
