﻿:root {
  --green: #06362d;
  --green-dark: #012a24;
  --green-soft: #1f5046;
  --gold: #c99a52;
  --gold-light: #e3b36b;
  --cream: #f0e8dc;
  --cream-2: #f7f2ea;
  --paper: #fbf8f2;
  --ink: #102f29;
  --muted: #586860;
  --line: rgba(6, 54, 45, 0.16);
  --shadow: 0 24px 70px rgba(21, 36, 31, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
footer {
  scroll-margin-top: 24px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

main,
.site-header,
.site-footer {
  min-width: 0;
}

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

img,
svg {
  display: block;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: clamp(170px, 18vw, 245px) 1fr auto;
  align-items: center;
  gap: clamp(22px, 2.2vw, 32px);
  padding: clamp(28px, 3.1vw, 42px) clamp(30px, 4.5vw, 70px);
}

.brand img,
.footer-brand img {
  width: clamp(132px, 11.5vw, 156px);
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 3.2vw, 58px);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 600;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.icon-link,
.review-arrows button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(6, 54, 45, 0.45);
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 253, 248, 0.34);
}

.icon-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.call-button,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.call-button {
  min-height: 48px;
  min-width: 132px;
  background: linear-gradient(180deg, #e0b46f, #c9954d);
  color: #2e271b;
  box-shadow: 0 10px 22px rgba(152, 103, 39, 0.18);
}

.btn:hover,
.call-button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(475px, 53vw, 760px);
  padding: clamp(118px, 13vw, 180px) clamp(30px, 4.5vw, 70px) clamp(30px, 5vw, 80px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(249, 245, 237, 0.92) 0%, rgba(249, 245, 237, 0.72) 34%, rgba(249, 245, 237, 0.08) 58%),
    url("./assets/hero-bg.webp") right bottom / auto 100% no-repeat,
    linear-gradient(103deg, #f9f5ed 0%, #f0e8dc 54%, #dfd2bf 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(249, 245, 237, 0.36) 0%, rgba(249, 245, 237, 0.18) 42%, rgba(249, 245, 237, 0) 66%);
  z-index: 1;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: clamp(425px, 45vw, 650px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: clamp(425px, 45vw, 650px);
  margin-bottom: 18px;
  font-size: clamp(51px, 5.1vw, 72px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(42px, 4.2vw, 58px);
}

h3 {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.12;
}

.lead {
  margin-bottom: 24px;
  color: #283c36;
  font-size: clamp(14px, 1.2vw, 18px);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.btn-primary {
  min-width: 200px;
  background: var(--green);
  color: #fff;
  box-shadow: 0 18px 34px rgba(6, 54, 45, 0.18);
}

.btn-primary span {
  margin-left: 18px;
  color: var(--gold-light);
}

.btn-secondary {
  min-width: 112px;
  border: 1px solid rgba(6, 54, 45, 0.28);
  background: rgba(255, 253, 248, 0.52);
}

.hero-photo {
  display: none;
  position: absolute;
  inset: clamp(92px, 10vw, 138px) 0 0 auto;
  z-index: 2;
  width: clamp(410px, 47vw, 680px);
  height: clamp(383px, 40vw, 560px);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  min-height: 123px;
  padding: clamp(18px, 2.6vw, 38px) clamp(30px, 7vw, 140px);
  background:
    radial-gradient(circle at 85% 18%, rgba(201, 154, 82, 0.16), transparent 34%),
    linear-gradient(90deg, var(--green-dark), var(--green));
  color: #fff;
}

.stat-item {
  min-height: 70px;
  padding: 0 clamp(16px, 2.3vw, 30px);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.stat-item:first-child {
  border-left: 0;
}

.stat-item strong {
  display: block;
  margin-bottom: 11px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(31px, 3vw, 38px);
  font-weight: 600;
  line-height: 1;
}

.stat-item span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.45;
}

.stat-item:nth-child(4) strong {
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.18;
  white-space: nowrap;
}

.section {
  padding: clamp(55px, 5.3vw, 76px) clamp(30px, 4.5vw, 70px);
}

.takeover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(480px, 680px);
  gap: clamp(42px, 5vw, 72px);
  align-items: center;
  justify-content: start;
  min-height: clamp(260px, 25vw, 360px);
  overflow: hidden;
  background: var(--paper);
}

.takeover::before {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: min(41vw, 560px);
  background:
    linear-gradient(90deg, var(--paper) 0%, rgba(251, 248, 242, 0.86) 24%, rgba(251, 248, 242, 0.18) 56%, rgba(251, 248, 242, 0) 100%),
    url("./assets/services-bg.webp") right center / cover no-repeat;
  opacity: 0.96;
  pointer-events: none;
}

.section-copy {
  position: relative;
  z-index: 1;
  max-width: 430px;
}

.section-copy p:not(.eyebrow) {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green);
  font-weight: 700;
}

.service-grid {
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, minmax(88px, 128px));
  gap: clamp(22px, 2.2vw, 34px);
  width: fit-content;
  max-width: 100%;
  padding-left: clamp(34px, 3.4vw, 48px);
}

.service-grid::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 1px;
  height: 118px;
  background: linear-gradient(180deg, transparent, rgba(6, 54, 45, 0.18) 16%, rgba(6, 54, 45, 0.18) 84%, transparent);
}

.service-grid article {
  min-height: 120px;
  min-width: 0;
}

.service-grid svg {
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--green-soft);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-grid h3 {
  max-width: 128px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.36;
  color: #123c35;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading.row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.process {
  background: #fffdf8;
  padding-top: 54px;
  padding-bottom: 56px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.step-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 0;
  min-width: 0;
}

.step-card span {
  display: block;
  margin-bottom: -7px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 600;
}

.step-card span::first-letter {
  color: var(--gold);
}

.step-card h3 {
  min-height: 52px;
  margin-bottom: 11px;
}

.step-card p {
  min-height: 42px;
  color: var(--muted);
  font-size: 14px;
}

.step-image,
.case-visual {
  overflow: hidden;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

.step-image {
  height: 96px;
  margin-top: auto;
}

.crop-docs {
  background-image: url("./assets/step-analysis.webp");
  background-position: 28% 58%;
}

.crop-laptop {
  background-image: url("./assets/step-process.webp");
  background-position: 47% 58%;
}

.crop-cup {
  background-image: url("./assets/step-business.webp");
  background-position: 43% 52%;
}

.quote-card {
  min-height: 225px;
  padding: 44px 36px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 95% 95%, rgba(201, 154, 82, 0.18), transparent 38%),
    linear-gradient(145deg, #063d33, #012a24);
  color: #fff;
}

.quote-card span,
blockquote span {
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 56px;
  line-height: 0.8;
}

.quote-card p {
  max-width: 300px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
}

.cases {
  background: #fffdf8;
  padding-top: 48px;
  padding-bottom: 42px;
}

.case-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.08fr;
  gap: 18px;
  align-items: stretch;
}

.case-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 218px;
  overflow: hidden;
  border: 1px solid rgba(6, 54, 45, 0.08);
  border-radius: 6px;
  background: var(--cream);
  box-shadow: 0 18px 45px rgba(21, 36, 31, 0.06);
  min-width: 0;
}

