/* Балт Фрахт — общая дизайн-система («море и солнце») */

:root {
  --sea-900: #072C3E;
  --sea-800: #0A3B52;
  --sea-700: #0E4C63;
  --sea-600: #146279;
  --sea-500: #1C7A93;
  --sea-400: #3B9AAE;
  --sea-300: #6FC6C9;
  --sea-100: #E3F4F3;
  --sun-600: #F2891F;
  --sun-500: #FFB13D;
  --sun-400: #FFC766;
  --sun-100: #FFF3DD;
  --sand: #F7F3EA;
  --leaf-600: #1E9E5A;
  --leaf-100: #E6F6EC;
  --ink: #14242C;
  --ink-soft: #4E6470;
  --gray-100: #EEF4F5;
  --gray-200: #E1EAEC;
  --line: #DFE8EA;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(7, 44, 62, 0.08);
  --shadow-md: 0 12px 34px rgba(7, 44, 62, 0.14);
}

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--sea-900); color: var(--white); }
.section--dark .ink-soft, .section--dark p { color: #BFE0E2; }
.section--hero-gradient { background: linear-gradient(180deg, var(--sea-900) 0%, var(--sea-700) 55%, var(--sea-500) 100%); color: var(--white); position: relative; overflow: hidden; }
.section--hero-gradient::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,177,61,.28), transparent 70%); top: -140px; right: -100px; }
.section--hero-gradient .ink-soft, .section--hero-gradient p { color: #BFE0E2; }
.section--hero-gradient .section__eyebrow { color: var(--sun-500); }
.section--hero-gradient .section__title { color: var(--white); }
.section--hero-gradient .section__desc { color: #BFE0E2; }
.section__head { max-width: 640px; margin: 0 0 40px; }
.section__head--center { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section__eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--sun-600); margin-bottom: 10px;
}
.section--dark .section__eyebrow { color: var(--sun-500); }
.section__title { font-size: 32px; font-weight: 800; color: var(--sea-900); line-height: 1.25; }
.section--dark .section__title { color: var(--white); }
.section__desc { font-size: 16px; color: var(--ink-soft); margin-top: 12px; line-height: 1.6; }
.section--dark .section__desc { color: #BFE0E2; }

/* ── WAVE DIVIDER ── */
.wave { display: block; width: 100%; height: 48px; }
.wave--top { margin-bottom: -1px; }

.wave-divider { position: relative; height: 36px; overflow: hidden; line-height: 0; background: var(--sand); }
.wave-track { display: flex; width: 200%; height: 100%; animation: wave-scroll 16s linear infinite; }
.wave-track svg { width: 50%; height: 100%; flex-shrink: 0; fill: var(--sea-900); display: block; }
@keyframes wave-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wave-track { animation: none; } }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: 10px; font-size: 16px; font-weight: 700;
  cursor: pointer; border: none; transition: box-shadow .2s, background .2s, color .2s, transform .1s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--sun-600); color: var(--white); }
