/* ============ Де’факто — landing styles ============ */

:root {
  --primary: #164399;
  --primary-dark: #0f2f6e;
  --accent: #2f6fed;
  --bg-gray: #f4f6fa;
  --text: #1c2333;
  --text-muted: #5a6377;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 67, 153, 0.10);
  --container: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section { scroll-margin-top: 90px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  border-radius: 10px;
  padding: 14px 28px;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  text-align: center;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(22, 67, 153, 0.25);
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn--big {
  padding: 18px 38px;
  font-size: 17px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid #e8edf5;
  transition: box-shadow 0.25s;
}

.header.is-stuck { box-shadow: 0 6px 24px rgba(20, 40, 90, 0.10); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
  flex-shrink: 0;
}

.logo__icon { width: 44px; height: 44px; }

.logo__text { display: flex; flex-direction: column; line-height: 1.15; }

.logo__name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
}

.logo__sub {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav {
  display: flex;
  gap: 26px;
  margin: 0 auto;
}

.nav__link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15.5px;
  transition: color 0.2s;
}

.nav__link:hover { color: var(--primary); }

.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.header__phone {
  font-weight: 800;
  font-size: 18px;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
}

.header__socials { display: flex; gap: 8px; }

.social-link {
  width: 26px;
  height: 26px;
  color: var(--primary);
  display: inline-flex;
  transition: transform 0.15s, color 0.2s;
}

.social-link:hover { transform: translateY(-2px); color: var(--accent); }
.social-link svg { width: 100%; height: 100%; }
.social-link .max-icon { width: 30px; height: 30px; object-fit: contain; }

.header__cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 64px;
}

