:root {
  color-scheme: light;
  --ink: #162723;
  --muted: #4a5a55;
  --paper: #f7f7f3;
  --line: #cfdbd4;
  --gold: #e4ce9f;
  --dark: #142623;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 16px; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.55; margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -.045em; }
h2 { font-size: clamp(2.35rem, 5vw, 4.2rem); line-height: 1; }
h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
a, button, input, select { touch-action: manipulation; }
:focus-visible { outline: 3px solid #97743c; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; top: -80px; left: 16px; padding: 12px; background: white; }
.skip:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; gap: 11px; align-items: center; font-size: 1.07rem; font-weight: 750; line-height: 1.15; white-space: nowrap; }
.brand img { flex: none; }
.brand small { display: block; color: var(--muted); font-size: .79rem; font-weight: 500; margin-top: 4px; }
nav { display: flex; gap: clamp(14px, 2.5vw, 38px); }
nav a, .footer-inner > a:last-child { display: inline-grid; align-items: center; min-height: 44px; }
nav a:hover, .footer-inner > a:last-child:hover, .contact-phone:hover { text-decoration: underline; text-underline-offset: .24em; }
.header-phone { border: 1px solid #b2c1b9; padding: 11px 15px; min-height: 44px; border-radius: 4px; font-size: .94rem; font-weight: 700; white-space: nowrap; }
.header-phone:hover { background: #e4ebe4; }
.hero { color: white; background: #162a28; }
.hero-inner { min-height: clamp(530px, 46vw, 690px); display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; position: relative; }
.hero { background-image: linear-gradient(90deg, #10211ff2, #10211fbd 36%, #10211f14 74%), url("/assets/hero.webp"); background-size: cover; background-position: center 45%; }
.hero-copy { padding: 55px 0 64px; }
.eyebrow { color: var(--gold); display: flex; align-items: center; gap: 11px; font-size: .9rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { display: block; height: 1px; width: 25px; background: currentColor; }
h1 { margin-top: 22px; font-size: clamp(3rem, 7.3vw, 7rem); line-height: .96; }
.hero-description { max-width: 430px; margin: 24px 0 29px; font-size: clamp(1rem, 1.5vw, 1.18rem); color: #e0ebe5; }
.button { display: inline-flex; justify-content: center; align-items: center; text-align: center; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 4px; font: inherit; font-weight: 750; cursor: pointer; }
.button-gold { color: #1a2a24; background: var(--gold); }
.button-gold:hover { background: #f0dfb8; }
.button:disabled { opacity: .7; cursor: wait; }
.section { padding-block: clamp(60px, 7vw, 104px); scroll-margin-top: 12px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-heading p { max-width: 390px; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service { display: flex; flex-direction: column; padding: clamp(18px, 2vw, 26px); border: 1px solid var(--line); border-top: 3px solid #9a8050; background: #fff; }
.service h3 { font-size: clamp(1.45rem, 2.25vw, 2rem); }
.service > p:first-of-type { margin-top: 12px; font-weight: 600; }
.service ul { display: grid; align-content: start; gap: 8px; flex: 1; margin: 9px 0 22px; padding-left: 19px; color: var(--muted); }
.service li::marker { color: #806737; }
.service-price { padding-top: 14px; border-top: 1px solid var(--line); font-size: 1.65rem; line-height: 1.2; font-weight: 750; letter-spacing: -.035em; }
.service-action { margin-top: 14px; min-height: 46px; color: var(--ink); background: #f0e2c3; }
.service-action:hover { background: var(--gold); }
.discount { background: var(--dark); color: #fff; }
.discount-grid, .guarantee, .contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 76px); }
.discount h2 { margin-top: 20px; }
.discount-copy { margin-top: 20px; max-width: 370px; color: #e0ebe5; }
.lead-form { display: grid; gap: 17px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 12px; }
.lead-form label { display: grid; gap: 7px; font-size: .95rem; font-weight: 600; min-width: 0; }
.lead-form input:not([type="checkbox"]), .lead-form select { width: 100%; min-width: 0; min-height: 48px; border: 1px solid #9cafaa; border-radius: 4px; background-color: #edf2ee; color: var(--ink); padding: 9px 12px; font: inherit; font-size: 1rem; }
.lead-form input::placeholder { color: #52615b; }
.lead-form input[aria-invalid="true"] { border-color: #b3532e; box-shadow: inset 0 0 0 1px #b3532e; }
.field-error { display: block; color: #ffd597; font-size: .875rem; line-height: 1.4; }
.field-error:not(:empty) { margin-top: 7px; }
.lead-form select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, #30443c 50%), linear-gradient(135deg, #30443c 50%, transparent 50%); background-position: right 17px center, right 12px center; background-size: 5px 5px; background-repeat: no-repeat; }
.lead-form .consent { display: flex; flex-direction: row; align-items: center; min-height: 44px; gap: 10px; line-height: 1.4; font-weight: 400; color: #e0ebe5; }
.consent input { margin: 0; width: 21px; height: 21px; flex: none; accent-color: var(--gold); }
.form-status:empty { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); }
.form-status[data-error="true"] { color: #ffd597; }
.guarantee { align-items: center; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.guarantee-terms { max-width: 580px; margin: 27px 0 0; }
.guarantee-terms > div { padding: 15px 0; border-top: 1px solid var(--line); }
.guarantee-terms dt { font-weight: 750; }
.guarantee-terms dd { margin: 5px 0 0; color: var(--muted); line-height: 1.55; }
.guarantee-terms dd a { white-space: nowrap; text-decoration: underline; text-underline-offset: .18em; }
.certificate-panel { padding: clamp(20px, 3vw, 38px); text-align: center; border: 1px solid var(--line); background: #e9eee8; }
.certificate-panel figure { margin: 0; }
.certificate-photo { display: block; width: fit-content; max-width: 100%; margin-inline: auto; }
.certificate-photo img { display: block; max-width: 100%; height: auto; box-shadow: 0 8px 26px #16272326; }
.certificate-panel figcaption { margin-top: 15px; color: var(--muted); font-size: .9rem; line-height: 1.4; }
.document-link { display: inline-flex; margin-top: 8px; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: .24em; }
.reviews { border-top: 1px solid var(--line); }
.reviews .section-heading p { margin-top: 12px; }
.review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.review-card { padding: clamp(20px, 3vw, 30px); border: 1px solid var(--line); background: #fff; }
.review-author { display: flex; align-items: center; gap: 14px; }
.review-author img { flex: none; border-radius: 50%; }
.review-author h3 { font-size: 1.15rem; letter-spacing: 0; }
.review-rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; color: var(--muted); font-size: .9rem; }
.review-stars { font-size: 1.15rem; line-height: 1.3; color: #806737; }
.review-stars[data-rating="4"] {
  background: linear-gradient(90deg, #806737 80%, #b9bcb7 80%);
  background-clip: text;
  color: transparent;
}
.review-card blockquote { margin: 16px 0 0; }
.contacts { border-top: 1px solid var(--line); background: #e9eee8; }
.contacts-grid { align-items: center; }
.contacts p { margin-top: 11px; color: var(--muted); }
.contact-phone { width: fit-content; font-size: clamp(1.7rem, 4.4vw, 3.35rem); font-weight: 750; letter-spacing: -.05em; }
.contact-actions { display: grid; justify-items: start; }
footer { border-top: 1px solid var(--line); }
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .wrap { width: calc(100% - 48px); }
  .header-inner { flex-wrap: wrap; padding-top: 12px; column-gap: 12px; row-gap: 5px; }
  nav { order: 2; width: 100%; flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--line); gap: 0 8px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 36px); }
  .brand { gap: 8px; font-size: .94rem; }
  .brand img { width: 36px; height: 36px; }
  .brand small { font-size: .72rem; }
  .header-phone { font-size: .81rem; padding-inline: 8px; }
  nav { font-size: .875rem; }
  .hero { background-position: 65% center; background-image: linear-gradient(90deg, #10211ff7, #10211fbc 53%, #10211f56), url("/assets/hero.webp"); }
  .hero-inner { min-height: 470px; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.9rem); }
  .hero-description { max-width: 330px; }
  .services, .discount-grid, .guarantee, .review-list, .contacts-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; }
}
@media (max-width: 390px) { .fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
