/*
  SARAAF Landing
  Файл стилей: style.css

  Структура:
  01. Переменные и базовые настройки
  02. Шапка сайта
  03. Общие секции и анимации
  04. Hero-блок
  05. Блок показателей
  06. О системе
  07. Услуги
  08. Отзывы
  09. FAQ
  10. Контакты / форма
  11. Подвал
  12. Адаптив
  13. Доступность / reduced motion
*/

/* =========================================================
   01. Переменные и базовые настройки
   ========================================================= */

:root {
  --sand: #f4eddf;
  --sand-2: #fffaf2;
  --line: #dbcdbb;

  --emerald: #063f36;
  --emerald-2: #0b5a49;

  --ink: #11201d;
  --muted: #5c6861;

  --gold: #966b2e;
  --gold-2: #e5c68e;

  --shadow: 0 28px 80px rgba(6, 63, 54, 0.16);

  --font: HelveticaNeueCyr, "Helvetica Neue", Helvetica, Arial, Inter,
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--sand);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.35;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================================================
   02. Шапка сайта
   ========================================================= */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  right: 0;

  height: 84px;
  display: flex;
  justify-content: center;

  padding: 0 clamp(24px, 4vw, 72px);

  color: #fff;
  background: linear-gradient(
    to bottom,
    rgba(5, 22, 20, 0.62),
    rgba(5, 22, 20, 0.05)
  );
  backdrop-filter: blur(14px);
}

