@import url("fonts/fonts.css");

/* ============================================================
   Катер по Неве — стили лендинга
   Палитра взята из иллюстраций: закатное золото, глубокая вода,
   красный борт катера, кремовый корпус.
   ============================================================ */

:root {
  /* Вода — тёмные фоны */
  --water-900: #0b222a;
  --water-850: #0e2b34;
  --water-800: #123039;
  --water-700: #17414d;
  --water-600: #1e5361;

  /* Небо / закат — акценты */
  --gold-500: #e0a344;
  --gold-400: #eab24f;
  --gold-300: #f3c976;

  /* Красный борт — главный акцент/CTA */
  --red-600: #b23a2b;
  --red-700: #9a2f22;
  --red-500: #c8462f;

  /* Светлые поверхности */
  --cream-50: #faf5e9;
  --cream-100: #f4ecd8;
  --sand-200: #e9dfc7;
  --sand-300: #ddd0b2;

  /* Чернила / текст */
  --ink-900: #17222b;
  --ink-700: #2f3d46;
  --ink-500: #5c6870;

  --font-display: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1200px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 34, 42, .08), 0 2px 8px rgba(11, 34, 42, .06);
  --shadow-md: 0 10px 30px -12px rgba(11, 34, 42, .35), 0 4px 12px rgba(11, 34, 42, .1);
  --shadow-lg: 0 30px 60px -20px rgba(8, 24, 30, .55), 0 12px 24px -12px rgba(8, 24, 30, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Сброс / база ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

/* Плавное появление секций (скрываем только при активном JS — иначе контент виден всегда) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  transition: transform .2s var(--ease), box-shadow .3s var(--ease), background-color .2s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(180deg, var(--red-500), var(--red-600));
  color: var(--cream-50);
  box-shadow: 0 8px 20px -8px rgba(178, 58, 43, .7), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(178, 58, 43, .75), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: rgba(250, 245, 233, .08);
  color: var(--cream-50);
  border: 1px solid rgba(250, 245, 233, .35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(250, 245, 233, .16); transform: translateY(-2px); }
.btn-lg { padding: 1.1em 2em; font-size: 1.05rem; }

/* ---------- Хедер ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s var(--ease);
}
.header::after { content: ""; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.header.scrolled {
  background: rgba(11, 34, 42, .82);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(250, 245, 233, .08), 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream-50); }
.brand svg { width: 38px; height: 38px; border-radius: 11px; box-shadow: var(--shadow-sm); flex: 0 0 auto; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.brand-sub { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 22px; }
.header-phone { color: var(--cream-50); font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; font-variant-numeric: tabular-nums; transition: color .2s; }
.header-phone:hover { color: var(--gold-300); }
.header-phone span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--gold-300); margin-top: 1px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--cream-50); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 34, 42, .55) 0%, rgba(11, 34, 42, .1) 30%, rgba(11, 34, 42, .2) 55%, rgba(9, 26, 32, .92) 100%),
    linear-gradient(75deg, rgba(9, 26, 32, .82) 0%, rgba(9, 26, 32, .35) 42%, rgba(9, 26, 32, 0) 70%);
}
.hero-content { position: relative; padding-block: 130px 60px; max-width: 780px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--gold-400); display: inline-block; }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); margin-bottom: 20px; text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--gold-300); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 560px; color: rgba(250, 245, 233, .9); margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.hero-facts { display: flex; flex-wrap: nowrap; gap: 14px; margin-top: 42px; }
.fact {
  position: relative; z-index: 0;
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
  padding: 10px 18px 10px 12px;
}
/* Мягкая подложка с размытыми краями — без рамки, растворяется в фоне */
.fact::before {
  content: ""; position: absolute; inset: -6px -4px; z-index: -1;
  background: radial-gradient(68% 125% at 44% 50%,
              rgba(6, 19, 25, .74) 0%,
              rgba(6, 19, 25, .42) 48%,
              rgba(6, 19, 25, 0) 76%);
  filter: blur(7px);
}
.fact-ic { width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: rgba(234, 178, 79, .16); color: var(--gold-300); }
.fact-ic svg { width: 22px; height: 22px; }
.fact b { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact small { font-size: .8rem; color: rgba(250, 245, 233, .7); }

.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 1; color: rgba(250, 245, 233, .6); }
.scroll-hint svg { width: 26px; height: 26px; animation: bob 2.2s var(--ease) infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ---------- Секции ---------- */
section { position: relative; }
.section-pad { padding-block: clamp(72px, 9vw, 128px); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-label { font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red-600); margin-bottom: 16px; display: block; }
.section-title { font-size: clamp(2rem, 4vw, 3.1rem); text-wrap: balance; }
.section-title em { font-style: italic; color: var(--red-600); }
.section-sub { margin-top: 18px; font-size: 1.12rem; color: var(--ink-700); text-wrap: pretty; }

.on-dark { background: var(--water-850); color: var(--cream-50); }
.on-dark .section-label { color: var(--gold-300); }
.on-dark .section-sub { color: rgba(250, 245, 233, .78); }
.on-dark .section-title em { color: var(--gold-300); }

/* ---------- Что увидите (достопримечательности) ---------- */
.sights { background: linear-gradient(180deg, var(--water-900), var(--water-800)); color: var(--cream-50); }
.sights .section-label { color: var(--gold-300); }
.sights .section-sub { color: rgba(250, 245, 233, .78); }
.sights .section-title em { color: var(--gold-300); }
.sight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sight {
  position: relative; padding: 28px 26px 26px;
  background: linear-gradient(180deg, rgba(250, 245, 233, .06), rgba(250, 245, 233, .02));
  border: 1px solid rgba(250, 245, 233, .12);
  border-radius: var(--radius);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
  overflow: hidden;
}
.sight::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--red-500));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.sight:hover { transform: translateY(-6px); border-color: rgba(234, 178, 79, .4); background: rgba(250, 245, 233, .07); }
.sight:hover::before { transform: scaleX(1); }
.sight-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(234, 178, 79, .14); color: var(--gold-300); margin-bottom: 18px; }
.sight-ic svg { width: 28px; height: 28px; }
.sight h3 { font-size: 1.4rem; margin-bottom: 10px; }
.sight p { color: rgba(250, 245, 233, .72); font-size: .98rem; }

