:root {
  --ink: #1b2420;
  --ink-soft: #2a3630;
  --forest: #2f5d4a;
  --forest-light: #3d7a60;
  --wood: #c47a3a;
  --wood-soft: #e09a5a;
  --text: #3a4540;
  --muted: #6a7870;
  --bg: #eef2ef;
  --white: #fafbfa;
  --border: #d5ddd8;
  --font: "Onest", system-ui, sans-serif;
  --display: "Literata", Georgia, serif;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow: 0 8px 32px rgba(27, 36, 32, 0.08);
  --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-decoration: none; transition: .2s; }
a:hover { color: var(--wood); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: rgba(255,255,255,.7); }
.section__tag {
  display: inline-block;
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--wood); margin-bottom: 10px;
}
.section--ink .section__tag { color: var(--wood-soft); }
.section__title {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600; line-height: 1.15;
  color: var(--ink); margin-bottom: 14px;
}
.section--ink .section__title { color: #fff; }
.section__desc { font-size: 17px; color: var(--muted); max-width: 560px; }
.section--ink .section__desc { color: rgba(255,255,255,.55); }
.section__head { margin-bottom: 40px; }
.section__head--center { text-align: center; }
.section__head--center .section__desc { margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; font-size: 14px; font-weight: 700;
  border-radius: var(--radius); transition: .25s;
}
.btn--primary { background: var(--forest); color: #fff; }
.btn--primary:hover { background: var(--forest-light); transform: translateY(-1px); }
.btn--wood { background: var(--wood); color: #fff; }
.btn--wood:hover { background: #a8652e; }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn--full { width: 100%; }
.btn--lg { padding: 15px 30px; font-size: 15px; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h);
  background: rgba(250,251,250,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 16px;
}
.logo {
  font-family: var(--display);
  font-size: 22px; font-weight: 600; color: var(--ink);
}
.logo span { color: var(--forest); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  padding: 8px 12px; font-size: 14px; font-weight: 600;
  color: var(--text); border-radius: 6px;
}
.nav__link:hover, .nav__link.active { color: var(--forest); }
.nav__cta {
  margin-left: 6px; padding: 9px 16px;
  background: var(--forest); color: #fff !important; border-radius: var(--radius);
}
.header__phone { font-weight: 700; font-size: 14px; color: var(--ink); white-space: nowrap; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.burger span { width: 22px; height: 2px; background: var(--ink); transition: .25s; }
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  padding-top: var(--header-h);
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  background: var(--ink);
  color: #fff;
}
.hero__content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px clamp(20px, 5vw, 64px);
}
.hero__label {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--wood-soft); margin-bottom: 16px;
}
.hero__title {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600; line-height: 1.1; margin-bottom: 18px;
}
.hero__desc {
  font-size: 17px; color: rgba(255,255,255,.65);
  margin-bottom: 28px; max-width: 440px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 28px; }
.hero__meta strong {
  display: block; font-family: var(--display);
  font-size: 28px; font-weight: 600; color: #fff;
}
.hero__meta span { font-size: 12px; color: rgba(255,255,255,.45); }
.hero__visual { position: relative; min-height: 420px; }
.hero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.page-hero {
  padding: calc(var(--header-h) + 48px) 0 48px;
  background: var(--ink); color: #fff;
}
.page-hero__title {
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600; margin-bottom: 12px;
}
.page-hero__desc { color: rgba(255,255,255,.6); max-width: 520px; }
.breadcrumb {
  font-size: 13px; color: var(--muted);
  padding: 18px 0; display: flex; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; transition: .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__img { height: 200px; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card__tag { font-size: 12px; font-weight: 700; color: var(--wood); margin-bottom: 6px; }
.card__title {
  font-family: var(--display); font-size: 22px; font-weight: 600;
  color: var(--ink); margin-bottom: 8px; line-height: 1.2;
}
.card__title a { color: inherit; }
.card__desc { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 14px; }
.card__price { font-size: 20px; font-weight: 800; color: var(--forest); margin-bottom: 14px; }
.card__price span { font-size: 13px; font-weight: 500; color: var(--muted); }
.card__meta { font-size: 13px; color: var(--muted); margin-bottom: 12px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  padding: 24px; background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-lg);
}
.feature h3 {
  font-family: var(--display); font-size: 20px; font-weight: 600;
  color: #fff; margin-bottom: 8px;
}
.feature p { font-size: 14px; color: rgba(255,255,255,.5); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { text-align: center; padding: 20px 12px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.step__num {
  width: 40px; height: 40px; margin: 0 auto 12px;
  background: var(--forest); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.step__title { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--muted); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.review__stars { color: var(--wood); margin-bottom: 10px; }
.review__text { font-size: 14px; font-style: italic; margin-bottom: 14px; line-height: 1.7; }
.review__author { font-size: 14px; font-weight: 700; color: var(--ink); }
.review__meta { font-size: 12px; color: var(--muted); }

.partner-note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  padding: 28px 32px; background: linear-gradient(135deg, #f4f7f2, #eef3ea);
  border: 1px solid #d4dfd0; border-radius: var(--radius-lg);
}
.partner-note__label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--forest); margin-bottom: 6px; }
.partner-note__title { font-family: var(--display); font-size: 20px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.partner-note__desc { font-size: 14px; color: var(--muted); max-width: 560px; line-height: 1.65; }
.partner-note__link {
  padding: 10px 20px; background: var(--forest); color: #fff !important;
  border-radius: var(--radius); font-weight: 700; font-size: 14px; white-space: nowrap;
}
.partner-note__link:hover { background: var(--wood); }

/* Project detail */
.project-hero {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start;
  margin-bottom: 40px;
}
.project-hero__img { border-radius: var(--radius-lg); overflow: hidden; }
.project-hero__img img { width: 100%; height: 360px; object-fit: cover; }
.project-specs {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.project-specs li {
  display: flex; justify-content: space-between;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px;
}
.project-specs li:last-child { border-bottom: none; }
.project-specs strong { color: var(--ink); }
.content { max-width: 720px; margin: 0 auto 56px; }
.content h2 {
  font-family: var(--display); font-size: 26px; font-weight: 600;
  color: var(--ink); margin: 28px 0 12px;
}
.content p { margin-bottom: 14px; }
.content ul { margin: 0 0 16px 20px; list-style: disc; }
.content li { margin-bottom: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.contact-list li { margin-bottom: 18px; }
.contact-label {
  display: block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 3px;
}
.contact-value { font-size: 17px; font-weight: 600; color: var(--ink); }
.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font); font-size: 15px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  outline: none; background: var(--bg);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--forest); background: #fff;
}
.form-success {
  margin-top: 12px; padding: 12px; background: #ecfdf5; color: #065f46;
  border-radius: var(--radius); font-size: 14px; font-weight: 600; text-align: center;
}
.form-privacy { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.5); padding: 44px 0 18px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer .logo { color: #fff; margin-bottom: 10px; }
.footer-title {
  font-size: 12px; font-weight: 700; color: #fff;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px;
}
.footer-links a { display: block; font-size: 14px; padding: 4px 0; color: rgba(255,255,255,.5); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  padding-top: 18px; font-size: 12px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}

.float-btn {
  position: fixed; bottom: 22px; right: 22px; z-index: 150;
  width: 52px; height: 52px; background: var(--wood); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(196,122,58,.4); font-size: 20px;
}

@media (max-width: 900px) {
  .hero, .project-hero, .contact-grid { grid-template-columns: 1fr; }
  .hero__visual { min-height: 280px; order: -1; }
  .features, .reviews { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px;
    transform: translateY(-110%); opacity: 0; pointer-events: none;
    transition: .25s; border-bottom: 1px solid var(--border);
  }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .header__phone { display: none; }
  .burger { display: flex; }
  .cards, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
