:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --surface: #ffffff;
  --surface-soft: #eef2ea;
  --pine: #174b36;
  --pine-dark: #0f3728;
  --pine-light: #dce9de;
  --terracotta: #c4512e;
  --terracotta-hover: #ad3f22;
  --ink: #183027;
  --muted: #5d6d65;
  --line: #d7ddd5;
  --danger: #a52b20;
  --success: #28683e;
  --radius: 16px;
  --control-radius: 12px;
  --page: min(1180px, calc(100% - 48px));
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; min-width: 320px; background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }

.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 10px 14px; background: var(--pine); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 20; top: 0; height: 72px; background: rgb(246 245 239 / .94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { width: var(--page); height: 100%; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 750; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--pine); color: white; font-size: 14px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav > a:not(.nav-book) { color: var(--muted); }
.nav-book { padding: 10px 16px; border-radius: var(--control-radius); background: var(--pine); color: white; }

.hero { width: var(--page); min-height: calc(100dvh - 72px); margin: 0 auto; padding: 48px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.hero-copy { max-width: 560px; }
.eyebrow { margin: 0 0 18px; color: var(--terracotta); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { margin: 0; font-size: clamp(50px, 6vw, 80px); line-height: .98; letter-spacing: -.055em; font-weight: 720; }
.hero-lead { max-width: 450px; margin: 24px 0 0; color: var(--muted); font-size: clamp(19px, 2vw, 24px); font-weight: 550; }
.hero-actions { display: flex; align-items: stretch; gap: 12px; margin-top: 32px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--control-radius); padding: 0 22px; font-weight: 750; white-space: nowrap; cursor: pointer; transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: scale(.98); }
.button-primary { background: var(--terracotta); color: white; }
.button-primary:hover { background: var(--terracotta-hover); }
.button-secondary { border-color: #aebbb3; background: var(--surface); color: var(--pine-dark); }
.button-secondary:hover { border-color: var(--pine); }
.phone-button { flex-direction: column; gap: 0; min-width: 166px; line-height: 1.25; }
.phone-button small { color: var(--muted); font-size: 11px; font-weight: 550; }
.phone-button[aria-disabled="true"] { cursor: not-allowed; }
.hero-visual { position: relative; margin: 0; }
.hero-visual img { width: 100%; height: min(70vh, 650px); object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 70px rgb(35 77 55 / .18); }
.hero-visual figcaption { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 8px; background: rgb(255 255 255 / .9); color: var(--muted); font-size: 11px; }

.quick-facts { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: 0 12px 36px rgb(35 77 55 / .08); }
.quick-facts > div { min-height: 118px; padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.quick-facts > div + div { border-left: 1px solid var(--line); }
.quick-facts strong { color: var(--pine); font-size: 28px; line-height: 1; letter-spacing: -.03em; }
.quick-facts span { margin-top: 9px; color: var(--muted); font-size: 13px; }

.booking-section { width: var(--page); margin: 0 auto; padding: 120px 0; }
.section-heading { max-width: 720px; }
h2 { margin: 0; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.045em; }
.section-heading p { max-width: 620px; margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.booking-form { margin-top: 52px; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.calculator-panel, .summary, .contact-panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.calculator-panel { padding: clamp(24px, 4vw, 44px); }
h3 { margin: 0; font-size: 25px; letter-spacing: -.025em; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.calculator-grid { margin-top: 30px; }
.field { min-width: 0; display: flex; flex-direction: column; }
.field > label, .options legend { margin-bottom: 8px; color: var(--ink); font-size: 14px; font-weight: 700; }
.field input, .field textarea { width: 100%; border: 1px solid #aab6ae; border-radius: var(--control-radius); outline: 0; background: white; color: var(--ink); padding: 13px 14px; transition: border-color .18s, box-shadow .18s; }
.field > input { height: 52px; }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #74837b; opacity: 1; }
.field input:focus, .field textarea:focus, .stepper:focus-within { border-color: var(--pine); box-shadow: 0 0 0 3px rgb(23 75 54 / .14); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-hint { margin-top: 5px; color: var(--muted); font-size: 12px; }
.field-error { min-height: 18px; margin-top: 4px; color: var(--danger); font-size: 12px; }
.stepper { height: 52px; display: grid; grid-template-columns: 46px 1fr 46px; border: 1px solid #aab6ae; border-radius: var(--control-radius); background: white; overflow: hidden; }
.stepper button { border: 0; background: var(--surface-soft); color: var(--pine); font-size: 22px; font-weight: 700; cursor: pointer; }
.stepper button:hover { background: var(--pine-light); }
.stepper input { min-width: 0; height: 50px; border: 0; border-radius: 0; padding: 0 6px; text-align: center; font-weight: 750; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.stepper input:focus { box-shadow: none; }
.options { margin: 14px 0 0; padding: 0; border: 0; }
.options legend { padding: 0; }
.option-row { min-height: 82px; display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center; border-top: 1px solid var(--line); cursor: pointer; }
.option-row input[type="checkbox"], .consent input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.check-box { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid #85958b; border-radius: 6px; background: white; }
.check-box::after { content: ""; width: 9px; height: 5px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg) translateY(-1px) scale(0); transition: transform .15s ease; }
input:checked + .check-box { border-color: var(--pine); background: var(--pine); }
input:checked + .check-box::after { transform: rotate(-45deg) translateY(-1px) scale(1); }
input:focus-visible + .check-box { outline: 3px solid rgb(23 75 54 / .18); outline-offset: 2px; }
.option-copy { display: flex; flex-direction: column; }
.option-copy strong { font-size: 15px; }
.option-copy small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.option-row b { color: var(--pine); font-size: 15px; }
.broom-row { cursor: default; }
.stepper-small { width: 142px; grid-template-columns: 40px 1fr 40px; }

.summary { position: sticky; top: 96px; padding: 28px; box-shadow: 0 12px 36px rgb(35 77 55 / .08); }
.summary-label { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.summary-total { display: block; margin-top: 8px; color: var(--pine); font-size: 42px; line-height: 1; letter-spacing: -.045em; }
.summary-note { min-height: 42px; margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.breakdown { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.breakdown > div { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.breakdown dt, .breakdown dd { margin: 0; }
.breakdown dd { flex: 0 0 auto; color: var(--ink); font-weight: 700; }
.summary-button { width: 100%; margin-top: 26px; }
.contact-panel { margin-top: 24px; padding: clamp(24px, 4vw, 44px); scroll-margin-top: 90px; }
.contact-heading { max-width: 600px; }
.contact-heading p { margin: 8px 0 0; color: var(--muted); }
.contact-grid { margin-top: 28px; }
.field-wide { grid-column: 1 / -1; }
.bot-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 12px; color: var(--muted); font-size: 13px; cursor: pointer; }
.consent-error { display: block; margin-left: 33px; }
.submit-row { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: center; margin-top: 20px; }
.submit-button { position: relative; overflow: hidden; }
.submit-button:disabled { opacity: .72; cursor: wait; }
.loading-bar { position: absolute; left: 0; bottom: 0; width: 40%; height: 3px; background: white; transform: translateX(-110%); opacity: 0; }
.is-loading .loading-bar { opacity: 1; animation: loading 1s ease-in-out infinite; }
.form-status { min-height: 21px; margin: 0; font-size: 14px; }
.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="error"] { color: var(--danger); }

.details-section { width: var(--page); margin: 0 auto; padding: 110px 0; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 8vw, 100px); align-items: start; }
.details-copy h2 { font-size: clamp(38px, 4vw, 56px); }
.condition-list { margin-top: 36px; display: grid; gap: 24px; }
.condition-list article { display: grid; grid-template-columns: 145px 1fr; gap: 18px; align-items: start; }
.condition-list strong { color: var(--pine); font-size: 18px; }
.condition-list p { margin: 0; color: var(--muted); }
.housing-note { margin: 34px 0 0; padding: 18px; border-radius: var(--control-radius); background: var(--surface-soft); color: var(--muted); font-size: 14px; }
.housing-note strong { color: var(--ink); }
.image-pair { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; align-items: end; }
.image-pair figure { margin: 0; }
.image-pair img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.image-pair figure:first-child img { height: 490px; }
.image-pair figure:last-child img { height: 380px; }
.image-pair figcaption { margin-top: 8px; color: var(--muted); font-size: 11px; }

.phone-strip { width: var(--page); margin: 0 auto 96px; padding: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-radius: var(--radius); background: var(--pine-light); }
.phone-strip h2 { font-size: clamp(26px, 3vw, 38px); }
.phone-strip p { margin: 5px 0 0; color: var(--muted); }
.footer { width: var(--page); min-height: 120px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer > a:last-child { justify-self: end; color: var(--pine); font-weight: 750; }

@keyframes loading { to { transform: translateX(250%); } }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero h1 { font-size: clamp(44px, 6vw, 60px); }
  .quick-facts { grid-template-columns: repeat(2, 1fr); }
  .quick-facts > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .quick-facts > div:nth-child(4) { border-top: 1px solid var(--line); }
  .calculator-layout { grid-template-columns: minmax(0, 1fr) 310px; }
  .details-section { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --page: calc(100% - 32px); }
  html { scroll-padding-top: 68px; }
  .site-header { height: 64px; }
  .nav > a:not(.nav-book) { display: none; }
  .nav-book { padding: 9px 12px; }
  .hero { min-height: auto; padding: 36px 0 48px; grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .hero h1 { max-width: 520px; font-size: clamp(44px, 13vw, 62px); }
  .hero-lead { margin-top: 18px; }
  .hero-actions { margin-top: 26px; }
  .hero-visual img { height: 360px; }
  .quick-facts > div { min-height: 100px; padding: 18px; }
  .quick-facts strong { font-size: 23px; }
  .booking-section { padding: 82px 0; }
  .calculator-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .details-section { padding: 80px 0; }
  .phone-strip { margin-bottom: 60px; }
}

@media (max-width: 520px) {
  .brand { font-size: 13px; }
  .brand-mark { width: 30px; height: 30px; }
  .nav-book { font-size: 12px; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .button { min-height: 50px; padding: 0 14px; }
  .phone-button { min-width: 0; }
  .hero-visual img { height: 310px; }
  .hero-visual figcaption { position: static; padding: 7px 0 0; background: transparent; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts > div + div, .quick-facts > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .calculator-panel, .summary, .contact-panel { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .field-wide { grid-column: 1; }
  .option-row { grid-template-columns: 24px 1fr auto; }
  .stepper-small { width: 126px; grid-template-columns: 36px 1fr 36px; }
  .submit-row { grid-template-columns: 1fr; }
  .image-pair { grid-template-columns: 1fr .78fr; gap: 9px; }
  .image-pair figure:first-child img { height: 330px; }
  .image-pair figure:last-child img { height: 270px; }
  .condition-list article { grid-template-columns: 1fr; gap: 5px; }
  .phone-strip { padding: 24px 20px; align-items: stretch; flex-direction: column; }
  .footer { min-height: 180px; grid-template-columns: 1fr; gap: 12px; align-content: center; }
  .footer p { margin: 0; }
  .footer > a:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--paper); backdrop-filter: none; }
}