/* ---------- Галерея ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.shot {
  position: relative; margin: 0; border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow-md); cursor: pointer; background: var(--water-800);
  aspect-ratio: 16 / 10;
}
.shot:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.shot::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 34, 42, 0) 55%, rgba(9, 26, 32, .55) 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.shot figcaption {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  color: var(--cream-50); font-weight: 600; font-size: .92rem;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}
.shot .zoom-ic {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  background: rgba(11, 34, 42, .55); color: var(--cream-50); backdrop-filter: blur(4px);
  opacity: 0; transform: scale(.85); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.shot:hover img { transform: scale(1.06); }
.shot:hover::after,
.shot:hover figcaption,
.shot:hover .zoom-ic { opacity: 1; }
.shot:hover figcaption { transform: none; }
.shot:hover .zoom-ic { transform: scale(1); }

/* ---------- Преимущества ---------- */
.perks { background: var(--cream-100); }
.perks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px) clamp(28px, 4vw, 56px); }
.perk { display: flex; gap: 20px; }
.perk-ic {
  flex: 0 0 auto; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(180deg, #fff, var(--sand-200));
  color: var(--red-600); box-shadow: var(--shadow-sm);
}
.perk-ic svg { width: 30px; height: 30px; }
.perk h3 { font-size: 1.35rem; margin-bottom: 8px; }
.perk p { color: var(--ink-700); font-size: 1rem; }

/* ---------- Как проходит ---------- */
.steps { background: var(--cream-50); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 34px 28px 30px;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: var(--gold-400); margin-bottom: 16px; font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--ink-700); font-size: 1rem; }