.btn-primary:hover { background: var(--sun-500); box-shadow: 0 8px 22px rgba(242, 137, 31, .35); }
.btn-secondary { background: var(--white); color: var(--sea-700); border: 2px solid var(--sea-500); padding: 13px 28px; }
.btn-secondary:hover { background: var(--sea-500); color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); padding: 13px 28px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.floating-actions {
  position: fixed; right: 20px; bottom: 20px; z-index: 500;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.floating-consult {
  display: none;
  background: var(--sun-600); color: var(--white); border: none; cursor: pointer;
  padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
  box-shadow: 0 8px 22px rgba(242, 137, 31, .45);
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap; font-family: inherit;
}
.floating-consult:hover { background: var(--sun-500); transform: scale(1.04); box-shadow: 0 10px 26px rgba(242, 137, 31, .55); }

.floating-call-wrap { position: relative; }
.floating-call {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--sun-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(242, 137, 31, .45);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.floating-call:hover { background: var(--sun-500); transform: scale(1.06); box-shadow: 0 10px 26px rgba(242, 137, 31, .55); }
.floating-call svg { width: 26px; height: 26px; }

.floating-call-popup {
  display: none;
  position: absolute; right: 0; bottom: calc(100% + 12px);
  background: var(--white); border-radius: 16px;
  box-shadow: 0 16px 40px rgba(7, 44, 62, .22);
  padding: 20px; width: 250px;
}
.floating-call-popup.is-open { display: block; }
.floating-call-popup__close {
  position: absolute; top: 8px; right: 10px; background: none; border: none;
  font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink-soft);
}
.floating-call-popup__close:hover { color: var(--ink); }
.floating-call-popup__title { font-weight: 700; color: var(--ink); margin: 0 0 10px; padding-right: 16px; }
.floating-call-popup__phone { display: block; font-size: 19px; font-weight: 800; color: var(--sea-700); margin-bottom: 16px; }
.floating-call-popup__phone:hover { color: var(--sea-600); }
.floating-call-popup__consult { width: 100%; justify-content: center; }

@media (max-width: 980px) {
  .floating-consult, .floating-call-popup { display: none !important; }
}
@media (min-width: 981px) {
  .floating-consult { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 640px) {
  .floating-actions { right: 14px; bottom: 84px; gap: 10px; }
  .floating-call { width: 50px; height: 50px; background: #2FAE60; box-shadow: 0 8px 22px rgba(47, 174, 96, .45); }
  .floating-call:hover { background: #27974F; box-shadow: 0 10px 26px rgba(47, 174, 96, .55); }
  .floating-call svg { width: 23px; height: 23px; }
}
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ── HEADER TOP (десктопная инфо-строка) ── */
.header-top { display: none; background: var(--white); border-bottom: 1px solid var(--line); }
.header-top__inner { display: flex; align-items: center; gap: 24px; padding: 12px 0; flex-wrap: wrap; row-gap: 8px; }
.header-top .logo__sub { max-width: 230px; }
.header-top__divider { width: 1px; height: 34px; background: var(--line); flex-shrink: 0; }
.header-top__item { display: flex; align-items: center; gap: 9px; color: var(--sea-600); }
.header-top__item svg { flex-shrink: 0; }
.header-top__item span { font-size: 12.5px; line-height: 1.4; color: var(--ink-soft); }
.header-top__item span b { color: var(--sea-900); font-weight: 700; }
.header-top__hours { font-size: 12.5px; line-height: 1.4; color: var(--ink-soft); margin-left: auto; text-align: right; }
.header-top__phone { font-size: 21px; font-weight: 800; color: var(--sea-900); white-space: nowrap; }

/* ── HEADER (строка навигации) ── */
.header { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; min-width: 0; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo__mark {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; object-fit: cover; display: block;
}
.logo__text { font-size: 18px; font-weight: 800; color: var(--sea-900); line-height: 1.2; }
.logo__sub { font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.logo__phone { display: none; font-size: 7.92px; color: var(--sea-700); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav-item > a { font-size: 15px; font-weight: 600; color: var(--ink); transition: color .15s; padding: 10px 16px; border-radius: 8px; white-space: nowrap; display: inline-block; }
.nav > a:hover, .nav-item > a:hover { color: var(--sea-600); background: var(--sea-100); }
.nav > a.nav__link--highlight { color: var(--sea-600); background: var(--sea-100); }
.nav-item { position: relative; }
.nav-item__drop {
  position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md); min-width: 260px; padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-item:hover .nav-item__drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item__drop a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; color: var(--ink); }
.nav-item__drop a:hover { background: var(--sea-100); color: var(--sea-700); }

.nav-item--sub { position: relative; }
.nav-item--sub > a { position: relative; padding-right: 26px; }
.nav-item--sub > a::after { content: "›"; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.nav-item__drop--sub {
  position: absolute; top: -8px; left: 100%; margin-left: 6px;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-md);
  padding: 8px; min-width: 140px;
  opacity: 0; visibility: hidden; transform: translateX(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-item--sub:hover > .nav-item__drop--sub { opacity: 1; visibility: visible; transform: translateX(0); }

.header__cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.btn-header-cta { text-transform: uppercase; letter-spacing: .02em; padding: 13px 22px; background: #0BA6D9; }
.btn-header-cta:hover { background: #0C93BF; }
.btn-header-cta--mobile { display: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--sea-900); cursor: pointer; flex-shrink: 0;
}
.nav-mobile { display: none; flex-direction: column; border-top: 1px solid var(--line); padding: 8px 24px 16px; }
.nav-mobile a { padding: 12px 0; font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.nav-mobile a.sub { padding-left: 16px; font-weight: 500; color: var(--ink-soft); font-size: 14px; }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile.open { display: flex; }

@media (min-width: 1080px) {
  .header-top { display: block; }
  .header__inner .logo { display: none; }
}

/* ── BREADCRUMBS ── */
.breadcrumbs { background: var(--sand); border-bottom: 1px solid var(--line); }
.breadcrumbs__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 12px 0; font-size: 13px; color: var(--ink-soft); }
.breadcrumbs__inner a { color: var(--sea-600); font-weight: 600; }
.breadcrumbs__inner a:hover { text-decoration: underline; }
.breadcrumbs__sep { color: #A9BCC1; }

/* ── HERO ── */
.hero { background: linear-gradient(180deg, var(--sea-900) 0%, var(--sea-700) 55%, var(--sea-500) 100%); padding: 60px 0 0; color: var(--white); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,177,61,.28), transparent 70%); top: -140px; right: -100px; }
.hero__wave { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 36px; overflow: hidden; line-height: 0; }
.hero__wave .wave-track svg { fill: var(--sand); }

/* Слой 1 (низ) — .hero фон-градиент. Слой 2 — .hero__layer-image (не влияет на размеры). Слой 3 (верх) — .hero__layer-content. */
.hero__stack { position: relative; }
.hero__layer-image {
  position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: contain; object-position: 88% 100%;
  transform: scale(.9438) translateY(0px); transform-origin: right bottom;
  opacity: .9; pointer-events: none;
}
.hero__inner { display: grid; grid-template-columns: 1fr; padding-bottom: 56px; position: relative; z-index: 2; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,177,61,.16); color: var(--sun-400);
  font-size: 13px; font-weight: 700; padding: 7px 14px; border-radius: 100px; margin: 0 0 20px; border: 1px solid rgba(255,177,61,.3);
}
.hero .hero__title { font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.hero .hero__title span { color: var(--sun-400); }
.hero p { font-size: 17px; color: #C8E4E3; line-height: 1.7; margin-bottom: 28px; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__trust { display: flex; gap: 24px; flex-wrap: wrap; }
.hero__trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #E6F3F2; }
.hero__trust-item svg { flex-shrink: 0; color: var(--sun-400); }

.hero--page { padding: 44px 0 52px; }
.hero--page h1 { font-size: 34px; margin-bottom: 12px; }
.hero--page p { max-width: 640px; }

.hero__card { border-radius: 20px; padding: 28px 30px; box-shadow: var(--shadow-md); position: relative; }
.hero__card-title { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.hero__card-row {
  display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap;
  gap: 6px 16px; font-size: 14px; padding: 12px 0; border-bottom: 1px solid transparent;
}
.hero__card-row:last-child { border-bottom: none; }
.hero__card-row span:first-child { color: var(--ink-soft); font-weight: 600; flex-shrink: 0; }

/* ── SHIP ICON ILLUSTRATION ── */
.hero__ship { position: absolute; bottom: -6px; right: 6%; opacity: .18; width: 220px; }

/* ── CABIN CARDS (каюты парома) ── */
.cabin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cabin-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.cabin-card__photo-wrap { position: relative; }
.cabin-card__photo-main { display: block; width: 100%; aspect-ratio: 4 / 3; border: none; padding: 0; margin: 0; cursor: pointer; background: var(--gray-100); }
.cabin-card__photo-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cabin-card__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.cabin-card__dot { position: relative; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); pointer-events: auto; cursor: pointer; border: none; padding: 0; }
.cabin-card__dot::before { content: ""; position: absolute; inset: -10px; }
.cabin-card__dot.is-active { background: var(--white); }
.cabin-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; }
.cabin-card__price { font-family: 'Inter', 'Manrope', sans-serif; font-size: 21px; font-weight: 800; color: var(--sea-900); }
.cabin-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cabin-card__tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-soft); white-space: nowrap; }
.cabin-card__tag--ok { color: #1E8A4C; border-color: #BFE6CD; background: #F0FBF4; }
.cabin-card__tag svg { flex-shrink: 0; }
@media (max-width: 980px) {
  .cabin-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cabin-grid { grid-template-columns: 1fr; }
}

/* ── MAP EMBED (Яндекс.Карты конструктор, открытие по клику) ── */
.map-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.map-card__title { padding: 14px 18px; font-weight: 700; color: var(--sea-900); background: var(--sand); border-bottom: 1px solid var(--line); }
.map-embed {
  position: relative; width: 100%; aspect-ratio: 888 / 620;
  background: var(--gray-100); display: flex; align-items: center; justify-content: center;
}
.map-embed__btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 100px;
  background: var(--sea-500); color: var(--white); font-weight: 700; font-size: 14px; border: none; cursor: pointer;
  transition: background .15s;
}
.map-embed__btn:hover { background: var(--sea-600); }
.map-embed.is-loading { color: var(--ink-soft); font-size: 13px; }
.map-embed iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }

/* ── LEGAL TEXT (юридические страницы) ── */
.legal-text { max-width: 820px; color: var(--ink); font-size: 15px; line-height: 1.7; }
.legal-text h2 { font-size: 22px; font-weight: 800; color: var(--sea-900); margin: 36px 0 14px; }
.legal-text h2:first-child { margin-top: 0; }
.legal-text h3 { font-size: 16.5px; font-weight: 700; color: var(--sea-900); margin: 22px 0 10px; }
.legal-text h4 { font-size: 14.5px; font-weight: 700; color: var(--sea-700); margin: 16px 0 6px; }
.legal-text p { margin: 0 0 14px; }
.legal-text ul { margin: 0 0 14px; }
.legal-text li { position: relative; padding-left: 18px; margin-bottom: 8px; }
.legal-text li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--sun-600); }
.legal-text strong, .legal-text b { color: var(--sea-900); }
.legal-text hr { border: none; border-top: 1px solid var(--line); margin: 28px 0; }
.legal-text a { color: var(--sea-600); text-decoration: underline; }
.legal-text .legal-requisites { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; margin-top: 24px; font-size: 14px; }
.legal-text .legal-requisites p { margin-bottom: 6px; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
  background: var(--sea-900); color: #E6F3F2; padding: 16px 24px;
  box-shadow: 0 -6px 24px rgba(7,44,62,.25);
}
.cookie-banner__text { font-size: 13.5px; line-height: 1.5; max-width: 760px; }
.cookie-banner__text a { color: var(--sun-400); text-decoration: underline; }
.cookie-banner__btn { flex-shrink: 0; padding: 10px 24px; font-size: 14px; }
@media (max-width: 640px) {
  .cookie-banner { justify-content: flex-start; padding: 14px 18px; }
}

/* ── PHOTO LIGHTBOX (просмотр фото кают) ── */
.photo-lightbox {
  display: none; position: fixed; inset: 0; z-index: 320; background: rgba(7,44,62,.85);
  align-items: center; justify-content: center; padding: 20px;
}
.photo-lightbox.is-open { display: flex; }
.photo-lightbox__inner { position: relative; max-width: 900px; width: 100%; }
.photo-lightbox__img-wrap { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.05); }
.photo-lightbox__img-wrap img { width: 100%; height: 100%; object-fit: contain; display: block; }
.photo-lightbox__close {
  position: absolute; top: -44px; right: 0; z-index: 5; width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.15); color: var(--white); font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.photo-lightbox__close:hover { background: rgba(255,255,255,.3); }
.photo-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.15); color: var(--white); font-size: 22px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.photo-lightbox__nav:hover { background: rgba(255,255,255,.3); }
.photo-lightbox__nav--prev { left: 12px; }
.photo-lightbox__nav--next { right: 12px; }
.photo-lightbox__count { text-align: center; color: rgba(255,255,255,.75); font-size: 13px; margin-top: 12px; }
@media (max-width: 640px) {
  .photo-lightbox { padding: 10px; }
  .photo-lightbox__inner { max-width: 100%; }
  .photo-lightbox__img-wrap { aspect-ratio: auto; height: 80vh; }
  .photo-lightbox__nav { width: 38px; height: 38px; }
  .photo-lightbox__close { top: 8px; right: 8px; background: rgba(7,44,62,.55); }
}

/* ── QUIZ TEASER (кнопка-приглашение перед квизом) ── */
/* Мобильная версия по умолчанию: прижата к низу экрана */
.quiz-teaser {
  display: none; position: fixed; right: 12px; left: 12px; bottom: 12px; z-index: 290;
  align-items: center; gap: 12px; background: var(--white); border-radius: 18px;
  box-shadow: var(--shadow-md); padding: 10px 12px 10px 10px; flex-wrap: wrap;
  animation: quiz-teaser-in .3s ease;
}
.quiz-teaser.is-open { display: flex; }
@keyframes quiz-teaser-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.quiz-teaser__icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--sea-100); color: var(--sea-600);
  display: flex; align-items: center; justify-content: center;
}
.quiz-teaser__text { font-size: 13.5px; font-weight: 700; color: var(--sea-900); line-height: 1.3; }
.quiz-teaser__actions { display: flex; gap: 6px; flex-shrink: 0; }
.quiz-teaser__btn { border-radius: 100px; padding: 9px 16px; font-size: 12.5px; font-weight: 700; border: none; cursor: pointer; white-space: nowrap; }
.quiz-teaser__btn--no { background: var(--gray-100); color: var(--ink-soft); }
.quiz-teaser__btn--no:hover { background: var(--gray-200); }
.quiz-teaser__btn--yes { background: var(--sun-600); color: var(--white); }
.quiz-teaser__btn--yes:hover { background: var(--sun-500); }