.case-card.wide {
  grid-template-columns: 1fr 128px 0.74fr;
}

.case-content {
  padding: 24px 26px;
}

.tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 4px;
  background: #e7dccb;
  color: #44564d;
  font-size: 11px;
  font-weight: 700;
}

.case-content h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.08;
}

.case-content p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
}

.case-content strong,
.case-results strong {
  display: block;
  color: var(--green);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
}

.case-content small,
.case-results small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}

.case-results {
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 26px 20px;
  border-left: 1px solid rgba(6, 54, 45, 0.12);
  border-right: 1px solid rgba(6, 54, 45, 0.12);
}

.case-results strong + strong {
  padding-top: 24px;
  border-top: 1px solid rgba(6, 54, 45, 0.12);
}

.case-visual {
  min-height: 100%;
  border-radius: 0;
  box-shadow: none;
}

.warehouse {
  background-image: url("./assets/case-warehouse.webp");
  background-position: 56% center;
}

.documents {
  background-image: url("./assets/case-accounting.webp");
  background-position: 54% center;
}

.reviews {
  padding-top: 34px;
  padding-bottom: 38px;
  background: #fffdf8;
  border-top: 1px solid rgba(6, 54, 45, 0.04);
}

.reviews-shell {
  display: grid;
  grid-template-columns: 150px minmax(460px, 620px) minmax(420px, 520px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(34px, 4vw, 58px);
  max-width: 1568px;
  min-height: 116px;
  margin: 0 auto;
}

.review-content,
.review-author {
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.reviews.is-changing .review-content,
.reviews.is-changing .review-author {
  opacity: 0;
  transform: translateY(4px);
}

.reviews-label {
  display: flex;
  align-items: center;
  min-height: 82px;
  padding-right: 34px;
  border-right: 1px solid rgba(6, 54, 45, 0.14);
}

.eyebrow.stacked {
  margin: 0;
}

.review-content {
  display: grid;
  grid-template-columns: 24px minmax(0, 560px);
  align-items: start;
  gap: 22px;
  max-width: 640px;
}

blockquote {
  margin: 0;
  color: #213932;
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.72;
}

.review-quote {
  display: block;
  margin-top: -7px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.review-meta {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: clamp(28px, 3vw, 44px);
  justify-self: end;
  width: 100%;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(23, 68, 58, 0.9), rgba(224, 180, 111, 0.78));
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  overflow: hidden;
}

.avatar.has-photo {
  background:
    linear-gradient(145deg, rgba(23, 68, 58, 0.16), rgba(224, 180, 111, 0.1)),
    url("./assets/review-avatar-ivan.webp") center / cover no-repeat;
  font-size: 0;
}

.review-author p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.review-author strong {
  color: var(--ink);
  font-size: 13px;
}

.review-arrows {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.review-arrows button {
  width: 42px;
  height: 42px;
  font-size: 24px;
  cursor: pointer;
}

.consultation {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(430px, 600px);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
  min-height: 212px;
  justify-content: center;
  padding: 36px clamp(30px, 8vw, 110px);
  background:
    linear-gradient(90deg, rgba(1, 42, 36, 0.95), rgba(6, 54, 45, 0.97)),
    url("./assets/ref-form-plant.webp") left bottom / 125px auto no-repeat;
  color: #fff;
}

.consultation h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1.02;
}

.consultation p {
  max-width: 365px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.consultation-form {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  justify-self: stretch;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: #fffdf8;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  outline: 0;
}

input {
  height: 44px;
  padding: 0 16px;
}

textarea {
  min-height: 50px;
  resize: vertical;
  padding: 15px 16px;
}

.form-bottom {
  display: grid;
  grid-template-columns: 1fr 185px;
  gap: 24px;
  align-items: center;
}

.form-bottom label {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  line-height: 1.45;
}

.form-bottom input {
  width: 13px;
  height: 13px;
  accent-color: var(--gold);
}

.btn-gold {
  border: 0;
  background: linear-gradient(180deg, #e0b46f, #c9954d);
  color: #2e271b;
  cursor: pointer;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.65fr 0.95fr 1fr;
  gap: clamp(44px, 7vw, 105px);
  padding: 28px clamp(70px, 10vw, 140px) 34px;
  background: #fffdf8;
  color: #233b35;
}

.footer-brand p {
  max-width: 210px;
  margin: 28px 0 38px;
  color: var(--muted);
}

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

.site-footer h3 {
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 800;
}

.site-footer nav,
address {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
}

.site-footer a,
.site-footer span {
  color: var(--muted);
  font-size: 12px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  background: rgba(255, 253, 248, 0.56);
  font-size: 9px;
  font-weight: 800;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.socials a:hover {
  border-color: rgba(6, 54, 45, 0.42);
  background: #fff;
  color: var(--gold);
}

.socials svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.socials span {
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 180px 1fr auto;
  }

  .main-nav {
    gap: 22px;
  }

  .header-actions .icon-link {
    display: none;
  }

  .hero-photo {
    width: 54vw;
    opacity: 0.8;
  }

  .stats,
  .process-grid,
  .case-grid,
  .services-grid,
  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .takeover,
  .consultation,
  .site-footer,
  .contacts-block {
    grid-template-columns: 1fr;
  }

  .contacts-map-wrap {
    min-height: 300px;
  }

  .takeover::before {
    width: min(44vw, 420px);
    opacity: 0.72;
  }

  .reviews-shell {
    grid-template-columns: 130px 1fr;
    align-items: center;
    gap: 24px 34px;
  }

  .consultation {
    justify-content: stretch;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 0;
    width: 100%;
  }

  .service-grid::before {
    display: none;
  }

  .review-content {
    max-width: none;
  }

  .review-meta {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
    max-width: 560px;
  }
}

/* ── Услуги (6 карточек) ── */
.services-section {
  background: #fffdf8;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 24px;
  border: 1px solid rgba(6, 54, 45, 0.09);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.service-card:hover {
  box-shadow: 0 16px 48px rgba(21, 36, 31, 0.1);
  border-color: rgba(6, 54, 45, 0.2);
  transform: translateY(-3px);
}

.service-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.service-card svg {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--green-soft);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
}

.service-card p {
  flex-grow: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  margin-bottom: 16px;
}

.service-price {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(201, 154, 82, 0.14);
  color: #7a5a25;
  font-size: 12px;
  font-weight: 700;
}

.service-card-cta {
  margin-top: auto;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.18s ease;
}

.service-card:hover .service-card-cta {
  color: var(--gold);
}

/* ── Диагностика перед преимуществами ── */
.fit-check {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(36px, 5vw, 86px);
  align-items: start;
  background: var(--green);
  color: #fffdf8;
}

.fit-check .eyebrow {
  color: var(--gold-light);
}

.fit-check h2 {
  max-width: 620px;
  color: #fffdf8;
}

.fit-check__body {
  max-width: 720px;
  padding-top: 8px;
}

.fit-check__body > p {
  max-width: 620px;
  margin: 0 0 26px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 16px;
  line-height: 1.7;
}

.fit-check__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.fit-check__list li {
  position: relative;
  min-height: 76px;
  padding: 18px 18px 18px 44px;
  border: 1px solid rgba(255, 253, 248, 0.13);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 253, 248, 0.92);
  font-size: 14px;
  line-height: 1.45;
}

.fit-check__list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 23px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-light);
}

.fit-check .text-link {
  color: var(--gold-light);
}

/* ── Преимущества ── */
.advantages {
  background: var(--cream);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.adv-card {
  padding: 28px 24px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid rgba(6, 54, 45, 0.08);
}

.adv-card svg {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  fill: none;
  stroke: var(--green-soft);
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.adv-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.adv-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.adv-more,
.mobile-company {
  display: none;
}

/* ── FAQ ── */
.faq-section {
  background: var(--paper);
}

.faq-list {
  max-width: 820px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.22s ease;
}

.faq-item[open] > summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
  max-width: 700px;
}

/* ── Калькулятор тарифов ── */
.tariffs {
  background: var(--paper);
}

.tariff-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(42px, 5vw, 72px);
  align-items: start;
}

.tariff-controls {
  display: grid;
  gap: 20px;
}

.tariff-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tariff-select-wrap {
  position: relative;
}

.tariff-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  translate: 0 -50%;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--green);
  pointer-events: none;
}