/* ---------- Цена / оффер ---------- */
.pricing { background: linear-gradient(160deg, var(--water-800), var(--water-900)); color: var(--cream-50); }
.price-card {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  background: linear-gradient(180deg, rgba(250, 245, 233, .07), rgba(250, 245, 233, .03));
  border: 1px solid rgba(250, 245, 233, .16);
  border-radius: 26px; padding: clamp(30px, 4vw, 52px);
  box-shadow: var(--shadow-lg);
}
.price-card > * { min-width: 0; } /* не даём содержимому распирать grid-колонку */
.price-card h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.price-card h2 em { font-style: italic; color: var(--gold-300); }
.price-card .price-lead { color: rgba(250, 245, 233, .8); margin-bottom: 24px; }
.includes { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.02rem; }
.includes svg { flex: 0 0 auto; width: 22px; height: 22px; color: var(--gold-300); margin-top: 2px; }
.price-figure {
  text-align: center; padding: 30px; border-radius: 20px;
  background: radial-gradient(120% 120% at 50% 0%, rgba(234, 178, 79, .18), rgba(234, 178, 79, 0) 70%);
  border: 1px solid rgba(234, 178, 79, .3);
}
.price-figure .from { font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); font-weight: 700; }
.price-figure .amount { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 7vw, 4.6rem); line-height: 1; margin: 8px 0; font-variant-numeric: tabular-nums; }
.price-figure .amount span { font-size: .42em; }
.price-figure .unit { color: rgba(250, 245, 233, .7); font-size: .95rem; margin-bottom: 22px; }
.price-figure .btn { width: 100%; }

