/* Общие стили сайта BosunTrip: главная, страницы маршрутов, /terms/, /privacy/.
   Источник вида — docs/design-mockups/ (палитра, шрифты, сетка). Страница заявки /booking/ — со своими стилями на тех же цветах. */
:root {
  --ink: #0E2A2B;
  --deep: #0B2B2D;
  --deep-2: #123F40;
  --deep-line: #1B4647;
  --teal: #0F6E6A;
  --mint: #D6EDE6;
  --mint-2: #EEF3F1;
  --sea: #9FC4BE;
  --cream: #F4F1EA;
  --white: #fff;
  --accent: #FF6A2B;
  --muted: #4A6264;
  --line: #C9D6D3;
  --font-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --font-ui: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --wrap: 1200px;
  --gut: 40px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-ui); color: var(--ink); background: var(--cream); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.d { font-family: var(--font-display); font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

[data-slot]:empty { display: none; }

/* ---------- Кнопки и мелочи ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.2; text-align: center; border: 2px solid transparent; cursor: pointer; transition: opacity .15s, transform .15s; }
.btn:hover { opacity: .9; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-dark { background: var(--deep); color: var(--white); }
.btn-ghost { border-color: var(--mint); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent); transition: background-color .2s, color .2s, opacity .15s, transform .15s; }
.btn-outline:focus-visible { background: var(--accent); color: var(--ink); }
@media (hover: hover) { .btn-outline:hover { background: var(--accent); color: var(--ink); opacity: 1; } }
.btn-lg { min-height: 56px; padding: 16px 32px; font-size: 18px; }
.btn-block { display: flex; width: 100%; }
.chip { display: inline-block; align-self: flex-start; background: var(--deep-2); color: var(--mint); font-size: 15px; padding: 8px 16px; border-radius: 999px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--teal); }
.sec-dark .eyebrow, .on-dark .eyebrow { color: var(--sea); }
.ico-check { flex: none; margin-top: 2px; }

/* ---------- Первые экраны ---------- */
.hero { background: var(--deep); color: var(--white); overflow: hidden; }
.hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 40px; padding-bottom: 80px; }
.hero-text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; overflow-wrap: anywhere; }
.hero-lede { font-size: 20px; line-height: 1.5; color: var(--mint); max-width: 560px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta .btn { min-height: 52px; font-size: 17px; padding: 14px 28px; }
.stats { display: flex; gap: 20px 40px; flex-wrap: wrap; padding-top: 12px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 30px; color: var(--accent); }
.stat span { font-size: 15px; color: var(--mint); }
.hero-art { flex: 1 1 440px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.hero-art svg { width: 100%; height: auto; display: block; border-radius: 28px; }
.stub { font-size: 14px; color: var(--sea); }
.agent-banner { display: none; background: var(--deep-2); color: var(--mint); border-radius: 14px; padding: 12px 16px; font-size: 15px; align-self: flex-start; }
.agent-banner.show { display: block; }

/* ---------- Секции ---------- */
.sec { padding: 88px 0; }
.sec-white { background: var(--white); }
.sec-cream { background: var(--cream); }
.sec-dark { background: var(--deep); color: var(--white); }
.sec-teal { background: var(--teal); color: var(--white); }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.sec-head p { font-size: 18px; color: var(--muted); }
h2.h { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.15; overflow-wrap: anywhere; }
h2.h-md { font-size: clamp(24px, 3vw, 34px); }
.row { display: flex; flex-wrap: wrap; gap: 24px; }

/* Карточки маршрутов на главной */
.route-card { flex: 1 1 320px; background: var(--white); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; }
.rcard-pic { height: 180px; position: relative; overflow: hidden; background: var(--mint); }
.rcard-pic.t2 { background: #BFE0DA; }
.rcard-pic.t3 { background: #F2D5C4; }
.rcard-pic svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rcard-pic-link { position: absolute; inset: 0; }
.rcard-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.rcard-cta .btn { flex: 1 1 140px; }
.rcard-badge { position: absolute; left: 16px; top: 16px; background: var(--white); color: var(--teal); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.rcard-body { padding: 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.route-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { background: var(--mint-2); font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.route-card p { font-size: 16px; line-height: 1.5; color: var(--muted); flex: 1; }
.route-price { font-family: var(--font-display); font-weight: 700; font-size: 32px; }
.rnote { font-size: 14px; color: var(--muted); margin-top: -8px; }
.rnote:empty { display: none; }

/* Что входит */
.tiles { display: flex; flex-wrap: wrap; gap: 20px; }
.tile { flex: 1 1 240px; background: var(--cream); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.tile.dark { background: var(--deep); color: var(--white); }
.tile .t { font-weight: 600; font-size: 18px; }
.tile .x { font-size: 15px; line-height: 1.5; color: var(--muted); }
.tile.dark .x { color: var(--mint); }
.round { width: 48px; height: 48px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; flex: none; }
.tile.dark .round { background: var(--accent); }
.round svg { width: 24px; height: 24px; }

/* Шаги */
.steps { display: flex; flex-wrap: wrap; gap: 32px; }
.step { flex: 1 1 220px; display: flex; flex-direction: column; gap: 12px; border-top: 3px solid var(--teal); padding-top: 20px; }
.step.last { border-top-color: var(--accent); }
.step .n { font-family: var(--font-display); font-weight: 700; font-size: 48px; color: var(--teal); line-height: 1; }
.step.last .n { color: var(--ink); }
.step .t { font-weight: 600; font-size: 20px; }
.step .x { font-size: 16px; line-height: 1.5; color: var(--muted); }

/* Пример расчёта */
.calc-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.calc-text { flex: 1 1 400px; display: flex; flex-direction: column; gap: 20px; }
.calc-text p { font-size: 18px; line-height: 1.5; color: var(--mint); }
.calc { flex: 1 1 400px; background: var(--white); color: var(--ink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.calc-note { font-size: 14px; color: var(--muted); }
.calc-row { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; }
.calc-row b { font-weight: 600; white-space: nowrap; }
.calc-total { border-top: 2px solid var(--ink); padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc-total span { font-weight: 600; font-size: 18px; }
.calc-total b { font-family: var(--font-display); font-weight: 700; font-size: 32px; white-space: nowrap; }
.calc-prepay { font-size: 15px; color: var(--muted); }

/* Отзывы (заглушка) */
.review-stub { border: 2px dashed #6FAFA5; border-radius: 24px; padding: 48px 32px; display: flex; flex-direction: column; gap: 8px; background: var(--cream); }
.review-stub b { font-weight: 600; font-size: 20px; }
.review-stub p { font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 640px; }

/* Вопросы */
.faq-cols { display: flex; flex-wrap: wrap; gap: 24px 56px; }
.faq-col { flex: 1 1 440px; display: flex; flex-direction: column; gap: 28px; }
.qa { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.qa b { font-weight: 600; font-size: 19px; }
.qa p { font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Страницы маршрутов ---------- */
.crumbs { font-size: 15px; color: var(--sea); }
.crumbs a:hover { text-decoration: underline; }
.hero-route { display: flex; flex-direction: column; gap: 32px; padding-top: 32px; padding-bottom: 72px; }
.hero-cols { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.hero-route .hero-text { flex: 1 1 560px; gap: 24px; }
.hero-route h1 { font-size: clamp(34px, 4.6vw, 54px); }
.hero-route .hero-art svg { max-width: 720px; border-radius: 24px; }
.aside { flex: 0 1 400px; min-width: min(300px, 100%); background: var(--white); color: var(--ink); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.aside .lbl { font-size: 15px; color: var(--muted); display: block; margin-bottom: 4px; }
.aside .price, .aside .price-value { font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 1.1; }
.checks { display: flex; flex-direction: column; gap: 12px; font-size: 16px; padding: 0; margin: 0; list-style: none; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.aside .small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.price-note { font-size: 14px; color: var(--muted); margin-top: 6px; }
.price-note:empty { display: none; }
.facts-bar { background: var(--white); border-bottom: 1px solid #E3E8E6; }
.facts { display: flex; flex-wrap: nowrap; gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.fact { flex: 1 1 0; min-width: 0; }
.fact b { display: block; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); color: var(--teal); }
.fact span { display: block; font-size: 14px; line-height: 1.35; color: var(--muted); margin-top: 4px; }
.day { display: flex; flex-wrap: wrap; gap: 24px; }
.day-card { flex: 1 1 320px; background: var(--white); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--teal); }
.day-card.first { border-top-color: var(--accent); }
.day-card.last { background: var(--deep); color: var(--white); border-top-color: var(--accent); }
.day-card .big { font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.day-card.last .big { color: var(--accent); }
.day-card .t { font-weight: 600; font-size: 19px; }
.day-card .x { font-size: 16px; line-height: 1.5; color: var(--muted); }
.day-card.last .x { color: var(--mint); }
.incl { display: flex; flex-wrap: wrap; gap: 48px; }
.incl-main { flex: 1 1 520px; display: flex; flex-direction: column; gap: 24px; }
.incl-list { display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.45; padding: 0; margin: 0; list-style: none; }
.incl-list li { display: flex; gap: 12px; }
.incl-side { flex: 1 1 360px; display: flex; flex-direction: column; gap: 24px; }
.extras { background: var(--cream); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.extras h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.extras .line { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; }
.extras .line b { white-space: nowrap; }
.extras .small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.depart { background: var(--teal); color: var(--white); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.depart b { font-weight: 600; font-size: 20px; }
.depart p { font-size: 16px; line-height: 1.5; color: var(--mint); }
.bring { display: flex; flex-wrap: wrap; gap: 24px; }
.bring-card { flex: 1 1 300px; background: var(--white); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.bring-card .t { font-weight: 600; font-size: 19px; }
.bring-card .x { font-size: 16px; line-height: 1.5; color: var(--muted); }
.safe { display: flex; flex-wrap: wrap; gap: 48px; }
.safe-lead { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.safe-lead p { font-size: 17px; line-height: 1.55; color: var(--mint); }
.safe-list { flex: 1 1 520px; display: flex; flex-direction: column; gap: 20px; }
.safe-card { background: var(--deep-2); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.safe-card b { font-weight: 600; font-size: 19px; }
.safe-card p { font-size: 16px; line-height: 1.6; color: var(--mint); }
.info-cols { display: flex; flex-wrap: wrap; gap: 48px; }
.info-main { flex: 1 1 480px; display: flex; flex-direction: column; gap: 20px; }
.info-card { background: var(--white); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.info-card b { font-weight: 600; font-size: 19px; }
.info-card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.info-side { flex: 1 1 400px; display: flex; flex-direction: column; gap: 20px; }
.info-side h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.info-side .qa b { font-size: 17px; }
.info-side .qa p { font-size: 15px; line-height: 1.5; }
.schedule { display: grid; gap: 6px; margin-top: 4px; }
.schedule-item { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; padding-top: 6px; border-top: 1px solid var(--mint-2); }
.schedule-label { color: var(--muted); white-space: nowrap; }
.schedule-value { text-align: right; color: var(--ink); font-weight: 500; }

/* ---------- Финал и подвал ---------- */
.final { background: var(--deep); color: var(--white); }
.final-in { padding-top: 80px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.final h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 42px); line-height: 1.12; max-width: 760px; overflow-wrap: anywhere; }
.foot { border-top: 1px solid var(--deep-line); color: var(--sea); font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; padding-top: 32px; padding-bottom: 48px; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col .brand { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--white); }
.foot-col b { font-weight: 600; color: var(--white); }
.foot a:hover { color: var(--white); text-decoration: underline; }
.partners { display: flex; gap: 12px; flex-wrap: wrap; }
.partner { border: 1px dashed #3C7576; border-radius: 12px; padding: 12px 18px; display: flex; flex-direction: column; gap: 6px; min-width: 150px; }
.partner b { color: var(--white); }
.logo-slot { display: block; height: 28px; }

/* ---------- Текстовые страницы (/terms/, /privacy/, /consent/) ---------- */
.prose { max-width: 760px; margin: 0 auto; padding: 72px var(--gut); display: flex; flex-direction: column; gap: 20px; min-height: 50vh; }
.prose h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; }
.prose p { font-size: 18px; line-height: 1.6; color: var(--muted); }
.prose h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.2; margin-top: 16px; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.prose .table-wrap { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; color: var(--muted); }
.prose th, .prose td { border: 1px solid #C9DAD7; padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: #E9F3F1; color: var(--ink); }
.soon { display: inline-block; align-self: flex-start; background: var(--white); border: 2px dashed #6FAFA5; border-radius: 16px; padding: 16px 24px; font-weight: 600; font-size: 20px; color: var(--ink); }

/* ---------- Телефон ---------- */
@media (max-width: 900px) {
  :root { --gut: 20px; }
  .sec { padding: 56px 0; }
  .sec-head { margin-bottom: 28px; }
  .hero-in { padding-top: 24px; padding-bottom: 48px; gap: 32px; }
  .hero-lede { font-size: 18px; }
  .hero-route { padding-top: 20px; padding-bottom: 48px; gap: 24px; }
  .hero-cols { gap: 32px; }
  .aside { padding: 24px; flex-basis: 100%; }
  .aside .price, .aside .price-value { font-size: 38px; }
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-top: 24px; padding-bottom: 24px; gap: 20px 12px; }
  .fact b { font-size: clamp(12px, 3.4vw, 22px); }
  .fact span { font-size: clamp(11px, 2.9vw, 14px); }
  .incl, .safe, .info-cols, .calc-wrap { gap: 32px; }
  .calc { padding: 24px; }
  .final-in { padding-top: 56px; padding-bottom: 40px; }
  .review-stub { padding: 32px 20px; }
  .foot-in { padding-bottom: 36px; }
}
@media (max-width: 420px) {
  .hero-cta .btn { flex: 1 1 100%; }
  .calc-total b { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
.qa a, .prose a { text-decoration: underline; }
.hero-route .hero-art { flex: none; }
body { min-height: 100vh; display: flex; flex-direction: column; }
.final { margin-top: auto; }
.prose { width: 100%; min-height: 0; flex: 1 0 auto; }