.tariff-select {
  width: 100%;
  height: 48px;
  padding: 0 38px 0 16px;
  border: 1px solid rgba(6, 54, 45, 0.2);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.18s ease;
  outline: 0;
}

.tariff-select:focus {
  border-color: rgba(6, 54, 45, 0.5);
}

.tariff-employees {
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  user-select: none;
}

.tariff-employees input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  cursor: pointer;
}

.tariff-employees span {
  font-size: 14px;
  font-weight: 600;
}

.tariff-controls-cta {
  margin-top: 8px;
  align-self: flex-start;
}

.tariff-employees-note {
  margin: -10px 0 0 29px;
  color: var(--muted);
  font-size: 11px;
}

.tariff-result {
  padding: clamp(26px, 3vw, 38px) clamp(26px, 3vw, 42px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 92%, rgba(201, 154, 82, 0.18), transparent 38%),
    linear-gradient(145deg, #063d33, #012a24);
  color: #fff;
}

.tariff-result-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#tariff-result {
  display: block;
  margin-bottom: 18px;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: clamp(42px, 4.2vw, 54px);
  font-weight: 600;
  line-height: 1;
}

.tariff-result p {
  max-width: 330px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.tariff-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}

/* ── Полезные ссылки ── */
.useful-links {
  background: var(--cream-2);
}

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