.site-header__inner {
  width: min(100%, 1720px);
  height: 100%;

  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 36px;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(244, 237, 223, 0.9);
  border-bottom: 1px solid rgba(219, 205, 187, 0.8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 220px;
}

.brand__logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand__text {
  display: grid;
  gap: 2px;

  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand__text strong {
  font-size: 25px;
  font-weight: 600;
}

.brand__text small {
  font-size: 10px;
  letter-spacing: 0.07em;
  opacity: 0.82;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 52px);

  font-size: 15px;
  font-weight: 600;
}

.nav a {
  opacity: 0.9;
}

.nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.nav-toggle {
  display: none;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 56px;
  padding: 0 34px;

  border: 1px solid transparent;
  border-radius: 3px;

  font-weight: 700;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease;
}

.header-cta {
  color: #fff;
  background: var(--emerald-2);
  white-space: nowrap;
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

/* =========================================================
   03. Общие секции и анимации
   ========================================================= */

.snap-container {
  scroll-snap-type: y proximity;
}

.snap-section {
  scroll-snap-align: start;
  scroll-margin-top: 80px;
}

.section {
  min-height: 88vh;
  display: flex;
  align-items: center;

  padding: clamp(84px, 9vh, 132px) clamp(28px, 5vw, 72px);
}

.section__inner {
  width: min(100%, 1720px);
  margin: 0 auto;
}

.section-title {
  margin: 0;

  font-size: clamp(52px, 5.8vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  font-weight: 700;

  color: var(--emerald);
}

.section-text {
  max-width: 600px;
  margin-top: 10px;

  color: var(--muted);
  font-size: 19px;
  line-height: 1.2;
}

.eyebrow {
  margin-bottom: 1px;

  color: var(--gold);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition:
    opacity 0.85s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible,
.is-visible .reveal {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* =========================================================
   04. Hero-блок
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;

  min-height: 100vh;
  padding-top: 110px;

  color: #fff;
background-image:
  linear-gradient(
    90deg,
    rgba(0, 10, 9, 0.92) 0%,
    rgba(4, 26, 23, 0.78) 24%,
    rgba(4, 26, 23, 0.28) 42%,
    rgba(4, 26, 23, 0.00) 58%
  ),
  var(--bg);
  background-size: cover;
background-position: right center;
}

.hero__overlay {
  position: absolute;
  inset: auto 0 0;

  height: 30%;
  pointer-events: none;

  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
}

.hero__inner {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 780px;
}

.hero__title {
  margin: 0 0 14px;

  font-size: clamp(76px, 9vw, 174px);
  line-height: 0.9;
  letter-spacing: 0.08em;
  font-weight: 300;
}

.hero__lead {
  max-width: 760px;
  margin: 32px 0 22px;

  font-size: clamp(30px, 3.2vw, 58px);
  line-height: 1.05;
  font-weight: 700;
}

.hero__text {
  max-width: 650px;

  color: rgba(255, 255, 255, 0.83);
  font-size: 19px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;

  margin-top: 42px;
}

.btn--primary {
  color: #fff;
  background: var(--emerald-2);
}

.btn--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn--gold {
  width: 100%;

  color: #2b1d0b;
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
}

/* =========================================================
   05. Блок показателей
   ========================================================= */

.stats {
  min-height: 26vh;
  display: flex;
  align-items: center;

  padding: 0 clamp(28px, 5vw, 72px);

  background: var(--sand-2);
  border-bottom: 1px solid var(--line);
}

.stats__inner {
  width: min(100%, 1720px);
  min-height: 190px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.stat {
  min-height: 118px;
  display: grid;
  place-content: center;

  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;

  color: var(--emerald);
  font-size: clamp(34px, 3.7vw, 68px);
  line-height: 0.95;
}

.stat span {
  margin-top: 8px;
  font-size: 17px;
}

/* =========================================================
   06. О системе
   ========================================================= */

.about {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, var(--sand-2), var(--sand));
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  /* Фоновая картинка раздела "О системе".
     Положи файл bg.jpg в assets/img/ */
  background-image: url("../img/bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
}

.about::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  /* Светлая вуаль поверх картинки,
     чтобы текст и блоки читались лучше */
  background: linear-gradient(
    135deg,
    rgba(255, 250, 242, 0.92),
    rgba(244, 237, 223, 0.8)
  );
}

.about__grid {
  display: grid;
  grid-template-columns:
    minmax(320px, 0.86fr)
    minmax(420px, 1.1fr)
    minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(38px, 5vw, 88px);
}

.photo-card {
  margin: 0;
  overflow: hidden;

  border-radius: 3px;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.benefits {
  display: grid;
  gap: 0;
}

.benefit {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.benefit h3 {
  margin: 0 0 8px;

  color: var(--emerald);
  font-size: 24px;
}

.benefit p {
  margin: 0;

  color: var(--muted);
  font-size: 16px;
}

/* =========================================================
   07. Услуги
   ========================================================= */

.services {
  color: #fff;
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(208, 161, 95, 0.22),
      transparent 36%
    ),
    linear-gradient(135deg, #032622, #061b19);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;

  margin-bottom: 52px;
}

.section-head--dark .section-title {
  color: #fff;
}

.section-head__text {
  max-width: 510px;
  margin: 0 0 12px;

  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 490px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 34px;

  border-radius: 4px;

  background-image:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.84),
      rgba(0, 0, 0, 0.12) 58%,
      rgba(0, 0, 0, 0.08)
    ),
    var(--img);
  background-size: cover;
  background-position: center;

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  filter: saturate(1.05) contrast(1.02);
}

.service-card span {
  max-width: 300px;

  font-size: clamp(26px, 2.1vw, 42px);
  line-height: 1;
  font-weight: 800;
}

.service-card p {
  max-width: 310px;
  margin: 18px 0 0;

  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

/* =========================================================
   08. Отзывы
   ========================================================= */

.reviews {
  background: var(--sand-2);
}

.review-grid {
  margin-top: 54px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.review-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;

  padding: 34px;

  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
}

.review-card img {
  width: 88px;
  height: 88px;
  margin-bottom: 28px;

  object-fit: cover;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.review-card blockquote {
  margin: 0 0 28px;

  color: #303a36;
  font-size: 17px;
  line-height: 1.55;
}

.review-card strong {
  margin-top: auto;

  color: var(--emerald);
  font-size: 18px;
}

.review-card span {
  margin-top: 6px;

  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   09. FAQ
   ========================================================= */

.faq {
  position: relative;
  overflow: hidden;

  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 36%, rgba(208, 161, 95, 0.16), transparent 32%),
    radial-gradient(circle at 82% 55%, rgba(6, 63, 54, 0.40), transparent 30%),
    linear-gradient(135deg, #fffaf2, var(--sand));
}

.faq::before {
  content: "";
  position: absolute;
  inset: 9% 4% auto auto;

  width: 46vw;
  height: 46vw;
  max-width: 760px;
  max-height: 760px;

  pointer-events: none;
  opacity: 0.08;
  border: 1px solid var(--emerald);
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle,
      transparent 0 28px,
      rgba(6, 63, 54, 0.5) 29px 30px
    );
}

.faq__inner {
  position: relative;
  z-index: 1;
}

.faq__intro {
  max-width: 980px;
  margin-bottom: clamp(34px, 4vw, 64px);
}

.faq__intro p {
  max-width: 640px;
  margin: 5px 0 0;

  color: var(--muted);
  font-size: 20px;
  line-height: 1.2;
}

.faq__layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(560px, 1.12fr);
  align-items: stretch;
  gap: clamp(34px, 4.5vw, 86px);
}

.faq__visual {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;

  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(6, 63, 54, 0.18);
  background: var(--emerald);
}

.faq__visual::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(to top, rgba(0, 16, 14, 0.72), transparent 56%),
    radial-gradient(circle at 70% 15%, rgba(229, 198, 142, 0.32), transparent 34%);
  pointer-events: none;
}

.faq__visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;

  object-fit: cover;
  border-radius: inherit;
  transform: scale(1.02);
}

.faq__visual figcaption {
  position: absolute;
  z-index: 2;
  left: 32px;
  right: 32px;
  bottom: 30px;

  display: grid;
  gap: 8px;

  color: #fff;
}

.faq__visual figcaption strong {
  font-size: clamp(28px, 2vw, 42px);
  line-height: 1;
}

.faq__visual figcaption span {
  max-width: 480px;

  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.5;
}

.faq-list {
  display: grid;
  align-content: center;
  gap: 16px;
}

.faq-item {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 242, 0.84));
  border: 1px solid rgba(219, 205, 187, 0.9);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(6, 63, 54, 0.08);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;

  width: 5px;
  opacity: 0;
  background: linear-gradient(to bottom, var(--gold-2), var(--emerald-2));

  transition: opacity 0.28s ease;
}

.faq-item:hover,
.faq-item.is-open {
  transform: translateY(-2px);
  border-color: rgba(208, 161, 95, 0.65);
  box-shadow: 0 26px 70px rgba(6, 63, 54, 0.14);
}

.faq-item.is-open::before {
  opacity: 1;
}

.faq-question {
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  padding: 0 30px;

  color: var(--ink);
  font: inherit;
  font-size: clamp(18px, 1.15vw, 22px);
  font-weight: 800;
  text-align: left;

  background: transparent;
  border: 0;
  cursor: pointer;
}

.faq-question i {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;

  border-radius: 50%;
  background: rgba(6, 63, 54, 0.08);
  transition:
    background 0.28s ease,
    transform 0.28s ease;
}

.faq-question i::before,
.faq-question i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  width: 16px;
  height: 2px;

  background: var(--emerald);
  border-radius: 2px;
  transform: translate(-50%, -50%);
}