/* ПК: по центру экрана (не затемняя фон — это делает только сам квиз) */
@media (min-width: 481px) {
  .quiz-teaser {
    left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%);
    border-radius: 100px; flex-wrap: nowrap; max-width: calc(100vw - 40px);
  }
  .quiz-teaser__text { white-space: nowrap; }
  @keyframes quiz-teaser-in {
    from { opacity: 0; transform: translate(-50%, -50%) scale(.96); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }
}
@media (max-width: 480px) {
  .quiz-teaser__text { white-space: normal; }
  .quiz-teaser__actions { margin-left: auto; }
}

/* ── QUIZ POPUP ── */
.quiz-overlay {
  display: none; position: fixed; inset: 0; z-index: 300; background: rgba(7,44,62,.55);
  align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(2px);
}
.quiz-overlay.is-open { display: flex; }
.quiz-modal {
  position: relative; width: 100%; max-width: 460px; background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 32px 30px 28px; max-height: 90vh; overflow-y: auto;
}
.quiz-modal__close {
  position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: none;
  background: var(--gray-100); color: var(--ink-soft); font-size: 20px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.quiz-modal__close:hover { background: var(--gray-200); }
.quiz-modal__progress { display: flex; gap: 6px; margin-bottom: 22px; }
.quiz-dot { flex: 1; height: 4px; border-radius: 100px; background: var(--gray-200); transition: background .2s; }
.quiz-dot.is-active, .quiz-dot.is-done { background: var(--sun-600); }
.quiz-step { display: none; }
.quiz-step.is-active { display: block; animation: quiz-fade .2s ease; }
@keyframes quiz-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.quiz-step__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--sun-600); margin-bottom: 8px; }
.quiz-step__title { font-size: 20px; font-weight: 800; color: var(--sea-900); line-height: 1.3; margin-bottom: 4px; }
.quiz-step__hint { font-size: 13px; color: var(--ink-soft); margin: 6px 0 18px; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.quiz-option {
  text-align: left; padding: 14px 18px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white);
  font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s;
}
.quiz-option:hover { border-color: var(--sea-500); background: var(--sea-100); }
.quiz-option.is-selected { border-color: var(--sun-600); background: var(--sun-100); color: var(--sea-900); }

