:root {
  --bg: #f4f0e8;
  --bg-alt: #ece5d8;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-dark: #101814;
  --surface-dark-2: #17231d;
  --ink: #18201c;
  --ink-soft: #51605a;
  --line: rgba(20, 34, 28, 0.1);
  --line-strong: rgba(20, 34, 28, 0.18);
  --accent: #23714a;
  --accent-strong: #1a5b3b;
  --accent-soft: rgba(35, 113, 74, 0.12);
  --accent-glow: rgba(68, 163, 107, 0.22);
  --white: #ffffff;
  --shadow-lg: 0 32px 80px rgba(16, 24, 20, 0.16);
  --shadow-md: 0 18px 48px rgba(16, 24, 20, 0.1);
  --shadow-sm: 0 10px 30px rgba(16, 24, 20, 0.08);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: min(1240px, calc(100% - 32px));
  --header-height: 90px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at top left, rgba(35, 113, 74, 0.08), transparent 32%),
    linear-gradient(180deg, #f7f4ee 0%, var(--bg) 100%);
  color: var(--ink);
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: rgba(35, 113, 74, 0.18);
  color: var(--ink);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

section[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-group--center {
  justify-content: center;
}

.button-group--stacked {
  gap: 10px;
}

.button-group--footer {
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background-size: 140% 140%;
  background-position: 0 0;
  transition:
    transform 0.24s ease,
    background-color 0.24s ease,
    background-position 0.32s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    color 0.24s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background-position: 100% 100%;
}

.button:focus-visible {
  outline: 2px solid rgba(35, 113, 74, 0.35);
  outline-offset: 3px;
}

.button--small {
  min-height: 42px;
  padding-inline: 16px;
  font-size: 0.84rem;
}

.button--primary {
  background: linear-gradient(135deg, #2f8c5d 0%, var(--accent-strong) 100%);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(24, 91, 59, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 24px 48px rgba(24, 91, 59, 0.32);
}

.button--ghost {
  border-color: rgba(24, 32, 28, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 241, 238, 0.92));
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  border-color: rgba(24, 32, 28, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(240, 241, 238, 0.92));
  box-shadow: 0 14px 28px rgba(16, 24, 20, 0.1);
}

.button--avito {
  border-color: rgba(24, 32, 28, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 234, 219, 0.96));
  color: var(--ink);
}

.button--avito:hover,
.button--avito:focus-visible {
  border-color: rgba(220, 117, 29, 0.34);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(248, 225, 200, 1));
}

.button--light {
  border-color: rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  color: var(--white);
}

.button--light:hover,
.button--light:focus-visible {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.section {
  position: relative;
  padding: 112px 0;
}

.section--stone {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46) 0%, rgba(255, 255, 255, 0.1) 100%),
    var(--bg-alt);
}

