/* Штандарт — фото и гротеск, без декора */
:root {
  --bg: #ffffff;
  --bg-2: #f2f3f1;
  --ink: #0d1820;
  --ink-2: #44515a;
  --ink-3: #7d8890;
  --line: #dfe2e0;
  --line-2: #c9ced0;
  --navy: #0f2533;
  --navy-2: #173547;
  --sun: #f4c21b;
  --sun-2: #e3ad00;
  --sun-soft: #fff4cc;
  --font: 'Golos Text', system-ui, -apple-system, sans-serif;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--font); letter-spacing: -.003em; font-optical-sizing: auto; hanging-punctuation: first; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  font-feature-settings: 'tnum' 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Типографика ---------- */
h1, h2, h3 { font-weight: 600; margin: 0; letter-spacing: -.035em; text-wrap: balance; font-kerning: normal; }
h1, h2 { font-weight: 500; letter-spacing: -.045em; }
h1 { font-size: clamp(40px, 6.4vw, 96px); line-height: .96; }
h2 { font-size: clamp(30px, 3.8vw, 56px); line-height: 1.02; }
h3 { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.25; letter-spacing: -.018em; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 54ch; letter-spacing: -.005em; }
.kicker { display: block; font-size: 14px; font-weight: 500; color: var(--ink-3); margin-bottom: 18px; letter-spacing: .01em; }
.mono { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 100px; border: 0;
  background: var(--ink); color: #fff; font: 600 16px/1 var(--font); text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
}
.btn:hover { background: var(--navy-2); }
.btn--wax { background: var(--sun); color: var(--ink); }
.btn--wax:hover { background: var(--sun-2); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-2); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.link { font-weight: 600; font-size: 16px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.link:hover { color: var(--ink-2); }
.arrow { transition: transform .2s; display: inline-block; }
a:hover > .arrow, button:hover > .arrow, a:hover .arrow { transform: translateX(4px); }

/* ---------- Шапка: две плитки ---------- */
.hdr { position: sticky; top: 0; z-index: 50; padding: 10px 0; pointer-events: none; }
body[data-page="home"] .hdr { position: fixed; left: 0; right: 0; }
body:not([data-page="home"]) .hdr { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.toc { border-top: 0; }
.hdr__in { display: block; }
.hdr__bar { justify-content: space-between; padding: 0 8px 0 16px; }
.tile { pointer-events: auto; display: flex; align-items: center; height: 64px; padding: 0 8px; border-radius: 18px; background: rgba(13,24,32,.92); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 8px 24px -14px rgba(0,0,0,.5); }
.hdr__left { display: flex; align-items: center; gap: 8px; }
.logo { display: flex; text-decoration: none; margin-right: 8px; }
.logo__img { height: 52px; width: auto; display: block; }
.nav { display: flex; gap: 0; }
.nav a { color: rgba(255,255,255,.7); text-decoration: none; padding: 0 14px; height: 40px; display: flex; align-items: center; border-radius: 10px; font-weight: 500; font-size: 15px; transition: color .15s, background .15s; }
.nav a:hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.12); }
.hdr__right { display: flex; align-items: center; gap: 4px; }
.hdr__soc { display: flex; gap: 2px; padding-right: 10px; margin-right: 8px; border-right: 1px solid rgba(255,255,255,.12); height: 28px; align-items: center; }
.hdr__soc a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: rgba(255,255,255,.6); transition: color .15s, background .15s; }
.hdr__soc a:hover { color: #fff; background: rgba(255,255,255,.08); }
.hdr__soc svg { width: 17px; height: 17px; fill: currentColor; }
.drawer__soc { display: flex; gap: 8px; margin-top: 24px; }
.drawer__soc a { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.drawer__soc svg { width: 20px; height: 20px; fill: currentColor; }
.now { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,.75); text-decoration: none; white-space: nowrap; padding-right: 8px; }
.now:hover { color: #fff; }
.now__dot { width: 8px; height: 8px; border-radius: 50%; background: #34d27b; animation: ping 2.4s infinite; flex-shrink: 0; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,210,123,.55);} 80%,100% { box-shadow: 0 0 0 8px rgba(52,210,123,0);} }
.lang { position: relative; display: flex; }
.lang__btn { height: 40px; padding: 0 12px; border: 0; background: none; color: rgba(255,255,255,.75); font-weight: 600; font-size: 14px; border-radius: 10px; }
.lang__btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang__list { position: absolute; right: 0; top: calc(100% + 16px); background: var(--ink); color: #fff; border-radius: 14px; list-style: none; margin: 0; padding: 6px; min-width: 170px; box-shadow: 0 20px 50px -12px rgba(0,0,0,.5); display: none; }
.lang.is-open .lang__list { display: block; }
.lang__list button { width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; border-radius: 9px; display: flex; justify-content: space-between; font-size: 15px; color: #fff; }
.lang__list button:hover { background: rgba(255,255,255,.08); }
.lang__list button[aria-current="true"] { color: var(--sun); font-weight: 600; }
.lang__list small { color: rgba(255,255,255,.45); font-size: 12px; }
.hdr__cta { height: 40px; padding: 0 16px; display: flex; align-items: center; border-radius: 10px; background: var(--sun); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.hdr__cta:hover { background: var(--sun-2); }
.burger { display: none; width: 40px; height: 40px; padding: 0; border: 0; background: none; border-radius: 10px; flex-direction: column; justify-content: center; }
.burger span { display: block; width: 18px; height: 2px; background: #fff; margin: 2.5px auto; border-radius: 2px; }

.drawer { position: fixed; inset: 0; z-index: 80; background: var(--navy); color: #fff; padding: 12px var(--gut) 28px; display: flex; flex-direction: column; overflow-y: auto; transform: translateY(-100%); transition: transform .45s cubic-bezier(.7,0,.2,1); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; height: 60px; flex-shrink: 0; }
.drawer__x { width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 18px; }
.drawer__nav { margin-top: 16px; }
.drawer__nav details { border-bottom: 1px solid rgba(255,255,255,.1); }
.drawer__nav summary { list-style: none; cursor: pointer; font-size: 30px; font-weight: 500; letter-spacing: -.035em; padding: 14px 0; display: flex; justify-content: space-between; align-items: center; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav summary::after { content: '+'; font-weight: 300; font-size: 28px; opacity: .5; transition: transform .2s; }
.drawer__nav details[open] summary::after { transform: rotate(45deg); }
.drawer__sub { display: flex; flex-direction: column; padding: 0 0 18px; }
.drawer__g { font-size: 13px; color: rgba(255,255,255,.45); margin: 10px 0 4px; }
.drawer .drawer__sub a { color: rgba(255,255,255,.85); text-decoration: none; font-size: 17px; padding: 7px 0; }
.drawer__sub a.drawer__all { color: var(--sun); font-weight: 600; margin-top: 6px; }
.drawer__soc { display: flex; gap: 8px; margin-top: 24px; }
.drawer__langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.drawer__langs button { border: 0; background: rgba(255,255,255,.08); color: #fff; height: 44px; padding: 0 16px; border-radius: 12px; font-weight: 600; font-size: 14px; }
.drawer__langs button[aria-current="true"] { background: #fff; color: var(--ink); }
.drawer > .btn { margin-top: 24px; flex-shrink: 0; height: 56px; }

/* ---------- Мега-меню ---------- */
.hdr__in { position: relative; }
.nav a { gap: 7px; }
.nav a svg { opacity: .5; transition: transform .2s; }
.nav a[aria-expanded="true"] { color: #fff; background: rgba(255,255,255,.08); }
.nav a[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; left: var(--gut); right: var(--gut); top: calc(100% + 8px); height: auto; display: grid; grid-template-columns: 1fr 1fr 340px; gap: 8px 40px; align-items: start; padding: 28px 28px 22px; border-radius: 18px; animation: megaIn .22s cubic-bezier(.2,.8,.2,1); }
.mega[hidden] { display: none; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega__col { display: flex; flex-direction: column; }
.mega__g { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 8px; }
.mega__col a { color: rgba(255,255,255,.88); text-decoration: none; font-size: 17px; padding: 8px 12px; margin: 0 -12px; border-radius: 10px; transition: background .15s, color .15s; }
.mega__col a:hover { background: rgba(255,255,255,.07); color: #fff; }
.mega__card { grid-column: 3; grid-row: 1 / span 2; border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; background: rgba(255,255,255,.06); color: #fff; text-decoration: none; min-height: 210px; }
.mega__k { font-size: 13px; color: rgba(255,255,255,.55); }
.mega__card b { font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.mega__d { font-size: 14px; color: rgba(255,255,255,.7); }
.mega__card .btn { margin-top: auto; align-self: flex-start; }
.mega__go { margin-top: auto; font-weight: 600; font-size: 15px; }
.mega__card--now b::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #34d27b; margin-right: 10px; vertical-align: 3px; }
.mega__card--img { padding: 0; overflow: hidden; position: relative; background: #fff; }
.mega__card--img img { width: 100%; height: 150px; object-fit: cover; }
.mega__card--img .mega__k, .mega__card--img .mega__t, .mega__card--img .mega__go { padding: 0 18px; color: var(--ink); }
.mega__card--img .mega__k { padding-top: 14px; color: var(--ink-3); }
.mega__card--img .mega__go { padding-bottom: 16px; padding-top: 12px; }
.mega__card--img .mega__t:last-child { padding-bottom: 16px; }
.mega__t { font-size: 18px; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.mega__card--sun { background: var(--sun); color: var(--ink); }
.mega__card--sun .mega__t { font-size: 22px; }
.mega__all { grid-column: 1 / 3; color: var(--sun); font-weight: 600; font-size: 15px; text-decoration: none; padding-top: 14px; margin-top: 10px; border-top: 1px solid rgba(255,255,255,.1); }

/* ---------- Хлебные крошки и «Дальше» ---------- */
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.nx { padding: 0 0 clamp(64px, 8vw, 110px); }
.nx__a { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; align-items: end; padding: clamp(28px, 4vw, 48px); border-radius: 18px; background: var(--navy); color: #fff; text-decoration: none; }
.nx__k { grid-column: 1 / -1; font-size: 14px; color: rgba(255,255,255,.55); }
.nx__t { font-size: clamp(26px, 3.2vw, 44px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; max-width: 24ch; }

/* ---------- Секции ---------- */
.sec { padding: clamp(80px, 10vw, 150px) 0; }
.sec--tight { padding: clamp(48px, 6vw, 80px) 0; }
.sec--dark { background: var(--navy); color: #fff; }
.sec--dark .lead, .sec--dark .muted { color: rgba(255,255,255,.68); }
.sec--dark .kicker { color: var(--sun); }
.sec--paper2 { background: var(--bg-2); }
/* Шапка раздела: надзаголовок → заголовок → подзаголовок, всё в одну колонку слева */
.sec__head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: clamp(36px, 4.5vw, 64px); }
.sec__head > div:first-child { display: block; }
.sec__head h2 { max-width: 24ch; }
.sec__head > :nth-child(2):not(.sec__aside) { margin-top: 20px; max-width: 60ch; }
.sec__head > :nth-child(2) .lead { max-width: 60ch; }
.sec__head .link { margin-top: 18px; }
/* Справа остаётся только действие: ссылка или стрелки, на одной линии с заголовком */
.sec__head:has(> .sec__aside) { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec__aside { flex-shrink: 0; }
.sec__aside .link { margin-top: 0; }
.sec__head--solo { grid-template-columns: 1fr; }
.rule-top { border-top: 1px solid var(--line); }
.frame { border-radius: var(--r); overflow: hidden; }

/* ---------- Hero главной: фото на весь экран, текст на небе справа ---------- */
.hero { --hero-h: max(100svh, 640px); position: relative; height: var(--hero-h); color: #fff; display: flex; flex-direction: column; background: #2a6db5; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
/* Фото img/pb/hero-ship.jpg 2600×1462 (1,778:1), без флага РФ. Центр корабля по горизонтали — 54,5 % кадра.
   Фото вписано по высоте экрана, поэтому корабль виден целиком при любых пропорциях;
   центр корабля стоит на 32 % ширины, справа кадр переходит в размытое продолжение неба. */
.hero__blur { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(28px) saturate(1.1); }
.hero__ship { position: absolute; top: 0; height: 100%; width: auto; max-width: none; left: calc(26% - var(--hero-h) * .969);
  -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent 100%); mask-image: linear-gradient(90deg, #000 72%, transparent 100%); }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,24,32,.35) 0%, rgba(13,24,32,0) 16%), linear-gradient(270deg, rgba(10,38,72,.42) 0%, rgba(10,38,72,.18) 38%, rgba(10,38,72,0) 52%), linear-gradient(180deg, rgba(13,24,32,0) 70%, rgba(13,24,32,.45) 100%); }
.hero__text { position: relative; width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding-top: 110px; padding-bottom: 32px; }
.hero__text > * { width: min(640px, 48%); }
.hero h1 { font-size: clamp(40px, 4.2vw, 64px); line-height: 1; margin-bottom: 22px; text-wrap: wrap; text-shadow: 0 2px 30px rgba(10,40,80,.25); }
.hero .lead { color: rgba(255,255,255,.92); font-size: clamp(17px, 1.35vw, 20px); text-shadow: 0 1px 16px rgba(10,40,80,.35); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__ctas .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); background: rgba(255,255,255,.08); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero__ctas .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.hero__foot { position: relative; padding-bottom: 24px; }
.hero .next { margin-top: 40px; grid-template-columns: 1fr auto; gap: 4px 16px; background: rgba(13,24,32,.5); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); color: #fff; border-radius: 16px; padding: 18px 18px 18px 22px; }
.hero .next__label { grid-column: 1 / -1; }
.hero .next__in { grid-column: 2; grid-row: 2; align-self: center; }
.hero .next .btn { grid-column: 1 / -1; margin-top: 12px; }
.hero .next__label { color: rgba(255,255,255,.6); }
.hero .next__dates { color: rgba(255,255,255,.7); }
.hero .next__in { background: rgba(255,255,255,.12); }
.hero__credit { position: absolute; right: var(--gut); bottom: 6px; font-size: 11px; color: rgba(255,255,255,.55); }

/* Ближайший рейс */
.next { display: grid; grid-template-columns: auto 1fr auto auto; gap: 28px; align-items: center; }
.next__label { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.next__route { font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.next__dates { font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.next__in { font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 100px; background: var(--bg-2); white-space: nowrap; }

/* Цифры */
.facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 32px 24px; }
.fact__v { font-size: clamp(40px, 4vw, 60px); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.fact__v small { font-size: .4em; margin-left: 4px; color: var(--ink-3); letter-spacing: 0; font-weight: 500; }
.fact__l { font-size: 15px; color: var(--ink-2); margin-top: 10px; line-height: 1.35; }

/* Четыре пути: крупные фотокарточки */
.paths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.path { position: relative; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: var(--navy); }
.path__img { position: absolute; inset: 0; }
.path__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.path__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,24,32,0) 30%, rgba(13,24,32,.85) 100%); }
.path:hover .path__img img { transform: scale(1.05); }
.path > :not(.path__img) { position: relative; }
.path__n { position: absolute !important; top: 20px; left: 24px; font-size: 14px; font-weight: 600; opacity: .8; }
.path h3 { font-size: 26px; margin-bottom: 10px; font-weight: 600; }
.path p { font-size: 15px; color: rgba(255,255,255,.82); line-height: 1.45; }
.path__meta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: 15px; }

/* ---------- Карта ---------- */
.mapbox { display: grid; grid-template-columns: minmax(0, 1fr) 380px; border-radius: var(--r); overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.mapbox__map { position: relative; min-height: 600px; }
#map, .map { position: absolute; inset: 0; background: #a9c3d4; }
.mapbox__list { max-height: 600px; overflow: auto; border-left: 1px solid var(--line); }
.mapbox__list button { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid var(--line); padding: 16px 20px; transition: background .15s; }
.mapbox__list button:hover { background: var(--bg-2); }
.mapbox__list button.is-active { background: var(--navy); color: #fff; }
.mapbox__list button.is-active .ml__dates, .mapbox__list button.is-active .ml__nm { color: rgba(255,255,255,.7); }
.mapbox__list button.is-past { opacity: .45; }
.ml__route { font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.ml__dates { font-size: 14px; color: var(--ink-2); grid-column: 1; }
.ml__nm { font-size: 13px; color: var(--ink-3); grid-row: 1 / span 2; grid-column: 2; align-self: center; text-align: right; font-variant-numeric: tabular-nums; }
.map__note { font-size: 14px; color: var(--ink-3); margin-top: 16px; max-width: 80ch; }
.map__legend { background: rgba(255,255,255,.95); padding: 10px 14px; border-radius: 8px; font-size: 13px; line-height: 1.7; white-space: nowrap; box-shadow: 0 4px 16px -6px rgba(0,0,0,.25); }
.map__legend i { display: inline-block; width: 22px; height: 0; border-top: 2.5px dashed var(--navy); vertical-align: middle; margin-right: 8px; }
.map__legend i.is-ship { border: 0; width: 12px; height: 12px; background: var(--navy); border-radius: 50%; margin-right: 8px; }
.leaflet-container { font-family: var(--font); background: #a9c3d4; }
.leaflet-control-attribution { background: rgba(255,255,255,.85) !important; font-size: 10px !important; }
.leaflet-bar { border: 0 !important; box-shadow: 0 4px 16px -6px rgba(0,0,0,.3) !important; border-radius: 10px !important; overflow: hidden; }
.leaflet-bar a { background: #fff !important; color: var(--ink) !important; border-color: var(--line) !important; }
.port-lbl { background: transparent; border: 0; box-shadow: none; color: var(--ink); font: 600 13px var(--font); text-shadow: 0 0 2px #fff, 0 0 4px #fff, 0 0 8px #fff; padding: 0; }
.port-lbl::before { display: none; }
.leaflet-popup-content-wrapper { border-radius: 10px; box-shadow: 0 16px 40px -12px rgba(0,0,0,.35); }
.leaflet-popup-content { margin: 14px 16px; font: 400 14px/1.5 var(--font); }
.pop__r { font-weight: 600; font-size: 17px; margin-bottom: 4px; }
.pop__d { color: var(--ink-2); font-size: 13px; }
.ship-mk { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; box-shadow: 0 0 0 6px rgba(15,37,51,.2); display: grid; place-items: center; color: #fff; }

/* ---------- Сутки на борту ---------- */
.day { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.dial { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1; margin: 0 auto; touch-action: none; outline: none; }
.dial svg { width: 100%; height: 100%; overflow: visible; }
.dial__center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; pointer-events: none; }
.dial__time { font-size: clamp(48px, 6vw, 72px); font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.dial__state { font-size: 15px; font-weight: 600; margin-top: 8px; }
.seg { display: inline-flex; background: rgba(255,255,255,.1); border-radius: 100px; padding: 4px; margin: 28px 0 28px; }
.seg button { background: none; border: 0; padding: 10px 20px; font-weight: 600; font-size: 15px; border-radius: 100px; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--navy); }
.day__card { padding-top: 4px; }
.day__now { font-size: 30px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 8px; }
.day__ev { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; }
.day__ev div { padding: 12px 14px; background: rgba(255,255,255,.06); border-radius: 8px; font-size: 14px; }
.day__ev b { display: block; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; color: #fff; }
.day__ev .is-on { background: var(--sun); color: var(--ink); }
.day__ev .is-on b { color: var(--ink); }
.legend3 { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; margin-top: 20px; justify-content: center; }
.legend3 span::before { content: ''; display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.legend3 .w::before { background: var(--sun); }
.legend3 .s::before { background: #5f8fa6; }
.legend3 .r::before { background: rgba(255,255,255,.14); }
.quote-rule { font-size: 16px; margin-top: 24px; padding-left: 16px; border-left: 2px solid var(--sun); color: rgba(255,255,255,.75); }

/* ---------- План рейсов ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 20px 36px; align-items: flex-end; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.fgroup { display: flex; flex-direction: column; gap: 10px; }
.fgroup > span { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 0; background: var(--bg-2); height: 38px; padding: 0 16px; font-weight: 500; font-size: 15px; border-radius: 100px; transition: background .15s, color .15s; }
.chip:hover { background: var(--line); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; margin-left: auto; height: 38px; }
.toggle input { accent-color: var(--ink); width: 18px; height: 18px; }
.plan__count { font-size: 14px; color: var(--ink-3); padding: 16px 0 4px; }
.voy { display: grid; grid-template-columns: 120px minmax(0, 1fr) 190px auto; gap: 28px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.voy.is-past { opacity: .45; }
.voy__date { font-size: 14px; color: var(--ink-2); line-height: 1.3; }
.voy__date b { display: block; font-size: 40px; font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.voy__route { font-size: clamp(20px, 1.8vw, 25px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.voy__route .sep { color: var(--ink-3); margin: 0 8px; font-weight: 500; }
.voy__meta { font-size: 14px; color: var(--ink-2); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 100px; white-space: nowrap; background: var(--bg-2); color: var(--ink-2); }
.badge--now { background: #e3f5ec; color: #157a4c; }
.badge--now::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2bb673; }
.badge--special { background: var(--sun); color: var(--ink); }
.badge--ny { background: var(--navy); color: #fff; margin-left: 6px; }
.voy__act { display: flex; gap: 8px; }
.voy__act .btn.is-added { background: #2bb673; }
.empty { padding: 56px 0; text-align: center; color: var(--ink-2); }
.incl { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; margin-top: 56px; }
.incl > div { padding: 32px; border-radius: var(--r); background: var(--bg-2); }
.incl > div + div { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.incl h3 { margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 30px; position: relative; font-size: 16px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.ticks--x li::before { border: 0; width: 12px; height: 2px; background: var(--ink-3); top: 12px; transform: none; }
.price-note { font-size: 16px; font-weight: 600; color: var(--ink); margin-top: 18px; }

/* Заявка */
.bkbar { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 160%); z-index: 60; background: var(--ink); color: #fff; display: flex; align-items: center; gap: 18px; padding: 8px 8px 8px 22px; border-radius: 100px; box-shadow: 0 20px 50px -10px rgba(0,0,0,.45); transition: transform .35s cubic-bezier(.2,.8,.2,1); max-width: calc(100% - 32px); }
.bkbar.is-on { transform: translate(-50%, 0); }
.bkbar span { font-size: 15px; white-space: nowrap; }
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.is-open { display: flex; }
.modal__bg { position: absolute; inset: 0; background: rgba(13,24,32,.6); }
.modal__box { position: relative; background: #fff; width: min(620px, 100%); max-height: calc(100vh - 32px); overflow: auto; border-radius: 16px; padding: clamp(24px, 4vw, 40px); }
.modal__box h2 { font-size: 34px !important; }
.modal__x { position: absolute; right: 14px; top: 14px; background: var(--bg-2); border: 0; font-size: 22px; line-height: 1; width: 40px; height: 40px; border-radius: 100px; }
.steps { display: flex; gap: 6px; margin: 20px 0 28px; padding: 0; }
.steps li { list-style: none; flex: 1; font-size: 13px; font-weight: 600; color: var(--ink-3); padding-top: 10px; border-top: 3px solid var(--line); }
.steps li.is-on { color: var(--ink); border-color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > span { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea { font: 16px var(--font); padding: 0 16px; height: 50px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 10px; }
.field textarea { height: auto; padding: 12px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.bk__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bk__item .voy__route { font-size: 20px !important; }
.bk__item button { background: var(--bg-2); border: 0; width: 34px; height: 34px; border-radius: 100px; flex-shrink: 0; }
.bk__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.bk__sum dt { font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.bk__sum dd { margin: 2px 0 0; font-weight: 500; }
.err { color: #b42318; font-size: 14px; min-height: 1em; }

/* Чек-лист */
.pack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack__col { padding: 28px; border-radius: var(--r); background: var(--bg-2); }
.pack__col h3 { margin-bottom: 14px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; cursor: pointer; font-size: 16px; line-height: 1.4; border-bottom: 1px solid var(--line); }
.check:last-child { border-bottom: 0; }
.check input { appearance: none; width: 22px; height: 22px; border: 2px solid var(--line-2); border-radius: 6px; flex-shrink: 0; margin: 0; position: relative; background: #fff; cursor: pointer; transition: all .15s; }
.check input:checked { background: var(--sun); border-color: var(--sun); }
.check input:checked::after { content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check input:checked + span { color: var(--ink-3); text-decoration: line-through; }
.pack__bar { display: flex; align-items: center; gap: 18px; margin-top: 20px; font-size: 15px; font-weight: 600; }
.pack__bar .track { flex: 1; height: 6px; background: var(--bg-2); border-radius: 6px; position: relative; overflow: hidden; }
.pack__bar .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--sun); transition: width .3s; border-radius: 6px; }
.note-box { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.note-box > div { padding: 22px 24px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; }
.note-box b { display: block; font-weight: 600; margin-bottom: 6px; }

/* Практика, сертификат */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split img { border-radius: var(--r); }
.pricebox { padding: 26px 28px; margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: #fff; border-radius: var(--r); }
.pricebox b { font-size: 44px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.cert { background: var(--navy); color: #fff; border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 1.55; display: flex; }
.cert::before { content: ''; position: absolute; inset: 0; background: url('../img/pb/ship-sea.jpg') center/cover; opacity: .35; }
.cert__in { position: relative; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: space-between; width: 100%; }
.cert__k { font-size: 14px; font-weight: 600; opacity: .8; }
.cert__t { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-top: auto; }
.cert__in .mono { font-size: 13px; color: rgba(255,255,255,.7); }
.cert__to { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; color: var(--sun); min-height: 1.3em; margin: 4px 0 14px; }
.cert__seal { display: none; }

/* Условия */
.refund { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.refund > div { padding: 26px; border-radius: var(--r); background: #fff; }
.refund b { font-size: 52px; font-weight: 500; letter-spacing: -.05em; line-height: 1; display: block; margin-bottom: 10px; }
.refund span { font-size: 15px; color: var(--ink-2); }
.refund .bar { height: 6px; background: var(--bg-2); margin-top: 18px; position: relative; border-radius: 6px; overflow: hidden; }
.refund .bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--sun); }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 52px 22px 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border-radius: 100px; background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%230d1820' stroke-width='1.8'/%3E%3C/svg%3E") center no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 66ch; }

/* ---------- Внутренние hero, оглавление ---------- */
.phero { padding: clamp(56px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); }
.phero h1 { font-size: clamp(38px, 5.6vw, 84px); max-width: 16ch; margin-bottom: 28px; }
.phero__img { margin-top: clamp(40px, 5vw, 64px); aspect-ratio: 21/9; overflow: hidden; border-radius: var(--r); }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.toc { position: sticky; top: 84px; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.toc ul { list-style: none; margin: 0; padding: 10px 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.toc ul::-webkit-scrollbar { display: none; }
.toc a { display: block; white-space: nowrap; padding: 8px 16px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--ink-2); border-radius: 100px; }
.toc a:hover { color: var(--ink); background: var(--bg-2); }
.toc a.is-on { color: #fff; background: var(--ink); }
[id] { scroll-margin-top: 160px; }

/* ---------- Разрез ---------- */
.deck { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 4vw, 64px); align-items: start; }
.deck__fig { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: #fff; }
.deck__fig img { width: 100%; height: auto; }
.hot { position: absolute; width: 5.4%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 0; background: transparent; padding: 0; }
.hot::before { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 3px solid var(--ink); box-shadow: 0 0 0 3px var(--sun); opacity: 0; transform: scale(.7); transition: all .2s; }
.hot:hover::before, .hot.is-on::before { opacity: 1; transform: scale(1); }
.hot.is-on::after { content: ''; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid var(--ink); animation: ring 1.8s infinite; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.deck__zones { list-style: none; padding: 0; margin: 0; }
.deck__zones li { border-bottom: 1px solid var(--line); }
.deck__zones li:first-child { border-top: 1px solid var(--line); }
.deck__zones button { width: 100%; text-align: left; background: none; border: 0; padding: 14px 0; display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; }
.deck__zones .zn { width: 28px; height: 28px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-size: 13px; font-weight: 600; }
.deck__zones .zt { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.deck__zones .zk { font-size: 12px; color: var(--ink-3); }
.deck__zones .zd { grid-column: 2 / -1; font-size: 16px; color: var(--ink-2); display: none; padding-bottom: 4px; }
.deck__zones li.is-on .zd { display: block; }
.deck__zones li.is-on .zn { background: var(--sun); color: var(--ink); }
.deck__key { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14px; margin-top: 14px; color: var(--ink-3); }

/* Таймлайн */
.tl__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: none; }
.tl__track::-webkit-scrollbar { display: none; }
.tl__item { flex: 0 0 min(400px, 84vw); scroll-snap-align: start; display: flex; flex-direction: column; }
.tl__img { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r); background: var(--bg-2); order: -1; margin-bottom: 20px; }
.tl__img img { width: 100%; height: 100%; object-fit: cover; }
.tl__img--contain img { object-fit: contain; background: #fff; }
.tl__year { font-size: 52px; font-weight: 500; letter-spacing: -.055em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.tl__item h3 { margin: 10px 0 8px; }
.tl__item p { font-size: 16px; color: var(--ink-2); }
.tl__nav { display: flex; gap: 8px; }
.tl__nav button { width: 52px; height: 52px; border: 0; border-radius: 100px; background: var(--bg-2); font-size: 18px; }
.tl__nav button:hover { background: var(--ink); color: #fff; }
.tl__progress { height: 3px; background: var(--bg-2); margin-top: 12px; position: relative; border-radius: 3px; overflow: hidden; }
.tl__progress i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); width: 10%; transition: width .2s; }

/* Характеристики */
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.specs dl { margin: 0; }
.specs div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.specs dt { font-size: 15px; color: var(--ink-3); }
.specs dd { margin: 0; font-size: 16px; }
.specs dd b { font-size: 30px; font-weight: 600; letter-spacing: -.03em; }

/* Экипаж */
.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 20px; }
.mate__img { aspect-ratio: 4/5; overflow: hidden; background: var(--line); border-radius: var(--r); }
.mate__img img { width: 100%; height: 100%; object-fit: cover; }
.mate h3 { margin-top: 16px; }
.mate__r { font-size: 15px; color: var(--ink-3); font-weight: 500; margin-top: 4px; }
.mate p { font-size: 15px; color: var(--ink-2); margin-top: 8px; }

.stories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stories a { padding: 26px; border-radius: var(--r); background: #fff; text-decoration: none; display: flex; justify-content: space-between; align-items: flex-end; font-size: 22px; font-weight: 600; letter-spacing: -.02em; min-height: 160px; transition: background .2s, color .2s; }
.stories a:hover { background: var(--ink); color: #fff; }
.stories small { display: block; font-size: 14px; color: var(--ink-3); font-weight: 500; letter-spacing: 0; margin-bottom: 6px; }

.media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
.mcard { text-decoration: none; display: block; }
.mcard__img { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--r); }
.mcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mcard:hover .mcard__img img { transform: scale(1.04); }
.mcard h3 { margin-top: 16px; display: flex; justify-content: space-between; }
.mcard p { font-size: 15px; color: var(--ink-2); margin-top: 6px; }

/* История на главной */
.revs.hist4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hist4 .rev { padding: 0; }
.hist4 .tl__year { font-size: 48px; }
.hist4 h3 { margin: 10px 0 0; }
.hist4 .tl__img { margin: 0 0 18px; order: 0; }
.hist4 .rev { display: flex; flex-direction: column; }
.hist4 .rev .tl__img { order: -1; }

/* Отзывы */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.revs:not(.hist4) .rev { margin: 0; padding: 32px; border-radius: var(--r); background: var(--bg-2); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.rev blockquote { margin: 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; font-weight: 500; letter-spacing: -.015em; }
.rev cite { display: block; font-style: normal; font-size: 15px; color: var(--ink-3); }

/* Новости */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ncard { text-decoration: none; display: block; }
.ncard img { aspect-ratio: 16/9; object-fit: cover; width: 100%; border-radius: var(--r); transition: opacity .2s; }
.ncard small { font-size: 14px; color: var(--ink-3); display: block; margin: 18px 0 6px; }
.ncard h3 { font-size: clamp(21px, 2vw, 27px); }
.ncard:hover h3 { color: var(--ink-2); }

/* Кейс */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.case__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
.case__stamp { display: none; }
.case__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.case__ctas .btn--ghost { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4) !important; border: 0 !important; }

/* Поддержать */
.chron div { position: relative; padding: 0 0 26px 28px; border-left: 2px solid rgba(255,255,255,.15); margin-left: 5px; }
.chron div:last-child { padding-bottom: 0; }
.chron div::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); }
.chron b { font-weight: 600; color: var(--sun); display: block; margin-bottom: 4px; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.way { padding: 30px; border-radius: var(--r); background: var(--bg-2); display: flex; flex-direction: column; gap: 12px; min-height: 280px; }
.way__n { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.way h3 { font-size: 26px; }
.way p { color: var(--ink-2); font-size: 16px; flex: 1; }
.way--accent { background: var(--sun); color: var(--ink); }
.way--accent p, .way--accent .way__n { color: rgba(13,24,32,.75); }
.way--accent .btn--light { background: var(--ink); color: #fff; }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card { padding: 30px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; background: #fff; }
.card p { color: var(--ink-2); flex: 1; }

/* ---------- Глоссарий ---------- */
dfn.gl { font-style: normal; text-decoration: underline dotted; text-decoration-color: var(--ink-3); text-underline-offset: 4px; text-decoration-thickness: 2px; cursor: help; }
.gl-tip { position: absolute; z-index: 100; max-width: 300px; background: var(--ink); color: #fff; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.45; box-shadow: 0 16px 40px -10px rgba(0,0,0,.4); pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.gl-tip.is-on { opacity: 1; transform: none; }
.gl-tip b { color: var(--sun); font-weight: 600; }
.gl-hint { font-size: 14px; color: var(--ink-3); margin-top: 16px; }

/* ---------- Подвал ---------- */
.ftr { background: var(--navy); color: #fff; padding: clamp(64px, 8vw, 110px) 0 28px; }
.ftr a { text-decoration: none; color: rgba(255,255,255,.75); }
.ftr a:hover { color: #fff; }
.ftr__top { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 40px 28px; }
.ftr h4 { font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.ftr h4 a { color: #fff; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; line-height: 1.35; }
.ftr__tag { font-size: 15px; color: rgba(255,255,255,.6); margin-top: 18px; max-width: 34ch; }
.ftr__contact { margin-top: 26px; }
.ftr__contact div { margin-bottom: 12px; font-size: 15px; }
.ftr__contact small { display: block; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 2px; }
.ftr__sub { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 20px 40px; align-items: center; margin-top: 56px; padding: 28px; border-radius: 18px; background: rgba(255,255,255,.05); }
.ftr__sub h4 { margin-bottom: 4px; }
.ftr__sub .sub { margin-top: 0; }
.sub { display: flex; background: rgba(255,255,255,.08); border-radius: 100px; padding: 4px; }
.sub input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 16px; font: 15px var(--font); outline: none; }
.sub input::placeholder { color: rgba(255,255,255,.45); }
.sub button { background: var(--sun); color: var(--ink); border: 0; height: 44px; padding: 0 20px; border-radius: 100px; font-weight: 600; font-size: 14px; }
.socials { display: flex; gap: 8px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.socials a:hover { background: rgba(255,255,255,.18); }
.socials svg { width: 17px; height: 17px; fill: currentColor; }
.ftr__docs { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ftr__bot { margin-top: 64px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.45); }
.ftr__langs { display: flex; gap: 4px; }
.ftr__langs button { background: none; border: 0; color: rgba(255,255,255,.55); font-weight: 600; font-size: 13px; padding: 4px 8px; border-radius: 100px; }
.ftr__langs button[aria-current="true"] { color: var(--ink); background: #fff; }

/* ---------- Появление ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .now__dot, .hot.is-on::after { animation: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .ftr__top { grid-template-columns: repeat(3, 1fr); }
  .ftr__about { grid-column: 1 / -1; }
  .mega { grid-template-columns: 1fr 1fr; }
  .mega__card { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .facts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .hero__text > * { width: min(520px, 56%); }
  .nav, .hdr__right .lang, .hdr__cta, .hdr__soc { display: none; }
  .burger { display: flex; }
  .day, .split, .case, .deck { grid-template-columns: 1fr; }
  .paths { grid-template-columns: 1fr 1fr; }
  .path { min-height: 440px; }
  .mapbox { grid-template-columns: 1fr; }
  .mapbox__map { min-height: 460px; }
  .mapbox__list { max-height: 340px; border-left: 0; border-top: 1px solid var(--line); }
  .crew { grid-template-columns: repeat(3, 1fr); }
  .ways { grid-template-columns: 1fr 1fr; }
  .sec__head:has(> .sec__aside) { flex-direction: column; align-items: flex-start; }
  .stories { grid-template-columns: 1fr 1fr; }
  .revs.hist4 { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .refund { grid-template-columns: 1fr 1fr; }
  .hero__coord { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .hdr { padding: 8px 0; }
  .tile { height: 56px; border-radius: 15px; }
  .hdr__bar { padding: 0 4px 0 12px; }
  .logo__img { height: 42px; }
  .toc { top: 72px; }
  .logo__sub { display: none; }
  .logo__name { font-size: 19px; }
  .logo__mark { width: 32px; height: 32px; }
  .now { font-size: 13px; padding-right: 2px; }
  /* Корабль целиком в кадре 4:5: по высоте видно всё фото, по ширине — 15–68 %, корабль 27–56 % */
  .hero { --hero-h: auto; height: auto; min-height: 0; background: var(--navy); }
  .hero__bg { position: relative; inset: auto; aspect-ratio: 4 / 5; flex-shrink: 0; }
  .hero__blur { display: none; }
  .hero__ship { inset: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54.5% 50%; -webkit-mask-image: none; mask-image: none; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(13,24,32,.4) 0%, rgba(13,24,32,0) 16%), linear-gradient(180deg, rgba(13,24,32,0) 78%, var(--navy) 100%); }
  .hero__text { padding-top: 8px; padding-bottom: 28px; align-items: stretch; justify-content: flex-start; flex: none; }
  .hero__text > * { width: auto; }
  .hero h1 { font-size: 38px; margin-bottom: 16px; }
  .hero .lead { text-shadow: none; }
  .hero .next { padding: 16px; margin-top: 28px; }
  .hero__credit { top: calc(125vw - 22px); bottom: auto; }
  .next__label { grid-column: 1 / -1; }
  .next .btn { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .paths { grid-template-columns: 1fr; }
  .path { min-height: 400px; }
  .mapbox__map { min-height: 400px; }
  .voy { grid-template-columns: 1fr; gap: 12px; }
  .voy__date { display: flex; gap: 10px; align-items: baseline; }
  .voy__date b { display: inline; font-size: 28px; }
  .voy__act .btn { flex: 1; }
  .toggle { margin-left: 0; }
  .incl, .note-box, .cards2, .pack { grid-template-columns: 1fr; }
  .incl > div, .pack__col { padding: 24px; }
  .refund b { font-size: 40px; }
  .refund > div { padding: 20px; }
  .specs { grid-template-columns: 1fr; }
  .specs div { grid-template-columns: 1fr; gap: 4px; }
  .crew { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .revs, .news, .media, .ways, .stories { grid-template-columns: 1fr; }
  .stories a { min-height: 0; }
  .way { min-height: 0; }
  .row2 { grid-template-columns: 1fr; }
  .day__ev { grid-template-columns: 1fr 1fr; }
  .ftr__top { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .ftr__sub { grid-template-columns: 1fr; padding: 22px; }
  .nx__a { grid-template-columns: 1fr; }
  .nx__a .btn { justify-self: start; }
  .phero__img { aspect-ratio: 4/3; }
  .seg button { padding: 10px 16px; }
  .cert { aspect-ratio: auto; min-height: 260px; }
}
@media (max-width: 400px) {
  .now__route { font-size: 12px; }
}

/* ---------- Выбор рейса: лента сезона и карточки ---------- */
.season { margin-bottom: 40px; padding: 28px 28px 20px; border-radius: 18px; background: var(--navy); color: #fff; }
.season__bar { position: relative; height: 72px; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.season__m { position: absolute; top: -26px; font-size: 13px; color: rgba(255,255,255,.5); transform: translateX(-2px); white-space: nowrap; }
.season__m::after { content: ''; position: absolute; left: 0; top: 24px; height: 74px; border-left: 1px solid rgba(255,255,255,.08); }
.season__v { position: absolute; top: 18px; height: 36px; min-width: 6px; padding: 0; border: 0; border-radius: 6px; background: rgba(255,255,255,.75); transition: transform .15s, background .15s; }
.season__v:hover, .season__v:focus-visible { background: #fff; transform: scaleY(1.15); outline: none; }
.season__v--special, .season__v.is-ny { background: var(--sun); }
.season__v--now { background: #34d27b; }
.season__v--past { background: rgba(255,255,255,.18); }
.season__today { position: absolute; top: -8px; bottom: -6px; border-left: 2px solid #34d27b; }
.season__today b { position: absolute; left: 6px; bottom: -2px; font-size: 12px; font-weight: 600; color: #34d27b; white-space: nowrap; }
.season__cap { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.7); min-height: 1.5em; }
.season__cap b { color: #fff; font-weight: 600; }

.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.vrow { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))) 8px; scroll-padding: 0 max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); scrollbar-width: none; }
.vrow::-webkit-scrollbar { display: none; }
.vrow .vc { flex: 0 0 min(360px, 84vw); scroll-snap-align: start; }
.vc { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.vc:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.vc.is-flash { box-shadow: inset 0 0 0 3px var(--sun); transform: translateY(-3px); }
.vc--past { opacity: .5; }
.vc--now { background: var(--navy); color: #fff; box-shadow: none; }
.vc--now .vc__dates small, .vc--now .vc__p small, .vc--now .vc__meta { color: rgba(255,255,255,.6); }
.vc--now .vc__line i { background: rgba(255,255,255,.3); }
.vc--now .vc__line span { background: var(--navy); color: rgba(255,255,255,.7); }
.vc--now .vc__line::before, .vc--now .vc__line::after { background: #fff; }
.vc--special, .vc--ny { outline: 2.5px solid var(--sun); outline-offset: -2.5px; }
.vc__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.vc__dates { font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.vc__dates small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-top: 3px; }
.vc__tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 100px; background: var(--sun); color: var(--ink); margin-bottom: -4px; }
.vc__route { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 10px; font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1.05; margin-top: 6px; }
.vc__p small { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; color: var(--ink-3); margin-top: 4px; }
.vc__arr { color: var(--ink-3); font-weight: 400; }
.vc__line { position: relative; display: flex; align-items: center; gap: 10px; padding: 0 6px; margin-top: auto; }
.vc__line::before, .vc__line::after { content: ''; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--ink); }
.vc__line::before { left: 0; } .vc__line::after { right: 0; }
.vc__line i { flex: 1; height: 0; border-top: 2px dashed var(--line-2); background: none; }
.vc__line span { font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.vc__line.is-loop::after { display: none; }
.vc__meta { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.vc .btn { width: 100%; height: 46px; }
.vc--now .btn { background: #fff; color: var(--ink); }
.vc .btn.is-added { background: #2bb673; color: #fff; }
@media (max-width: 1024px) { .vgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .vgrid { grid-template-columns: 1fr; }
  .season { padding: 22px 16px 16px; margin: 0 calc(var(--gut) * -1) 32px; border-radius: 0; overflow-x: auto; }
  .season__bar { min-width: 640px; }
  .vc__route { font-size: 24px; }
}

/* ---------- Сутки на борту: фото + судовое расписание вахт ---------- */
.watch { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.watch__photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; background: #0a141b; }
.watch__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform 1.2s ease; }
.watch__photo img.is-on { opacity: 1; transform: none; }
.watch__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,24,32,0) 45%, rgba(13,24,32,.85) 100%); }
.watch__photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; }
.watch__photo figcaption b { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.watch__photo figcaption span:last-child { color: rgba(255,255,255,.8); max-width: 52ch; font-size: 16px; }
.watch__st { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 100px; background: rgba(255,255,255,.14); }
.watch__st--w { background: var(--sun); color: var(--ink); }
.watch__st--s { background: #5f8fa6; }
.watch__side { border-radius: 18px; background: rgba(255,255,255,.05); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.watch__time { font-size: clamp(64px, 7vw, 104px); font-weight: 500; letter-spacing: -.06em; line-height: .9; font-variant-numeric: tabular-nums; }
.watch__side .seg { margin: 0; align-self: flex-start; }
.watch__next { font-size: 16px; color: rgba(255,255,255,.8); padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.watch__next span { display: block; font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.watch__next b { color: var(--sun); font-weight: 600; font-variant-numeric: tabular-nums; margin-right: 4px; }
.watch__play { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 20px 0 8px; border: 0; border-radius: 100px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; }
.watch__ico { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); position: relative; }
.watch__ico::before { content: ''; position: absolute; left: 13px; top: 10px; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.watch__play.is-playing .watch__ico::before { left: 11px; top: 11px; width: 4px; height: 12px; border: 0; background: var(--ink); box-shadow: 8px 0 0 var(--ink); }

.bill { grid-column: 1 / -1; position: relative; border-radius: 18px; background: rgba(255,255,255,.05); padding: 58px 26px 22px 26px; touch-action: none; cursor: ew-resize; user-select: none; outline: none; --name: 92px; }
.bill:focus-visible { box-shadow: inset 0 0 0 2px var(--sun); }
.bill__axis, .bill__ev { position: absolute; left: calc(26px + var(--name)); right: 26px; }
.bill__axis { top: 18px; height: 16px; }
.bill__axis span { position: absolute; transform: translateX(-50%); font-size: 12px; color: rgba(255,255,255,.45); font-variant-numeric: tabular-nums; }
.bill__ev { top: 38px; bottom: 22px; pointer-events: none; }
.bill__ev span { position: absolute; top: 0; bottom: 0; border-left: 1px dashed rgba(255,255,255,.18); }
.bill__ev i { position: absolute; top: -3px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); }
.bill__ev em { display: none; }
.bill__ev .is-next { border-left-color: rgba(244,194,27,.6); }
.bill__ev .is-next i { background: var(--sun); }
.bill__row { display: flex; align-items: center; height: 46px; margin-top: 6px; transition: opacity .2s; }
.bill__row:not(.is-you) { opacity: .45; }
.bill__name { width: var(--name); flex-shrink: 0; font-weight: 600; font-size: 15px; }
.bill__row.is-you .bill__name::after { content: ' ●'; color: var(--sun); font-size: 10px; vertical-align: 3px; }
.bill__track { position: relative; flex: 1; height: 100%; }
.bill__b { position: absolute; top: 0; bottom: 0; width: calc(100% / 6 - 4px); border-radius: 10px; display: flex; align-items: center; padding: 0 12px; font-size: 13px; font-weight: 600; overflow: hidden; white-space: nowrap; }
.bill__b em { font-style: normal; }
.bill__b--w { background: var(--sun); color: var(--ink); }
.bill__b--s { background: #5f8fa6; color: #fff; }
.bill__b--r { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }
.bill__cur { position: absolute; top: 34px; bottom: 14px; left: calc(26px + var(--name) + (100% - 52px - var(--name)) * var(--x)); width: 0; border-left: 2px solid #fff; pointer-events: none; }
.bill__cur b { position: absolute; top: -26px; left: 0; transform: translateX(-50%); background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 100px; font-variant-numeric: tabular-nums; }
.bill__cur::after { content: ''; position: absolute; bottom: -6px; left: -7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.watch__notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 40px; margin-top: 28px; color: rgba(255,255,255,.75); }
.watch__notes .quote-rule { margin-top: 0; }
.link--light { color: #fff; }
.link--light:hover { color: var(--sun); }
@media (max-width: 1024px) { .watch { grid-template-columns: 1fr; } .watch__side { flex-direction: row; flex-wrap: wrap; align-items: center; } .watch__play { margin-top: 0; } }
@media (max-width: 720px) {
  .watch__photo { aspect-ratio: 4 / 3; }
  .watch__photo figcaption { padding: 18px; }
  .watch__side { flex-direction: column; align-items: stretch; padding: 20px; }
  .watch__time { font-size: 64px; }
  .bill { padding: 52px 14px 18px; --name: 64px; overflow-x: auto; }
  .bill__axis, .bill__ev { left: calc(14px + var(--name)); right: 14px; }
  .bill__cur { left: calc(14px + var(--name) + (100% - 28px - var(--name)) * var(--x)); }
  .bill__b { padding: 0 6px; font-size: 0; }
  .bill__name { font-size: 13px; }
  .watch__notes { grid-template-columns: 1fr; }
}

/* Фото порта в карточке рейса */
.vc { overflow: hidden; }
.vc__img { position: relative; margin: -24px -24px 4px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); }
.vc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.vc:hover .vc__img img { transform: scale(1.05); }
.vc__cr { position: absolute; right: 8px; bottom: 6px; max-width: calc(100% - 16px); font-size: 10px; line-height: 1.3; color: rgba(255,255,255,.8); text-decoration: none; text-shadow: 0 1px 3px rgba(0,0,0,.7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc__cr:hover { color: #fff; }

/* ---------- Четыре пути: бенто на один экран ---------- */
.sec--paths { padding: clamp(56px, 6vw, 88px) 0; }
.sec__head--wide h2 { max-width: none; }
.sec--paths .sec__head { margin-bottom: 32px; }
.bento4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; height: clamp(380px, 54vh, 500px); }
.b4 { position: relative; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; background: var(--navy); display: flex; align-items: flex-end; }
.b4 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.b4:hover img { transform: scale(1.05); }
.b4::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,24,32,0) 40%, rgba(13,24,32,.82) 100%); }
.b4__body { position: relative; z-index: 1; width: 100%; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.b4__h { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.b4__d { font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.85); max-width: 40ch; }
.b4__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9); }
.b4__go { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 17px; transition: background .2s, transform .2s; flex-shrink: 0; }
.b4:hover .b4__go { background: var(--sun); transform: translateX(3px); }
@media (max-width: 1024px) { .bento4 { grid-template-columns: 1fr 1fr; height: auto; grid-auto-rows: 300px; } }
@media (max-width: 720px) { .bento4 { grid-auto-rows: 210px; gap: 8px; } .b4__body { padding: 14px; } .b4__h { font-size: 20px; } .b4__meta { font-size: 13px; } .b4__go { width: 32px; height: 32px; } }

/* ---------- Первый экран внутренних страниц: фото-плакат ---------- */
.phero { padding: 8px 0 0; }
.phero__card { position: relative; border-radius: 24px; overflow: hidden; min-height: clamp(460px, calc(100svh - 120px), 720px); display: flex; align-items: flex-end; background: var(--navy); color: #fff; }
.phero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,24,32,.35) 0%, rgba(13,24,32,0) 30%, rgba(13,24,32,.25) 55%, rgba(13,24,32,.85) 100%); }
.phero__in { position: relative; z-index: 1; padding: clamp(24px, 4vw, 56px); width: 100%; }
.phero__in .crumbs { position: absolute; top: clamp(20px, 3vw, 36px); left: clamp(24px, 4vw, 56px); margin: 0; color: rgba(255,255,255,.6); }
.phero__in .crumbs a { color: rgba(255,255,255,.85); }
.phero__in .kicker { color: var(--sun); }
.phero__in h1 { font-size: clamp(38px, 5.4vw, 80px); max-width: 15ch; margin-bottom: 20px; color: #fff; }
.phero__in .lead { color: rgba(255,255,255,.85); max-width: 58ch; }
.phero__in .hero__ctas { margin-top: 28px; }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255,255,255,.22); box-shadow: inset 0 0 0 1.5px #fff; }
.phero + .toc { margin-top: 24px; }
@media (max-width: 720px) {
  .phero { padding-top: 4px; }
  .phero .wrap { padding: 0 8px; }
  .phero__card { border-radius: 18px; min-height: calc(100svh - 90px); }
  .phero__in { padding: 20px; padding-top: 70px; }
  .phero__in .crumbs { top: 18px; left: 20px; }
  .phero__in .lead { font-size: 16px; }
}

/* ---------- Навигация по странице: плитка, как шапка ---------- */
.toc { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border: 0 !important; pointer-events: none; padding: 4px 0; }
.toc ul { pointer-events: auto; display: inline-flex; max-width: 100%; padding: 6px; gap: 2px; border-radius: 16px; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line), 0 10px 30px -16px rgba(13,24,32,.35); }
.toc a { padding: 9px 16px; border-radius: 11px; font-size: 15px; }
body:not([data-page="home"]) .hdr { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Окно заявки: выбор рейсов */
.bk__hint { font-size: 15px; margin-bottom: 12px; }
.bk__pick { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow: auto; margin: 0 -4px; padding: 2px 4px; }
.bk__opt { display: grid; grid-template-columns: auto 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 12px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .15s, background .15s; }
.bk__opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }
.bk__opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: var(--bg-2); }
.bk__opt input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; }
.bk__opt img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.bk__opt b { display: block; font-weight: 600; font-size: 16px; letter-spacing: -.01em; }
.bk__opt small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.bk__opt em { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 100px; background: var(--sun); white-space: nowrap; }
.modal__box h2 { margin-right: 48px; }
@media (max-width: 720px) { .bk__opt { grid-template-columns: auto 1fr; } .bk__opt img, .bk__opt em { display: none; } }
.phero__in { position: static; }
.phero__in > * { position: relative; z-index: 1; }
.phero__in > .crumbs { position: absolute; z-index: 2; }

/* ---------- Плакат внутренних страниц: на всю ширину, под шапкой ---------- */
body:not([data-page="home"]) .hdr { position: fixed; left: 0; right: 0; }
.phero { padding: 0; }
.phero > .wrap { max-width: none; padding: 0; }
.phero__card { border-radius: 0; min-height: max(100svh, 620px); }
.phero__card::after { background:
  linear-gradient(180deg, rgba(13,24,32,.55) 0%, rgba(13,24,32,0) 22%),
  linear-gradient(90deg, rgba(13,24,32,.82) 0%, rgba(13,24,32,.6) 38%, rgba(13,24,32,.15) 68%, rgba(13,24,32,0) 85%),
  linear-gradient(180deg, rgba(13,24,32,0) 55%, rgba(13,24,32,.7) 100%); }
.phero__in { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 120px var(--gut) clamp(48px, 7vh, 88px); }
.phero__in > .crumbs { position: static; margin: 0 0 28px; }
.phero__in h1 { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.phero__in .lead { color: rgba(255,255,255,.9); text-shadow: 0 1px 12px rgba(0,0,0,.35); max-width: 54ch; }
.phero + .toc { margin-top: 16px; }
@media (max-width: 720px) {
  .phero .wrap { padding: 0; }
  .phero__card { border-radius: 0; min-height: 100svh; }
  .phero__card::after { background: linear-gradient(180deg, rgba(13,24,32,.5) 0%, rgba(13,24,32,0) 20%), linear-gradient(180deg, rgba(13,24,32,0) 25%, rgba(13,24,32,.6) 50%, rgba(13,24,32,.9) 100%); }
  .phero__in { padding: 96px 16px 32px; }
}

/* ---------- «В море»: что входит ---------- */
.inc { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 56px; }
.inc__head { grid-column: 1 / -1; }
.inc__t { grid-column: span 2; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: 18px; background: var(--bg-2); font-size: 17px; font-weight: 500; line-height: 1.35; min-height: 150px; }
.inc__t:nth-child(5), .inc__t:nth-child(6) { grid-column: span 3; }
.inc__i, .pk__ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--ink); flex-shrink: 0; }
.inc__i svg, .pk__ico svg { width: 22px; height: 22px; }
.inc__no { grid-column: span 3; padding: 24px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line); }
.inc__no ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; color: var(--ink-2); }
.inc__no li::before { content: '—'; margin-right: 10px; color: var(--ink-3); }
.inc__price { grid-column: span 3; padding: 24px; border-radius: 18px; background: var(--navy); color: #fff; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.inc__price .muted { color: rgba(255,255,255,.55); font-size: 14px; }
.inc__price b { font-size: 26px; font-weight: 500; letter-spacing: -.03em; margin-bottom: auto; padding-bottom: 18px; }

/* ---------- «В море»: что взять ---------- */
.pk { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px; }
.pk__sum { grid-row: span 2; padding: 28px; border-radius: 18px; background: var(--navy); color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pk__ring { position: relative; width: 168px; height: 168px; }
.pk__ring svg { width: 100%; height: 100%; }
.pk__num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 46px; font-weight: 500; letter-spacing: -.05em; }
.pk__num small { font-size: 20px; color: rgba(255,255,255,.5); letter-spacing: 0; }
.pk__ring .pk__num { display: flex; align-items: baseline; justify-content: center; padding-top: 52px; }
.pk__txt { font-size: 18px; font-weight: 500; }
.pk__acts { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.pk__reset { background: none; border: 0; color: rgba(255,255,255,.55); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 0 4px; }
.pk__cat { padding: 24px; border-radius: 18px; background: var(--bg-2); transition: background .3s; }
.pk__cat.is-done { background: #fff4cc; }
.pk__hd { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pk__hd h3 { font-size: 19px; flex: 1; }
.pk__cnt { font-size: 14px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.pk .check { font-size: 15px; }
.pk__leave { grid-column: span 2; padding: 24px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px var(--line); }
.pk__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.pk__chips s { text-decoration: line-through; text-decoration-color: rgba(13,24,32,.4); padding: 8px 14px; border-radius: 100px; background: var(--bg-2); color: var(--ink-2); font-size: 15px; }
.pk__health { padding: 24px; border-radius: 18px; background: var(--sun); }
.pk__health p { font-size: 15px; line-height: 1.45; }
.pk__health .pk__ico, .pk__leave .pk__ico { background: rgba(255,255,255,.7); }
.pk__leave .pk__ico { background: var(--bg-2); }
@media print {
  body.print-pack .hdr, body.print-pack .ftr, body.print-pack .toc, body.print-pack .bkbar, body.print-pack main > *:not(#pack), body.print-pack .pk__acts, body.print-pack .nx { display: none !important; }
  body.print-pack .pk { grid-template-columns: 1fr 1fr; }
  body.print-pack .pk__sum { display: none; }
}

/* ---------- «В море»: практика ---------- */
.pro { display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: auto auto; gap: 12px; }
.pro__ph { grid-row: span 2; border-radius: 18px; overflow: hidden; min-height: 420px; }
.pro__ph img { width: 100%; height: 100%; object-fit: cover; }
.pro__main { padding: 32px; border-radius: 18px; background: #fff; }
.pro__main h2 { font-size: clamp(28px, 3vw, 44px); margin-bottom: 16px; }
.pro__ment { margin-top: 24px; }
.pro__lbl { font-size: 14px; color: var(--ink-3); }
.pro__faces { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.pro__face { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 100px; background: var(--bg-2); }
.pro__face img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pro__face b { display: block; font-size: 14px; font-weight: 600; }
.pro__face small { display: block; font-size: 12px; color: var(--ink-3); }
.pro__req { margin-top: 18px; color: var(--ink-2); font-size: 15px; }
.pro__price { padding: 28px 32px; border-radius: 18px; background: var(--navy); color: #fff; display: grid; grid-template-columns: auto 1fr auto; gap: 4px 24px; align-items: center; }
.pro__price b { grid-row: span 2; font-size: 56px; font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.pro__price span { font-weight: 600; }
.pro__price small { color: rgba(255,255,255,.6); font-size: 14px; grid-column: 2; }
.pro__price .btn { grid-row: 1 / span 2; grid-column: 3; }

/* ---------- «В море»: условия шкалой ---------- */
.rf { padding: 28px; border-radius: 18px; background: #fff; }
.rf__ends { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 12px; }
.rf__ends span:last-child::after { content: ' ⚓'; }
.rf__bar { display: grid; grid-template-columns: 3fr 2fr 1.2fr 1fr; gap: 4px; }
.rf__s { padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.rf__s:first-child { border-radius: 12px 0 0 12px; } .rf__s:last-child { border-radius: 0 12px 12px 0; }
.rf__s b { font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.rf__s span { font-size: 14px; }
.rf__s--1 { background: #2bb673; color: #fff; }
.rf__s--2 { background: var(--sun); }
.rf__s--3 { background: #ffe38a; }
.rf__s--4 { background: var(--bg-2); color: var(--ink-2); }
.rf__fm { margin-top: 18px; color: var(--ink-2); max-width: 70ch; }

/* ---------- «В море»: вопросы карточками ---------- */
.fqs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.fq { border-radius: 16px; background: var(--bg-2); transition: background .2s; }
.fq[open] { background: var(--navy); color: #fff; }
.fq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; position: relative; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-weight: 400; font-size: 20px; transition: transform .2s; }
.fq[open] summary::after { transform: rotate(45deg); background: var(--sun); }
.fq p { padding: 0 24px 22px; color: rgba(255,255,255,.8); }
.fq__answer { padding: 0 24px 22px; color: rgba(255,255,255,.85); }
.fq__answer p { padding: 0; margin: 0 0 12px; }
.fq__answer p:last-child { margin-bottom: 0; }
.faq__group-title { grid-column: 1 / -1; margin: 24px 0 4px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.018em; }
.faq__group-title:first-child { margin-top: 0; }
.fq dfn.gl { text-decoration-color: var(--sun); }

@media (max-width: 1024px) {
  .inc { grid-template-columns: 1fr 1fr; } .inc__t, .inc__t:nth-child(5), .inc__t:nth-child(6), .inc__no, .inc__price { grid-column: span 1; }
  .pk { grid-template-columns: 1fr 1fr; } .pk__sum { grid-row: auto; grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .pro { grid-template-columns: 1fr; } .pro__ph { grid-row: auto; min-height: 300px; }
}
@media (max-width: 720px) {
  .inc, .pk, .fqs { grid-template-columns: 1fr; } .pk__leave { grid-column: auto; }
  .inc__t { min-height: 0; flex-direction: row; align-items: center; }
  .pro__price { grid-template-columns: 1fr; } .pro__price b, .pro__price .btn { grid-row: auto; grid-column: auto; } .pro__price small { grid-column: auto; }
  .rf__bar { grid-template-columns: 1fr 1fr; } .rf__s { border-radius: 12px !important; }
}

.bk__chosen { display: flex; align-items: center; gap: 14px; padding: 10px; margin-bottom: 20px; border-radius: 14px; background: var(--bg-2); }
.bk__chosen img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; }
.bk__chosen b { display: block; font-weight: 600; } .bk__chosen small { color: var(--ink-3); font-size: 13px; }
/* Навигация по странице не занимает место: плавает поверх начала следующего раздела */
.toc { height: 0; padding: 0 !important; overflow: visible; z-index: 45; }
.phero + .toc { margin-top: 0; }
.toc .wrap { padding-top: 14px; }

/* ---------- Главная: мозаика «неделя на борту» ---------- */
.mo { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, clamp(200px, 26vh, 280px)); gap: 12px; }
.mo__t { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--navy); }
.mo__t img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.mo__t:hover img { transform: scale(1.05); }
.mo__t::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,24,32,0) 50%, rgba(13,24,32,.75) 100%); }
.mo__t figcaption { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; color: #fff; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.mo__t--a { grid-column: 1 / 3; grid-row: 1 / 3; }
.mo__t--a figcaption { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.035em; }
.mo__t--b { grid-column: 3 / 5; }
.mo__t--c { grid-column: 5 / 7; }
.mo__t--d { grid-column: 3 / 4; }
.mo__t--e { grid-column: 4 / 6; }
.mo__t--f { grid-column: 6 / 7; }

/* ---------- Главная: коротко о главном ---------- */
.qa { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qa__t { padding: 28px; border-radius: 18px; background: var(--bg-2); display: flex; flex-direction: column; gap: 12px; min-height: 190px; }
.qa__t b { font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.qa__t p { color: var(--ink-2); font-size: 16px; }
.qa__t:first-child { background: var(--navy); color: #fff; }
.qa__t:first-child p { color: rgba(255,255,255,.75); }
.qa__t:first-child b { color: var(--sun); }

/* ---------- Главная: финальный призыв ---------- */
.fin { padding-top: 0; }
.fin__card { position: relative; border-radius: 24px; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end; color: #fff; background: var(--navy); }
.fin__card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.fin__card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,24,32,.8) 0%, rgba(13,24,32,.45) 45%, rgba(13,24,32,0) 75%), linear-gradient(180deg, rgba(13,24,32,0) 50%, rgba(13,24,32,.5) 100%); }
.fin__in { position: relative; z-index: 1; padding: clamp(28px, 5vw, 64px); max-width: 720px; }
.fin__in .kicker { color: var(--sun); }
.fin__in h2 { color: #fff; margin-bottom: 18px; }
.fin__in .lead { color: rgba(255,255,255,.85); }

@media (max-width: 1024px) {
  .mo { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 220px; }
  .mo__t--a { grid-column: 1 / 3; grid-row: span 2; }
  .mo__t--b, .mo__t--c, .mo__t--d, .mo__t--e, .mo__t--f { grid-column: auto; }
  .mo__t--f { grid-column: 1 / 3; }
  .qa { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .mo { grid-auto-rows: 170px; gap: 8px; } .mo__t figcaption { font-size: 15px; left: 14px; right: 14px; bottom: 12px; }
  .qa { grid-template-columns: 1fr; } .qa__t { min-height: 0; padding: 22px; }
  .fin__card { min-height: 460px; border-radius: 18px; }
  .fin__card::after { background: linear-gradient(180deg, rgba(13,24,32,.1) 20%, rgba(13,24,32,.85) 100%); }
}

/* Подсказка словарика привязана к окну и не удлиняет страницу */
.gl-tip { position: fixed; top: 0; left: 0; }

/* Отступы разделов: компактнее, а соседние разделы одного цвета не складывают отступы */
.sec { padding: clamp(64px, 7.5vw, 112px) 0; }
.sec--paper2 + .sec--paper2,
.sec--dark + .sec--dark,
.sec:not(.sec--paper2):not(.sec--dark) + .sec:not(.sec--paper2):not(.sec--dark) { padding-top: 0; }

/* ---------- Главная: отзывы ---------- */
.rvw { display: grid; grid-template-columns: 5fr 7fr; gap: 12px; min-height: 480px; }
.rvw__ph { margin: 0; border-radius: 18px; overflow: hidden; }
.rvw__ph img { width: 100%; height: 100%; object-fit: cover; }
.rvw__card { border-radius: 18px; background: var(--navy); color: #fff; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.rvw__qs { display: grid; }
.rvw__q { grid-area: 1 / 1; margin: 0; font-size: clamp(24px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.03em; line-height: 1.25; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; pointer-events: none; }
.rvw__q::before { content: '“'; display: block; font-size: 1.8em; line-height: .6; color: var(--sun); margin-bottom: 14px; }
.rvw__q.is-on { opacity: 1; transform: none; pointer-events: auto; }
.rvw__who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rvw__p { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 14px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.65); text-align: left; font-size: 14px; line-height: 1.3; overflow: hidden; transition: background .2s, color .2s; }
.rvw__p img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; filter: grayscale(1); transition: filter .3s; }
.rvw__p.is-on { background: rgba(255,255,255,.12); color: #fff; }
.rvw__p.is-on img { filter: none; }
.rvw__p i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--sun); }
.rvw__p.is-on i { animation: rvwbar 7s linear forwards; }
.rvw.is-paused .rvw__p.is-on i { animation-play-state: paused; }
@keyframes rvwbar { to { width: 100%; } }
@media (max-width: 1024px) { .rvw { grid-template-columns: 1fr; } .rvw__ph { height: 280px; } }
@media (max-width: 720px) { .rvw__who { grid-template-columns: 1fr; } .rvw__q { font-size: 22px; } }

/* Действия в шапке раздела («Открыть план рейсов», «Вся история»…) — кнопками */
.sec__aside .link { height: 48px; padding: 0 22px; border-radius: 100px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 15px; transition: background .2s, color .2s, box-shadow .2s; }
.sec__aside .link:hover { background: var(--ink); color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
.sec--dark .sec__aside .link { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.sec--dark .sec__aside .link:hover { background: #fff; color: var(--ink); }
/* Подписка в подвале не распирает сетку на узких экранах */
.ftr__sub > *, .ftr__top > * { min-width: 0; }
.sub { max-width: 100%; }
.sub button { white-space: nowrap; flex-shrink: 0; }
/* «Оставьте дома»: обычные плашки, без зачёркивания */
.pk__chips s { text-decoration: none; color: var(--ink); }

/* Хаб «В море»: плитки-переходы на страницы */
.sxs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sx { position: relative; height: 300px; border-radius: 18px; overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 20px; background: var(--navy); }
.sx img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.sx::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,24,32,0) 40%, rgba(13,24,32,.8) 100%); }
.sx > span { position: relative; z-index: 1; }
.sx__t { font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.sx:hover img { transform: scale(1.05); }
.sx:hover .b4__go { background: var(--sun); }
@media (max-width: 1024px) { .sxs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .sxs { grid-template-columns: 1fr 1fr; gap: 8px; } .sx { height: 190px; padding: 14px; } .sx__t { font-size: 16px; } }

/* ---------- Морские детали: канат и якорь (сначала только на главной) ---------- */
.rope { position: relative; height: 18px; background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='18' viewBox='0 0 24 18'><defs><clipPath id='c'><rect x='0' y='2' width='24' height='14' rx='7'/></clipPath></defs><rect x='0' y='2' width='24' height='14' rx='7' fill='%23c9a46b'/><g clip-path='url(%23c)'><path d='M-6 16 L6 2 M2 16 L14 2 M10 16 L22 2 M18 16 L30 2' stroke='%238b6a3e' stroke-width='2.2'/><path d='M-3 16 L9 2 M5 16 L17 2 M13 16 L25 2 M21 16 L33 2' stroke='%23e7cf9f' stroke-width='1.2' opacity='.8'/></g><rect x='0' y='2' width='24' height='14' rx='7' fill='none' stroke='%236e5230' stroke-opacity='.35'/></svg>") repeat-x 0 0 / 24px 18px; filter: drop-shadow(0 3px 4px rgba(13,24,32,.18)); }
.rope-wrap { position: relative; padding: 0; overflow: visible; z-index: 2; }
.rope__anchor { position: absolute; top: 9px; left: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut) + 24px)); width: 54px; transform-origin: 50% 0; animation: anchorSwing 5s ease-in-out infinite; pointer-events: none; }
.rope__anchor svg { width: 54px; height: auto; display: block; overflow: visible; }
@keyframes anchorSwing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.rope-wrap + .sec { padding-top: clamp(88px, 9vw, 128px); }
@media (prefers-reduced-motion: reduce) { .rope__anchor { animation: none; } }
@media (max-width: 720px) { .rope__anchor { width: 40px; } .rope__anchor svg { width: 40px; } }

/* ---------- Морские детали главной: флаги, штурвал, спасательный круг ---------- */
.fin__card { padding-top: 70px; }
.flags { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 70px; display: flex; justify-content: center; gap: 10px; padding-top: 18px; pointer-events: none; }
.flags::before { content: ''; position: absolute; left: 0; right: 0; top: 18px; height: 3px; background: repeating-linear-gradient(110deg, #8b6a3e 0 4px, #e7cf9f 4px 6px, #c9a46b 6px 10px); box-shadow: 0 2px 3px rgba(0,0,0,.25); }
.flag { position: relative; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; animation: flagWave 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.35s); }
.flag::before { content: ''; width: 2px; height: 8px; background: #e7cf9f; }
.flag svg { width: 34px; height: 27px; display: block; box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.flag b { display: none; }
@keyframes flagWave { 0%, 100% { transform: rotate(-3deg) skewY(-2deg); } 50% { transform: rotate(3deg) skewY(2deg); } }
.fin__flags { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 14px; }
.sec--wheel { position: relative; overflow: hidden; }
.wheel { position: absolute; top: -90px; right: -90px; width: 420px; height: 420px; color: #fff; opacity: .05; pointer-events: none; will-change: transform; }
.qa__t--buoy { position: relative; }
.buoy { position: absolute; top: 18px; right: 18px; width: 56px; height: 56px; animation: buoySpin 14s linear infinite; }
@keyframes buoySpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .flag, .buoy { animation: none; } }
@media (max-width: 720px) { .flags { gap: 5px; } .flag svg { width: 26px; height: 21px; } .wheel { width: 260px; height: 260px; top: -60px; right: -80px; } }

/* «Что важно знать»: мягкий ховер плиток */
.qa__t { position: relative; overflow: hidden; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s cubic-bezier(.2,.8,.2,1), background .35s; }
.qa__t::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.2,.8,.2,1);
  background: repeating-linear-gradient(115deg, #8b6a3e 0 3px, #e7cf9f 3px 5px, #c9a46b 5px 9px); }
.qa__t b { transition: transform .45s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) {
  .qa__t:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -22px rgba(13,24,32,.35); }
  .qa__t:hover::after { transform: scaleX(1); }
  .qa__t:hover b { transform: translateX(4px); }
  .qa__t:first-child:hover { background: var(--navy-2); }
  .qa__t--buoy:hover .buoy { animation-duration: 3s; }
}
@media (prefers-reduced-motion: reduce) { .qa__t, .qa__t::after, .qa__t b { transition: none; } }
/* Ховер плиток «Что важно знать»: только подъём и тень, без каната */
.qa__t::after { display: none; }

/* Нет фото у члена экипажа — инициалы вместо битой картинки */
.mate__img.is-noimg { display: grid; place-items: center; background: var(--navy); }
.mate__img.is-noimg::before { content: attr(data-ini); color: var(--sun); font-size: clamp(40px, 5vw, 72px); font-weight: 500; letter-spacing: -.04em; }
/* Блок «Дальше»: всегда с отступом сверху, не прилипает к предыдущему разделу */
.nx { padding: clamp(56px, 6vw, 88px) 0; }

.ftr .ftr__dev { color: rgba(255,255,255,.55); }
.ftr .ftr__dev:hover { color: var(--sun); }

.sxs--2 { grid-template-columns: 1fr 1fr; }
.sxs--2 .sx { height: 280px; }
.mega:not(:has(.mega__col + .mega__col)) { grid-template-columns: 1fr 340px; }
.mega:not(:has(.mega__col + .mega__col)) .mega__card { grid-column: 2; }
.mega:not(:has(.mega__col + .mega__col)) .mega__all { grid-column: 1; }
@media (max-width: 720px) { .sxs--2 { grid-template-columns: 1fr; } .sxs--2 .sx { height: 200px; } }

/* Мега-меню: пункты карточками с фото и описанием */
.mega { grid-template-columns: 1fr 340px !important; }
.mega__items { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.mega .mega__card { grid-column: 2 !important; grid-row: 1 / span 2; }
.mega__all { grid-column: 1 !important; }
.mega__it { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; color: #fff; text-decoration: none; transition: background .2s; }
.mega__it:hover { background: rgba(255,255,255,.07); }
.mega__it img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: rgba(255,255,255,.06); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.mega__it:hover img { transform: scale(1.06); }
.mega__it-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mega__it-t b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.mega__it-t small { font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.55); }
.mega__items:has(> .mega__it:only-child), .mega__items:has(> .mega__it:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
@media (max-width: 1180px) { .mega { grid-template-columns: 1fr !important; } .mega .mega__card { display: none; } }

/* ---------- Прелоадер и переходы между страницами: занавес со штурвалом и логотипом ---------- */
html::before, html::after { content: ''; position: fixed; pointer-events: none; transition: opacity .55s ease, visibility .55s; }
html::before { inset: 0; z-index: 9998; background: #0f2533 url("../img/logo-white.svg") no-repeat center calc(50% + 86px) / 150px auto; }
html::after { z-index: 9999; left: 50%; top: calc(50% - 64px); width: 104px; height: 104px; margin: -52px 0 0 -52px; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%20200%20200%27%20fill%3D%27none%27%20stroke%3D%27%23f4c21b%27%3E%3Ccircle%20cx%3D%27100%27%20cy%3D%27100%27%20r%3D%2762%27%20stroke-width%3D%2710%27/%3E%3Ccircle%20cx%3D%27100%27%20cy%3D%27100%27%20r%3D%2754%27%20stroke-width%3D%272%27/%3E%3Ccircle%20cx%3D%27100%27%20cy%3D%27100%27%20r%3D%2716%27%20stroke-width%3D%278%27/%3E%3Ccircle%20cx%3D%27100%27%20cy%3D%27100%27%20r%3D%275%27%20fill%3D%27%23f4c21b%27/%3E%3Cg%20stroke-width%3D%277%27%20stroke-linecap%3D%27round%27%3E%3Cpath%20d%3D%27M100%2084V18%27%20transform%3D%27rotate%280%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2018V4%27%20stroke-width%3D%2712%27%20transform%3D%27rotate%280%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2084V18%27%20transform%3D%27rotate%2845%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2018V4%27%20stroke-width%3D%2712%27%20transform%3D%27rotate%2845%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2084V18%27%20transform%3D%27rotate%2890%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2018V4%27%20stroke-width%3D%2712%27%20transform%3D%27rotate%2890%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2084V18%27%20transform%3D%27rotate%28135%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2018V4%27%20stroke-width%3D%2712%27%20transform%3D%27rotate%28135%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2084V18%27%20transform%3D%27rotate%28180%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2018V4%27%20stroke-width%3D%2712%27%20transform%3D%27rotate%28180%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2084V18%27%20transform%3D%27rotate%28225%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2018V4%27%20stroke-width%3D%2712%27%20transform%3D%27rotate%28225%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2084V18%27%20transform%3D%27rotate%28270%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2018V4%27%20stroke-width%3D%2712%27%20transform%3D%27rotate%28270%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2084V18%27%20transform%3D%27rotate%28315%20100%20100%29%27/%3E%3Cpath%20d%3D%27M100%2018V4%27%20stroke-width%3D%2712%27%20transform%3D%27rotate%28315%20100%20100%29%27/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; animation: shWheel 2.4s cubic-bezier(.45,.05,.35,.95) infinite; }
@keyframes shWheel { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
html.is-ready::before, html.is-ready::after { opacity: 0; visibility: hidden; }
/* Повторные заходы: без занавеса, только мягкое проявление страницы */
html.is-quick::before, html.is-quick::after { display: none; }
/* Уход со страницы: содержимое мягко гаснет и чуть поднимается */
html.is-out main, html.is-out .ftr { opacity: 0; transform: translateY(-10px); transition: opacity .22s ease, transform .22s ease; }
html.is-ready main { animation: shPageIn .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes shPageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html::after { animation: none; } html.is-ready main { animation: none; } }

/* ---------- Правки 02.11.2026: некоммерческий проект, FAQ с раскрытием, согласие в заявке ---------- */
.np { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.np__c { text-decoration: none; display: flex; flex-direction: column; gap: 10px; padding: 10px 10px 22px; border-radius: 18px; background: var(--bg-2); color: var(--ink); transition: transform .35s, box-shadow .35s; }
.np__c:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -22px rgba(13,24,32,.45); }
.np__img { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; margin-bottom: 8px; }
.np__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s; }
.np__c:hover .np__img img { transform: scale(1.05); }
.np__c b { font-size: clamp(19px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.018em; line-height: 1.25; padding: 0 12px; }
.np__d { color: var(--ink-2); font-size: 16px; line-height: 1.55; padding: 0 12px; flex: 1; }
.np__go { padding: 0 12px; font-weight: 600; font-size: 15px; }
@media (max-width: 1180px) { .np { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .np { grid-template-columns: 1fr; gap: 8px; } }

.fq--extra { display: none; }
[data-fqs].is-all .fq--extra { display: block; }
.fq__more { margin-top: 20px; }
.fq__more span + span { display: none; }
.fq__more.is-all span:first-child { display: none; }
.fq__more.is-all span + span { display: inline; }

.plan__hint { color: var(--ink-3); font-size: 14px; max-width: 80ch; margin: 4px 0 10px; }
#answers .qa__t b { font-size: clamp(19px, 1.5vw, 22px); }

.bk__ack { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 4px; padding: 14px 16px; border-radius: 12px; background: var(--sun-soft); font-size: 15px; line-height: 1.5; cursor: pointer; }
.bk__ack input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--ink); }