.quiz-calendar { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.quiz-calendar__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.quiz-calendar__month { font-weight: 700; color: var(--sea-900); font-size: 14.5px; text-transform: capitalize; }
.quiz-calendar__nav {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--white);
  color: var(--sea-700); font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.quiz-calendar__nav:hover { background: var(--sea-100); }
.quiz-calendar__nav:disabled { opacity: .35; cursor: not-allowed; }
.quiz-calendar__weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 11px; color: var(--ink-soft); margin-bottom: 4px; }
.quiz-calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.quiz-calendar__day {
  position: relative; aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 13px; color: var(--ink-soft); background: transparent; border: none; cursor: default;
}
.quiz-calendar__day--empty { visibility: hidden; }
.quiz-calendar__day--available { color: var(--sea-900); font-weight: 700; cursor: pointer; background: var(--sea-100); }
.quiz-calendar__day--available:hover { background: var(--sea-500); color: var(--white); }
.quiz-calendar__day--available::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: #2FAE60;
}
.quiz-calendar__day--selected { background: var(--sun-600) !important; color: var(--white) !important; }
.quiz-calendar__day--selected::after { background: var(--white); }
.quiz-calendar__day--open::before {
  content: "★"; position: absolute; top: 1px; right: 3px; font-size: 8px; line-height: 1; color: var(--sun-600);
}
.quiz-calendar__day--selected.quiz-calendar__day--open::before { color: var(--white); }
.quiz-calendar__legend { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--ink-soft); margin-top: 10px; }
.quiz-calendar__legend-item { display: flex; align-items: center; gap: 6px; }
.quiz-calendar__legend-dot { width: 8px; height: 8px; border-radius: 50%; background: #2FAE60; display: inline-block; flex-shrink: 0; }
.quiz-calendar__legend-star { color: var(--sun-600); font-size: 11px; }

.quiz-summary { background: var(--sand); border-radius: 10px; padding: 12px 16px; font-size: 13.5px; color: var(--ink-soft); margin: 14px 0 18px; line-height: 1.7; }
.quiz-summary b { color: var(--sea-900); }
.quiz-form { display: flex; flex-direction: column; gap: 10px; }
.quiz-form input {
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 14px; font-family: inherit;
}
.quiz-form input:focus { outline: none; border-color: var(--sea-500); }

.quiz-done { text-align: center; padding: 10px 0; }
.quiz-done svg { color: var(--sea-500); margin-bottom: 14px; }
.quiz-done h3 { font-size: 19px; font-weight: 800; color: var(--sea-900); margin-bottom: 8px; }
.quiz-done p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

.quiz-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft); background: none; border: none; cursor: pointer; margin-bottom: 14px; padding: 0; }
.quiz-back:hover { color: var(--sea-700); }

