/* ============================================================
   «У реки» — базовые стили
   Дизайн-концепция унаследована из site.html:
   закатный градиент, белые карточки, мягкие тени,
   акцент #ef5350, шрифт Inter, чипы и пилюли.
   ============================================================ */

/* ---------- Токены ---------- */
:root {
  --grad-1: #eceae9;
  --grad-2: #e7e1e1;
  --grad-3: #d9c3c6;
  --grad-4: #c79ba2;
  --grad-5: #bd8f99;

  --card: #f2f0ef;
  --white: #ffffff;

  --red: #ef5350;
  --red-dark: #e64542;
  --green: #5cbf8a;
  --yellow: #f0c040;
  --orange: #f0913a;
  --pink: #f291b1;
  --gold: #e9b64d;

  --text-1: #3c3c3c;
  --text-2: #454545;
  --text-3: #5a5a5a;
  --text-4: #8f8f8f;
  --text-5: #a5a5a5;

  --line: #e7e4e2;

  --shadow-sm: 0 6px 16px rgba(60, 40, 50, .12);
  --shadow-md: 0 14px 34px rgba(70, 45, 55, .12);
  --shadow-lg: 0 34px 80px rgba(70, 40, 50, .24);

  --radius-lg: 26px;
  --radius: 18px;
  --radius-sm: 12px;
}

/* ---------- Сброс и база ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-3);
  background: linear-gradient(180deg, var(--grad-1) 0%, var(--grad-2) 30%, var(--grad-3) 62%, var(--grad-4) 85%, var(--grad-5) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

::selection { background: rgba(239, 83, 80, .25); }

/* мягкий размытый «холм» на фоне (наследие .silhouette) */
.bg-hill {
  position: fixed;
  left: 50%;
  bottom: -70px;
  transform: translateX(-50%);
  width: 760px;
  height: 340px;
  background: radial-gradient(ellipse at center, rgba(189, 143, 153, .55), rgba(189, 143, 153, 0) 72%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}

main, .header-wrap, .site-footer { position: relative; z-index: 1; }

/* ---------- Точки-индикаторы ---------- */
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: 0 0 auto; }
.dot-red   { background: var(--red); }
.dot-green { background: var(--green); }
.dot-yellow{ background: var(--yellow); }
.dot-orange{ background: var(--orange); }
.dot-pink  { background: var(--pink); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  border: none;
  border-radius: 22px;
  padding: 13px 22px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 14px; height: 14px; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 22px rgba(239, 83, 80, .32);
}
.btn-red:hover { background: var(--red-dark); }
.btn-red:disabled { opacity: .75; cursor: default; transform: none; }

.btn-ghost {
  background: #fff;
  color: var(--text-2);
  border: 1px solid var(--line);
  box-shadow: 0 6px 14px rgba(60, 40, 50, .08);
}
.btn-ghost:hover { border-color: var(--red); color: var(--red); }

.btn-white {
  background: #fff;
  color: var(--red);
  box-shadow: 0 10px 22px rgba(70, 30, 40, .25);
}
.btn-white:hover { background: #fff5f5; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .65);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, .12); }

.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.btn-row.center { justify-content: center; }

/* ---------- Поля форм ---------- */
.hf-field label, .mf-field label {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-4);
  margin-bottom: 6px;
}
.hf-field input, .hf-field select,
.mf-field input, .mf-field select, .mf-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 13.5px;
  color: var(--text-1);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.mf-field input, .mf-field select, .mf-field textarea { padding: 11px 13px; }
.hf-field input:focus, .hf-field select:focus,
.mf-field input:focus, .mf-field select:focus, .mf-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 83, 80, .12);
}
.mf-field textarea { resize: vertical; }

/* ============================================================
   ШАПКА (общая для всех страниц)
   ============================================================ */
.header-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 20px 0;
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(70, 45, 55, .14);
  padding: 12px 20px;
}

