:root {
  color-scheme: light;
  --ink: #202e25;
  --green: #1c362c;
  --muted: #526057;
  --page: #faf8f2;
  --sage: #e8eee5;
  --line: #d8ddd3;
  --white: #fffefa;
  --gold: #f2d29e;
  font: 18px/1.55 "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  scroll-padding-top: 24px;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: 0.22em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #9d510c; outline-offset: 4px; }
.wrap { width: min(calc(100% - 96px), 1320px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; inset: 0 auto auto 0; padding: 12px 20px; background: var(--white); transform: translateY(-120%); }
.skip-link:focus { transform: translateY(0); }
.page-header { padding: 17px 0; }
.header-content, .footer-content { display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; }
.brand-name { color: #843b27; font: 700 1.52rem/1.12 Georgia, serif; letter-spacing: -0.025em; }
.brand-mark { display: block; inline-size: 54px; block-size: 54px; flex: 0 0 54px; border-radius: 50%; }
nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 36px); }
nav a { display: flex; align-items: center; min-height: 46px; font-weight: 600; white-space: nowrap; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.65em; min-height: 54px; padding: 11px 21px; border: 1px solid transparent; border-radius: 8px; color: var(--white); background: var(--green); font-weight: 700; line-height: 1.35; text-align: center; text-decoration: none; }
.button:hover { background: #294a3e; }
.button-small { min-height: 48px; padding-inline: 17px; white-space: nowrap; }
.hero { display: grid; grid-template-columns: 1fr 1.13fr; min-height: 525px; overflow: hidden; border-radius: 18px; background: var(--green); color: var(--white); }
.hero-copy { align-self: center; padding: clamp(36px, 4.4vw, 69px); }
.eyebrow { margin-bottom: 19px; color: var(--gold); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
.eyebrow strong { color: var(--white); font-size: 1.06em; font-weight: 800; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -0.049em; }
h1 { font-size: clamp(3.05rem, 5.2vw, 5.05rem); line-height: 1; }
.hero-description { max-width: 32ch; margin-top: 23px; color: #e7ede7; font-size: 1.11rem; }
.hero-actions { display: flex; align-items: center; gap: 9px 21px; flex-wrap: wrap; margin-top: 28px; }
.button-light { background: var(--gold); color: #262b20; }
.button-light:hover { background: #ffe2b2; }
.hero-contact { display: grid; justify-items: start; min-width: 0; max-width: 100%; }
.hero-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; }
.hero :focus-visible { outline-color: var(--gold); }
.hero-photo { position: relative; min-height: 100%; }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 51%; }
.hero-photo figcaption { position: absolute; inset: auto 12px 12px auto; padding: 3px 8px; border-radius: 5px; background: var(--green); color: var(--white); font-size: 0.78rem; }
.section { padding-block: clamp(48px, 6vw, 88px); }
h2 { font-size: clamp(2.25rem, 4.25vw, 3.7rem); line-height: 1.07; }
h3 { font-size: 1.21rem; line-height: 1.25; }
.section-heading { margin-bottom: 28px; }
.section-heading p, .section-intro, .estimate-copy p { margin-top: 12px; color: var(--muted); font-size: 1.09rem; max-width: 39ch; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.7vw, 36px); border: 1px solid var(--line); border-top: 4px solid #668776; border-radius: 12px; background: var(--white); }
.service-card p { flex: 1; margin: 12px 0 14px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 0.55em; min-height: 44px; color: var(--green); font-weight: 700; }
.text-link:hover { text-decoration-thickness: 2px; }
.process { background: var(--sage); }
.process-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 6vw, 96px); }
.steps { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li + li { padding-top: 22px; border-top: 1px solid #cbd5c9; }
.step-number { display: grid; place-items: center; inline-size: 44px; block-size: 44px; flex: 0 0 44px; border-radius: 50%; background: var(--green); color: var(--white); font-weight: 700; }
.steps h3 { margin: 2px 0 6px; }
.steps p, .faq details p { color: var(--muted); }
.estimate { display: grid; grid-template-columns: 0.78fr 1.22fr; align-items: start; gap: clamp(24px, 6vw, 86px); }
.estimate-copy { padding-top: 14px; }
.estimate-contacts { display: grid; justify-items: start; gap: 5px; margin-top: 23px; }
.email-link { overflow-wrap: anywhere; }
.estimate-form { display: grid; gap: 19px; min-width: 0; padding: clamp(18px, 3.4vw, 38px); border: 1px solid var(--line); border-radius: 14px; background: var(--white); }
.preview-note, .result { padding: 11px 14px; border-radius: 7px; background: var(--sage); }
.preview-note { font-size: 0.94rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 15px; }
label { display: block; min-width: 0; font-weight: 650; }
.field-help, .optional { color: var(--muted); font-size: 0.88rem; font-weight: 400; }
.field-help { display: block; margin-top: 3px; }
input, select, textarea { display: block; width: 100%; min-height: 49px; margin-top: 5px; padding: 8px 10px; border: 1px solid #87978a; border-radius: 6px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
textarea::placeholder { color: #626c64; }
.estimate-form .button { justify-self: start; }
.faq { display: grid; grid-template-columns: 0.76fr 1.24fr; gap: clamp(24px, 5vw, 72px); border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { position: relative; padding: 15px 36px 15px 0; list-style: none; font-size: 1.05rem; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-52%); font-size: 1.5rem; }
details[open] summary::after { content: "−"; }
.faq details p { padding: 0 30px 16px 0; }
.page-footer { padding: 23px 0; background: var(--sage); }
.footer-content, .footer-contacts { flex-wrap: wrap; }
.footer-contacts { display: flex; align-items: center; gap: 0 24px; }
@media (max-width: 1080px) {
  .wrap { width: calc(100% - 64px); }
  .hero { min-height: 480px; }
}
@media (max-width: 820px) {
  .header-content { flex-wrap: wrap; gap: 5px 16px; }
  nav { order: 3; width: 100%; justify-content: space-between; }
  .page-header { padding: 11px 0 6px; }
  .hero { min-height: 0; grid-template-columns: 1fr; }
  .hero-photo { min-height: 320px; }
  .estimate, .faq { grid-template-columns: 1fr; }
  .service-grid { gap: 12px; }
  .service-card { padding: 20px; }
}
@media (max-width: 595px) {
  .wrap { width: calc(100% - 32px); }
  .header-content { gap: 7px 8px; }
  .brand { gap: 7px; min-width: 0; }
  .brand-mark { inline-size: 45px; block-size: 45px; flex-basis: 45px; }
  .brand-name { font-size: 1.22rem; }
  .button-small { padding-inline: 9px; font-size: 0.9rem; }
  nav { gap: 8px; }
  nav a { font-size: 0.91rem; }
  .hero-copy { padding: 32px 22px 29px; }
  h1 { font-size: clamp(2.48rem, 10.2vw, 3.5rem); }
  .hero-description { font-size: 1.02rem; }
  .hero-actions { gap: 4px 16px; }
  .hero-photo { min-height: clamp(195px, 61vw, 300px); }
  .service-grid, .process-layout, .fields { grid-template-columns: 1fr; }
  .estimate-copy { padding-top: 0; }
  .footer-content { gap: 6px 20px; }
}

@media (max-width: 400px) {
  .brand-name { max-width: 9ch; }
}