.link-card {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border: 1px solid rgba(6, 54, 45, 0.1);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(21, 36, 31, 0.1);
  border-color: rgba(6, 54, 45, 0.2);
}

.link-card svg {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--green-soft);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.link-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.14;
}

.link-card p {
  flex-grow: 1;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.link-card-go {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.18s ease;
}

.link-card:hover .link-card-go {
  color: var(--gold);
}

.gis-link {
  color: var(--green) !important;
  font-size: 12px !important;
  font-weight: 700;
  text-decoration: none;
}

.gis-link:hover {
  color: var(--gold) !important;
}

/* ── Блок контактов с картой ── */
.contacts-block {
  display: grid;
  grid-template-columns: minmax(290px, 400px) 1fr;
  min-height: 440px;
  background: var(--cream);
  padding: 0;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  padding: clamp(44px, 5vw, 72px) clamp(30px, 4.5vw, 64px);
}

.contacts-info h2 {
  margin-bottom: 24px;
}

.contacts-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
  margin-bottom: 32px;
}

.contacts-details > a {
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.18s ease;
}

.contacts-details > a:hover {
  color: var(--gold);
}

.contacts-address {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.52;
  font-style: normal;
  margin: 2px 0 0;
}

.contacts-hours {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.contacts-socials {
  margin-top: 4px;
}

.contacts-cta {
  align-self: flex-start;
}

.contacts-map-wrap {
  position: relative;
  overflow: hidden;
}

.contacts-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ── Модальное окно ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 28, 22, 0.62);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