/* Логотип */
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px rgba(239, 83, 80, .35);
}
.logo-mark svg { width: 20px; height: 20px; color: #fff; }
.logo-txt { line-height: 1.25; }
.logo-txt b { display: block; font-size: 17px; font-weight: 700; color: var(--text-1); letter-spacing: .2px; }
.logo-txt small { display: block; font-size: 10.5px; font-weight: 500; color: var(--text-5); }

/* Верхнее меню — плоское, без вложенных списков */
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; align-items: center; gap: 2px; }
.main-nav a {
  display: block;
  padding: 9px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-3);
  text-decoration: none;
  border-radius: 10px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--red); background: #f7f3f2; }
.main-nav a.active { color: var(--red); font-weight: 600; }

.header-cta { padding: 11px 18px; font-size: 12.5px; }

/* Бургер (видим только на мобильных) */
.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px; height: 38px;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.burger span { width: 16px; height: 2px; background: var(--text-2); border-radius: 2px; transition: transform .3s, opacity .3s; }
.site-header.mobile-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.mobile-open .burger span:nth-child(2) { opacity: 0; }
.site-header.mobile-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Мобильное меню — часть шапки */
.mobile-nav {
  position: absolute;
  top: calc(100% + 10px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(70, 40, 50, .25);
  padding: 14px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height .35s ease, opacity .3s ease;
}
.site-header.mobile-open .mobile-nav {
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav ul { list-style: none; }
.mobile-nav a {
  display: block;
  padding: 11px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-radius: 10px;
}
.mobile-nav a:hover, .mobile-nav a.active { background: #f7f3f2; color: var(--red); }
.mobile-nav .btn { margin-top: 10px; width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero { max-width: 1320px; margin: 26px auto 0; padding: 0 20px; }

.hero-card {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-body { padding: 48px 46px; display: flex; flex-direction: column; justify-content: center; }

.eyebrow {
  display: flex; align-items: center; gap: 9px;
  font-size: 11.5px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-5);
}

.hero-body h1 {
  margin: 16px 0 16px;
  font-size: 42px;
  line-height: 1.18;
  font-weight: 600;
  letter-spacing: .2px;
  color: var(--text-2);
}
.hero-body h1 em { font-style: normal; color: var(--red); }

.lead { font-size: 15.5px; color: var(--text-4); max-width: 540px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 12px;
  color: var(--text-4);
  box-shadow: 0 4px 10px rgba(60, 40, 50, .06);
}

.hero-rating { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.rv-stars { display: flex; gap: 4px; }
.rv-stars svg { width: 14px; height: 14px; fill: var(--gold); }
.hero-rating b { font-size: 13px; color: var(--text-1); font-weight: 700; }
.hero-rating span { font-size: 12px; color: var(--text-5); }

.hero-media { position: relative; min-height: 440px; }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* форма бронирования поверх фото */
.hero-form {
  position: absolute;
  left: 18px; right: 18px; bottom: 18px;
  display: grid;
  grid-template-columns: 1.15fr 1.15fr .85fr auto;
  gap: 12px;
  align-items: end;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(60, 40, 50, .28);
  padding: 16px 18px;
}
.hf-btn { padding: 12px 20px; }

/* ============================================================
   ОБЩИЕ СЕКЦИИ
   ============================================================ */
.section { max-width: 1320px; margin: 26px auto 0; padding: 0 20px; }

.card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 40px 44px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.section-head h2 { font-size: 30px; font-weight: 600; letter-spacing: .2px; color: var(--text-2); }
.section-head.left { flex-direction: column; align-items: flex-start; }
.sec-sub { font-size: 14px; color: var(--text-4); margin-top: 8px; max-width: 660px; }

/* ---------- USP ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usp {
  background: var(--card);
  border-radius: 16px;
  padding: 24px 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.usp:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(70, 45, 55, .12); }
.usp-ico {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.usp-ico svg { width: 19px; height: 19px; }
.ic-red    { color: var(--red); }
.ic-green  { color: var(--green); }
.ic-yellow { color: var(--yellow); }
.ic-orange { color: var(--orange); }
.ic-pink   { color: var(--pink); }
.usp h3 { font-size: 15px; font-weight: 600; color: var(--text-1); margin-bottom: 8px; }
.usp p { font-size: 13px; line-height: 1.55; color: var(--text-4); }

/* ---------- Карточки домиков ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.cottage-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(70, 45, 55, .10);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cottage-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(70, 45, 55, .18); }

.cc-media { position: relative; height: 210px; }
.cc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cc-badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff;
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 11px; font-weight: 600; color: var(--text-2);
  box-shadow: 0 6px 14px rgba(60, 40, 50, .15);
}

.cc-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 20px 22px 22px; }
.cc-body h3 { font-size: 17px; font-weight: 600; color: var(--text-1); }
.cc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--text-4); }
.cc-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cc-meta svg { width: 13px; height: 13px; color: var(--text-5); }

.cc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cc-price { font-size: 11px; color: var(--text-5); }
.cc-price b { display: block; font-size: 18px; font-weight: 600; color: var(--text-1); }
.cc-foot .btn { padding: 10px 16px; font-size: 12.5px; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border-radius: 16px; padding: 26px 24px; }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--red);
  margin-bottom: 16px;
}
.step h3 { font-size: 15.5px; font-weight: 600; color: var(--text-1); margin-bottom: 8px; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--text-4); }

/* ---------- Split-секции ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.split .split-media { grid-column: 1; grid-row: 1; }
.split .split-body  { grid-column: 2; grid-row: 1; }
.split-rev .split-media { grid-column: 2; }
.split-rev .split-body  { grid-column: 1; }

.split-media { position: relative; min-height: 400px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.split-body {
  display: flex; flex-direction: column; justify-content: center;
  gap: 14px;
  padding: 40px 44px;
}
.split-body h2 { font-size: 28px; font-weight: 600; letter-spacing: .2px; color: var(--text-2); }
.split-body > p { font-size: 14.5px; line-height: 1.65; color: var(--text-4); }

/* мини-сетка инфраструктуры */
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 4px; }
.mini {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--card);
  border-radius: 14px;
  padding: 16px;
}
.mini-ico {
  width: 34px; height: 34px; flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
}
.mini-ico svg { width: 16px; height: 16px; }
.mini b { display: block; font-size: 13px; font-weight: 600; color: var(--text-1); margin-bottom: 3px; }
.mini span { display: block; font-size: 11.5px; line-height: 1.45; color: var(--text-4); }

/* список с галочками */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.check-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 14px; line-height: 1.5; color: var(--text-3);
  padding: 8px 0;
}
.ck {
  flex: 0 0 auto;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.ck svg { width: 11px; height: 11px; color: #fff; }

/* ---------- Отзывы ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
}
.review .rv-stars svg { width: 13px; height: 13px; }
.review p { flex: 1; font-size: 13.5px; line-height: 1.65; color: var(--text-3); }
.rv-foot { display: flex; align-items: center; gap: 11px; }
.rv-av {
  width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #8a8a8a;
}
.rv-name { font-size: 13px; font-weight: 600; color: var(--text-1); }
.rv-meta { font-size: 11.5px; color: var(--text-5); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%;
  background: none; border: none;
  padding: 18px 0;
  font: inherit; font-size: 15px; font-weight: 600;
  color: var(--text-1);
  text-align: left;
  cursor: pointer;
}
.f-ico {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease, background .3s ease;
}
.f-ico svg { width: 12px; height: 12px; color: var(--text-4); transition: color .3s; }
.faq-item.open .f-ico { background: var(--red); transform: rotate(45deg); }
.faq-item.open .f-ico svg { color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 40px 18px 0; font-size: 13.5px; line-height: 1.65; color: var(--text-4); }

/* ---------- CTA-блок ---------- */
.cta-card {
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(239, 83, 80, .35);
  padding: 56px 40px 52px;
  text-align: center;
}
.cta-card h2 { font-size: 32px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.cta-card p { max-width: 620px; margin: 0 auto 26px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .92); }

/* ============================================================
   ФУТЕР (общий для всех страниц)
   ============================================================ */
.site-footer { max-width: 1320px; margin: 34px auto 34px; padding: 0 20px; }

.footer-card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(70, 40, 50, .22);
  padding: 46px 48px 26px;
}

.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 34px; }

.f-brand p { max-width: 300px; margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--text-4); }
.f-mail { display: inline-block; margin-top: 14px; font-size: 14.5px; font-weight: 600; color: var(--red); text-decoration: none; }
.f-mail:hover { text-decoration: underline; }
.f-loc { margin-top: 10px; font-size: 12px; color: var(--text-5); }

.f-col h4 {
  margin-bottom: 14px;
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-5);
}
.f-col ul { list-style: none; }
.f-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color .2s;
}
.f-col a:hover { color: var(--red); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-5);
}
.f-bottom-links a { color: var(--text-4); text-decoration: none; transition: color .2s; }
.f-bottom-links a:hover { color: var(--red); }

