:root {
  --lime: #ccdb2a;
  --lime-hover: #b5c222;
  --lime-muted: #eef2d4;
  --lime-ring: #c4d175;
  --forest: #1a3d2e;
  --forest-deep: #132e23;
  --ink: #1a1f1c;
  --text: #2d3330;
  --muted: #5c6560;
  --line: #e8ebe6;
  --surface: #ffffff;
  --surface-muted: #f4f6f3;
  --shadow: 0 14px 40px rgba(26, 61, 46, 0.08);
  --radius: 14px;
  --radius-lg: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.55;
  font-size: 16px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* ——— Header ——— */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.header__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
}

.header__logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  /* Спокойный фон в гамме #ccdb2a, хорошо стыкуется с белой шапкой */
  background: var(--lime-muted);
  background: linear-gradient(165deg, var(--lime-muted) 0%, #f4f6ec 100%);
  border: 1px solid var(--lime-ring);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.header__logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.header__logo-text small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 2px;
}

.header__nav {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 1.5vw, 22px);
  min-width: 0;
}

.header__nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header__nav a:hover {
  color: var(--forest);
}

.header__aside {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.header__phone {
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.98rem;
}

.header__hours {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.header__wa {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #128c7e;
  text-decoration: none;
  background: var(--surface);
  transition: border-color 0.2s, background 0.2s;
}

.header__wa:hover {
  border-color: var(--lime-hover);
  background: var(--surface-muted);
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
  padding: 0 11px;
}

.header__burger span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

.header__drawer {
  border-top: 1px solid var(--line);
  padding: 16px 4vw 20px;
  background: #fff;
}

.header__drawer[hidden] {
  display: none;
}

.header__drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.header__drawer-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.88rem;
  border-radius: 999px;
}

.btn--lg {
  padding: 14px 22px;
  font-size: 1rem;
  border-radius: 12px;
}

.btn--block {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.btn--primary {
  background: var(--lime);
  color: #1e2a0d;
  border-color: rgba(30, 42, 13, 0.12);
}

.btn--primary:hover {
  background: var(--lime-hover);
}

.btn--outline {
  background: var(--surface);
  border-color: #c9d4c4;
  color: var(--forest);
}

.btn--outline:hover {
  border-color: var(--forest);
}

.btn--ghost-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ——— Hero ——— */
.hero {
  padding: 48px 0 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.hero__badge {
  display: inline-block;
  margin: 0 0 14px;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--lime-muted);
  color: #2d4010;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 2.2vw + 1rem, 2.65rem);
  line-height: 1.12;
  color: var(--ink);
  font-weight: 700;
}

.hero__lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
}

.hero__features {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}

.hero__features li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.icon--stroke {
  color: #3d7a2a;
  display: inline-flex;
}

.hero__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__pills {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero__pills li {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
}

.hero__visual-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  background: var(--surface-muted);
}

.hero__visual-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Десктоп: максимально сильная засветка слева */
  background: linear-gradient(
    95deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.98) 10%,
    rgba(255, 255, 255, 0.9) 22%,
    rgba(255, 255, 255, 0.72) 38%,
    rgba(255, 255, 255, 0.42) 55%,
    rgba(255, 255, 255, 0.12) 72%,
    rgba(255, 255, 255, 0) 88%
  );
}

.hero__visual-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 0;
}

/* ——— Sections ——— */
.section {
  padding: 72px 0;
}

.section--muted {
  background: var(--surface-muted);
}

.section__title {
  text-align: center;
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 1vw + 1.1rem, 2rem);
  color: var(--ink);
}

.section__title--left {
  text-align: left;
}

.section__subtitle {
  text-align: center;
  margin: 0 auto 28px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1rem;
}

/* ——— Advantages ——— */
.grid-adv {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 8px;
}

.adv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.adv-card__icon {
  display: inline-flex;
  color: #3d7a2a;
  margin-bottom: 12px;
}

.adv-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--ink);
}

.adv-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* ——— Services rows ——— */
.grid-svc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.svc-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.svc-row:hover {
  border-color: var(--lime-ring);
  box-shadow: 0 8px 24px rgba(26, 61, 46, 0.06);
}

.svc-row__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime-muted);
  color: #2d5a1f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.svc-row__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.svc-row__text strong {
  font-size: 1.02rem;
  color: var(--ink);
}

.svc-row__text span {
  font-size: 0.9rem;
  color: var(--muted);
}

.svc-row__arrow {
  color: var(--muted);
  font-size: 1.2rem;
}

/* ——— About + gallery ——— */
.split-about {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.split-about__intro {
  color: var(--muted);
  margin: 0 0 18px;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
  font-size: 0.96rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e2a0d' stroke-width='2.5'%3E%3Cpath d='M5 12l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.gallery-bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  min-height: 300px;
}

.gallery-bento__large {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8ebe6;
}

.gallery-bento__cell:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.gallery-bento__cell:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.gallery-bento__cell:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.gallery-bento__cell:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.gallery-bento__large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  border-radius: 0;
}

.gallery-bento__cell {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8ebe6;
}

.gallery-bento__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 120px;
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.gallery-bento figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 28px 12px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}

/* ——— Reviews + steps ——— */
.split-reviews {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.reviews-slider__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--surface);
}

.reviews-slider__track {
  display: flex;
  transition: transform 0.35s ease;
}

.review-slide {
  flex: 0 0 100%;
  padding: 22px 22px 26px;
  box-sizing: border-box;
}

