:root {
  color-scheme: light;
  --paper: #f8f4eb;
  --ink: #242b22;
  --muted: #50584c;
  --line: #d7d3c7;
  --forest: #263d31;
  --brick: #913d29;
  --white: #fefbf4;
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 system-ui, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #bd6c4e; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 4rem)); margin-inline: auto; }
.top, nav, .header-actions, .languages { display: flex; align-items: center; }
.top { justify-content: space-between; gap: 1.5rem; min-height: 79px; border-bottom: 1px solid var(--line); }
.brand { color: var(--forest); font: 700 2rem/1 var(--serif); letter-spacing: -.065em; text-decoration: none; white-space: nowrap; }
.brand-period { color: var(--brick); }
nav, .header-actions { gap: clamp(1rem, 2.5vw, 2rem); }
nav a, .header-phone { text-decoration: none; font-size: .92rem; font-weight: 650; }
nav a:hover, .header-phone:hover { text-decoration: underline; }
.header-phone, .phone-number { white-space: nowrap; font-variant-numeric: tabular-nums; }
.languages { gap: .15rem; }
.languages button { min-width: 2.45rem; min-height: 2.55rem; color: var(--muted); background: transparent; border: 1px solid transparent; cursor: pointer; font-size: .875rem; font-weight: 700; }
.languages [aria-pressed="true"] { color: var(--ink); border-color: var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2.5rem, 5vw, 5.5rem); padding-block: clamp(3rem, 6vw, 5.8rem); }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--brick); font-weight: 700; margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 1.35rem; border-top: 2px solid currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(2.55rem, 5.1vw, 4.65rem); line-height: .99; letter-spacing: -.064em; max-width: 15ch; }
h2 { font-size: clamp(2.15rem, 4vw, 3.35rem); line-height: 1.04; letter-spacing: -.05em; }
.lead { margin-top: 1.45rem; color: var(--muted); max-width: 49ch; font-size: 1.075rem; }
.price { margin-top: 1rem; color: var(--forest); font-weight: 740; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; margin-top: 1.55rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1.15rem; background: var(--brick); color: var(--white); border: 1px solid transparent; border-radius: .15rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.button:hover { background: #74301f; }
.hero-phone { display: inline-flex; align-items: center; flex-wrap: wrap; min-height: 44px; column-gap: .35rem; font-weight: 650; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.hero-photo figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .15rem .75rem; margin-top: .65rem; color: var(--muted); font-size: .8rem; }
.section { padding-block: clamp(2.8rem, 6vw, 5.2rem); border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.65rem 2.25rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.steps li { border-top: 2px solid var(--line); padding-top: 1rem; }
.steps h3 { font-size: 1.5rem; line-height: 1.18; letter-spacing: -.025em; }
.steps p, .faq p { color: var(--muted); margin-top: .55rem; }
.inquiry { background: var(--forest); color: var(--white); }
.inquiry-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2.7rem, 5vw, 4.5rem); }
.inquiry-copy p { margin-block: 1rem; color: #e0e7db; max-width: 32ch; }
.inquiry-copy a { display: inline-block; padding-block: .45rem; font-weight: 700; }
.offer { color: var(--ink); background: var(--white); padding: clamp(1.25rem, 4vw, 2.35rem); scroll-margin-top: 1rem; }
.offer h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); }
.offer-intro { margin-top: .55rem; color: var(--muted); }
form { margin-top: 1rem; }
label { display: block; font-weight: 650; margin-bottom: .8rem; }
input { display: block; width: 100%; min-height: 45px; margin-top: .28rem; padding: .5rem .65rem; background: var(--white); color: var(--ink); border: 1px solid #9caa9c; border-radius: .15rem; }
form input[hidden] { display: none; }
form .button { width: 100%; }
form .button:disabled { opacity: .65; cursor: wait; }
.form-note { color: var(--muted); font-size: .875rem; margin-bottom: .8rem; }
#form-status:not(:empty) { margin-top: .75rem; }
.faq h2 { margin-bottom: 1.1rem; }
details { max-width: 840px; border-bottom: 1px solid var(--line); }
summary { padding: .95rem 0; cursor: pointer; font-weight: 700; }
.faq p { margin: 0 0 1rem; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; border-top: 1px solid var(--line); padding-block: 1.65rem; }
.footer p { color: var(--muted); }
.footer-contacts { display: flex; flex-wrap: wrap; gap: .5rem 1.35rem; }
@media (max-width: 920px) { nav { display: none; } }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 2rem); }
  .top { min-height: 65px; }
  .header-phone { display: none; }
  .hero-grid, .steps, .inquiry-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.25rem, 9vw, 3.2rem); overflow-wrap: break-word; }
  .hero-photo img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.comparison-table {
  width: 100%;
  margin-block: 1.7rem 1.5rem;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--white);
}
.comparison-table th,
.comparison-table td { padding: .9rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.comparison-table thead th { color: var(--forest); font-weight: 750; }
.comparison-table tbody th,
.comparison-corner { width: 24%; }
.comparison-table tbody th { color: var(--ink); font-weight: 680; }
.comparison-table tbody td { color: var(--muted); }
.comparison-table tr > :last-child { background: #e7eee4; color: var(--forest); }
@media (max-width: 640px) {
  .comparison-table { display: block; }
  .comparison-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .comparison-table thead,
  .comparison-table tbody { display: block; }
  .comparison-table th,
  .comparison-table td { padding: .7rem .75rem; font-size: .92rem; }
  .comparison-table .comparison-corner { display: none; }
  .comparison-table tbody th { width: auto; grid-column: 1 / -1; border-bottom: 0; padding-bottom: .35rem; }
}