/* ── CARD GRID ── */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card__icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--sea-100); color: var(--sea-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card__title { font-size: 18px; font-weight: 800; color: var(--sea-900); margin-bottom: 8px; }
.card__desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--sea-600); }
.card--link { display: block; }
.card--link:hover .card__link { color: var(--sun-600); }

/* ── SERVICE TILE (крупные карточки-тизеры на главной) ── */
.service-tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 40px; }
.service-tile { display: block; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.service-tile:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-tile__media {
  position: relative; height: 240px; background: var(--sea-900); overflow: hidden;
}
.service-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.service-tile:hover .service-tile__media img { transform: scale(1.05); }
.service-tile__media::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,44,62,.55) 0%, transparent 55%); z-index: 1;
}
.service-tile__badge {
  position: absolute; left: 18px; bottom: 14px; background: linear-gradient(135deg, var(--sun-500), var(--sun-600)); color: var(--white);
  font-family: 'Inter', 'Manrope', sans-serif; font-weight: 700; font-size: 15px; padding: 9px 18px; border-radius: 9px; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(242,137,31,.55);
  z-index: 2;
}
.service-tile__body { padding: 20px 20px 20px; }
.service-tile__title { font-size: 16.5px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--sea-900); margin-bottom: 12px; }
.service-tile__tags { display: flex; flex-wrap: wrap; gap: 5px 12px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 20px; }
.service-tile__tags span { display: flex; align-items: center; gap: 5px; }
.service-tile__tags span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--sun-600); flex-shrink: 0; }
.service-tile__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 12px 18px;
  border-radius: 100px; border: 1.5px solid var(--sea-500); color: var(--sea-700); font-weight: 700;
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .02em; transition: background .2s, color .2s;
}
.service-tile__btn svg { flex-shrink: 0; }
.service-tile:hover .service-tile__btn { background: var(--sea-500); color: var(--white); }