.review-slide__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.review-slide__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--lime-muted);
  color: #2d4010;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.review-slide__meta {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.review-slide__stars {
  color: #d4a017;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 10px;
}

.review-slide p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
}

.reviews-slider__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  gap: 12px;
}

.reviews-slider__dots {
  display: flex;
  gap: 8px;
}

.reviews-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #cfd4cf;
  cursor: pointer;
}

.reviews-slider__dot--active {
  background: var(--forest);
}

.reviews-slider__arrows {
  display: flex;
  gap: 8px;
}

.reviews-slider__btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.reviews-slider__btn:hover {
  border-color: var(--lime-hover);
}

.steps-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.steps-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: var(--surface-muted);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.steps-list__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3d7a2a;
}

.steps-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.steps-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ——— Footer ——— */
.footer-main {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.92);
  padding: 56px 0 0;
}

.footer-main__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 0.9fr;
  gap: 28px;
  padding-bottom: 40px;
}

.footer-main__title {
  margin: 0 0 18px;
  font-size: 1.35rem;
  font-weight: 700;
}

.footer-main__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.footer-main__list a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer-main__list a:hover {
  text-decoration: underline;
}

.footer-main__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.75;
  margin-bottom: 4px;
}

.footer-main__map {
  min-height: 260px;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.footer-main__map iframe {
  width: 100%;
  min-height: 260px;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
  display: block;
}

.footer-main__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
}

.footer-main__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-main__bar p {
  margin: 0;
}

.footer-main__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-main__legal a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}

.footer-main__legal a:hover {
  color: #fff;
}

.mobile-cta {
  display: none;
}

/* ——— Responsive ——— */

/* --- Header collapse (max 1100px) --- */
@media (max-width: 1100px) {
  .header__inner {
    grid-template-columns: 1fr auto;
  }

  .header__nav,
  .header__aside {
    display: none;
  }

  .header__burger {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }
}

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
  html,
  body {
    overflow-x: hidden;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__visual-frame::after {
    display: none;
  }

  .hero__visual-frame img {
    aspect-ratio: 16 / 10;
  }

  .split-about {
    grid-template-columns: 1fr;
  }

  .split-reviews {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-main__grid {
    grid-template-columns: 1fr;
  }

  .grid-adv {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    min-height: 0;
  }

  .gallery-bento__large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-bento__cell:nth-child(2),
  .gallery-bento__cell:nth-child(3),
  .gallery-bento__cell:nth-child(4),
  .gallery-bento__cell:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-bento__large img {
    min-height: 220px;
  }
}

/* --- Mobile (max 720px) --- */
@media (max-width: 720px) {
  body {
    padding-bottom: 84px;
    font-size: 15px;
  }

  .container {
    width: min(1120px, 94vw);
  }

  .header__inner {
    min-height: 60px;
    gap: 10px;
  }

  .header__logo-text small {
    display: none;
  }

  .hero {
    padding-top: 20px;
    padding-bottom: 32px;
  }

  .hero__grid {
    gap: 20px;
  }

  .hero h1 {
    font-size: clamp(1.5rem, 3vw + 0.8rem, 1.85rem);
  }

  .hero__lead {
    font-size: 0.95rem;
  }

  .hero__features {
    gap: 10px 14px;
  }

  .hero__features li {
    font-size: 0.85rem;
  }

  .hero__actions {
    flex-direction: column;
    gap: 8px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__pills {
    gap: 6px;
  }

  .hero__pills li {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .section {
    padding: 48px 0;
  }

  .section__title {
    font-size: clamp(1.25rem, 1.5vw + 0.8rem, 1.45rem);
    text-align: left;
  }

  .section__subtitle {
    text-align: left;
    font-size: 0.9rem;
  }

  .grid-adv,
  .grid-svc {
    grid-template-columns: 1fr;
  }

  .adv-card {
    padding: 16px 14px;
  }

  .svc-row {
    padding: 14px 14px;
    gap: 12px;
  }

  .svc-row__icon {
    width: 40px;
    height: 40px;
  }

  .split-about {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-bento {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
    gap: 8px;
  }

  .gallery-bento__large {
    grid-column: 1;
    grid-row: auto;
  }

  .gallery-bento__cell:nth-child(2),
  .gallery-bento__cell:nth-child(3),
  .gallery-bento__cell:nth-child(4),
  .gallery-bento__cell:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery-bento__large img {
    min-height: 180px;
    aspect-ratio: 4 / 3;
  }

  .gallery-bento__cell img {
    min-height: 140px;
  }

  .split-reviews {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .steps-list li {
    padding: 12px 14px;
    gap: 10px;
    grid-template-columns: 40px 1fr;
  }

  .steps-list__icon {
    width: 40px;
    height: 40px;
  }

  .footer-main__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-main {
    padding: 40px 0 0;
  }

  .footer-main__map {
    min-height: 200px;
  }

  .footer-main__map iframe {
    min-height: 200px;
  }

  .footer-main__title {
    font-size: 1.15rem;
  }

  .footer-main__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .footer-main__legal {
    flex-direction: column;
    gap: 8px;
  }

  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(26, 61, 46, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mobile-cta .btn {
    width: 100%;
    padding: 14px 12px;
    font-size: 0.92rem;
  }
}

/* --- Desktop restoration --- */
@media (min-width: 1101px) {
  .header__drawer {
    display: none !important;
  }
}