/* ---------- Форма заявки ---------- */
.cta-section { background: var(--cream-100); }
.cta-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center;
}
.cta-copy .section-title { margin-bottom: 18px; }
.cta-copy p { color: var(--ink-700); font-size: 1.1rem; margin-bottom: 26px; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; align-items: center; gap: 14px; }
.contact-row .cm-ic { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 13px; background: #fff; color: var(--red-600); box-shadow: var(--shadow-sm); }
.contact-row .cm-ic svg { width: 24px; height: 24px; }
.contact-row b { font-size: 1.15rem; font-variant-numeric: tabular-nums; display: block; line-height: 1.2; }
.contact-row small { color: var(--ink-500); font-size: .85rem; }

.form-card {
  background: #fff; border-radius: 24px; padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--sand-200);
}
.form-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card .form-note { color: var(--ink-500); font-size: .92rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink-700); margin-bottom: 7px; letter-spacing: .01em; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; font-family: inherit; font-size: 1rem; color: var(--ink-900);
  background: var(--cream-50); border: 1.5px solid var(--sand-200); border-radius: 12px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--red-500); background: #fff;
  box-shadow: 0 0 0 4px rgba(178, 58, 43, .12);
}
.field input::placeholder, .field textarea::placeholder { color: #a7b0b3; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--ink-500); margin: 4px 0 20px; }
.consent input { margin-top: 3px; accent-color: var(--red-600); width: 16px; height: 16px; flex: 0 0 auto; }
.form-card .btn-primary { width: 100%; }
.form-ok {
  display: none; text-align: center; padding: 12px 0 0; color: var(--red-700); font-weight: 700;
}
.form-card.sent .form-ok { display: block; }

/* Успешная отправка — заменяем всю форму сообщением с галочкой */
.form-success { display: none; text-align: center; padding: 18px 4px 10px; }
.form-card.done > *:not(.form-success) { display: none; }
.form-card.done .form-success { display: block; animation: successIn .5s var(--ease) both; }
.success-ic {
  width: 78px; height: 78px; margin: 0 auto 20px; display: grid; place-items: center;
  border-radius: 50%; color: var(--cream-50);
  background: linear-gradient(180deg, var(--red-500), var(--red-600));
  box-shadow: 0 16px 32px -12px rgba(178, 58, 43, .6), inset 0 1px 0 rgba(255, 255, 255, .2);
  animation: successPop .55s var(--ease) both;
}
.success-ic svg { width: 40px; height: 40px; }
.form-success h3 { font-size: 1.6rem; margin-bottom: 10px; }
.form-success p { color: var(--ink-700); font-size: 1rem; max-width: 340px; margin: 0 auto; }
@keyframes successPop { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes successIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Футер ---------- */
.footer { background: var(--water-900); color: rgba(250, 245, 233, .7); padding-block: 54px 34px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding-bottom: 30px; border-bottom: 1px solid rgba(250, 245, 233, .1); }
.footer .brand-name { color: var(--cream-50); }
.footer .brand-sub { margin-left: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--gold-300); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 24px; font-size: .84rem; color: rgba(250, 245, 233, .5); }
.footer-bottom a { color: rgba(250, 245, 233, .6); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Лайтбокс ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(6, 18, 23, .93); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 4vw;
  opacity: 0; transition: opacity .3s var(--ease);
}
.lightbox.open { display: flex; }
.lightbox.visible { opacity: 1; }
.lightbox img { max-width: min(1100px, 94vw); max-height: 88vh; width: auto; border-radius: 12px; box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .3s var(--ease); }
.lightbox.visible img { transform: scale(1); }
.lb-close, .lb-nav {
  position: absolute; background: rgba(250, 245, 233, .12); color: var(--cream-50);
  border: 1px solid rgba(250, 245, 233, .25); border-radius: 50%;
  width: 52px; height: 52px; display: grid; place-items: center; transition: background-color .2s, transform .2s;
}
.lb-close { top: 20px; right: 20px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close:hover, .lb-nav:hover { background: rgba(250, 245, 233, .24); }
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-close svg, .lb-nav svg { width: 24px; height: 24px; }

/* ---------- Модальное окно (политика) ---------- */
.modal {
  position: fixed; inset: 0; z-index: 110; display: none;
  background: rgba(6, 18, 23, .78); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 4vw;
  opacity: 0; transition: opacity .3s var(--ease);
}
.modal.open { display: flex; }
.modal.visible { opacity: 1; }
.modal-card {
  display: flex; flex-direction: column;
  width: 100%; max-width: 720px; max-height: 86vh;
  background: var(--cream-50); color: var(--ink-900);
  border-radius: 22px; box-shadow: var(--shadow-lg); overflow: hidden;
  transform: translateY(14px) scale(.98); transition: transform .3s var(--ease);
}
.modal.visible .modal-card { transform: none; }
.modal-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 26px; border-bottom: 1px solid var(--sand-200); flex: 0 0 auto;
}
.modal-head h2 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
.modal-close {
  flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--sand-300); border-radius: 50%; background: #fff; color: var(--ink-700);
  transition: background-color .2s, color .2s, transform .2s;
}
.modal-close:hover { background: var(--red-600); color: var(--cream-50); border-color: var(--red-600); transform: rotate(90deg); }
.modal-close svg { width: 22px; height: 22px; }
.modal-body { padding: 22px 26px 28px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-body .policy-date { font-size: .85rem; color: var(--ink-500); margin-bottom: 18px; }
.modal-body h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 22px 0 8px; }
.modal-body h3:first-of-type { margin-top: 0; }
.modal-body p { color: var(--ink-700); font-size: .96rem; line-height: 1.62; margin-bottom: 10px; }
.modal-body ul { margin: 6px 0 12px; padding-left: 22px; }
.modal-body li { color: var(--ink-700); font-size: .96rem; line-height: 1.55; margin-bottom: 4px; }
.modal-body a { color: var(--red-600); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Адаптив ---------- */
@media (max-width: 920px) {
  .sight-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .price-card { grid-template-columns: 1fr; }
  .cta-wrap { grid-template-columns: 1fr; }
  .header-phone span { display: none; }
  .hero-facts { flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .header-phone { display: none; }
  .brand-sub { display: none; }
  .sight-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .shot:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .hero-facts { gap: 10px; }
  .fact { padding: 10px 14px; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}
@media (max-width: 480px) {
  /* Шапка: бренд + кнопка не помещались на узких экранах — делаем компактнее */
  .header-inner { gap: 10px; }
  .brand svg { width: 34px; height: 34px; }
  .brand-name { font-size: 1.08rem; }
  .header-actions .btn { padding: .64em 1em; font-size: .88rem; }
  /* Блок цены: не даём распирать карточку крупными цифрами */
  .price-card { padding: 26px 18px; }
  .price-figure { padding: 24px 18px; }
  .amount { font-size: clamp(2.6rem, 12vw, 3.3rem); }
}
@media (max-width: 420px) {
  .hero-cta .btn { width: 100%; }
  .gallery-grid { grid-template-columns: 1fr; }
  .shot:nth-child(1) { grid-column: span 1; }
}
