:root {
  --ink: #17211c;
  --muted: #4d5b53;
  --paper: #f6f1e6;
  --paper-2: #efe6d4;
  --white: #fffdf8;
  --green: #0e4b3c;
  --green-2: #166454;
  --clay: #c56a32;
  --line: rgba(23, 33, 28, 0.14);
  --shadow: 0 22px 50px rgba(23, 33, 28, 0.12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
p { margin: 0; color: var(--muted); }

.wrap { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.skip {
  position: fixed;
  z-index: 50;
  left: 12px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
}
.skip:focus { transform: none; }

.topbar {
  background: var(--green);
  color: #f3ead8;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 230, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 26px; }
.mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #f6e7c8;
  font-family: var(--serif);
  font-size: 20px;
}
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-size: 15px; font-weight: 560; }
.nav a.is-active { color: var(--green); box-shadow: inset 0 -2px 0 var(--clay); }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
}
.menu-btn span { display: block; width: 18px; height: 2px; margin: 5px auto; background: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  background: var(--clay);
  color: #1a120c;
  font-weight: 650;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: #d4834d; }
.btn-dark { background: var(--green); color: #f6f1e6; }
.btn-dark:hover { background: var(--green-2); }
.btn-line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

.hero { padding: 36px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: end;
}
.kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); max-width: 11ch; }
.lead { margin-top: 18px; max-width: 38rem; font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photo { position: relative; margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.hero-photo::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 42%;
  height: 42%;
  background: var(--green);
  z-index: -1;
}
.caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 240px;
  padding: 12px 14px;
  background: var(--white);
  font-size: 14px;
  color: var(--ink);
}

.band { background: var(--green); color: #f4ecdc; }
.band-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.band-row div { padding: 22px 18px; border-left: 1px solid rgba(244, 236, 220, 0.18); }
.band-row strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 560; }
.band-row span { color: rgba(244, 236, 220, 0.78); font-size: 14px; }

.section { padding: 88px 0; }
.section h2 { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 16ch; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.ticks { margin: 22px 0 0; padding: 0; list-style: none; }
.ticks li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 20px; width: 10px; height: 10px; background: var(--clay); }

.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.card { background: var(--white); border: 1px solid var(--line); }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card div { padding: 18px 18px 22px; }
.card h3 { font-size: 1.45rem; margin-bottom: 8px; }
.num { color: var(--clay); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; }

.steps { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.steps img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.step b { font-family: var(--serif); font-size: 1.4rem; color: var(--green); }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.price { padding: 24px; background: var(--white); border-top: 4px solid var(--green); }
.price.is-main { background: var(--green); color: #f6f1e6; }
.price.is-main p, .price.is-main li { color: rgba(246, 241, 230, 0.82); }
.price h3 { font-size: 1.6rem; }
.sum { margin: 12px 0; font-family: var(--serif); font-size: 2rem; }
.price ul { margin: 0 0 18px; padding-left: 18px; }
.price li { margin: 6px 0; }

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 650; font-size: 1.05rem; }
.faq p { margin-top: 8px; }

.close {
  background: var(--ink);
  color: #f6f1e6;
  padding: 72px 0;
}
.close h2, .close p { color: #f6f1e6; }
.close p { max-width: 40rem; margin: 14px 0 22px; }
.phone-line { margin-top: 16px; }
.phone-line a { color: #f0c9a4; font-family: var(--serif); font-size: 1.6rem; }

.page-head { padding: 48px 0 10px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4rem); max-width: 14ch; }
.page-head p { margin-top: 14px; max-width: 40rem; }

.about-grid, .contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 36px; }
.about-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.prose p + p { margin-top: 14px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.principles article { padding: 18px; background: var(--white); border-bottom: 3px solid var(--clay); }

.service-list { display: grid; gap: 22px; }
.service-row { display: grid; grid-template-columns: 180px 1fr; gap: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.service-row img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

.contact-card, .form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px;
}
.contact-card a, .contact-card p { display: block; margin-top: 8px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 650; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px;
  color: var(--ink);
}
.hp { position: absolute; left: -9999px; }
.map { margin-top: 22px; }
.map iframe { width: 100%; height: 360px; border: 0; }

.legal { display: grid; grid-template-columns: 260px 1fr; gap: 32px; }
.legal aside { padding: 16px; background: var(--white); border-left: 4px solid var(--green); }
.legal aside li { margin: 6px 0; }
.legal h2 { font-size: 1.6rem; margin: 22px 0 8px; }
.date { margin-top: 22px; font-size: 14px; }

.thanks { min-height: 52vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.thanks h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }

.footer { background: #101815; color: #e7dfd0; padding: 48px 0 20px; }
.footer a { color: #e7dfd0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.8fr 1fr; gap: 24px; }
.footer p, .footer a { display: block; margin-top: 8px; color: rgba(231, 223, 208, 0.78); }
.footer h2 { font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--sans); }
.fine { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(231, 223, 208, 0.16); font-size: 14px; display: flex; justify-content: space-between; gap: 12px; }

.cookies {
  position: fixed;
  z-index: 30;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 760px;
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 16px;
}
.cookies[hidden] { display: none; }
.cookie-row, .cookie-actions { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-actions { margin-top: 12px; }
.cookie-actions .btn { min-height: 40px; }
.drawer { margin-top: 12px; display: grid; gap: 8px; }
.drawer[hidden] { display: none; }
.drawer label { display: flex; gap: 10px; align-items: center; }

.reveal { opacity: 0; transform: translateY(12px); animation: rise 0.7s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .hero-grid, .split, .steps, .about-grid, .contact-grid, .legal, .footer-grid, .prices, .principles, .band-row, .cards {
    grid-template-columns: 1fr;
  }
  .band-row div { border-left: 0; border-top: 1px solid rgba(244, 236, 220, 0.18); }
  .service-row { grid-template-columns: 1fr; }
  .topbar .wrap { flex-direction: column; }
  .fine { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { animation: none; opacity: 1; transform: none; }
}
