:root {
  --beige-50: #f6f1e9;
  --beige-100: #ebe2d1;
  --green-700: #0f3d2e; /* тёмно-зелёный */
  --green-600: #165c43;
  --green-200: #bad9c9;
  --white: #ffffff;
  --text: #1f2a24;
  --muted: #5c6b63;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(15, 61, 46, 0.08);
  --shadow-md: 0 10px 24px rgba(15, 61, 46, 0.12);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--beige-50);
  line-height: 1.55;
}

.container { width: min(1120px, 92%); margin: 0 auto; }

h1, h2, h3 { margin: 0 0 12px; line-height: 1.25; }
h1 { font-size: clamp(28px, 4.5vw, 44px); }
h2 { font-size: clamp(22px, 3.2vw, 32px); }
h3 { font-size: clamp(18px, 2.6vw, 22px); }
p { margin: 0 0 14px; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--green-700); color: var(--white); }
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; border-color: var(--green-700); color: var(--green-700); }
.btn--ghost:hover { background: var(--green-700); color: var(--white); }
.btn--contrast { background: var(--white); color: var(--green-700); border-color: var(--white); }
.btn--contrast:hover { box-shadow: var(--shadow-sm); }
.btn--full { display: flex; width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--green-700), var(--green-600)); box-shadow: inset 0 0 0 3px var(--green-200); }
.brand__title { font-weight: 700; color: var(--green-700); }
.brand__subtitle { font-size: 12px; color: var(--muted); }
.header-phone { color: var(--green-700); text-decoration: none; font-weight: 600; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--beige-100), var(--beige-50)); padding: 44px 0 28px; }
.hero__inner { display: grid; grid-template-columns: 1fr; gap: 16px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

/* Services */
.services { padding: 36px 0; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.service-card__icon { font-size: 26px; margin-bottom: 8px; }

/* Pricing */
.pricing { padding: 36px 0; background: var(--white); }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card {
  background: var(--beige-50);
  border: 1px solid var(--beige-100);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.price-card--accent { background: var(--white); border-color: var(--green-200); box-shadow: var(--shadow-md); position: relative; }
.badge { position: absolute; top: 12px; right: 12px; background: var(--green-700); color: var(--white); padding: 6px 10px; border-radius: 999px; font-size: 12px; }
.price-card__price { font-size: 22px; font-weight: 700; color: var(--green-700); margin-bottom: 10px; }
.price-card__list { margin: 0 0 14px; padding: 0 0 0 18px; }
.pricing__note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Districts */
.districts { padding: 36px 0; }
.district-card { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); text-align: center; border: 1px solid var(--beige-100); }

/* Partner */
.partner { background: var(--beige-100); padding: 18px 0; }
.partner__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.partner__inner p { margin: 0; }

/* Carousel (универсальная) */
.carousel {
  --slides-per-view: 1;
  --gap: 14px;
  position: relative;
}
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  gap: var(--gap);
  will-change: transform;
  transition: transform .35s ease;
}
.carousel__slide {
  min-width: calc((100% - (var(--gap) * (var(--slides-per-view) - 1))) / var(--slides-per-view));
}
.carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--beige-100);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.carousel__nav--prev { left: -8px; }
.carousel__nav--next { right: -8px; }
.carousel__nav::before { content: ''; display: block; width: 9px; height: 9px; border: 2px solid var(--green-700); border-top: 0; border-right: 0; margin: 12px auto; transform: rotate(45deg); }
.carousel__nav--next::before { transform: rotate(-135deg); }
.carousel:focus-visible .carousel__nav { outline: 2px solid var(--green-200); }

/* Footer & CTA */
.cta { background: linear-gradient(180deg, var(--green-700), var(--green-600)); color: var(--white); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0; }
.cta__text p { color: rgba(255,255,255,0.9); }
.site-footer { background: var(--white); padding: 20px 0; border-top: 1px solid var(--beige-100); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.footer__contacts { display: flex; gap: 12px; }
.footer__contacts a { color: var(--green-700); text-decoration: none; }

/* Responsive */
@media (max-width: 960px) {
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .carousel { --slides-per-view: 2; }
}
@media (max-width: 640px) {
  .pricing__grid { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: stretch; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .carousel { --slides-per-view: 1; }
  .partner__inner { flex-direction: column; align-items: flex-start; }
}


