:root {
  --bg: #f3f1ec;
  --bg-soft: #ebe7e0;
  --ink: #3f3f3e;
  --text: #3c3936;
  --muted: #5e5955;
  --faint: #8d8883;
  --line: rgba(63, 63, 62, 0.14);
  --white: #fff;
  --header: 76px;
  --wrap: 1120px;
  --serif-fallback: "Avenir Next", "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Outfit, var(--serif-fallback);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: #ded9d0; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: var(--white);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: var(--header);
  color: var(--white);
  transition: background 0.25s ease, color 0.25s ease;
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.brand { justify-self: start; display: flex; }
.brand img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
}
.nav { display: flex; gap: 22px; }
.nav a {
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}
.header-cta {
  background: var(--white);
  color: var(--ink);
}
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1.5px;
  margin: 6px 8px;
  background: currentColor;
}

.header.is-solid,
.header.is-open {
  background: var(--bg);
  color: var(--ink);
}
.header.is-solid .brand img,
.header.is-open .brand img { filter: none; }
.header.is-solid .header-cta,
.header.is-open .header-cta {
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  color: var(--white);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
}
.hero-photo, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero { overflow: hidden; }
.hero-photo { object-fit: cover; object-position: center 60%; }
.hero-shade {
  background:
    linear-gradient(to bottom, rgba(18, 18, 16, 0.48), rgba(18, 18, 16, 0.22) 34%, rgba(18, 18, 16, 0.28) 58%, rgba(18, 18, 16, 0.62));
}
.hero-copy, .hero-points { position: relative; }
.hero-copy {
  text-shadow: 0 1px 18px rgba(18, 18, 16, 0.35);
  align-self: center;
  text-align: center;
  padding: calc(var(--header) + 4vh) 0 4vh;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 14px auto 0;
  font-size: clamp(72px, 13vw, 132px);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 0.9;
  text-transform: uppercase;
}
.deck {
  margin: 18px auto 0;
  max-width: 38rem;
  font-size: clamp(17px, 1.7vw, 20px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}
.hero-cta { margin-top: 26px; }
.hero-points {
  align-self: end;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  width: min(var(--wrap), calc(100% - 32px));
  margin: 0 auto 36px;
  padding: 0;
  list-style: none;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.hero-points svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-points li + li { box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.4); }

.block { padding: 72px 0; }
.block-tight { padding-top: 24px; }
.block:not(.block-soft) + .block:not(.block-soft),
.block:not(.block-soft) + .close { padding-top: 0; }
.block-soft { background: var(--bg-soft); }
.index {
  margin-bottom: 14px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h2 {
  font-size: clamp(36px, 4.6vw, 52px);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1.05;
  color: var(--ink);
}
h3 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
#homes h2 { margin-bottom: 12px; }
.homes-lead {
  max-width: 40rem;
  margin-bottom: 28px;
  color: var(--muted);
}
.prose p + p, .brief-copy p + p { margin-top: 16px; }
.prose p, .brief-copy p, .faqs p, .reassurance p, .abroad-intro p {
  color: var(--muted);
  font-size: 16.5px;
}
.prose p, .brief-copy p, .faqs p, .reassurance p, .abroad-intro p, .homes-lead {
  text-align: justify;
  hyphens: auto;
}
.points, .places { margin: 22px 0 0; padding: 0; list-style: none; }
.points li, .places li {
  position: relative;
  padding-left: 16px;
  margin-top: 10px;
}
.points li::before, .places li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--ink);
}