/* ── ABOUT TEASER ── */
.about-stats { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.about-stat { flex: 1 1 140px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.about-stat__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.about-stat__num { font-size: 20px; font-weight: 800; color: var(--sea-900); }
.about-stat__icon { color: var(--sea-500); flex-shrink: 0; }
.about-stat__label { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; line-height: 1.4; }
.about-teaser__tagline { color: var(--sea-600); font-weight: 700; margin-top: 8px; }
.about-teaser__photo { border-radius: 14px; width: 100%; max-width: 100%; display: block; margin: 20px 0; box-shadow: var(--shadow-sm); }
.about-teaser__side { width: 100%; height: 100%; min-height: 320px; border-radius: 16px; overflow: hidden; }
.about-teaser__side img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 980px) {
  .about-teaser__side { min-height: 240px; margin-top: 24px; }
}
.about-teaser__more { display: none; }
.about-teaser__more.is-expanded { display: block; }
.about-teaser__more p { margin-top: 12px; }
.about-teaser__more h4 { margin-top: 18px; margin-bottom: 4px; color: var(--sea-900); font-size: 15px; }

@media (max-width: 980px) { .service-tile-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .service-tile-grid { grid-template-columns: 1fr; } }

/* ── FERRY CARD ── */
.ferry-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.ferry-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ferry-card__top { background: linear-gradient(135deg, var(--sea-700), var(--sea-900)); padding: 28px 24px; color: var(--white); position: relative; overflow: hidden; }
.ferry-card__top::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,177,61,.25), transparent 70%); bottom: -70px; right: -50px; }
.ferry-card__name { font-size: 20px; font-weight: 800; position: relative; }
.ferry-card__tag { font-size: 12.5px; color: var(--sun-400); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-top: 4px; position: relative; }

.ferry-card__photo { position: relative; height: 190px; overflow: hidden; background: var(--sea-900); }
.ferry-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.ferry-card:hover .ferry-card__photo img { transform: scale(1.05); }
.ferry-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,44,62,.88) 0%, rgba(7,44,62,.15) 55%, transparent 100%); }
.ferry-card__photo-caption { position: absolute; left: 20px; right: 20px; bottom: 14px; color: var(--white); z-index: 1; }
.ferry-card__body { padding: 20px 24px; }
.ferry-card__specs { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.ferry-card__spec { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-soft); padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.ferry-card__spec b { color: var(--ink); font-weight: 700; }

/* ── PORT CARD ── */
.port-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.port-card__badge { display: inline-block; font-size: 12px; font-weight: 700; color: var(--sea-600); background: var(--sea-100); padding: 4px 10px; border-radius: 100px; margin-bottom: 12px; }

/* ── STRIP (trust bar) ── */
.strip { background: var(--sea-900); padding: 22px 0; }
.strip__inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; }
.strip__item { text-align: center; color: var(--white); text-decoration: none; display: block; padding: 4px 8px; border-radius: 10px; transition: background .15s; }
.strip__item:hover { background: rgba(255,255,255,.08); }
.strip__item b { display: block; font-size: 26px; font-weight: 800; color: var(--sun-400); }
.strip__item span { font-size: 13px; color: #BFE0E2; }

/* ── NEAREST TRIPS ── */
.nearest-trips { background: var(--sand); padding: 16px 0; }
.nearest-trips__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nearest-trips__label { font-size: 13px; font-weight: 700; color: var(--ink-soft); flex-shrink: 0; }
.nearest-trips__list { display: flex; gap: 10px; flex-wrap: wrap; flex: 1 1 auto; }
.nearest-trips__all { font-size: 13px; font-weight: 700; color: var(--sea-600); flex-shrink: 0; margin-left: auto; white-space: nowrap; }
.nearest-trips__loading { font-size: 13px; color: var(--ink-soft); }
.trip-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--white); font-size: 13px; font-weight: 600; color: var(--sea-900);
  transition: border-color .15s, box-shadow .15s;
}
.trip-tag:hover { border-color: var(--sea-500); box-shadow: var(--shadow-sm); }
.trip-tag svg { flex-shrink: 0; color: var(--sun-600); }
.trip-tag b { font-weight: 800; }
.trip-tag span { color: var(--ink-soft); font-weight: 500; }
@media (max-width: 640px) {
  .nearest-trips__inner { flex-direction: column; align-items: flex-start; }
  .nearest-trips__all { margin-left: 0; }
  .trip-tag span { display: none; }
}

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step__num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--sun-600); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; margin-bottom: 14px;
}
.step__title { font-size: 16px; font-weight: 800; color: var(--sea-900); margin-bottom: 6px; }
.step__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ── TABLE (tariffs) ── */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.tarif-table { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--white); font-family: 'Inter', 'Manrope', sans-serif; }
.table-scroll .tarif-table { min-width: 760px; box-shadow: none; }
.tarif-table th { background: var(--sea-900); color: var(--white); text-align: left; padding: 14px 18px; font-size: 13px; font-weight: 700; }
.tarif-table td { padding: 13px 18px; font-size: 14px; border-bottom: 1px solid var(--line); color: var(--ink); }
.tarif-table tbody tr:last-child td { border-bottom: none; }
.tarif-table tbody tr:not(.tarif-table__group):nth-child(even) td { background: var(--sand); }
.tarif-table td.price { font-family: 'Inter', 'Manrope', sans-serif; font-weight: 800; color: var(--sea-700); white-space: nowrap; }
.tarif-table td.mono { white-space: nowrap; color: var(--ink-soft); font-size: 13px; }
.tarif-table__group td {
  background: var(--sun-100); color: var(--sea-900); font-weight: 800; font-size: 13.5px;
  text-transform: uppercase; letter-spacing: .02em; padding: 11px 18px; border-bottom: 1px solid var(--line);
}
.tarif-table--services { min-width: 420px; }
.tarif-note { font-size: 13px; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; }