.faq-question i::after {
  transform: translate(-50%, -50%) rotate(90deg);
  transition: transform 0.28s ease;
}

.faq-item.is-open .faq-question i {
  background: var(--emerald);
  transform: rotate(180deg);
}

.faq-item.is-open .faq-question i::before,
.faq-item.is-open .faq-question i::after {
  background: #fff;
}

.faq-item.is-open .faq-question i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;

  opacity: 0;
  transition:
    max-height 0.42s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.28s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 220px;
  opacity: 1;
}

.faq-answer p {
  margin: 0;
  padding: 0 30px 28px;

  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

/* =========================================================
   10. Контакты / форма
   ========================================================= */

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 92vh;
  color: #fff;
  background: #052622;
}

/* Большая фоновая фотография менеджера.
   Файл должен лежать здесь: assets/img/manager.png */
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background-image:
    linear-gradient(
      90deg,
      rgba(3, 31, 28, 0.98) 0%,
      rgba(3, 45, 39, 0.94) 30%,
      rgba(3, 55, 48, 0.72) 48%,
      rgba(3, 55, 48, 0.24) 67%,
      rgba(3, 31, 28, 0.40) 100%
    ),
    url("../img/manager.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Глубина цвета и мягкое затемнение краёв */
.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(circle at 24% 48%, rgba(11, 90, 73, 0.54), transparent 34%),
    radial-gradient(circle at 74% 52%, rgba(208, 161, 95, 0.11), transparent 26%),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.14),
      transparent 18%,
      transparent 72%,
      rgba(0, 0, 0, 0.24)
    );
}

.contact .section-title {
  max-width: 620px;

  color: #fff;
  font-size: clamp(58px, 5.3vw, 112px);
  line-height: 0.88;
  letter-spacing: -0.065em;
}

.contact .section-text {
  max-width: 560px;
  margin-top: 34px;

  color: rgba(255, 255, 255, 0.78);
}

.contact__grid {
  position: relative;
  z-index: 1;

  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(460px, 0.82fr);
  align-items: center;
  gap: clamp(38px, 6vw, 110px);
}

