/* =========================================================================
   «Круизы по России» — дизайн «Речная лазурь» (свет, синий + золото).
   Свежая тема, не связана с другими сайтами. Самохостинг шрифтов.
   ========================================================================= */

:root {
  --bg:#f5f8fb; --surface:#ffffff; --surface-2:#eef4f9; --surface-3:#e6eef5;
  --ink:#16222c; --muted:#5c6d7a; --line:#e0e8ef;
  --blue-d:#0f3a57; --blue:#14618e; --blue-l:#1d84c3; --aqua:#54b4de;
  --gold:#d99a2b; --gold-d:#b47c1a; --green:#2f9e6b; --red:#d1483a;
  --radius:16px; --radius-s:11px; --radius-xs:8px;
  --shadow:0 6px 22px rgba(15,58,87,.08);
  --shadow-lg:0 16px 44px rgba(15,58,87,.15);
  --wrap:1180px;
}

* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body {
  margin:0; background:var(--bg); color:var(--ink);
  font-family:'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size:17px; line-height:1.62; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4 { font-family:'Manrope', system-ui, sans-serif; line-height:1.15; color:var(--blue-d); margin:0 0 .5em; font-weight:800; letter-spacing:-.01em; }
h1 { font-size:2.4rem; }
h2 { font-size:1.85rem; }
h3 { font-size:1.28rem; }
p { margin:0 0 1em; }
a { color:var(--blue); text-decoration:none; }
a:hover { color:var(--blue-l); }
img { max-width:100%; display:block; }
.wrap { max-width:var(--wrap); margin:0 auto; padding:0 20px; }
.skip { position:absolute; left:-999px; }
.skip:focus { left:12px; top:12px; background:#fff; padding:8px 14px; border-radius:8px; z-index:99; }

/* ---------- Кнопки ---------- */
.btn, .book-btn, .nav-cta {
  display:inline-flex; align-items:center; justify-content:center; gap:.5em;
  font-family:'Manrope',sans-serif; font-weight:700; cursor:pointer;
  border:none; border-radius:var(--radius-xs); text-align:center;
  transition:transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn {
  background:linear-gradient(180deg,var(--gold),var(--gold-d)); color:#fff;
  padding:14px 26px; font-size:1.02rem; box-shadow:0 6px 16px rgba(180,124,26,.32);
}
.btn:hover { color:#fff; transform:translateY(-2px); box-shadow:0 10px 22px rgba(180,124,26,.4); }
.btn-ghost { background:transparent; color:var(--blue); border:1.5px solid var(--blue); box-shadow:none; }
.btn-ghost:hover { background:var(--blue); color:#fff; transform:translateY(-2px); }
.book-btn {
  background:var(--blue); color:#fff; padding:10px 18px; font-size:.95rem; white-space:nowrap;
}
.book-btn:hover { background:var(--blue-l); color:#fff; transform:translateY(-1px); }

/* ---------- Шапка ---------- */
header {
  position:sticky; top:0; z-index:50; background:rgba(255,255,255,.94);
  backdrop-filter:saturate(1.4) blur(8px); border-bottom:1px solid var(--line);
}
.nav { display:flex; align-items:center; gap:20px; height:68px; }
.brand { display:inline-flex; align-items:center; gap:10px; color:var(--blue); font-weight:800; }
.brand-i { color:var(--blue-l); flex:none; }
.brand-t { font-family:'Manrope',sans-serif; font-size:1.22rem; color:var(--blue-d); letter-spacing:-.02em; }
.brand-t b { color:var(--blue); font-weight:800; }
.menu { margin-left:auto; display:flex; align-items:center; gap:26px; }
.menu a { color:var(--ink); font-family:'Manrope',sans-serif; font-weight:600; font-size:1rem; }
.menu a:hover, .menu a.active { color:var(--blue-l); }
.menu a.active { position:relative; }
.nav-cta { background:var(--blue); color:#fff !important; padding:9px 20px; }
.nav-cta:hover { background:var(--blue-l); transform:translateY(-1px); }
.burger { display:none; background:none; border:none; font-size:1.7rem; color:var(--blue-d); cursor:pointer; margin-left:auto; }

/* ---------- Секции ---------- */
section { padding:56px 0; }
.section-head { max-width:720px; margin:0 auto 34px; text-align:center; }
.section-head p { color:var(--muted); font-size:1.08rem; margin:0; }
.eyebrow { display:inline-block; font-family:'Manrope',sans-serif; font-weight:700; font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; color:var(--gold-d); margin-bottom:.6em; }
.alt { background:var(--surface); }

/* ---------- Герой ---------- */
.hero {
  position:relative; color:#fff; padding:66px 0 92px;
  background:linear-gradient(160deg,#0f3a57 0%,#14618e 55%,#1d84c3 100%);
  overflow:hidden;
}
.hero::after {
  content:""; position:absolute; left:0; right:0; bottom:-1px; height:70px;
  background:var(--bg);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C240 5 480 5 720 30 C960 55 1200 55 1440 25 L1440 70 L0 70 Z' fill='%23000'/%3E%3C/svg%3E") no-repeat center/cover;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C240 5 480 5 720 30 C960 55 1200 55 1440 25 L1440 70 L0 70 Z' fill='%23000'/%3E%3C/svg%3E") no-repeat center/cover;
}
.hero-in { position:relative; z-index:2; max-width:800px; }
.hero h1 { color:#fff; font-size:2.9rem; margin-bottom:.35em; }
.hero .lead { font-size:1.22rem; color:#dbeaf4; margin-bottom:0; max-width:640px; }

/* Форма поиска в герое */
.searchbar {
  position:relative; z-index:3; margin:-54px auto 0; max-width:var(--wrap);
  background:var(--surface); border-radius:var(--radius); box-shadow:var(--shadow-lg);
  padding:20px; display:flex; flex-wrap:wrap; gap:14px; align-items:end;
}
.sf-field { display:flex; flex-direction:column; gap:6px; text-align:left; flex:1 1 140px; }
.sf-city { flex:2 1 220px; }
.sf-ship { flex:1.4 1 180px; }
.sf-field label { font-family:'Manrope',sans-serif; font-weight:700; font-size:.82rem; color:var(--blue-d); }
.sf-field input, .sf-field select {
  font:inherit; font-size:1rem; padding:12px 12px; border:1.5px solid var(--line);
  border-radius:var(--radius-xs); background:var(--surface-2); color:var(--ink); width:100%;
}
.sf-field input:focus, .sf-field select:focus { outline:none; border-color:var(--blue-l); background:#fff; }
.searchbar .btn { height:48px; flex:0 0 auto; }
/* Вариант формы вне героя (страница поиска / внутренние страницы) */
.searchbar.plain { position:static; margin:0 auto; width:100%; max-width:none; box-shadow:var(--shadow); }
/* Секция «Подобрать круиз» на внутренних страницах */
.find { padding:30px 0; background:var(--surface); border-bottom:1px solid var(--line); }
.find-title { text-align:center; color:var(--blue-d); font-size:1.35rem; margin:0 0 16px; }
.find-inline { margin:18px 0 26px; }
.find-inline .find-title { text-align:left; font-size:1.15rem; margin-bottom:12px; }

/* Полоса статистики */
.stats { margin-top:0; padding-top:44px; }
.stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; text-align:center; }
.stat { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:22px 12px; box-shadow:var(--shadow); }
.stat b { display:block; font-family:'Manrope',sans-serif; font-size:2rem; color:var(--blue); line-height:1; }
.stat span { color:var(--muted); font-size:.98rem; }

/* ---------- Сетки карточек ---------- */
.grid { display:grid; gap:22px; }
.grid-3 { grid-template-columns:repeat(3,1fr); }
.grid-4 { grid-template-columns:repeat(4,1fr); }

/* Карточка круиза */
.ccard {
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column; box-shadow:var(--shadow);
  transition:transform .14s ease, box-shadow .14s ease;
}
.ccard:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.ccard-img { position:relative; aspect-ratio:16/10; background:var(--surface-3); overflow:hidden; }
.ccard-img img { width:100%; height:100%; object-fit:cover; }
.ccard-tag {
  position:absolute; top:12px; left:12px; background:var(--gold); color:#fff;
  font-family:'Manrope',sans-serif; font-weight:700; font-size:.78rem; padding:5px 11px; border-radius:20px;
}
.ccard-tag.hit { background:var(--blue); }
.ccard-tag.early { background:var(--green); }
.ccard-body { padding:16px 18px 18px; display:flex; flex-direction:column; flex:1; }
.ccard-ship { font-size:.86rem; color:var(--gold-d); font-family:'Manrope',sans-serif; font-weight:700; margin-bottom:4px; }
.ccard-route { font-family:'Manrope',sans-serif; font-weight:700; color:var(--blue-d); font-size:1.06rem; line-height:1.3; margin-bottom:10px; }
.ccard-meta { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px; }
.chip { display:inline-flex; align-items:center; gap:5px; background:var(--surface-2); color:var(--muted); font-size:.85rem; padding:4px 10px; border-radius:20px; }
.ccard-foot { margin-top:auto; display:flex; flex-direction:column; align-items:stretch; gap:12px; }
.price { line-height:1.15; display:flex; align-items:baseline; flex-wrap:wrap; gap:6px; }
.price .from { font-size:.9rem; color:var(--muted); }
.price b { font-family:'Manrope',sans-serif; font-size:1.34rem; color:var(--blue-d); white-space:nowrap; }
.price .old { text-decoration:line-through; color:var(--muted); font-size:.9rem; }
.price .sale-tag { display:inline-block; background:#fdeae7; color:var(--red); font-weight:700; font-size:.74rem; padding:2px 8px; border-radius:6px; }
.ccard-foot .book-btn { width:100%; padding:12px 18px; }

/* Плитки городов */
.tiles { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.tile {
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-s); padding:18px 18px;
  display:flex; flex-direction:column; gap:3px; box-shadow:var(--shadow); transition:transform .12s, border-color .12s;
}
.tile:hover { transform:translateY(-3px); border-color:var(--blue-l); }
.tile b { font-family:'Manrope',sans-serif; font-size:1.16rem; color:var(--blue-d); }
.tile .t-count { color:var(--muted); font-size:.92rem; }
.tile .t-price { color:var(--gold-d); font-weight:700; font-size:.95rem; }

/* Карточка теплохода */
.ship-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column; transition:transform .14s, box-shadow .14s; }
.ship-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.ship-card .sc-img { aspect-ratio:16/10; background:var(--surface-3); }
.ship-card .sc-img img { width:100%; height:100%; object-fit:cover; }
.ship-card .sc-body { padding:15px 17px 17px; }
.ship-card h3 { margin-bottom:6px; font-size:1.16rem; }
.ship-card .sc-meta { color:var(--muted); font-size:.92rem; margin-bottom:10px; }
.ship-card .sc-price b { color:var(--blue); font-family:'Manrope',sans-serif; }
/* Плитка направления */
.city-card h3 { font-size:1.12rem; }
.sc-img.ph { display:flex; align-items:center; justify-content:center; background:linear-gradient(150deg,#0f3a57,#1d84c3); }
.sc-img.ph span { color:#fff; font-family:'Manrope',sans-serif; font-weight:800; font-size:1.35rem; text-align:center; padding:12px; letter-spacing:-.01em; }

/* ---------- Промо-баннер ---------- */
.promo {
  background:linear-gradient(135deg,var(--blue-d),var(--blue) 70%,var(--blue-l));
  color:#fff; border-radius:var(--radius); padding:38px 40px; position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
  box-shadow:var(--shadow-lg);
}
.promo::before { content:"%"; position:absolute; right:-10px; top:-40px; font-size:220px; font-family:'Manrope',sans-serif; font-weight:800; color:rgba(255,255,255,.07); }
.promo-txt { position:relative; z-index:2; max-width:640px; }
.promo-txt .eyebrow { color:var(--gold-l,#f0c25a); color:#ffd77a; }
.promo-txt h2 { color:#fff; margin-bottom:.3em; }
.promo-txt p { color:#dbeaf4; margin:0; }
.promo .btn { position:relative; z-index:2; flex:none; }

/* ---------- График цен по месяцам ---------- */
.chart-card { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); padding:26px 26px 20px; box-shadow:var(--shadow); }
.chart { display:flex; align-items:flex-end; gap:10px; height:220px; margin-top:10px; }
.chart-col { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:8px; height:100%; }
.chart-bar {
  width:100%; max-width:52px; border-radius:8px 8px 3px 3px;
  background:linear-gradient(180deg,var(--aqua),var(--blue)); position:relative; min-height:6px;
  transition:filter .12s;
}
.chart-col.min .chart-bar { background:linear-gradient(180deg,#f0c25a,var(--gold-d)); }
.chart-col.empty .chart-bar { background:var(--surface-3); }
.chart-price { font-family:'Manrope',sans-serif; font-weight:700; font-size:.82rem; color:var(--blue-d); }
.chart-col.empty .chart-price { color:var(--muted); font-weight:400; }
.chart-mon { font-size:.85rem; color:var(--muted); }
.chart-col.min .chart-mon { color:var(--gold-d); font-weight:700; }
.chart-note { color:var(--muted); font-size:.92rem; margin:14px 0 0; }
.chart-hint { color:var(--muted); font-size:.86rem; margin:6px 0 0; }
a.chart-col { cursor:pointer; }
a.chart-col:hover .chart-bar { filter:brightness(1.08); box-shadow:0 6px 14px rgba(20,97,142,.28); }
a.chart-col:hover .chart-mon { color:var(--blue); }
a.chart-col:hover .chart-price { color:var(--blue-l); }

/* ---------- «Как это работает» ---------- */
.hiw { display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.hiw-item { text-align:center; padding:10px; }
.hiw-ic { width:58px; height:58px; margin:0 auto 14px; border-radius:16px; background:var(--surface-2); color:var(--blue); display:flex; align-items:center; justify-content:center; }
.hiw-ic svg { width:30px; height:30px; }
.hiw-item h3 { font-size:1.1rem; margin-bottom:.35em; }
.hiw-item p { color:var(--muted); font-size:.96rem; margin:0; }

/* ---------- FAQ ---------- */
.faq { max-width:820px; margin:0 auto; }
.faq details { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-s); margin-bottom:12px; padding:0 20px; box-shadow:var(--shadow); }
.faq summary { list-style:none; cursor:pointer; padding:18px 0; font-family:'Manrope',sans-serif; font-weight:700; color:var(--blue-d); display:flex; justify-content:space-between; gap:14px; align-items:center; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:"+"; font-size:1.5rem; color:var(--gold-d); flex:none; transition:transform .2s; }
.faq details[open] summary::after { transform:rotate(45deg); }
.faq details > div { padding:0 0 18px; color:var(--muted); }

/* ---------- Внутренние страницы: hero ---------- */
.page-hero { background:linear-gradient(160deg,#0f3a57,#14618e); color:#fff; padding:48px 0 40px; }
.page-hero h1 { color:#fff; margin-bottom:.25em; }
.page-hero p { color:#cfe2ef; max-width:720px; margin:0; }
.page-hero .ph-stats { display:flex; flex-wrap:wrap; gap:26px; margin-top:22px; }
.page-hero .ph-stats b { font-family:'Manrope',sans-serif; font-size:1.6rem; color:#fff; display:block; line-height:1; }
.page-hero .ph-stats span { color:#bcd6e7; font-size:.9rem; }

/* Карточка теплохода: главная колонка (фото + описание) + сайдбар «паспорт судна» */
.ship-lead { display:grid; grid-template-columns:1.4fr .72fr; gap:34px; align-items:start; }
.ship-lead-txt .lead-p { font-size:1.14rem; color:var(--ink); font-weight:600; }
.ship-photo { margin:0 0 22px; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); aspect-ratio:16/10; }
.ship-photo img { width:100%; height:100%; object-fit:cover; cursor:zoom-in; }
.ship-aside { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); position:sticky; top:84px; }
.ship-facts { padding:4px 18px 14px; }
.ship-facts-h { font-family:'Manrope',sans-serif; font-weight:800; color:var(--blue-d); font-size:1.06rem; padding:12px 0 4px; }
table.ttx { width:100%; border-collapse:collapse; font-size:.95rem; }
table.ttx th { text-align:left; color:var(--muted); font-weight:600; padding:9px 12px 9px 0; width:52%; vertical-align:top; font-family:'Manrope',sans-serif; }
table.ttx td { padding:9px 0; border-bottom:1px solid var(--line); color:var(--ink); }
table.ttx tr:last-child th, table.ttx tr:last-child td { border-bottom:none; }
@media (max-width:860px){ .ship-lead { grid-template-columns:1fr; gap:22px; } .ship-aside { position:static; } }

/* Проза внутренних страниц */
.prose { max-width:820px; }
.prose h2 { margin-top:1.4em; }
.prose ul { padding-left:1.2em; }
.prose li { margin-bottom:.4em; }
.note { background:var(--surface-2); border-left:4px solid var(--blue-l); border-radius:var(--radius-xs); padding:14px 18px; color:var(--muted); }

/* Страница города: достопримечательности, погода, экскурсии, вокзал */
.sights-grid { align-items:start; }
.sight { background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-s); overflow:hidden; box-shadow:var(--shadow); display:flex; flex-direction:column; }
.sight-img { aspect-ratio:16/10; background:var(--surface-3); overflow:hidden; }
.sight-img img { width:100%; height:100%; object-fit:cover; }
.sight-body { padding:15px 18px 17px; }
.sight h3 { font-size:1.1rem; margin-bottom:.4em; }
.sight p { color:var(--muted); margin:0; font-size:.96rem; }
.weather { display:flex; flex-wrap:wrap; gap:12px; }
.w-cell { flex:1 1 0; min-width:88px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-s); padding:14px 8px; text-align:center; box-shadow:var(--shadow); }
.w-mon { display:block; color:var(--muted); font-size:.88rem; text-transform:capitalize; margin-bottom:5px; }
.w-temp { font-family:'Manrope',sans-serif; font-size:1.4rem; color:var(--blue); }
.excursions { max-width:840px; padding-left:0; list-style:none; margin:0; }
.excursions li { position:relative; padding:13px 14px 13px 44px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-xs); margin-bottom:10px; box-shadow:var(--shadow); }
.excursions li::before { content:"⚓"; position:absolute; left:15px; top:12px; color:var(--gold-d); }
.station { display:grid; grid-template-columns:1fr 1.1fr; gap:30px; align-items:start; }
.station-info .lead-p { font-size:1.14rem; color:var(--blue-d); font-family:'Manrope',sans-serif; font-weight:800; }
.map-embed { border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); border:1px solid var(--line); }
.map-embed iframe { display:block; width:100%; border:0; }
@media (max-width:860px){ .station { grid-template-columns:1fr; } }

/* Таблица круизов */
.table-scroll { overflow-x:auto; border-radius:var(--radius); border:1px solid var(--line); box-shadow:var(--shadow); }
table.routes { width:100%; border-collapse:collapse; background:var(--surface); font-size:.98rem; min-width:640px; }
table.routes th { background:var(--surface-2); text-align:left; padding:13px 16px; font-family:'Manrope',sans-serif; color:var(--blue-d); font-size:.9rem; border-bottom:1px solid var(--line); }
table.routes td { padding:13px 16px; border-bottom:1px solid var(--line); vertical-align:middle; }
table.routes tr:last-child td { border-bottom:none; }
table.routes tr:hover td { background:var(--surface-2); }
.nowrap { white-space:nowrap; }
.routes .r-price b { font-family:'Manrope',sans-serif; color:var(--blue-d); }
.routes-pagination { display:flex; justify-content:center; gap:8px; margin-top:22px; flex-wrap:wrap; }
.routes-pagination button { font:inherit; font-weight:700; font-family:'Manrope',sans-serif; border:1.5px solid var(--line); background:var(--surface); color:var(--blue); border-radius:8px; padding:8px 14px; cursor:pointer; }
.routes-pagination button.active { background:var(--blue); color:#fff; border-color:var(--blue); }
.routes-pagination button:disabled { opacity:.4; cursor:default; }

/* Ports / chips list */
.ports { display:flex; flex-wrap:wrap; gap:8px; padding:0; margin:0 0 1em; list-style:none; }
.ports li a, .ports li { display:inline-block; background:var(--surface); border:1px solid var(--line); border-radius:20px; padding:6px 14px; font-size:.92rem; color:var(--blue-d); }
.ports li a:hover { border-color:var(--blue-l); color:var(--blue-l); }
.ports li:has(a) { padding:0; border:0; background:none; }
.ports li.active a { background:var(--blue); color:#fff; border-color:var(--blue); }
.month-nav { gap:9px; }

/* Галерея / lightbox */
.gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.gallery a { border-radius:var(--radius-xs); overflow:hidden; aspect-ratio:4/3; background:var(--surface-3); }
.gallery img { width:100%; height:100%; object-fit:cover; transition:transform .2s; }
.gallery a:hover img { transform:scale(1.05); }
figure { margin:0; }
figcaption { color:var(--muted); font-size:.88rem; margin-top:6px; }
.lb { position:fixed; inset:0; background:rgba(9,28,42,.92); display:none; align-items:center; justify-content:center; z-index:100; padding:24px; }
.lb.open { display:flex; }
.lb img { max-width:94vw; max-height:90vh; border-radius:8px; }
.lb-close { position:absolute; top:18px; right:24px; color:#fff; font-size:2.4rem; cursor:pointer; line-height:1; background:none; border:none; }

/* Хлебная навигация «назад» */
.backlink { display:inline-flex; align-items:center; gap:6px; color:#cfe2ef; font-size:.92rem; margin-bottom:14px; }
.backlink:hover { color:#fff; }

.center { text-align:center; }
.mt { margin-top:34px; }

/* ---------- Живой фильтр каталога теплоходов ---------- */
.ship-filter { display:flex; align-items:center; gap:12px; margin:0 0 26px; position:relative; }
.ship-filter-i { position:absolute; left:16px; color:var(--muted); pointer-events:none; }
.ship-filter input {
  flex:1; min-width:0; padding:14px 18px 14px 46px; font:inherit; color:var(--ink);
  background:var(--surface); border:1.5px solid var(--line); border-radius:var(--radius-s);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.ship-filter input::placeholder { color:var(--muted); }
.ship-filter input:focus { outline:none; border-color:var(--blue-l); box-shadow:0 0 0 3px rgba(29,132,195,.15); }
.ship-filter-count { color:var(--muted); font-size:.95rem; white-space:nowrap; }
.ship-card[hidden] { display:none; }
.ships-empty { color:var(--muted); padding:26px 0; text-align:center; }

/* ---------- Подвал ---------- */
footer { background:var(--blue-d); color:#cfe0ec; margin-top:64px; }
.foot-grid { display:grid; grid-template-columns:1.7fr 1fr 1fr 1fr; gap:20px 34px; padding:50px 0 38px; }
.foot-brand { color:#fff; }
.foot-brand .brand-i { color:var(--aqua); }
.foot-brand .brand-t, .foot-brand .brand-t b { color:#fff; }
.foot-about p { color:#a9c1d3; font-size:.95rem; margin:14px 0 0; max-width:36ch; }
.foot-col h4 { color:#fff; font-size:1.06rem; margin:0 0 15px; }
.foot-col ul { list-style:none; margin:0; padding:0; }
.foot-col li { margin:0 0 10px; }
.foot-col a { color:#cfe0ec; font-size:.97rem; }
.foot-col a:hover { color:var(--gold); }
.foot-bottom { border-top:1px solid rgba(255,255,255,.13); }
.foot-bottom p { color:#8fabc0; font-size:.9rem; padding:18px 0; margin:0; }

/* ---------- Адаптив ---------- */
@media (max-width:980px){
  .searchbar .btn { flex-basis:100%; }
  .grid-4, .tiles, .hiw { grid-template-columns:repeat(2,1fr); }
  .foot-grid { grid-template-columns:repeat(3,1fr); }
  .foot-about { grid-column:1/-1; }
}
@media (max-width:860px){
  h1{font-size:2rem;} h2{font-size:1.55rem;} .hero h1{font-size:2.2rem;}
  .burger{display:block;}
  .menu{ position:fixed; inset:68px 0 auto 0; background:#fff; flex-direction:column; align-items:stretch; gap:0; padding:8px 0; box-shadow:var(--shadow-lg); display:none; }
  .menu.open{display:flex;}
  .menu a{ padding:14px 22px; border-bottom:1px solid var(--line); }
  .menu .nav-cta{ margin:12px 22px; border-radius:8px; }
  .grid-3{grid-template-columns:1fr;}
  .stats-row{grid-template-columns:repeat(2,1fr);}
  .promo{padding:28px 26px;}
  .chart{height:180px; gap:5px;}
  .chart-price{font-size:.68rem;}
}
@media (max-width:560px){
  body{font-size:16px;}
  .searchbar{margin-top:-40px;}
  .searchbar .sf-field{flex-basis:100%;}
  .grid-4,.tiles,.hiw,.stats-row{grid-template-columns:1fr;}
  section{padding:42px 0;}
  .hero{padding:46px 0 76px;}
  .foot-grid{grid-template-columns:1fr 1fr; gap:22px 20px; padding:38px 0 30px;}
}

/* Карточки направлений «из города → города» */
.dir-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:14px; margin-top:8px; }
.dir-card{ display:flex; flex-direction:column; gap:4px; padding:16px 18px; background:var(--surface,#fff);
  border:1px solid var(--line); border-radius:var(--radius-xs,10px); transition:transform .15s, box-shadow .15s, border-color .15s; }
.dir-card:hover{ transform:translateY(-2px); box-shadow:var(--shadow,0 6px 20px rgba(15,58,87,.1)); border-color:var(--blue-l); }
.dir-to{ font-family:'Manrope',sans-serif; font-weight:800; color:var(--blue-d); font-size:1.06rem; }
.dir-to::before{ content:'→ '; color:var(--gold-d); font-weight:700; }
.dir-meta{ font-size:.86rem; color:var(--muted); }