/* ── PRICE BLOCK (карточная тарифная сетка) ── */
.price-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); font-family: 'Inter', 'Manrope', sans-serif; }
.price-group__label {
  display: flex; align-items: center; gap: 10px; padding: 14px 22px;
  background: var(--sea-900); color: var(--white); font-size: 12.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
}
.price-group__label svg { color: var(--sun-400); flex-shrink: 0; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); transition: background .15s; }
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--sand); }
.price-row__left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.price-row__icon { width: 42px; height: 42px; border-radius: 10px; background: var(--sea-100); color: var(--sea-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.price-row__text { min-width: 0; }
.price-row__name { font-weight: 700; color: var(--ink); font-size: 14.5px; margin-bottom: 4px; line-height: 1.3; }
.price-row__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-soft); }
.price-row__badge { display: inline-block; padding: 2px 8px; background: var(--sea-100); color: var(--sea-700); border-radius: 100px; font-weight: 700; font-size: 10.5px; letter-spacing: .02em; white-space: nowrap; }
.price-row__price { text-align: right; flex-shrink: 0; }
.price-row__price b { display: block; font-family: 'Inter', 'Manrope', sans-serif; font-size: 19px; font-weight: 800; color: var(--sea-700); white-space: nowrap; }
.price-row__price span { font-size: 11px; color: var(--ink-soft); white-space: nowrap; }

@media (max-width: 560px) {
  .price-row { flex-wrap: wrap; padding: 16px 18px; }
  .price-row__price { text-align: left; margin-left: 56px; }
}

/* ── CALCULATOR ── */
.calc { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-md); }
.calc__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 22px; }
.calc__field { display: flex; flex-direction: column; gap: 8px; }
.calc__field label { font-size: 13px; font-weight: 700; color: var(--sea-900); }
.calc__field select, .calc__field input {
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; color: var(--ink); background: var(--white);
}
.calc__field select:focus, .calc__field input:focus { outline: none; border-color: var(--sea-500); }
.calc__result { background: var(--sea-900); border-radius: var(--radius-sm); padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--white); }
.calc__result-label { font-size: 13px; color: #BFE0E2; margin-bottom: 4px; }
.calc__result-price { font-family: 'Inter', 'Manrope', sans-serif; font-size: 30px; font-weight: 800; color: var(--sun-400); }
.calc__result-price span { font-size: 15px; color: #BFE0E2; font-weight: 600; }

/* ── FAQ ── */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-item__q { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; font-weight: 700; color: var(--sea-900); background: var(--white); }
.faq-item__q h3 { margin: 0; font: inherit; color: inherit; }
.faq-item__q svg { flex-shrink: 0; transition: transform .2s; color: var(--sun-600); }
.faq-item.open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .25s ease; background: var(--sand); }
.faq-item.open .faq-item__a { max-height: 1400px; }
.faq-item__a-inner { padding: 4px 20px 18px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }
.faq-item__a-inner p { margin: 0 0 10px; }
.faq-item__a-inner p:last-child { margin-bottom: 0; }
.faq-item__a-inner b, .faq-item__a-inner strong { color: var(--sea-900); }
.faq-item__a-inner ul { margin: 4px 0 10px; }
.faq-item__a-inner ul:last-child { margin-bottom: 0; }
.faq-item__a-inner li { position: relative; padding-left: 16px; margin-bottom: 6px; }
.faq-item__a-inner li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--sun-600); }
.faq-item__a-inner table { width: 100%; border-collapse: collapse; margin: 4px 0 10px; }
.faq-item__a-inner table:last-child { margin-bottom: 0; }
.faq-item__a-inner td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.faq-item__a-inner tr:last-child td { border-bottom: none; }
.faq-item__a-inner td:last-child { text-align: right; font-weight: 700; color: var(--sea-900); white-space: nowrap; padding-left: 12px; }
.faq-item__a-inner .faq-note { font-size: 13px; color: var(--ink-soft); opacity: .85; }