.section--dark {
  background:
    radial-gradient(circle at top right, rgba(58, 141, 96, 0.18), transparent 26%),
    linear-gradient(180deg, #111a16 0%, #0d1411 100%);
  color: var(--white);
}

.section--cta {
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent);
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 52px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-kicker--light {
  color: rgba(216, 234, 223, 0.88);
}

.section-head {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: end;
  max-width: none;
}

.section-head--compact {
  max-width: 760px;
}

.section-head h2,
.cta-copy h2 {
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.section-intro {
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section--dark .section-intro {
  color: rgba(226, 232, 228, 0.74);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1100;
  padding: 18px 0;
  transition:
    background-color 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    padding 0.24s ease;
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(247, 244, 238, 0.82);
  border-bottom: 1px solid rgba(24, 32, 28, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px rgba(16, 24, 20, 0.08);
}

.site-header:not(.is-scrolled) .brand-name {
  color: var(--white);
}

.site-header:not(.is-scrolled) .brand-subtitle,
.site-header:not(.is-scrolled) .site-nav {
  color: rgba(226, 233, 228, 0.72);
}

.site-header:not(.is-scrolled) .site-nav a:hover,
.site-header:not(.is-scrolled) .site-nav a:focus-visible {
  color: var(--white);
}

.site-header:not(.is-scrolled) .menu-toggle {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(16, 24, 20, 0.18);
  flex-shrink: 0;
}

.brand-logo--footer {
  width: 74px;
  height: 74px;
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: none;
}

.brand-subtitle {
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.header-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.site-nav a {
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.header-actions .button {
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: 0 10px 24px rgba(16, 24, 20, 0.08);
}

.header-actions .button:hover,
.header-actions .button:focus-visible {
  transform: translateY(-3px) scale(1.01);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(24, 32, 28, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.menu-toggle span {
  width: 18px;
  height: 1.8px;
  background: currentColor;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.menu-toggle span + span {
  margin-top: 4px;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5.8px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5.8px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: clip;
  min-height: 100svh;
  padding: calc(var(--header-height) + 44px) 0 92px;
  background:
    linear-gradient(180deg, #131b17 0%, #0f1713 100%);
  color: var(--white);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(16px);
  pointer-events: none;
}

.hero-glow--one {
  top: 76px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: rgba(47, 140, 93, 0.18);
}

.hero-glow--two {
  right: -160px;
  bottom: 80px;
  width: 420px;
  height: 420px;
  background: rgba(47, 140, 93, 0.12);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 34px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  display: block;
  color: rgba(241, 248, 243, 0.72);
}

.hero-lead {
  max-width: 620px;
  margin-top: 24px;
  color: rgba(233, 239, 235, 0.76);
  font-size: 1.08rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 30px;
}

.hero-points li {
  position: relative;
  padding: 16px 18px 16px 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 247, 245, 0.88);
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 18px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #46a86f 0%, #1a5b3b 100%);
  box-shadow: 0 0 0 6px rgba(70, 168, 111, 0.18);
  transform: translateY(-50%);
}

.hero-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(241, 247, 242, 0.9);
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 34px 0 18px;
}

.hero-media::before {
  content: "";
  position: absolute;
  top: 0;
  right: -34px;
  width: min(92%, 560px);
  height: 84%;
  border-radius: 44px;
  background:
    linear-gradient(180deg, rgba(38, 109, 75, 0.26), rgba(38, 109, 75, 0.04)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0));
  z-index: 0;
}

.media-card,
.approach-figure,
.service-card,
.advantage-card,
.price-card,
.gallery-card,
.process-step,
.faq-item,
.cta-card {
  box-shadow: var(--shadow-md);
}

.media-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.media-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.media-card--primary {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  justify-self: end;
  background: rgba(255, 255, 255, 0.04);
}

.hero-note,
.hero-stat {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-note {
  max-width: 360px;
  margin: 0 0 -98px 0;
  padding: 24px;
  background: rgba(8, 14, 11, 0.72);
}

.hero-note__label,
.hero-stat__value {
  display: block;
  margin-bottom: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-note p {
  color: rgba(232, 239, 236, 0.76);
}

.hero-stat {
  width: min(100%, 250px);
  justify-self: end;
  margin: -88px 28px 0 0;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(35, 113, 74, 0.92), rgba(20, 53, 37, 0.88));
}

.hero-stat__text {
  color: rgba(241, 247, 242, 0.78);
  font-size: 0.92rem;
}

.approach-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: stretch;
}

.approach-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
}

.approach-card__lead {
  max-width: 58ch;
  font-size: 1.18rem;
  line-height: 1.5;
}

.approach-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.approach-list li {
  position: relative;
  padding: 18px 20px 18px 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(35, 113, 74, 0.08), rgba(35, 113, 74, 0.03));
  color: var(--ink);
}

.approach-list li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(35, 113, 74, 0.14);
}

.approach-visual {
  position: relative;
}

.approach-figure {
  height: 100%;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.approach-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(16, 24, 20, 0.76);
  color: rgba(245, 247, 245, 0.9);
  backdrop-filter: blur(12px);
}

.approach-badge__title {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  min-height: 360px;
  background: transparent;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 12, 10, 0.02) 30%, rgba(7, 12, 10, 0.82) 100%);
  z-index: 0;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(35, 113, 74, 0.24);
  box-shadow: 0 28px 60px rgba(16, 24, 20, 0.12);
}

.service-card__media {
  margin: 0;
  height: 100%;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card__image--shrubs {
  object-position: center 42%;
}

.service-card:hover .service-card__media img,
.service-card:focus-within .service-card__media img {
  transform: scale(1.04);
}

.service-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 24px;
}

.service-card h3,
.advantage-card h3,
.price-card h3,
.process-step h3,
.faq-question {
  font-size: 1.22rem;
  line-height: 1.2;
}

.service-card h3 {
  max-width: 14ch;
  color: var(--white);
  font-size: 1.5rem;
}

.service-card__index,
.service-card p {
  display: none;
}

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

.advantage-card {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.advantage-card__number {
  display: inline-block;
  margin-bottom: 16px;
  color: #8ad0a8;
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.advantage-card p {
  margin-top: 10px;
  color: rgba(229, 235, 232, 0.72);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.price-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(35, 113, 74, 0.14), transparent 36%),
    rgba(255, 255, 255, 0.92);
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #47a56f 0%, #1a5b3b 100%);
}

.price-card--featured {
  border-color: rgba(35, 113, 74, 0.24);
  box-shadow: 0 24px 64px rgba(26, 91, 59, 0.12);
}

.price-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 28px 20px;
}

.price-card__eyebrow {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.price-card__badge {
  flex-shrink: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  padding: 0 28px 26px;
}

.price-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 14px 10px;
  border-bottom: 1px solid rgba(24, 32, 28, 0.08);
  text-align: center;
  white-space: nowrap;
}

.price-table th:first-child,
.price-table td:first-child,
.price-table tbody th {
  text-align: left;
}

.price-table thead th {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-table tbody th {
  width: 36%;
  font-weight: 700;
}

.price-table td {
  font-weight: 700;
  color: var(--accent-strong);
}

.price-footnote {
  max-width: 860px;
  margin: 26px auto 0;
  color: var(--ink-soft);
  text-align: center;
}

.reviews-summary {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}

.reviews-summary__score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 56px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(47, 140, 93, 0.16), rgba(35, 113, 74, 0.08));
  color: var(--accent-strong);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.reviews-summary p {
  color: var(--ink-soft);
}

.reviews-shell {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(35, 113, 74, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
}

.reviews-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.reviews-toolbar p {
  color: var(--ink-soft);
}

.reviews-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.reviews-control {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  transition:
    transform 0.24s ease,
    border-color 0.24s ease,
    background-color 0.24s ease;
}

.reviews-control:hover,
.reviews-control:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(35, 113, 74, 0.28);
  background: rgba(35, 113, 74, 0.08);
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 320px);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.reviews-track::-webkit-scrollbar {
  height: 8px;
}

.reviews-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(35, 113, 74, 0.28);
}

.review-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(24, 32, 28, 0.08);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 242, 235, 0.86));
  scroll-snap-align: start;
}

