:root {
  color-scheme: light;
  --page: #f5f5ec;
  --paper: #fffef8;
  --ink: #1b3028;
  --muted: #4d6358;
  --line: #d0d9ce;
  --green: #24493b;
  --forest: #172f27;
  --mint: #dce8c0;
  --error: #8e332a;
  --radius: 14px;
  font: 16px/1.55 system-ui, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; background: var(--page); color: var(--ink); }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #3d7857; outline-offset: 4px; }
.wrap { width: min(100% - 96px, 1280px); margin-inline: auto; }
.skip { position: absolute; left: 10px; top: 10px; z-index: 4; transform: translateY(-160%); background: var(--paper); padding: 9px 13px; }
.skip:focus { transform: none; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; white-space: nowrap; font-weight: 750; font-size: 1.12rem; text-decoration: none; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--green); }
.brand-mark::after { content: ""; width: 13px; height: 13px; border: 2px solid #f5f5ec; border-right: 0; border-bottom: 0; transform: translateY(2px) rotate(45deg); }
.site-header nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.site-header nav a, .header-phone { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; font-weight: 650; text-decoration: none; }
.site-header nav a:hover, .header-phone:hover { text-decoration: underline; }
.header-phone { flex: none; white-space: nowrap; }
.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: stretch; gap: clamp(28px, 5vw, 72px); min-height: 66vh; padding: clamp(34px, 5vw, 68px) 0 clamp(58px, 8vw, 110px); }
.hero-content { align-self: center; min-width: 0; padding-block: 24px; animation: enter .55s ease-out both; }
.eyebrow { color: var(--green); font-size: .92rem; font-weight: 720; }
h1 { margin-top: 19px; font-size: clamp(2.78rem, 5.63vw, 5.55rem); font-weight: 650; line-height: .99; letter-spacing: -.063em; }
h1 em { display: block; color: #496c50; font-family: Georgia, serif; font-weight: 400; }
.hero-description { max-width: 38ch; margin-block: 25px 27px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.19rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 23px; min-height: 52px; padding: 12px 19px; border: 1px solid transparent; border-radius: 8px; background: var(--green); color: white; font: inherit; font-weight: 690; text-decoration: none; cursor: pointer; transition: transform .16s, background .16s; }
.button:hover { background: var(--forest); transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button span { color: #d7e8bc; font-size: 1.1rem; }
.hero-note { margin-top: 12px; color: var(--muted); font-size: .83rem; }
.hero-photo { position: relative; min-height: clamp(360px, 40vw, 575px); overflow: hidden; border-radius: var(--radius); background: #809b91; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 51%; display: block; position: absolute; inset: 0; transition: transform .3s; }
.hero-photo:hover img { transform: scale(1.024); }
.property, .questions { padding: clamp(48px, 7vw, 92px) 0; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(0, .65fr); align-items: end; gap: 17px 34px; margin-bottom: 27px; }
h2 { font-size: clamp(2.05rem, 4.15vw, 4rem); font-weight: 650; line-height: 1.04; letter-spacing: -.057em; text-wrap: balance; }
.section-heading > p { max-width: 46ch; color: var(--muted); }
.property-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.property-grid article { min-width: 0; padding: 20px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.property-grid h3 { margin: 13px 0 6px; font-size: 1.09rem; line-height: 1.2; letter-spacing: -.025em; }
.property-grid p { color: var(--muted); font-size: .92rem; }
.property-mark { display: block; width: 24px; height: 24px; border: 1.5px solid #446c53; border-radius: 3px; background: #e6eddb; }
.mark-flat { background: linear-gradient(90deg,transparent 46%,#446c53 47% 53%,transparent 54%),linear-gradient(transparent 46%,#446c53 47% 53%,#e6eddb 54%); }
.mark-house { width: 20px; height: 20px; margin: 3px 2px 1px; transform: rotate(45deg); }
.mark-land { background: repeating-linear-gradient(145deg,#e6eddb 0 4px,#446c53 5px 6px); }
.mark-business { border-width: 4px 1.5px 1.5px 4px; }
.process { padding: clamp(50px, 7.5vw, 95px) 0; background: var(--forest); color: #f5f5ec; }
.process .section-heading > p, .steps p { color: #c1d3c6; }
.steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.steps li { border-top: 1px solid #537166; padding: 17px 0 14px; counter-increment: steps; }
.steps li::before { content: counter(steps,decimal-leading-zero); color: var(--mint); font-size: .83rem; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 8px 0 6px; font-size: clamp(1.07rem, 1.7vw, 1.39rem); }
.steps p { max-width: 34ch; font-size: .93rem; }
.risk { padding: 15px 18px; margin-top: 20px; border-left: 3px solid #b6cc8f; background: #24443a; color: #e2eee4; max-width: 82ch; font-size: .91rem; }
.application { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: clamp(24px,6vw,80px); padding-block: clamp(50px,8vw,106px); }
.application-copy { padding-top: 8px; }
.application-copy h2 { margin-block: 14px 16px; text-wrap: initial; }
.application-copy > p:not(.eyebrow) { max-width: 39ch; color: var(--muted); }
.contact { display: grid; gap: 4px; margin-top: 25px; }
.contact a { width: fit-content; display: flex; align-items: center; min-height: 44px; color: var(--green); font-size: 1.18rem; font-weight: 720; }
.contact span { color: var(--muted); font-size: .85rem; }
.form-card { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: clamp(18px,4vw,33px); }
.application-form, .fields { display: grid; gap: 12px; }
.fields { gap: 6px; }
.fields label { margin-top: 6px; font-size: .88rem; font-weight: 680; }
.fields label span { margin-left: 3px; color: var(--muted); font-weight: 450; }
.fields input, .fields select { width: 100%; min-width: 0; min-height: 47px; border: 1px solid #bccdc0; border-radius: 8px; padding: 9px 11px; background: white; color: var(--ink); font: inherit; }
.fields [aria-invalid=true] { border-color: var(--error); }
.trap { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.consent-text, .consent-check { color: var(--muted); font-size: .83rem; }
.consent-text summary, .policy summary { cursor: pointer; min-height: 44px; padding-block: 9px; text-decoration: underline; text-underline-offset: 3px; }
.consent-text p + p, .policy p + p { margin-top: 8px; }
.consent-check { display: flex; align-items: flex-start; gap: 9px; min-height: 44px; cursor: pointer; }
.consent-check input { width: 17px; height: 17px; margin: 3px 0 0; flex: none; accent-color: var(--green); }
.feedback { display: grid; gap: 4px; margin-bottom: 14px; padding: 11px 13px; border-radius: 8px; font-size: .9rem; overflow-wrap: anywhere; }
.feedback.success { background: #e4efda; color: #2a513c; }
.feedback.error { background: #f7e8e1; color: var(--error); }
.field-error { color: var(--error); font-size: .82rem; }
.questions h2 { margin-bottom: 24px; }
.question-list { border-top: 1px solid var(--line); }
.question-list details { border-bottom: 1px solid var(--line); }
.question-list summary { cursor: pointer; padding: 15px 0; min-height: 52px; font-weight: 670; }
.question-list details p { max-width: 70ch; margin-bottom: 16px; color: var(--muted); }
.footer { padding-block: 31px 23px; border-top: 1px solid var(--line); background: #e9ede1; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 22px; margin-bottom: 15px; }
.footer-top p, .operator, .credit, .policy { color: var(--muted); font-size: .84rem; }
.footer-contacts { display: grid; gap: 1px; padding-top: 5px; }
.footer-contacts a { display: flex; align-items: center; min-height: 44px; font-weight: 660; }
.policy { max-width: 81ch; }
.credit { margin-top: 8px; }
@keyframes enter { from { transform: translateY(7px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 60px); }
  h1 { font-size: clamp(2.48rem,5.7vw,4rem); }
  .property-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .site-header { min-height: 63px; gap: 6px 10px; flex-wrap: wrap; padding-block: 7px; }
  .site-header nav { order: 3; width: 100%; justify-content: space-between; gap: 5px; }
  .site-header nav a, .header-phone { font-size: .78rem; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark { width: 31px; height: 31px; }
  .hero { grid-template-columns: minmax(0,1fr); gap: 21px; min-height: auto; padding-top: 27px; padding-bottom: 39px; }
  .hero-content { padding: 0; }
  h1 { font-size: clamp(2.2rem, 8.9vw, 4rem); }
  .hero-description { margin-block: 17px 19px; }
  .hero-photo { min-height: clamp(230px, 65vw, 370px); }
  .section-heading, .steps, .application { grid-template-columns: minmax(0,1fr); }
  .steps { gap: 4px; }
  .form-card .button { width: 100%; }
}
@media (max-width: 430px) {
  .property-grid { grid-template-columns: minmax(0,1fr); }
  .property-grid article { padding: 15px; }
}