body.modal-open {
  overflow: hidden;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 44px 48px 40px;
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 52px 100px rgba(4, 28, 22, 0.28);
  transform: translateY(22px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.modal-close:hover {
  border-color: rgba(6, 54, 45, 0.45);
  background: #fff;
  color: var(--green);
}

.modal-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.modal-title {
  margin-bottom: 8px;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.06;
}

.modal-subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.modal-form {
  display: grid;
  gap: 12px;
}

.modal-foot {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}

.modal-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  cursor: pointer;
}

.modal-consent input {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
}

@media (max-width: 760px) {
  .site-header {
    position: fixed;
    grid-template-columns: 1fr auto;
    padding: 18px 20px;
    background: rgba(251, 248, 242, 0.92);
    backdrop-filter: blur(12px);
  }

  .brand img {
    width: 128px;
  }

  .header-actions {
    display: none;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    z-index: 150;
    background: var(--green);
    padding: 88px 28px 40px;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.nav-animating {
    display: flex;
  }

  .menu-toggle {
    display: grid;
    gap: 6px;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    place-content: center;
  }

  .menu-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    background: var(--green);
  }

  .hero {
    min-height: auto;
    padding: 132px 20px 42px;
    background:
      radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.75), transparent 28%),
      linear-gradient(103deg, #f9f5ed 0%, #f0e8dc 54%, #dfd2bf 100%);
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(251, 248, 242, 0.98) 0%, rgba(251, 248, 242, 0.86) 60%, rgba(251, 248, 242, 0.45) 100%);
  }

  .hero-photo {
    display: block;
    position: relative;
    inset: auto;
    width: 100%;
    height: 310px;
    margin-top: 30px;
    opacity: 1;
  }

  .hero-copy {
    max-width: none;
  }

  h1 {
    font-size: 42px;
    line-height: 1;
  }

  h1 br {
    display: none;
  }

  h2 {
    font-size: 39px;
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    min-width: 0;
  }

  .stats {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }

  .stat-item {
    min-height: auto;
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .stat-item:first-child {
    border-top: 0;
  }

  .section {
    padding: 56px 20px;
  }

  .takeover {
    background: var(--paper);
  }

  .takeover::before {
    display: none;
  }

  .service-grid,
  .services-grid,
  .adv-grid,
  .process-grid,
  .case-grid,
  .form-row,
  .form-bottom,
  .modal-foot {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 36px 24px 32px;
  }

  .contacts-cta {
    align-self: stretch;
    width: 100%;
  }

  .reviews {
    min-height: 0;
    padding-top: 40px;
    padding-bottom: 42px;
  }

  .reviews-shell {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
  }

  .reviews-label {
    min-height: 0;
    padding-right: 0;
    border-right: 0;
  }

  .review-content {
    grid-template-columns: 22px 1fr;
    gap: 14px;
  }

  blockquote {
    font-size: 16px;
    line-height: 1.62;
  }

  .review-meta {
    grid-column: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    justify-self: start;
  }

  .review-author {
    align-items: flex-start;
  }

  .review-arrows {
    display: none;
  }

  .section-heading.row {
    display: block;
  }

  .case-card,
  .case-card.wide {
    grid-template-columns: 1fr;
  }

  .case-visual {
    min-height: 190px;
  }

  .case-results {
    border: 0;
    border-top: 1px solid rgba(6, 54, 45, 0.12);
    border-bottom: 1px solid rgba(6, 54, 45, 0.12);
  }

  .consultation {
    padding: 50px 20px;
    background: linear-gradient(90deg, rgba(1, 42, 36, 0.95), rgba(6, 54, 45, 0.97));
  }

  .site-footer {
    padding: 36px 20px;
  }

  .tariff-calc {
    grid-template-columns: 1fr;
  }

  .tariff-controls-cta {
    width: 100%;
  }

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

  /* Отзывы — показываем стрелки, убираем разделитель */
  .review-arrows {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
  }

  /* Мобильное меню */
  .menu-toggle span {
    transition: transform 0.22s ease;
  }

  body.nav-open .main-nav {
    opacity: 1;
    transform: translateY(0);
    gap: 0;
    align-items: flex-start;
  }

  body.nav-open .main-nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
    font-weight: 600;
  }

  body.nav-open .menu-toggle {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 151;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
  }

  body.nav-open .menu-toggle span {
    background: #fff;
  }

  body.nav-open .menu-toggle span:first-child {
    transform: rotate(45deg) translate(4px, 4px);
  }

  body.nav-open .menu-toggle span:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
  }
}