/* ── TESTIMONIALS ── */
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.review-card__stars { color: var(--sun-500); font-size: 15px; margin-bottom: 10px; letter-spacing: 2px; }
.review-card__text { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; margin-bottom: 16px; }
.review-card__author { font-size: 14px; font-weight: 700; color: var(--sea-900); }

/* ── INFO LIST (адрес/режим работы/телефон) ── */
.info-list { display: flex; flex-direction: column; }
.info-list__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.info-list__row:last-child { border-bottom: none; }
.info-list__row span:first-child { color: var(--ink-soft); flex-shrink: 0; }
.info-list__row span:last-child, .info-list__row a { font-weight: 700; color: var(--sea-900); text-align: right; }
.info-list__row a:hover { color: var(--sea-600); }

/* ── DOCUMENT CHECKLIST ── */
.doc-list { display: flex; flex-direction: column; gap: 14px; }
.doc-item { display: flex; gap: 14px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.doc-item__icon { width: 38px; height: 38px; border-radius: 9px; background: var(--sea-100); color: var(--sea-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.doc-item__title { font-weight: 700; color: var(--sea-900); font-size: 14.5px; margin-bottom: 4px; }
.doc-item__desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.doc-item__links { display: flex; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.doc-item__links a { font-size: 13px; font-weight: 700; color: var(--sea-600); }
.doc-item__links a:hover { text-decoration: underline; }

/* ── NOTE / WARNING BOX ── */
.note { display: flex; gap: 12px; background: var(--sun-100); border: 1px solid #F5D9A8; border-radius: var(--radius-sm); padding: 16px 18px; font-size: 13.5px; color: #7A4E12; line-height: 1.65; margin: 18px 0; }
.note svg { flex-shrink: 0; color: var(--sun-600); margin-top: 1px; }
.note b { color: #5C3A0C; }

/* ── DETAILED NUMBERED STEP LIST ── */
.step-list { display: flex; flex-direction: column; }
.step-list__item { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step-list__item:last-child { border-bottom: none; }
.step-list__num { width: 36px; height: 36px; border-radius: 50%; background: var(--sea-900); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.step-list__title { font-weight: 800; color: var(--sea-900); margin-bottom: 6px; font-size: 15.5px; }
.step-list__desc { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

/* ── TRACKER CARD (местоположение паромов) ── */
.tracker-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.tracker-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tracker-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.tracker-card__link-alt { text-align: center; font-size: 13px; font-weight: 700; color: var(--sea-600); }
.tracker-card__link-alt:hover { text-decoration: underline; }

/* ── FORM ── */
.form { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-md); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-size: 15px; color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sea-500); }
.form__note { font-size: 12.5px; color: var(--ink-soft); margin-top: 12px; line-height: 1.5; }

/* ── FOOTER ── */
.footer { background: var(--sea-900); color: #BFE0E2; padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; }
.footer__about p { font-size: 13.5px; line-height: 1.65; margin: 14px 0 18px; color: #9FC4C6; }
.footer h4 { font-size: 14px; font-weight: 800; color: var(--white); margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer a { font-size: 13.5px; color: #9FC4C6; }
.footer a:hover { color: var(--sun-400); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: #7FA9AB; }
.footer__bottom a { color: #7FA9AB; }

/* ── UTILITIES ── */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
[x-cloak] { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .btn-header-cta { padding: 10px 16px; font-size: 14px; }
  .btn-header-cta--desktop { display: none; }
  .btn-header-cta--mobile { display: inline-flex; }
  .logo__text { font-size: 15px; }
  .nav-mobile.open { max-height: calc(100vh - 70px); overflow-y: auto; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 52px 0; }
  .hero .hero__title { font-size: 30px; }
  .btn { white-space: normal; text-align: center; max-width: 100%; }
  .calc__result .btn { width: 100%; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .calc__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .strip__inner { justify-content: center; }
  .header__cta { gap: 8px; }
  .logo__sub { display: none; }
  .logo__phone { display: block; }
  .logo__text { font-size: 14px; }
  .btn-header-cta--mobile { padding: 8px 12px; font-size: 12.5px; }
  .services-slider {
    display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; margin: 0 -18px; padding: 4px 18px 10px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .services-slider::-webkit-scrollbar { display: none; }
  .services-slider > * { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ── ЗАЩИТА ОТ ГОРИЗОНТАЛЬНОГО СКРОЛЛА НА МОБИЛЬНЫХ ── */
html, body { max-width: 100%; overflow-x: clip; }
.grid > *, .steps > *, .footer__grid > *, .hero__inner > * { min-width: 0; }
.doc-item > div, .step-list__item > div, .info-list__row > * { min-width: 0; }
table { max-width: 100%; }