.review-card__score {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.review-card p {
  font-size: 1.06rem;
  line-height: 1.35;
}

.review-card__meta {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6, 11, 9, 0.74) 100%);
}

.gallery-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: var(--white);
}

.gallery-card figcaption span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: rgba(220, 234, 226, 0.76);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-card figcaption strong {
  display: block;
  max-width: 16ch;
  font-size: 1.08rem;
  line-height: 1.2;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.05);
}

.gallery-card--a,
.gallery-card--b,
.gallery-card--c,
.gallery-card--d,
.gallery-card--e,
.gallery-card--f,
.gallery-card--g,
.gallery-card--h,
.gallery-card--i {
  grid-column: auto;
  grid-row: auto;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
}

.process-step::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 18px;
  height: 2px;
  background: linear-gradient(90deg, rgba(35, 113, 74, 0.22), rgba(35, 113, 74, 0));
}

.process-step__count {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-family: "Roboto", sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.process-step p {
  margin-top: 10px;
  color: var(--ink-soft);
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  overflow: clip;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 700;
}

.faq-question__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.faq-question__icon::before,
.faq-question__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.faq-question__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-question[aria-expanded="true"] .faq-question__icon::after {
  opacity: 0;
}

.faq-answer {
  padding: 0 28px 24px;
  color: var(--ink-soft);
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
  gap: 28px;
  align-items: stretch;
}

.cta-copy p:not(.section-kicker) {
  margin-top: 18px;
  max-width: 560px;
  color: rgba(226, 232, 228, 0.76);
  font-size: 1.02rem;
}

.cta-media {
  margin-top: 30px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-card {
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(74, 170, 112, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.05);
}

.cta-phone {
  display: inline-block;
  white-space: nowrap;
  font-size: clamp(1.8rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.cta-mail,
.footer-contacts > a {
  display: inline-flex;
  margin-top: 14px;
  color: rgba(236, 242, 238, 0.82);
}

.cta-region {
  margin: 12px 0 28px;
  color: rgba(236, 242, 238, 0.66);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.cta-call-button,
.cta-mail-button {
  width: 100%;
}

.cta-messengers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.site-footer {
  padding: 40px 0 26px;
  background: #0b1210;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(180px, 0.55fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.footer-brand p {
  max-width: 540px;
  margin-top: 18px;
  color: rgba(225, 231, 227, 0.68);
}

.brand--footer .brand-subtitle,
.footer-nav a,
.footer-bottom p {
  color: rgba(225, 231, 227, 0.68);
}

.footer-nav {
  display: grid;
  gap: 10px;
}

.footer-nav a,
.footer-contacts > a {
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contacts > a:hover,
.footer-contacts > a:focus-visible {
  color: var(--white);
}

.footer-contacts p {
  margin-top: 12px;
  color: rgba(225, 231, 227, 0.68);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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

@media (max-width: 1180px) {
  .site-nav {
    gap: 16px;
    font-size: 0.88rem;
  }

  .button--small {
    padding-inline: 13px;
    font-size: 0.8rem;
  }

  .header-actions {
    gap: 6px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .hero-layout,
  .section-head--split,
  .approach-layout,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 13ch;
  }

  .hero-media {
    padding-top: 20px;
  }

  .media-card--primary {
    width: min(100%, 760px);
  }

  .services-grid,
  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-summary {
    max-width: 520px;
  }
}

@media (max-width: 1040px) {
  :root {
    --header-height: 82px;
  }

  .site-header {
    padding: 14px 0;
  }

  .header-inner {
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-panel {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 22px;
    padding: 22px;
    border: 1px solid rgba(24, 32, 28, 0.08);
    border-radius: 28px;
    background: rgba(247, 244, 238, 0.96);
    box-shadow: 0 28px 68px rgba(16, 24, 20, 0.14);
    backdrop-filter: blur(18px);
    max-height: calc(100dvh - var(--header-height) - 26px);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition:
      opacity 0.24s ease,
      transform 0.24s ease;
  }

  .menu-open .header-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav,
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    padding: 6px 0;
    font-size: 1rem;
    color: var(--ink);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + 38px);
  }

  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    justify-content: stretch;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 80px 0;
  }

  .brand-logo {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .hero-copy h1,
  .section-head h2,
  .cta-copy h2 {
    max-width: none;
  }

  .hero-layout {
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 10vw, 4.4rem);
    line-height: 0.92;
  }

  .hero-lead {
    margin-top: 18px;
    font-size: 1rem;
  }

  .hero-points,
  .services-grid,
  .advantages-grid,
  .pricing-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: auto;
    gap: 14px;
    padding: 8px 0 0;
  }

  .hero-media::before {
    right: -10px;
    width: 86%;
    height: 68%;
    border-radius: 32px;
  }

  .hero-note,
  .media-card--primary,
  .hero-stat {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-note {
    order: 1;
    margin: 0;
    max-width: none;
    padding: 20px;
  }

  .media-card--primary {
    order: 2;
    width: 100%;
    border-radius: 26px;
  }

  .hero-stat {
    order: 3;
    width: 100%;
    margin: 0;
    justify-self: stretch;
    padding: 18px 20px;
  }

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

  .service-card__body {
    padding: 20px;
  }

  .service-card h3 {
    font-size: 1.34rem;
  }

  .advantage-card,
  .process-step {
    padding: 24px 20px;
  }

  .price-card,
  .cta-card {
    border-radius: 24px;
  }

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

  .reviews-summary {
    padding: 24px;
    gap: 12px;
  }

  .reviews-shell {
    padding: 22px;
  }

  .reviews-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .reviews-track {
    grid-auto-columns: minmax(248px, 84vw);
    gap: 16px;
  }

  .review-card {
    min-height: 208px;
    padding: 22px;
    gap: 16px;
  }

  .review-card p {
    font-size: 1rem;
  }

  .gallery-card--a,
  .gallery-card--b,
  .gallery-card--c,
  .gallery-card--d,
  .gallery-card--e,
  .gallery-card--f,
  .gallery-card--g,
  .gallery-card--h,
  .gallery-card--i {
    grid-column: auto;
    grid-row: auto;
    min-height: 260px;
  }

  .price-card__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .table-wrap {
    padding-right: 18px;
    padding-left: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 20px, 100%);
    --header-height: 74px;
  }

  .button,
  .button--small {
    width: 100%;
    min-height: 52px;
  }

  .site-header {
    padding: 10px 0;
  }

  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .brand-copy {
    gap: 2px;
  }

  .brand-name {
    font-size: 0.96rem;
    line-height: 1;
  }

  .brand-subtitle {
    display: none;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  .header-panel {
    top: calc(var(--header-height) + 8px);
    left: 10px;
    right: 10px;
    gap: 18px;
    padding: 18px;
    border-radius: 24px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 8px 0;
    font-size: 0.98rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 18px);
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-kicker {
    margin-bottom: 12px;
    font-size: 0.84rem;
    letter-spacing: 0.12em;
  }

  .section-kicker::before {
    width: 34px;
  }

  .hero-copy h1 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
  }

  .hero-lead {
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .hero-points {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 24px 0 24px;
  }

  .hero-direct,
  .button-group {
    flex-direction: column;
    gap: 10px;
  }

  .contact-pill {
    justify-content: center;
    min-height: 50px;
    padding-inline: 16px;
    text-align: center;
  }

  .approach-card,
  .cta-card,
  .process-step,
  .price-card__head {
    padding-inline: 22px;
  }

  .approach-card {
    padding: 24px 22px;
  }

  .approach-card__lead {
    font-size: 1.04rem;
  }

  .approach-list {
    margin-top: 20px;
    gap: 10px;
  }

  .approach-list li {
    padding: 16px 16px 16px 44px;
  }

  .hero-note,
  .hero-stat {
    border-radius: 22px;
  }

  .hero-note {
    padding: 18px;
  }

  .hero-note__label,
  .hero-stat__value {
    font-size: 0.96rem;
  }

  .hero-media::before {
    display: none;
  }

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

  .gallery-card {
    min-height: 300px;
  }

  .reviews-shell {
    padding: 20px;
  }

  .reviews-summary {
    padding: 20px;
  }

  .reviews-summary__score {
    min-height: 50px;
    min-width: 88px;
    font-size: 1.45rem;
  }

  .reviews-controls {
    width: 100%;
    justify-content: space-between;
  }

  .reviews-track {
    grid-auto-columns: minmax(236px, 88vw);
    gap: 14px;
  }

  .review-card {
    min-height: 196px;
    padding: 20px;
    gap: 14px;
  }

  .cta-phone {
    font-size: clamp(1.55rem, 8vw, 1.9rem);
  }

  .cta-region {
    margin: 10px 0 22px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
  }

  .cta-media {
    margin-top: 22px;
    min-height: 220px;
  }

  .cta-messengers {
    grid-template-columns: 1fr;
  }

  .price-table {
    min-width: 520px;
  }

  .price-table th,
  .price-table td {
    padding: 12px 10px;
  }

  .price-card__badge {
    padding: 8px 12px;
    font-size: 0.76rem;
  }

  .faq-question,
  .faq-answer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer-grid {
    gap: 22px;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: clamp(2.2rem, 12.8vw, 3.2rem);
  }

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

  .reviews-track {
    grid-auto-columns: minmax(220px, 90vw);
  }

  .cta-card,
  .approach-card,
  .process-step,
  .price-card__head {
    padding-inline: 18px;
  }

  .table-wrap {
    padding-right: 14px;
    padding-left: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