.contact__copy {
  max-width: 680px;
}

.contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 3vw, 44px);

  margin-top: 56px;

  color: var(--gold-2);
  font-size: clamp(18px, 1.25vw, 24px);
  line-height: 1.02;
  font-weight: 900;
}

.contact-form {
  position: relative;
  overflow: hidden;

  display: grid;
  gap: 18px;

  padding: clamp(26px, 2.4vw, 42px);

  background:
    linear-gradient(135deg, rgba(8, 69, 58, 0.78), rgba(4, 45, 39, 0.62));
  border: 1px solid rgba(229, 198, 142, 0.24);
  border-radius: 22px;
  box-shadow:
    0 34px 95px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.contact-form::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;

  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(229, 198, 142, 0.8),
    transparent
  );
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.04em;
}

input,
select,
textarea {
  width: 100%;
  padding: 17px 18px;

  color: #fff;
  font: inherit;

  background: rgba(0, 18, 16, 0.28);
  border: 1px solid rgba(229, 198, 142, 0.25);
  border-radius: 10px;
  outline: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);

  transition:
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

select {
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--gold-2) 50%),
    linear-gradient(135deg, var(--gold-2) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 15px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

select option {
  color: var(--ink);
  background: var(--sand-2);
}

input:focus,
select:focus,
textarea:focus {
  background: rgba(0, 18, 16, 0.42);
  border-color: rgba(229, 198, 142, 0.88);
  box-shadow:
    0 0 0 4px rgba(229, 198, 142, 0.10),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.contact-form .btn--gold {
  min-height: 58px;
  margin-top: 2px;

  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(208, 161, 95, 0.18);
}

.contact-form small {
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

/* Старый отдельный блок с фото больше не используется.
   Оставлен, чтобы не ломать верстку, если тег случайно останется в HTML. */
.manager-photo {
  display: none;
}

/* =========================================================
   11. Подвал
   ========================================================= */

.footer {
  padding: 32px clamp(28px, 5vw, 72px);

  background: var(--sand-2);
  border-top: 1px solid var(--line);
}

.footer__inner {
  width: min(100%, 1720px);
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
}

.brand--footer {
  color: var(--ink);
}

.footer address {
  display: flex;
  gap: clamp(26px, 4vw, 70px);

  color: #514a42;
  font-style: normal;
}

/* =========================================================
   12. Адаптив
   ========================================================= */

@media (max-width: 1100px) {
  .site-header {
    height: 74px;
    padding-inline: 22px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto auto;
    gap: 18px;
  }

  .nav-toggle {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;

    color: currentColor;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 2px;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px 0;

    background: currentColor;
  }

  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: flex-start;

    padding: 22px;

    color: var(--ink);
    background: rgba(244, 237, 223, 0.96);
  }

  .nav.is-open {
    display: flex;
  }

  .header-cta {
    min-height: 44px;
    padding-inline: 18px;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact {
    min-height: auto;
  }

  .contact::before {
    background-position: center right;
  }

  .contact .section-title {
    max-width: 520px;
  }

  .contact-form {
    max-width: 680px;
  }

  .faq__layout {
    grid-template-columns: 1fr;
  }

  .faq__visual,
  .faq__visual img {
    min-height: 420px;
  }

  .service-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section {
    min-height: auto;
    padding-block: 90px;
  }

  .hero {
    min-height: 760px;
  }

  .stats__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat:nth-child(2) {
    border-right: 0;
  }

  .footer__inner,
  .footer address {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .brand__text strong {
    font-size: 18px;
  }

  .brand__text small {
    display: none;
  }

  .site-header {
    gap: 12px;
  }

  .header-cta {
    display: none;
  }

  .hero__title {
    font-size: 64px;
  }

  .hero__lead {
    font-size: 30px;
  }

  .section-title {
    font-size: 48px;
  }

  .service-grid,
  .review-grid,
  .stats__inner,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 360px;
  }

  .faq__intro {
    margin-bottom: 28px;
  }

  .faq__visual,
  .faq__visual img {
    min-height: 320px;
  }

  .faq-question {
    min-height: 70px;
    padding-inline: 20px;
  }

  .faq-answer p {
    padding: 0 20px 22px;
  }

  .contact .section-title {
    font-size: 56px;
  }

  .contact-points {
    flex-direction: column;
    gap: 18px;
  }

  .contact-form {
    padding: 22px;
  }
}

/* =========================================================
   13. Доступность / reduced motion
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