.brief {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 460px);
  grid-template-rows: auto 1fr;
  grid-template-areas: "copy form" "proof form";
  gap: 32px 64px;
  align-items: start;
  justify-content: space-between;
}
.brief-copy { grid-area: copy; }
.brief .lead { grid-area: form; }
.brief-proof { grid-area: proof; display: grid; gap: 24px; }
.brief-copy h2 { max-width: 12em; }
.brief-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.brief-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  column-gap: 14px;
  counter-increment: step;
}
.brief-steps li::before {
  content: counter(step);
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.brief-steps strong { color: var(--ink); font-weight: 500; line-height: 1.4; }
.brief-steps span { color: var(--muted); font-size: 15px; }
.review {
  margin: 0;
  padding: 20px 22px;
  border-radius: 18px;
  background: var(--white);
}
.review-score {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  color: var(--muted);
  font-size: 14px;
}
.review-score strong { color: var(--ink); font-size: 20px; font-weight: 500; }
.stars { color: #e3a008; letter-spacing: 0.08em; }
.review blockquote {
  margin: 10px 0 8px;
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.5;
}
.review figcaption { color: var(--faint); font-size: 13px; }
.brief-contact {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brief-contact img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}
.brief-contact p { display: grid; line-height: 1.35; }
.brief-contact strong { color: var(--ink); font-weight: 500; }
.brief-contact span { color: var(--muted); font-size: 14px; }
.brief-contact a {
  margin-left: auto;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}
.brief-contact a:hover { text-decoration: underline; }
.lead {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 24px;
  padding: 26px 26px 22px;
  border: 1px solid rgba(63, 63, 62, 0.06);
  box-shadow: 0 1px 2px rgba(63, 63, 62, 0.04), 0 30px 70px rgba(63, 63, 62, 0.09);
}
.quiz-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  min-height: 24px;
  margin-bottom: 26px;
}
.quiz-title, .quiz-back {
  height: 24px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}
.quiz-back:not([hidden]) + .quiz-title { display: none; }
.quiz-back {
  border: 0;
  padding: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.quiz-back:hover { color: var(--ink); }
.quiz-count {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.quiz-bar {
  flex: 1 0 100%;
  height: 4px;
  border-radius: 99px;
  background: var(--bg);
  overflow: hidden;
}
.quiz-stage { flex: 1; }
.quiz-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.quiz-foot svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.quiz-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width 0.28s ease;
}
.quiz-q {
  margin-bottom: 16px;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: var(--ink);
}
.quiz-promise {
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.choices { display: grid; gap: 8px; }
[hidden] { display: none !important; }
.choice { position: relative; display: block; }
.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.choice span {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 12px 18px;
  border: 1px solid #e6e1da;
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.choice span::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px #c9c3ba;
  flex: none;
}
.choice span::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.35;
  flex: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
}
.choice-text { display: grid; font-style: normal; line-height: 1.3; }
.choice-text small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 400;
}
.choice:hover span { border-color: var(--ink); background: #faf9f6; }
.choice:hover span::after { opacity: 1; transform: translateX(2px) rotate(45deg); }
.choice input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.choice input:checked + span small { color: rgba(255, 255, 255, 0.72); }
.choice input:checked + span::before {
  background: var(--ink);
  box-shadow: inset 0 0 0 5px var(--white);
}
.choice input:checked + span::after { opacity: 1; }
.choice input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.country { position: relative; }
.country-input {
  width: 100%;
  min-height: 54px;
  border: 1px solid #e4dfd7;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  outline: none;
}
.country-input::placeholder { color: var(--faint); font-weight: 400; }
.country-input:focus { border-color: var(--ink); }
.country.is-invalid .country-input { border-color: #8a3d32; }
.country-list {
  position: absolute;
  z-index: 4;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--white);
  border: 1px solid #e4dfd7;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(63, 63, 62, 0.08);
  max-height: 292px;
  overflow: auto;
}
.country-list li {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
}
.country-list li[aria-selected="true"],
.country-list li:hover { background: var(--bg); }
.country-list li.is-empty {
  color: var(--muted);
  font-weight: 400;
  cursor: default;
}
.quiz-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quiz-stage { display: grid; }
.qstep { grid-area: 1 / 1; min-width: 0; }
.qstep[hidden] { display: block !important; visibility: hidden; }
.qstep[data-step="budget"],
.qstep[data-step="budget"][hidden] {
  display: grid !important;
  grid-template-areas: "q" "c";
  align-content: start;
}
.qstep[data-step="budget"] .quiz-q { grid-area: q; }
.qstep[data-step="budget"] .choices { grid-area: c; }
.qstep [data-for][hidden],
.qstep [data-budget][hidden] { display: grid !important; visibility: hidden; }
.qstep.is-in { animation: quiz-in 0.28s ease; }
@keyframes quiz-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field span, .consent span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.field em {
  font-style: normal;
  font-weight: 400;
  color: var(--faint);
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid #e3ded6;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea,
.consent.is-invalid { border-color: #8a3d32; }
.field-error { color: #8a3d32; font-size: 13px; }
.trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  font-size: 14px;
}
.consent input { margin-top: 3px; accent-color: var(--ink); }
.consent a, .faqs a, .sheet a, .address a { color: var(--ink); }
.lead-actions { margin-top: 18px; display: grid; gap: 10px; }
.lead-actions .btn { min-height: 52px; font-size: 15px; }
.fine, .photo-note, .form-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.lead-done h3 { font-size: 28px; margin-bottom: 10px; }
.lead-done a { color: var(--ink); }

.homes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.home {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(63, 63, 62, 0.06);
}
.home-photo {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-soft);
}
.home-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.home:hover .home-photo img { transform: scale(1.03); }
.home-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.home-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}
.home-place {
  margin-bottom: 6px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.home h3 { font-size: 21px; line-height: 1.2; }
.home-specs {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px 0;
  border-block: 1px solid var(--line);
}
.home-specs dt { color: var(--faint); font-size: 12px; }
.home-specs dd { margin: 2px 0 0; color: var(--ink); font-weight: 500; }
.home-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--ink);
  font-weight: 500;
}
.home-price span { color: var(--muted); font-size: 14px; font-weight: 400; }

.kicker {
  margin: 0;
  color: #8d8883;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.agency-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
  gap: 28px 64px;
  align-items: center;
}
.agency-portrait {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #3f3f3e;
}
.agency-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.agency-copy h2 {
  margin-top: 8px;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.agency-copy p {
  max-width: 560px;
  margin-top: 22px;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  text-align: justify;
  hyphens: auto;
}
.agency-copy a { color: var(--ink); }

.stats {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.stats dt {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.stats dd { margin: 4px 0 0; color: var(--muted); }
.address { margin-top: 22px; color: var(--ink) !important; }

.abroad-intro { align-items: end; margin-bottom: 48px; }
.abroad-intro p { margin: 0; }
.reassurance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.reassurance li {
  padding: 28px 26px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(63, 63, 62, 0.05);
}
.reassurance h3 { margin-bottom: 10px; }
.reassurance p { margin: 0; }

.faqs details {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}
.faqs details:last-child { border-bottom: 1px solid var(--line); }
.faqs summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary::after { content: "+"; color: var(--faint); font-weight: 400; }
.faqs details[open] summary::after { content: "–"; }
.faqs details p { margin-top: 10px; }

.close { padding: 72px 0; color: var(--white); }
.close-frame {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  min-height: 500px;
  border-radius: 18px;
  overflow: hidden;
}
.close img, .close-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.close img { object-fit: cover; object-position: center 62%; }
.close-shade { background: linear-gradient(to top, rgba(16, 16, 14, 0.46), rgba(16, 16, 14, 0.28)); }
.close-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 48px 28px;
  text-align: center;
}
.close h2, .close .eyebrow { color: var(--white); }
.close p { margin: 16px auto 0; font-size: 18px; max-width: 34rem; }
.close-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; margin-top: 26px; }

.footer { padding: 64px 0 28px; background: var(--bg-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.footer-logo { height: 52px; width: auto; margin-bottom: 14px; }
.footer h3 {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-end {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-end nav { display: flex; gap: 18px; }
.footer-end a { color: var(--ink); text-decoration: none; }
.photo-note { margin-top: 18px; }

.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.dock p { display: flex; flex-direction: column; line-height: 1.2; }
.dock strong { font-weight: 500; color: var(--ink); }
.dock span { color: var(--muted); font-size: 13px; }
.dock.is-on { display: flex; }

.sheet {
  width: min(640px, calc(100% - 28px));
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}
.sheet::backdrop { background: rgba(28, 27, 25, 0.46); }
.sheet article { padding: 28px 26px 24px; }
.sheet h2 { font-size: 34px; margin-bottom: 14px; }
.sheet p + p { margin-top: 12px; }
.sheet .btn { margin-top: 20px; }

.cookie {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px #1414141a;
}
.cookie-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 40px;
  align-items: center;
  width: min(1120px, 100%);
  margin: 0 auto;
}
.cookie-copy .kicker {
  margin: 0;
  color: #8d8883;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cookie-copy h2 {
  max-width: none;
  margin-top: 4px;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.cookie-copy p:not(.kicker) {
  max-width: 46em;
  margin-top: 8px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}
.cookie-copy a {
  display: inline-block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}
.cookie-copy a:hover { color: var(--ink); }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.cookie-yes { min-width: 148px; min-height: 48px; font-size: 15px; }
.cookie .cookie-no {
  min-width: 120px;
  min-height: 48px;
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #3f3f3e47;
}
.cookie .cookie-no:hover { background: #3f3f3e0a; }
@media (max-width: 820px) {
  .cookie { padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); }
  .cookie-card { grid-template-columns: 1fr; gap: 16px; }
  .cookie-actions { display: grid; justify-content: stretch; }
  .cookie-yes, .cookie .cookie-no { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .cookie { animation: cookie-in 0.32s ease; }
}
@keyframes cookie-in {
  from { transform: translateY(100%); }
  to { transform: none; }
}

@media (max-width: 980px) {
  .header-phone { display: none; }
  .nav {
    position: fixed;
    inset: var(--header) 0 0;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 18px 22px 32px;
    background: var(--bg);
    color: var(--ink);
  }
  .header.is-open .nav { display: flex; }
  .nav a { font-size: 22px; letter-spacing: -0.03em; text-transform: none; padding: 10px 0; }
  .burger { display: block; }
  .header-inner { grid-template-columns: 1fr auto; }
  .split, .footer-grid, .grid, .brief, .agency-grid, .reassurance { grid-template-columns: 1fr; }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
    padding-top: 0;
    border-top: 0;
  }
  .stats div {
    padding: 18px 18px 16px;
    border-radius: 16px;
    background: var(--white);
  }
  .stats dt { font-size: 28px; line-height: 1.1; }
  .stats dd { font-size: 14px; line-height: 1.4; }
  .homes {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 46%);
    gap: 16px;
    margin-inline: -24px;
    padding: 0 24px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 24px;
    scrollbar-width: none;
  }
  .homes::-webkit-scrollbar { display: none; }
  .home { scroll-snap-align: start; }
  .brief { grid-template-rows: none; grid-template-areas: "copy" "form" "proof"; }
  .hero-points { margin-bottom: 28px; }
  .hero-points li { gap: 6px; padding: 0 10px; font-size: 12px; }
  .hero-points svg { width: 15px; height: 15px; }
  .block { padding: 56px 0; }
  .close { padding: 56px 0; }
  .close-frame { min-height: 520px; }
  .close-copy { padding: 36px 20px; }
  .close h2 { font-size: 34px; }
  .close p { font-size: 16px; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), calc(100% - 32px)); }
  .header-cta { display: none; }
  .brand img { height: 38px; }
  .hero h1 { font-size: 72px; letter-spacing: 0.04em; }
  .hero-copy { padding-top: 12vh; }
  .hero-points { width: calc(100% - 12px); margin-bottom: 22px; }
  .hero-points li { gap: 4px; padding: 0 6px; font-size: 10.5px; letter-spacing: 0; }
  .hero-points svg { width: 13px; height: 13px; }
  .lead { padding: 20px 16px 16px; }
  .field-wide { grid-column: 1 / -1; }
  .homes {
    grid-auto-columns: 84%;
    gap: 12px;
    margin-inline: -16px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }
  .home-body { padding: 18px 18px 20px; }
  .dock.is-on { display: flex; }
  body.has-dock { padding-bottom: 84px; }
  .footer-end { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .quiz-bar span, .choice span { transition: none; }
  .qstep.is-in { animation: none; }
  .home-photo img { transition: none; }
  .home:hover .home-photo img { transform: none; }
}