@media (max-width: 480px) {
  .links-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 78px;
  }

  body {
    background: #f7f2ea;
    overflow-x: hidden;
  }

  body.nav-open,
  body.modal-open {
    overflow: hidden;
  }

  .site-header {
    min-height: 76px;
    grid-template-columns: minmax(0, 1fr) 46px 46px;
    gap: 8px;
    padding: 14px 14px 14px 18px;
    box-shadow: 0 8px 28px rgba(15, 39, 32, 0.08);
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: min(154px, 43vw);
    max-height: 48px;
    object-fit: contain;
    object-position: left center;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    background: rgba(255, 253, 248, 0.72);
  }

  .header-actions {
    display: flex;
    order: 2;
    min-width: 46px;
    gap: 0;
  }

  .header-actions .icon-link:first-child {
    display: grid;
    position: fixed;
    top: 15px;
    right: 68px;
    z-index: 40;
    width: 46px;
    height: 46px;
    background: var(--green);
    color: #fff;
    border-color: var(--green);
  }

  .header-actions .icon-link:not(:first-child),
  .header-actions .call-button {
    display: none;
  }

  .menu-toggle {
    order: 3;
    display: grid;
    position: fixed;
    top: 15px;
    right: 14px;
    z-index: 41;
    min-width: 46px;
  }

  body.nav-open .main-nav {
    z-index: 220;
    padding: 96px 26px 42px;
    background:
      radial-gradient(circle at 85% 14%, rgba(201, 154, 82, 0.18), transparent 28%),
      linear-gradient(145deg, #06362d, #012a24);
  }

  body.nav-open .main-nav a {
    font-family: var(--serif);
    font-size: 29px;
    line-height: 1.05;
  }

  body.nav-open .menu-toggle {
    z-index: 230;
  }

  .hero {
    min-height: min(780px, 100svh);
    padding: 118px 18px 26px;
    display: flex;
    align-items: flex-start;
    background:
      linear-gradient(180deg, rgba(251, 248, 242, 0.98) 0%, rgba(251, 248, 242, 0.88) 44%, rgba(251, 248, 242, 0.34) 100%),
      linear-gradient(90deg, rgba(251, 248, 242, 0.96) 0%, rgba(251, 248, 242, 0.5) 58%, rgba(251, 248, 242, 0) 100%),
      url("./assets/step-business.webp") 58% bottom / auto 66% no-repeat,
      linear-gradient(103deg, #f9f5ed 0%, #f0e8dc 54%, #dfd2bf 100%);
  }

  .hero::before,
  .hero-photo {
    display: none;
  }

  .hero-copy {
    width: 100%;
    max-width: 420px;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.35;
  }

  h1 {
    max-width: 360px;
    margin-bottom: 16px;
    font-size: clamp(38px, 11.5vw, 48px);
    line-height: 0.98;
  }

  h2 {
    margin-bottom: 18px;
    font-size: clamp(31px, 9vw, 39px);
    line-height: 1.02;
  }

  h3 {
    font-size: 24px;
  }

  .lead {
    max-width: 330px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.62;
    overflow-wrap: anywhere;
  }

  .hero-buttons {
    gap: 12px;
    max-width: 330px;
  }

  .btn,
  .call-button {
    min-height: 52px;
    border-radius: 6px;
    font-size: 13px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: -6px 10px 0;
    padding: 16px;
    border-radius: 0 0 10px 10px;
    min-height: 0;
  }

  .stat-item,
  .stat-item:first-child {
    min-height: 118px;
    padding: 16px 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
  }

  .stat-item strong,
  .stat-item:nth-child(4) strong {
    font-size: 27px;
    line-height: 1.04;
  }

  .stat-item:nth-child(4) strong {
    font-size: 21px;
    white-space: normal;
  }

  .stat-item span {
    font-size: 11px;
  }

  .section {
    padding: 48px 18px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .services-section,
  .cases,
  .reviews,
  .tariffs,
  .faq-section,
  .useful-links {
    background: #fffdf8;
  }

  .services-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(242px, 78vw);
    grid-template-columns: none;
    gap: 14px;
    margin: 0 -18px;
    padding: 2px 18px 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .services-grid.is-auto-scrolling,
  .case-grid.is-auto-scrolling {
    scroll-snap-type: none;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    min-height: 276px;
    padding: 22px 20px;
    scroll-snap-align: start;
    box-shadow: 0 18px 46px rgba(21, 36, 31, 0.08);
  }

  .service-card:hover {
    transform: none;
  }

  .service-card h3,
  .adv-card h3,
  .case-content h3,
  .link-card h3 {
    font-size: 22px;
  }

  .advantages {
    background: var(--cream);
  }

  .fit-check {
    display: block;
    padding-top: 44px;
    padding-bottom: 44px;
    background: var(--green);
  }

  .fit-check h2 {
    font-size: clamp(31px, 8.3vw, 34px);
    line-height: 1.04;
  }

  .fit-check__intro {
    margin-bottom: 20px;
  }

  .fit-check__body {
    padding-top: 0;
  }

  .fit-check__body > p {
    margin-bottom: 22px;
    font-size: 14px;
  }

  .fit-check__list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 22px;
  }

  .fit-check__list li {
    min-height: 0;
    padding: 15px 0 15px 26px;
    border: 0;
    border-bottom: 1px solid rgba(255, 253, 248, 0.14);
    border-radius: 0;
    background: transparent;
    font-size: 13px;
  }

  .fit-check__list li::before {
    left: 2px;
    top: 22px;
    width: 8px;
    height: 8px;
  }

  .advantages .section-heading {
    max-width: 330px;
  }

  .advantages h2 {
    font-size: clamp(31px, 8.3vw, 34px);
    line-height: 1.04;
  }

  .adv-grid {
    gap: 0;
  }

  .adv-grid.is-expanded .adv-card {
    display: grid;
  }

  .adv-card:nth-child(5) {
    order: 1;
  }

  .adv-card:nth-child(2) {
    order: 2;
  }

  .adv-card:nth-child(3) {
    order: 3;
  }

  .adv-card:nth-child(4) {
    order: 4;
  }

  .adv-card:nth-child(1) {
    order: 5;
  }

  .adv-card:nth-child(6) {
    order: 6;
  }

  .adv-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0 14px;
    padding: 20px 0;
    border: 0;
    border-bottom: 1px solid rgba(6, 54, 45, 0.11);
    border-radius: 0;
    background: transparent;
  }

  .adv-grid:not(.is-expanded) .adv-card:nth-child(1),
  .adv-grid:not(.is-expanded) .adv-card:nth-child(6) {
    display: none;
  }

  .adv-card svg {
    grid-row: span 2;
    width: 28px;
    height: 28px;
    margin: 2px 0 0;
  }

  .adv-card h3,
  .adv-card p {
    margin: 0;
    overflow-wrap: anywhere;
  }

  .adv-more {
    display: inline-flex;
    margin-top: 20px;
    border: 0;
    background: transparent;
    color: var(--green);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
  }

  .mobile-company {
    display: block;
    padding-top: 0;
    background: #fffdf8;
  }

  .mobile-company__photo {
    min-height: 330px;
    border-radius: 10px;
    background:
      linear-gradient(180deg, rgba(251, 248, 242, 0) 58%, rgba(251, 248, 242, 0.9) 100%),
      url("./assets/hero-bg.webp") center bottom / cover no-repeat;
    box-shadow: 0 18px 46px rgba(21, 36, 31, 0.08);
  }

  .mobile-company__content {
    margin-top: 20px;
  }

  .mobile-company__content p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
  }

  .process-grid {
    position: relative;
    gap: 0;
  }

  .process-grid::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 20px;
    bottom: 160px;
    width: 1px;
    background: linear-gradient(180deg, rgba(6, 54, 45, 0.18), rgba(6, 54, 45, 0.04));
  }

  .step-card {
    position: relative;
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    min-height: 0;
    padding: 0 0 30px;
  }

  .step-card span {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: 50%;
    background: var(--green);
    color: var(--gold-light);
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 800;
    z-index: 1;
  }

  .step-card h3 {
    min-height: 0;
    margin: 1px 0 8px;
    font-family: var(--sans);
    font-size: 18px;
    line-height: 1.22;
  }

  .step-card p {
    grid-column: 2;
    min-height: 0;
    margin: -8px 0 0;
  }

  .step-image {
    display: none;
  }

  .quote-card {
    margin-top: 8px;
    min-height: 190px;
    padding: 34px 28px;
  }

  .case-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(286px, 86vw);
    grid-template-columns: none;
    gap: 14px;
    margin: 0 -18px;
    padding: 2px 18px 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .case-grid::-webkit-scrollbar {
    display: none;
  }

  .case-card,
  .case-card.wide {
    border-radius: 8px;
    scroll-snap-align: start;
  }

  .case-card.wide .case-results {
    order: 3;
  }

  .case-content {
    padding: 22px 20px;
  }

  .case-content p {
    font-size: 13px;
  }

  .case-results {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px 20px;
  }

  .case-results strong + strong {
    padding-top: 0;
    padding-left: 16px;
    border-top: 0;
    border-left: 1px solid rgba(6, 54, 45, 0.12);
  }

  .reviews {
    display: none;
  }

  .reviews-shell {
    padding: 24px 20px;
    border-radius: 10px;
    background: var(--paper);
    box-shadow: 0 18px 46px rgba(21, 36, 31, 0.08);
  }

  .review-content {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .review-quote {
    margin: 0;
    font-size: 34px;
  }

  .review-meta {
    grid-column: auto;
  }

  .review-arrows {
    display: flex;
  }

  .tariff-result {
    order: -1;
    padding: 28px 22px;
  }

  #tariff-result {
    font-size: clamp(34px, 10vw, 44px);
  }

  .tariff-result p {
    margin-bottom: 18px;
  }

  .tariff-controls {
    padding: 20px 18px;
    border: 1px solid rgba(6, 54, 45, 0.1);
    border-radius: 8px;
    background: #fff;
  }

  .faq-list {
    max-width: none;
    border-top: 0;
  }

  .faq-item {
    margin-bottom: 12px;
    border: 1px solid rgba(6, 54, 45, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(21, 36, 31, 0.04);
  }

  .faq-item summary {
    padding: 18px 16px;
    font-size: 15px;
    line-height: 1.36;
  }

  .faq-item p {
    padding: 0 16px 18px;
  }

  .links-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .link-card {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 0 14px;
    padding: 18px;
  }

  .link-card svg {
    grid-row: span 3;
    width: 30px;
    height: 30px;
    margin: 2px 0 0;
  }

  .link-card p {
    margin-bottom: 0;
  }

  .contacts-block {
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin: 0 10px 18px;
    border-radius: 10px;
    overflow: hidden;
  }

  .contacts-info {
    padding: 34px 22px 24px;
  }

  .contacts-details {
    margin-bottom: 24px;
  }

  .contacts-map-wrap {
    min-height: 280px;
  }

  .contacts-map-wrap iframe {
    min-height: 280px;
  }

  .consultation {
    margin: 0 10px;
    padding: 42px 18px;
    border-radius: 10px;
  }

  .consultation h2 {
    font-size: 34px;
  }

  input {
    height: 50px;
  }

  textarea {
    min-height: 118px;
  }

  .form-bottom label,
  .modal-consent {
    font-size: 10px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 18px 10px 0;
    padding: 34px 20px 40px;
    border-radius: 10px 10px 0 0;
  }

  .footer-brand img {
    width: min(174px, 60vw);
  }

  .footer-brand p {
    margin: 18px 0 22px;
  }

  .modal-overlay {
    align-items: end;
    padding: 12px;
  }

  .modal {
    width: 100%;
    max-height: calc(100svh - 24px);
    overflow: auto;
    padding: 34px 18px 22px;
    border-radius: 12px;
  }

  .modal-title {
    padding-right: 34px;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-top: 108px;
  }

  h1 {
    font-size: 36px;
  }

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

  .stat-item {
    min-height: 0;
  }
}