.hero__title {
  font-size: clamp(30px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 24px;
}

.highlight {
  background: var(--primary);
  color: var(--white);
  padding: 2px 14px;
  border-radius: 6px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero__text {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__features {
  list-style: none;
  display: flex;
  gap: 36px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 200px;
}

.feature__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid #dfe7f5;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(22, 67, 153, 0.08);
}

.feature__icon svg { width: 26px; height: 26px; }

.feature__text { font-size: 14.5px; font-weight: 500; color: var(--text); }

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero__note {
  font-style: italic;
  font-weight: 500;
  color: var(--text-muted);
  font-size: 16px;
}

.hero__photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbe7fb 0%, #eef3fb 55%, #cddcf7 100%);
  min-height: 420px;
  box-shadow: var(--shadow);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero__photo.is-empty::after {
  content: "Фото директора\Aзагрузите файл images/hero.jpg";
  white-space: pre-line;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  opacity: 0.7;
  padding: 20px;
}

/* ---------- About ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.about__text {
  color: var(--text-muted);
  font-size: 17px;
  margin: 20px 0;
  max-width: 620px;
}

.about__points {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
}

.about__points li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.about__points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--primary);
  font-weight: 800;
}

.about__photo {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #dce8fb, #f0f4fb 55%, #cddcf7);
  box-shadow: var(--shadow);
}

.about__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__photo.is-empty::after {
  content: "Второе фото директора\Aзагрузите images/director-about.jpg";
  white-space: pre-line;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  opacity: 0.7;
  padding: 20px;
}

/* ---------- Offer ---------- */
.offer {
  position: relative;
  overflow: hidden;
  padding: 52px 0;
  color: var(--white);
  background: linear-gradient(110deg, var(--primary-dark), var(--primary) 65%, #2460c0);
}

.offer::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: 10%;
  top: -250px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.04), 0 0 0 72px rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.offer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.eyebrow--light { color: #bbd2ff; margin-bottom: 6px; }

.offer__title {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 8px;
}

.offer__text { color: rgba(255, 255, 255, 0.82); font-size: 16px; }

.btn--light {
  background: var(--white);
  color: var(--primary);
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.btn--light:hover { background: #eaf1fd; transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }

.section--gray { background: var(--bg-gray); }

.section__title {
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  color: var(--primary);
  margin-bottom: 10px;
}

.section__title--left { text-align: left; }

.section__subtitle {
  text-align: center;
  font-size: 19px;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* ---------- Services ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(22, 67, 153, 0.16);
}

.card__img {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #eaf1fd;
}

.card__img svg { width: 100%; height: auto; display: block; }

.card__title {
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  margin-bottom: 14px;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__text {
  font-size: 15px;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 22px;
}

.card__btn { width: 100%; }

/* ---------- Steps ---------- */
.steps__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: steps;
  margin-bottom: 44px;
}

.step {
  position: relative;
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 30px 20px 24px;
  text-align: center;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(22, 67, 153, 0.3);
}

.step__title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.step__text { font-size: 13.5px; color: var(--text-muted); }

.steps__cta { text-align: center; }

/* ---------- Contacts ---------- */
.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contacts__lead {
  font-size: 17px;
  color: var(--text-muted);
  margin: 18px 0 30px;
  max-width: 460px;
}

.contacts__phone {
  display: inline-block;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 24px;
}

.contacts__phone:hover { color: var(--accent); }

.contacts__socials { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  transition: transform 0.15s, filter 0.2s;
}

.social-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.social-btn svg { width: 20px; height: 20px; }
.social-btn .max-icon { width: 22px; height: 22px; object-fit: contain; }
.social-btn--max svg { display: none; }
.social-btn--max::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: url("../images/max.svg?v=1") center / contain no-repeat;
}

.social-btn--max { background: #7b5cf0; }
.social-btn--tg { background: #229ed9; }
.social-btn--wa { background: #25d366; }

.contacts__hint { font-size: 14px; color: var(--text-muted); }

.form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 32px;
}

.form__title {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 22px;
  text-align: center;
}

.form__field { margin-bottom: 18px; }

.form__label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form__input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #dde4f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--text);
  background: #fbfcfe;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
}

.form__input--area { resize: vertical; min-height: 84px; }

.form__btn { width: 100%; margin-top: 6px; }

.form__privacy {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}

.form__success {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #157347;
  background: #e8f7ef;
  border: 1px solid #bfe8d2;
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
}

.form__success.is-error {
  color: #a12535;
  background: #fff0f1;
  border-color: #f1c4c9;
}

.form__btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form__input.is-error { border-color: #e0455a; box-shadow: 0 0 0 3px rgba(224, 69, 90, 0.12); }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 40px 0 26px;
}

.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}

.logo--footer { color: var(--white); }
.logo--footer .logo__sub { color: rgba(255, 255, 255, 0.7); }

.footer__nav {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
}

.footer__nav a:hover { color: var(--white); }

.footer__phone {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
}

.footer__copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 18px;
  margin-top: 8px;
}

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #e2e8f3;
  border-radius: 14px;
  box-shadow: 0 16px 44px rgba(20, 40, 90, 0.22);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.cookie[hidden] { display: none; }

.cookie__text { font-size: 13.5px; color: var(--text-muted); flex: 1; }

.cookie__btn { padding: 10px 26px; flex-shrink: 0; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .header__inner { gap: 18px; }
  .nav { gap: 16px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }

  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 18px 24px;
    gap: 4px;
    box-shadow: 0 18px 30px rgba(20, 40, 90, 0.15);
    border-bottom: 1px solid #e8edf5;
  }

  .nav.is-open .nav__link { padding: 10px 0; font-size: 17px; }

  .burger { display: flex; margin-left: auto; }

  .header__contacts { margin-left: auto; }

  .hero__inner { grid-template-columns: 1fr; padding-top: 36px; }
  .hero__photo { order: -1; min-height: 300px; }
  .hero__features { gap: 20px; }

  .about__inner { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { min-height: 340px; }
  .offer__inner { align-items: flex-start; flex-direction: column; }

  .contacts__inner { grid-template-columns: 1fr; gap: 36px; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 640px) {
  .header__phone { font-size: 15.5px; }
  .header__socials { display: none; }

  .section { padding: 54px 0; }

  .services__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .card__title { min-height: 0; }
  .about__photo { min-height: 280px; }

  .hero__actions { gap: 16px; }
  .btn--big { width: 100%; }
  .hero__note { width: 100%; text-align: center; }

  .cookie { flex-direction: column; text-align: center; }
}

/* ---------- De’facto warm editorial redesign ---------- */
:root {
  --primary: #e94e05;
  --primary-dark: #c94105;
  --accent: #786451;
  --bg-gray: #f2f1ef;
  --text: #282623;
  --text-muted: #716d68;
  --white: #fff;
  --sand: #c8b99e;
  --taupe: #a78f7f;
  --radius: 18px;
  --shadow: 0 12px 34px rgba(56, 47, 39, 0.08);
  --container: 1280px;
}

body { font-family: "Montserrat", "Segoe UI", Arial, sans-serif; }

.header {
  border-bottom: 1px solid #e8e5e1;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header.is-stuck { box-shadow: 0 8px 26px rgba(56, 47, 39, 0.08); }
.header__inner { min-height: 82px; gap: 24px; }
.logo { color: var(--text); gap: 0; }
.logo__name {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.06em;
}
.logo__sub { color: #77716b; font-size: 9px; letter-spacing: 0.12em; }
.nav { gap: clamp(12px, 1.7vw, 26px); }
.nav__link { font-size: 13px; color: #514d48; }
.nav__link:hover { color: var(--primary); }
.header__phone { color: var(--text); font-size: 16px; }
.header__socials { gap: 6px; }
.social-link { color: var(--accent); }
.burger span { background: var(--text); }

.btn { border-radius: 999px; font-size: 13px; padding: 13px 22px; }
.btn--primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 7px 18px rgba(233, 78, 5, 0.18);
}
.btn--primary:hover { background: var(--primary-dark); }
.btn--big { padding: 16px 26px; font-size: 13px; }

.hero {
  background: var(--bg-gray);
  padding: 24px 0;
}
.hero__inner {
  min-height: 590px;
  padding-top: 28px;
  padding-bottom: 28px;
  grid-template-columns: 1fr 0.94fr;
  gap: 54px;
}
.hero .eyebrow { color: var(--accent); }
.hero__title {
  max-width: 680px;
  color: #25221f;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.04;
  text-transform: none;
  letter-spacing: -0.055em;
  margin-bottom: 24px;
}
.hero__title-accent { color: var(--primary); }
.hero__text { color: #605b55; max-width: 550px; font-size: 16px; margin-bottom: 28px; }
.hero__features { gap: 20px; margin-bottom: 30px; }
.feature { max-width: 170px; gap: 9px; }
.feature__icon {
  width: 42px;
  height: 42px;
  background: #fff;
  border: 1px solid #e5e0da;
  box-shadow: none;
  color: var(--primary);
}
.feature__icon svg { width: 21px; height: 21px; }
.feature__text { font-size: 12px; color: #615c56; }
.hero__note { font-size: 13px; color: var(--accent); }
.hero__photo {
  min-height: 520px;
  border-radius: 22px;
  background: linear-gradient(145deg, #dfd8ce, #c8b99e 52%, #a78f7f);
  box-shadow: none;
}
.hero__photo.is-empty::after,
.about__photo.is-empty::after { color: #51473e; opacity: 0.85; }

.section { padding: 88px 0; }
.section__title {
  color: #292622;
  font-size: clamp(30px, 3.4vw, 44px);
  text-transform: none;
  letter-spacing: -0.045em;
}
.section__subtitle { color: var(--text-muted); font-size: 16px; margin-bottom: 42px; }
.eyebrow { color: var(--primary); font-size: 11px; letter-spacing: 0.13em; }

.services__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.card { grid-column: span 2; padding: 18px; border: 1px solid #eeece8; box-shadow: none; }
.card:nth-child(4) { grid-column: 2 / span 2; }
.card:nth-child(5) { grid-column: 4 / span 2; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { background: #f3f0eb; border-radius: 12px; margin-bottom: 18px; }
.card__img svg [fill="#eaf1fd"] { fill: #eee8df; }
.card__img svg [fill="#164399"] { fill: #786451; }
.card__img svg [fill="#2f6fed"] { fill: #e94e05; }
.card__img svg [fill="#9db9e8"] { fill: #c8b99e; }
.card__img svg [fill="#c9daf5"] { fill: #d9cfc2; }
.card__img svg [stroke="#164399"] { stroke: #786451; }
.card__img svg [stroke="#2f6fed"] { stroke: #e94e05; }
.card__title {
  color: #302b26;
  font-size: 15px;
  text-align: left;
  text-transform: none;
  justify-content: flex-start;
  min-height: 42px;
  margin-bottom: 10px;
}
.card__text { font-size: 13px; line-height: 1.65; color: #706b65; margin-bottom: 20px; }
.card__btn { width: auto; align-self: flex-start; }

.about { background: #fff; }
.about__inner { grid-template-columns: 1fr 0.8fr; gap: 80px; }
.about__content .section__title { max-width: 620px; }
.about__text { color: var(--text-muted); font-size: 16px; line-height: 1.8; }
.about__points { gap: 14px; }
.about__points li { color: #514d48; font-size: 14px; }
.about__points li::before { color: var(--primary); }
.about__photo {
  min-height: 490px;
  border-radius: 20px;
  background: linear-gradient(140deg, #e7e2dc, #c8b99e 58%, #a78f7f);
  box-shadow: none;
}

.section--gray { background: #f1f0ee; }
.offer { background: #f1f0ee; color: var(--text); padding: 50px 0; }
.offer::after { right: 14%; border-color: rgba(120,100,81,.15); box-shadow: 0 0 0 36px rgba(120,100,81,.04), 0 0 0 72px rgba(120,100,81,.025); }
.eyebrow--light { color: var(--primary); }
.offer__title { text-transform: none; letter-spacing: -0.035em; }
.offer__text { color: var(--text-muted); font-size: 14px; }
.btn--light { color: #fff; background: var(--primary); box-shadow: 0 7px 18px rgba(233,78,5,.18); }
.btn--light:hover { color: #fff; background: var(--primary-dark); }

.steps__grid { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { background: #f4f2ef; border: 1px solid #ebe7e1; padding: 24px 16px; text-align: left; }
.step__num { width: 38px; height: 38px; background: var(--sand); color: #3c332b; box-shadow: none; font-size: 15px; }
.step:nth-child(even) .step__num { background: var(--primary); color: #fff; }
.step__title { color: #36312b; font-size: 13px; }
.step__text { color: #77716b; font-size: 12px; }

.contacts.section--gray { background: #f1f0ee; }
.contacts__inner { gap: 70px; }
.contacts__lead { color: #706b65; font-size: 15px; }
.contacts__phone { color: #302b26; font-size: 30px; }
.social-btn { border-radius: 999px; background: #786451; font-size: 12px; padding: 11px 16px; }
.social-btn--max, .social-btn--tg, .social-btn--wa { background: #786451; }
.social-btn:hover { background: var(--primary); }
.contacts__hint { color: #77716b; }
.form { border: 1px solid #e9e5df; border-radius: 18px; box-shadow: 0 10px 30px rgba(56,47,39,.06); padding: 32px; }
.form__title { color: #302b26; text-transform: none; }
.form__label { color: #615b54; }
.form__input { border-color: #e3ded7; border-radius: 10px; background: #faf9f7; }
.form__input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(233,78,5,.12); }
.form__privacy { color: #817b74; }
.form__success { background: #f0f5ef; border-color: #d7e4d3; color: #446342; }

.footer { background: #eae8e5; color: #302c28; }
.logo--footer { color: #302c28; }
.logo--footer .logo__sub { color: #77716b; }
.footer__nav a { color: #615b54; font-size: 13px; }
.footer__nav a:hover { color: var(--primary); }
.footer__phone { color: #302c28; font-size: 15px; }
.footer__copy { color: #77716b; border-color: rgba(56,47,39,.13); }
.cookie { border-color: #e3ded7; box-shadow: 0 16px 44px rgba(56,47,39,.18); }
.cookie__btn { background: var(--primary); }

@media (max-width: 1100px) {
  .header__inner { gap: 14px; }
  .nav { gap: 12px; }
  .nav__link { font-size: 12px; }
  .header__cta { padding: 12px 16px; font-size: 11px; }
  .hero__inner { gap: 32px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: auto; }
}

@media (max-width: 900px) {
  .header__inner { min-height: 72px; }
  .header__contacts { margin-left: auto; }
  .hero__inner { min-height: 0; grid-template-columns: 1fr; }
  .hero__photo { order: -1; min-height: 420px; }
  .about__inner { grid-template-columns: 1fr 0.85fr; gap: 32px; }
  .about__photo { min-height: 390px; }
  .steps__grid { grid-template-columns: repeat(3, 1fr); }
  .step { text-align: center; }
}

@media (max-width: 640px) {
  .header__inner { min-height: 68px; }
  .logo__name { font-size: 23px; }
  .logo__sub { font-size: 8px; }
  .header__phone { font-size: 13px; }
  .hero { padding: 10px 0; }
  .hero__inner { padding-top: 12px; padding-bottom: 28px; gap: 25px; }
  .hero__photo { min-height: 300px; border-radius: 16px; }
  .hero__title { font-size: clamp(39px, 11vw, 56px); }
  .hero__text { font-size: 14px; }
  .hero__features { display: grid; grid-template-columns: 1fr; gap: 13px; }
  .feature { max-width: none; flex-direction: row; align-items: center; }
  .feature__icon { flex: 0 0 40px; }
  .feature__text { font-size: 12px; }
  .section { padding: 60px 0; }
  .section__title { font-size: 31px; }
  .section__subtitle { margin-bottom: 30px; }
  .services__grid { grid-template-columns: 1fr; }
  .card { padding: 16px; }
  .card__btn { width: 100%; }
  .about__inner { grid-template-columns: 1fr; }
  .about__photo { min-height: 330px; }
  .offer { padding: 38px 0; }
  .offer__inner { gap: 22px; }
  .offer__title { font-size: 28px; }
  .btn--light { white-space: normal; }
  .steps__grid { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 42px 1fr; column-gap: 14px; text-align: left; align-items: start; }
  .step__num { grid-row: span 2; margin: 0; }
  .step__title { margin-top: 2px; }
  .contacts__phone { font-size: 25px; }
  .form { padding: 24px 18px; }
}

/* ---------- De'facto: restrained editorial styling ---------- */
:root {
  --primary: #e94e05;
  --primary-dark: #c94105;
  --accent: #786451;
  --bg-gray: #f3f1ed;
  --text: #292722;
  --text-muted: #6d6962;
  --white: #fff;
  --sand: #c8b99e;
  --taupe: #a78f7f;
  --radius: 5px;
  --shadow: 0 8px 24px rgba(56, 47, 39, 0.08);
  --container: 1240px;
}

body { font-family: "Source Sans 3", Arial, sans-serif; line-height: 1.6; }
.header { background: #fff; border-color: #e8e4de; backdrop-filter: none; }
.header.is-stuck { box-shadow: 0 3px 12px rgba(56, 47, 39, 0.06); }
.header__inner { min-height: 78px; }
.logo { color: var(--text); }
.logo__name { font: 700 27px/1 Georgia, "Times New Roman", serif; letter-spacing: -0.045em; }
.logo__sub { margin-top: 5px; font-size: 9px; letter-spacing: 0.1em; }
.nav__link { font-size: 14px; }
.header__phone { color: var(--text); font-size: 16px; }
.btn { border-radius: 4px; font-size: 14px; letter-spacing: 0; }
.btn--primary { background: var(--primary); box-shadow: none; text-transform: none; }
.btn--primary:hover { background: var(--primary-dark); transform: none; }
.btn--big { padding: 15px 24px; font-size: 15px; }

.hero { padding: 0; background: #f3f1ed; }
.hero__inner {
  min-height: 0;
  grid-template-columns: 1fr 0.88fr;
  gap: 76px;
  padding-top: 58px;
  padding-bottom: 58px;
}
.hero__content { padding: 20px 0; }
.eyebrow { color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.hero__title {
  max-width: 650px;
  margin: 0 0 22px;
  color: var(--text);
  font: 500 clamp(43px, 5vw, 66px)/1.04 Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
  text-transform: none;
}
.hero__title-accent { color: var(--primary); }
.hero__text { max-width: 520px; margin-bottom: 26px; color: #5f5b55; font-size: 17px; line-height: 1.65; }
.hero__features { gap: 12px 24px; margin-bottom: 28px; }
.feature { max-width: 190px; flex-direction: row; align-items: flex-start; gap: 10px; }
.feature__icon { flex: 0 0 24px; width: 24px; height: 24px; border: 0; border-radius: 0; background: transparent; color: var(--primary); box-shadow: none; }
.feature__icon svg { width: 20px; height: 20px; }
.feature__text { color: #57534e; font-size: 14px; font-weight: 400; line-height: 1.4; }
.hero__actions { gap: 20px; }
.hero__note { font-size: 14px; font-style: normal; }
.hero__photo { min-height: 530px; border-radius: 4px; background: #ded8cf; box-shadow: none; }
.hero__photo img { object-position: center 38%; }
.hero__photo.is-empty::after, .about__photo.is-empty::after { color: #51473e; }

.section { padding: 76px 0; }
.section__title { color: var(--text); font: 500 clamp(32px, 3.4vw, 43px)/1.15 Georgia, "Times New Roman", serif; letter-spacing: -0.035em; text-transform: none; }
.section__title--left { text-align: left; }
.section__subtitle { margin-bottom: 38px; color: var(--text-muted); font-size: 16px; }

.services__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 34px 30px; counter-reset: services; }
.card {
  grid-column: span 2;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid #d9d4cb;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  counter-increment: services;
}
.card:nth-child(4) { grid-column: 2 / span 2; }
.card:nth-child(5) { grid-column: 4 / span 2; }
.card::before { content: "0" counter(services) "  /  УСЛУГИ"; margin-bottom: 16px; color: #928a7f; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; }
.card:hover { transform: none; box-shadow: none; }
.card__img { display: none; }
.card__title { min-height: 0; margin: 0 0 10px; color: var(--text); font: 600 21px/1.25 Georgia, "Times New Roman", serif; text-align: left; text-transform: none; }
.card__text { margin-bottom: 16px; color: #6b665f; font-size: 15px; line-height: 1.6; }
.card__btn { width: auto; align-self: flex-start; padding: 0; color: var(--primary); background: none; font-size: 14px; font-weight: 700; text-align: left; box-shadow: none; }
.card__btn::after { content: "  →"; }
.card__btn:hover { color: var(--primary-dark); background: none; }

.about { background: #fff; }
.about__inner { grid-template-columns: 1fr 0.86fr; gap: 78px; }
.about__content .section__title { max-width: 590px; }
.about__text { color: #625e58; font-size: 17px; line-height: 1.7; }
.about__points { gap: 12px; }
.about__points li { color: #514d48; font-size: 15px; }
.about__points li::before { content: "—"; color: var(--primary); }
.about__photo { min-height: 490px; border-radius: 4px; background: #ded8cf; box-shadow: none; }
.about__photo img { object-position: center 35%; }

.section--gray, .contacts.section--gray { background: #f3f1ed; }

.offer { padding: 42px 0; color: #fff; background: var(--primary); }
.offer::after { display: none; }
.eyebrow--light, .offer__text { color: rgba(255,255,255,.86); }
.offer__title { font: 500 clamp(27px, 3vw, 36px)/1.2 Georgia, "Times New Roman", serif; letter-spacing: -0.025em; text-transform: none; }
.offer__text { font-size: 16px; }
.btn--light { border-radius: 4px; color: var(--text); background: #fff; box-shadow: none; text-transform: none; }
.btn--light:hover { color: var(--text); background: #f3f1ed; transform: none; }

.steps__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.step { padding: 20px 0 0; border: 0; border-top: 1px solid #d9d4cb; border-radius: 0; background: transparent; text-align: left; }
.step__num { width: auto; height: auto; margin-bottom: 16px; color: var(--primary); background: transparent; font: 500 31px/1 Georgia, "Times New Roman", serif; box-shadow: none; }
.step:nth-child(even) .step__num { color: var(--primary); background: transparent; }
.step__title { color: var(--text); font: 600 18px/1.25 Georgia, "Times New Roman", serif; }
.step__text { color: #6b665f; font-size: 14px; line-height: 1.5; }

.contacts__inner { gap: 72px; }
.contacts__lead { color: #625e58; font-size: 17px; }
.contacts__phone { color: var(--text); font-size: clamp(26px, 3vw, 34px); }
.social-btn { border-radius: 4px; background: #786451; font-size: 14px; }
.social-btn--max, .social-btn--tg, .social-btn--wa { background: #786451; }
.social-btn:hover { background: var(--primary); }
.form { border: 1px solid #e2ddd5; border-radius: 4px; box-shadow: none; }
.form__title { color: var(--text); font: 500 25px/1.2 Georgia, "Times New Roman", serif; text-align: left; text-transform: none; }
.form__input { border-color: #dcd6cd; border-radius: 4px; background: #fff; }
.form__input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(233,78,5,.1); }
.form__btn { width: auto; min-width: 210px; }
.form__privacy { text-align: left; }

.footer { color: #fff; background: #302c28; }
.logo--footer, .footer__phone { color: #fff; }
.logo--footer .logo__sub, .footer__nav a { color: rgba(255,255,255,.72); }
.footer__copy { color: rgba(255,255,255,.55); border-color: rgba(255,255,255,.16); }
.cookie { border-radius: 4px; border-color: #e3ded7; box-shadow: 0 10px 30px rgba(56,47,39,.14); }
.reveal, .reveal.is-visible { opacity: 1; transform: none; transition: none; }

@media (max-width: 1100px) {
  .hero__inner { gap: 38px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card, .card:nth-child(4), .card:nth-child(5) { grid-column: auto; }
  .card:last-child { grid-column: 1 / -1; }
  .steps__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .hero__photo { order: 0; min-height: 420px; }
  .hero__content { padding: 0; }
  .about__inner { grid-template-columns: 1fr 0.85fr; gap: 32px; }
  .about__photo { min-height: 390px; }
  .step { text-align: left; }
}

@media (max-width: 640px) {
  .section { padding: 58px 0; }
  .hero__inner { padding-top: 32px; padding-bottom: 38px; gap: 24px; }
  .hero__title { font-size: clamp(41px, 11vw, 56px); }
  .hero__photo { min-height: 340px; }
  .hero__features { grid-template-columns: 1fr; }
  .hero__actions { gap: 14px; }
  .hero__note { width: auto; text-align: left; }
  .services__grid { grid-template-columns: 1fr; gap: 26px; }
  .card, .card:last-child { grid-column: auto; }
  .card__btn { width: auto; }
  .about__inner { grid-template-columns: 1fr; }
  .about__photo { min-height: 330px; }
  .steps__grid { grid-template-columns: 1fr; gap: 18px; }
  .step { display: block; padding: 17px 0 0; }
  .step__num { margin-bottom: 10px; }
  .offer { padding: 36px 0; }
  .offer__title { font-size: 29px; }
  .form__btn { width: 100%; }
}

/* ---------- Larger type and reference-inspired advantages ---------- */
body { font-size: 17px; }
.nav__link { font-size: 15px; }
.header__phone { font-size: 17px; }
.hero__text { font-size: 18px; }
.feature__text { font-size: 15px; }
.section__title { font-size: clamp(36px, 4vw, 50px); }
.section__subtitle { font-size: 18px; }
.card__title { font-size: 23px; }
.card__text, .about__text { font-size: 17px; }
.about__points li { font-size: 16px; }
.step__text { font-size: 16px; }
.step__title { font-size: 20px; }
.contacts__lead { font-size: 18px; }
.form__label, .form__input { font-size: 16px; }

.advantages {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #171512;
  padding: 92px 0;
}
.advantages::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 5% 100%, rgba(201, 65, 5, .2), transparent 42%);
  content: "";
  pointer-events: none;
}
.advantages .container { position: relative; z-index: 1; }
.advantages__layout {
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
}
.advantages__intro { position: sticky; top: 120px; }
.advantages__eyebrow { margin-bottom: 20px; color: #e1a17e; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.advantages__title { color: #fff; font: 500 clamp(38px, 4.4vw, 58px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.advantages__title span { color: #ed7540; }
.advantages__lead { max-width: 380px; margin-top: 22px; color: #c9c2b9; font-size: 18px; line-height: 1.55; }
.advantages__list { margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.22); list-style: none; }
.advantages__item {
  display: grid;
  grid-template-columns: 48px minmax(160px, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 20px;
  min-height: 94px;
  padding: 18px 6px;
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.advantages__number { color: #e97848; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.advantages__item-title { color: #fff; font: 500 23px/1.2 Georgia, "Times New Roman", serif; }
.advantages__item-text { color: #c9c2b9; font-size: 16px; line-height: 1.5; }

@media (max-width: 900px) {
  .advantages__layout { grid-template-columns: 1fr; gap: 34px; }
  .advantages__intro { position: static; }
  .advantages__lead { max-width: 560px; }
}

@media (max-width: 640px) {
  .section__title { font-size: 36px; }
  .section__subtitle { font-size: 17px; }
  .hero__text, .about__text, .contacts__lead { font-size: 17px; }
  .advantages { padding: 62px 0; }
  .advantages__layout { gap: 28px; }
  .advantages__eyebrow { font-size: 11px; }
  .advantages__title { font-size: 40px; }
  .advantages__lead { margin-top: 16px; font-size: 17px; }
  .advantages__item { grid-template-columns: 34px minmax(0, 1fr); gap: 6px 12px; min-height: 0; padding: 18px 2px; }
  .advantages__number { grid-row: 1 / span 2; align-self: start; padding-top: 3px; }
  .advantages__item-title { font-size: 22px; }
  .advantages__item-text { grid-column: 2; font-size: 15px; }
}
