:root {
  --green: #3f7d3a;
  --green-dark: #2c5b29;
  --brown: #6b4a30;
  --bg: #fbf9f5;
  --bg-alt: #f3ede2;
  --text: #2b2620;
  --text-muted: #6b6459;
  --border: #e5ddcd;
  --radius: 14px;
  --max-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  overflow-x: hidden;
}

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

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

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

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(26px, 4vw, 36px);
  text-align: center;
  margin-bottom: 40px;
}

p { margin: 0 0 12px; color: var(--text-muted); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.logo__img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}

.nav a:hover { color: var(--green); }

.header__phone {
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
  margin-left: 16px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 10px;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* Hero */
.hero {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 44px);
}

.hero__subtitle {
  font-size: 17px;
  max-width: 46ch;
}

.hero__cta {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn--primary {
  background: var(--green);
  color: #fff;
}

.btn--primary:hover { background: var(--green-dark); }

.btn--secondary {
  background: transparent;
  color: var(--brown);
  border: 2px solid var(--brown);
  padding: 12px 24px;
}

.btn--secondary:hover { background: var(--brown); color: #fff; }

.hero__media img {
  border-radius: var(--radius);
  width: 100%;
  height: 340px;
  object-fit: cover;
  box-shadow: 0 20px 40px -20px rgba(43, 33, 20, .35);
}

/* Facts strip */
.facts {
  background: var(--green-dark);
  color: #fff;
  padding: 28px 0;
}

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

.fact__num {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  margin-bottom: 4px;
}

.fact__label {
  font-size: 14px;
  opacity: .85;
}

/* Services */
.services { padding: 64px 0; }

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.card h3 {
  font-size: 19px;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.card p { margin: 0; font-size: 15px; }

/* About */
.about {
  padding: 64px 0;
  background: var(--bg-alt);
}

.about__text {
  max-width: 70ch;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 16px;
}

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

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

/* Order steps */
.order { padding: 64px 0; }

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

.step {
  text-align: center;
  padding: 10px;
}

.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin: 0 auto 14px;
}

.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; margin: 0; }

/* Reviews */
.reviews {
  padding: 64px 0;
  background: var(--bg-alt);
}

.reviews__source {
  text-align: center;
  margin-bottom: 30px;
  font-size: 14px;
}

.reviews__source a { color: var(--green-dark); font-weight: 600; }

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

.review {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}

.review__text {
  font-size: 14.5px;
  margin-bottom: 14px;
}

.review__author {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brown);
}

/* Contacts */
.contacts { padding: 64px 0; }

.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contacts h2 { text-align: left; margin-bottom: 24px; }

.contacts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacts__list li {
  font-size: 16px;
}

.contacts__list a { font-weight: 700; color: var(--green-dark); }

.contacts__label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contacts__socials {
  display: flex;
  gap: 14px;
}

.contacts__socials a {
  background: var(--bg-alt);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
}

.contacts__socials a:hover { background: var(--green); color: #fff; }

.map-stub {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  height: 100%;
  min-height: 220px;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.map-stub span:first-child { font-weight: 700; font-size: 17px; }

.map-stub__link { color: var(--green-dark); font-weight: 700; }

/* Footer */
.footer {
  background: var(--brown);
  color: #fff;
  padding: 22px 0;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.footer a { font-weight: 700; }

/* Responsive */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { height: 260px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .contacts__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .nav--open { max-height: 320px; }
  .nav a {
    padding: 14px 20px;
    border-top: 1px solid var(--border);
  }
  .header__phone { display: none; }
  .burger { display: flex; }
  .burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger--open span:nth-child(2) { opacity: 0; }
  .burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .facts__grid { grid-template-columns: 1fr; gap: 16px; }
  .hero { padding: 40px 0 32px; }
  .services, .about, .order, .reviews, .contacts { padding: 48px 0; }
}