/* ============================================================
   ВСПЛЫВАЮЩАЯ ФОРМА (универсальная)
   ============================================================ */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }

.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(80, 45, 60, .45);
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 90px rgba(70, 40, 50, .4);
  padding: 34px 36px 30px;
  animation: modalPop .25s ease;
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 34px; height: 34px;
  border: none; border-radius: 50%;
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.modal-close svg { width: 14px; height: 14px; color: #8a8a8a; }
.modal-close:hover { background: var(--red); }
.modal-close:hover svg { color: #fff; }

.modal-card h3 { font-size: 21px; font-weight: 600; color: var(--text-1); }
.modal-sub { margin: 6px 0 20px; font-size: 13px; color: var(--text-4); }

.mf-field { margin-bottom: 14px; }
.mf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mf-note { margin-top: 12px; text-align: center; font-size: 11px; color: var(--text-5); }
.mf-note a { color: var(--red); }

.modal-success { text-align: center; padding: 20px 0 8px; }
.ms-ico {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.ms-ico svg { width: 24px; height: 24px; color: #fff; }
.modal-success h4 { font-size: 18px; font-weight: 600; color: var(--text-1); }
.modal-success p { margin: 8px 0 18px; font-size: 13.5px; color: var(--text-4); }
.modal-success a { color: var(--red); }

/* ============================================================
   ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   АДАПТИВНОСТЬ
   ============================================================ */
@media (max-width: 1120px) {
  .main-nav, .header-cta { display: none; }
  .burger { display: flex; }
}

@media (max-width: 960px) {
  .hero-card { grid-template-columns: 1fr; }
  .hero-body { padding: 34px 28px; }
  .hero-body h1 { font-size: 32px; }
  .hero-media { min-height: 320px; order: -1; }

  .card { padding: 30px 26px; }
  .section-head h2, .split-body h2 { font-size: 24px; }

  .usp-grid, .cards-grid, .steps, .reviews-grid { grid-template-columns: 1fr 1fr; }

  .split { grid-template-columns: 1fr; }
  .split .split-media, .split-rev .split-media { grid-column: 1; grid-row: 1; min-height: 240px; }
  .split .split-body, .split-rev .split-body { grid-column: 1; grid-row: 2; padding: 28px 24px; }

  .mini-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-card { padding: 34px 28px 22px; }
}

@media (max-width: 620px) {
  .hero { margin-top: 18px; }
  .hero-body { padding: 28px 22px; }
  .hero-body h1 { font-size: 27px; }
  .hero-form { grid-template-columns: 1fr 1fr; }
  .hf-btn { grid-column: 1 / -1; }

  .usp-grid, .cards-grid, .steps, .reviews-grid,
  .mini-grid, .mf-row, .footer-grid { grid-template-columns: 1fr; }

  .card { padding: 26px 20px; border-radius: 20px; }
  .cta-card { padding: 40px 22px; }
  .cta-card h2 { font-size: 25px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* уважение к reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal-card { animation: none; }
}