/* ---------- Токени: котеджі «Тризуб» ---------- */
:root {
  --paper: #F3F6F6;
  --paper-2: #E3EBEC;
  --card: #FFFFFF;
  --ink: #0D2230;
  --muted: #4C606D;
  --line: rgb(13 34 48 / .12);
  --deep: #0B2230;
  --cta: #0A7799;
  --cta-hover: #075F7B;
  --sky: #7DD4EF;
  --sun: #F2B33D;
  --on-dark: #EAF3F6;
  --on-dark-muted: #A3B9C4;
  --line-dark: rgb(234 243 246 / .16);

  --display: "Geologica", "Arial", sans-serif;
  --body: "Golos Text", "Arial", sans-serif;

  --h1: clamp(2.5rem, 1.55rem + 3.9vw, 5.25rem);
  --h2: clamp(2rem, 1.45rem + 2.4vw, 3.75rem);
  --pad: clamp(16px, 3.4vw, 64px);
  --r: 14px;
  --gap: clamp(8px, .9vw, 14px);
  --ease: cubic-bezier(.22, .7, .25, 1);
  --header: 64px;
  --section: clamp(80px, 9vw, 140px);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--deep); scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: var(--h2); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
.skip { position: fixed; z-index: 100; left: 12px; top: -80px; padding: 12px 16px; background: var(--card); color: var(--ink); }
.skip:focus { top: 12px; }
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }
.lead { max-width: 32em; color: var(--muted); font-size: 1.125rem; line-height: 1.55; text-wrap: pretty; }
figure img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); background: var(--paper-2); }
figcaption { margin-top: 10px; color: var(--muted); font-size: .9375rem; line-height: 1.4; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 28px; border: 0; border-radius: 99px;
  background: var(--cta); color: #fff; font: 600 1rem/1.2 var(--body); text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s;
}
.btn:hover { background: var(--cta-hover); }
.btn--light { border: 1.5px solid var(--on-dark); background: none; color: var(--on-dark); }
.btn--light:hover { background: var(--on-dark); color: var(--ink); }

.intro { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .intro { grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
}

/* ---------- Демо-плашка ---------- */
.demo {
  position: fixed; z-index: 30; left: 12px; bottom: max(12px, env(safe-area-inset-bottom));
  padding: 8px 14px; border-radius: 99px; background: var(--deep); color: var(--on-dark);
  font-size: .8125rem; font-weight: 600; line-height: 1.2; box-shadow: 0 6px 20px rgb(11 34 48 / .3); pointer-events: none;
}
.demo::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--sun); vertical-align: 1px; }

/* ---------- Шапка ---------- */
.header { position: fixed; z-index: 20; inset: 0 0 auto; transition: background-color .35s, color .35s, box-shadow .35s; }
.header.is-solid { background: rgb(243 246 246 / .9); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.header.is-solid.is-dark:not(.is-open) { background: rgb(11 34 48 / .9); color: var(--on-dark); box-shadow: 0 1px 0 var(--line-dark); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header); padding-inline: var(--pad); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font: 700 1.375rem/1 var(--display); letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.logo__mark { flex: none; width: 22px; height: 22px; border-radius: 50% 50% 50% 6px; background: linear-gradient(160deg, var(--sky), var(--cta)); }
.logo small { padding-left: 10px; border-left: 1px solid currentColor; font: 500 .8125rem/1.15 var(--body); letter-spacing: 0; opacity: .75; white-space: normal; max-width: 7.5em; }
.nav a { text-decoration: none; }
.burger { position: relative; flex: none; width: 48px; height: 48px; margin-right: -8px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.burger span { position: absolute; left: 12px; width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1023px) {
  .header.is-open { background: var(--paper); color: var(--ink); }
  .nav { position: absolute; inset: var(--header) 0 auto; display: none; gap: 24px; height: calc(100svh - var(--header)); padding: 8px var(--pad) 32px; overflow: auto; background: var(--paper); }
  .header.is-open .nav { display: grid; align-content: start; }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 1.625rem/1.2 var(--display); letter-spacing: -.03em; }
  .nav__cta { width: 100%; }
  html:not(.js) .burger { display: none; }
}
@media (min-width: 1024px) {
  :root { --header: 76px; }
  .burger { display: none; }
  .nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
  .nav__links { display: flex; gap: clamp(18px, 2.2vw, 36px); }
  .nav__links a { position: relative; padding: 8px 0; font-size: .9375rem; font-weight: 500; }
  .nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .nav__links a:hover::after { transform: none; }
  .nav__cta { min-height: 46px; padding: 10px 22px; font-size: .9375rem; }
}

/* ---------- Перший екран: текст і фото басейну поруч ---------- */
.hero { display: grid; gap: 20px; padding: calc(var(--header) + 20px) var(--pad) 0; max-width: 1600px; margin-inline: auto; }
.hero__where { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9375rem; font-weight: 500; }
.hero__where::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgb(242 179 61 / .25); }
.hero h1 { margin-top: 12px; font-size: var(--h1); line-height: 1; }
.t28 { color: var(--cta); white-space: nowrap; }
.hero__lead { max-width: 30em; margin-top: 16px; color: var(--muted); font-size: 1.0625rem; text-wrap: pretty; }
.hero__cta { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; margin-top: 22px; }
.hero__price { display: grid; line-height: 1.25; }
.hero__price b { font: 600 1.75rem/1 var(--display); letter-spacing: -.03em; }
.hero__price span { margin-top: 4px; color: var(--muted); font-size: .875rem; }
.hero__cta .btn { padding-inline: 18px; }
.hero__photo { position: relative; }
.hero__photo img { aspect-ratio: 4 / 5; border-radius: 20px; object-position: 50% 70%; }
.temp {
  position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 16px 10px 14px;
  border-radius: 16px; background: rgb(255 255 255 / .86); color: var(--ink); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.temp b { color: var(--cta); font: 600 2.5rem/1 var(--display); letter-spacing: -.04em; }
.temp span { color: var(--ink); font-size: .875rem; line-height: 1.3; }
.hero__plus { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 0 4px; list-style: none; }
.hero__plus li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; background: var(--card); font-size: .875rem; font-weight: 500; }
@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: 1fr auto auto 1fr; gap: 0 clamp(40px, 5vw, 96px);
    min-height: max(min(100svh, 980px), 680px); padding-bottom: var(--gap);
  }
  .hero__text { grid-row: 2; padding-top: 24px; }
  .hero__lead { font-size: 1.25rem; margin-top: 22px; }
  .hero__cta { display: flex; gap: 32px; margin-top: 36px; }
  .hero__price b { font-size: 2.25rem; }
  .hero__cta .btn { min-height: 60px; padding-inline: 34px; }
  .hero__photo { grid-column: 2; grid-row: 1 / -1; }
  .hero__photo img { aspect-ratio: auto; height: 100%; min-height: 560px; border-radius: 24px; }
  .temp { left: 24px; bottom: 24px; padding: 16px 24px 16px 20px; gap: 16px; }
  .temp b { font-size: 3.5rem; }
  .temp span { font-size: .9375rem; }
  .hero__plus { grid-row: 3; margin-top: 44px; padding-bottom: 48px; }
  .hero__plus li { padding: 8px 14px; font-size: .875rem; }
}

/* ---------- Басейн ---------- */
.pool { margin-top: clamp(56px, 6vw, 96px); padding-block: var(--section); background: var(--deep); color: var(--on-dark); }
.pool h2, .pool h3 { color: #fff; }
.pool .lead { color: var(--on-dark-muted); }
.seasons { display: flex; gap: var(--gap); margin: clamp(32px, 4vw, 56px) calc(var(--pad) * -1) 0; padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.seasons::-webkit-scrollbar { display: none; }
.seasons figure { flex: 0 0 80%; scroll-snap-align: start; }
.seasons img { aspect-ratio: 4 / 5; background: var(--deep); }
.seasons figcaption { margin-top: 16px; color: var(--on-dark-muted); font-size: 1rem; line-height: 1.5; }
.seasons figcaption b { display: block; margin-bottom: 4px; color: #fff; font: 600 1.375rem/1.2 var(--display); letter-spacing: -.02em; }
.spa { display: grid; gap: 28px; margin-top: clamp(56px, 7vw, 112px); padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line-dark); }
.spa__photo img { aspect-ratio: 4 / 3; object-position: 50% 60%; background: var(--deep); }
.spa__text h3 { font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem); }
.spa__text p { max-width: 30em; margin-top: 16px; color: var(--on-dark-muted); font-size: 1.125rem; }
.spa__text .btn { margin-top: 28px; }
@media (min-width: 900px) {
  .seasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 28px); margin-inline: 0; padding: 0; overflow: visible; }
  .seasons figcaption { padding-right: 12%; }
  .spa { grid-template-columns: 5fr 6fr; gap: clamp(48px, 6vw, 112px); align-items: center; }
  .spa__photo img { aspect-ratio: 5 / 4; }
}

/* ---------- Котеджі і калькулятор ---------- */
.cottages { padding-block: var(--section); }
.cottages__grid { display: grid; gap: var(--gap); margin-top: clamp(32px, 4vw, 56px); }
.cottages__photo img { aspect-ratio: 4 / 3; }
.calc { display: grid; align-content: start; gap: 20px; padding: 24px; border-radius: var(--r); background: var(--card); box-shadow: 0 1px 0 var(--line), 0 18px 40px rgb(13 34 48 / .06); }
.calc__title { font: 600 1.375rem/1.2 var(--display); letter-spacing: -.02em; }
.calc__seg, .seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 99px; background: var(--paper-2); }
.calc__seg label, .seg label { position: relative; display: grid; cursor: pointer; }
.calc__seg input, .seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.calc__seg span, .seg span { display: grid; place-items: center; min-height: 46px; border-radius: 99px; font: 600 1.125rem/1 var(--display); transition: background-color .2s, color .2s; }
.calc__seg input:checked + span { background: var(--ink); color: #fff; }
.calc__seg input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.calc__out { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.calc__out div { padding: 16px 0; }
.calc__out div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.calc__out dt { color: var(--muted); font-size: .875rem; }
.calc__out dd { margin-top: 4px; font: 600 clamp(1.75rem, 1.5rem + 1vw, 2.375rem)/1 var(--display); letter-spacing: -.03em; white-space: nowrap; }
.calc__btn { width: 100%; }
.calc__note { color: var(--muted); font-size: .875rem; text-align: center; }
.rooms { display: flex; gap: var(--gap); margin: 48px calc(var(--pad) * -1) 0; padding-inline: var(--pad); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; }
.rooms::-webkit-scrollbar { display: none; }
.rooms figure { flex: 0 0 72%; scroll-snap-align: start; }
.rooms img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) {
  .cottages__grid { grid-template-columns: 7fr 4fr; gap: clamp(16px, 1.8vw, 28px); }
  .cottages__photo img { aspect-ratio: auto; height: 100%; min-height: 480px; }
  .calc { align-content: center; gap: 24px; padding: clamp(28px, 2.6vw, 44px); }
  .calc__title { font-size: 1.625rem; }
  .rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 28px); margin: 72px 0 0; padding: 0; overflow: visible; }
}

/* ---------- Світло ---------- */
.power { padding-block: var(--section); background: var(--paper-2); }
.power__grid { display: grid; gap: 32px; }
.power__photo img { aspect-ratio: 4 / 3; }
.power__tag { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9375rem; font-weight: 600; }
.power__tag::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 5px rgb(242 179 61 / .25); }
.power h2 { margin-top: 16px; }
.power .lead { margin-top: 18px; }
@media (min-width: 900px) {
  .power__grid { grid-template-columns: 6fr 5fr; gap: clamp(48px, 6vw, 112px); align-items: center; }
}

/* ---------- Територія ---------- */
.yard { padding-block: var(--section); }
.spots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--gap); margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; list-style: none; }
.spots img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); background: var(--paper-2); }
.spots h3 { margin-top: 14px; font-size: 1.1875rem; letter-spacing: -.02em; }
.spots p { margin-top: 4px; color: var(--muted); font-size: .9375rem; line-height: 1.45; }
@media (min-width: 900px) {
  .spots { grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 1.8vw, 28px); }
  .spots img { aspect-ratio: 4 / 5; }
  .spots h3 { margin-top: 18px; font-size: 1.375rem; }
  .spots p { font-size: 1rem; }
}

/* ---------- Усі фото ---------- */
.gallery { padding-block: var(--section); background: var(--paper-2); }
.shots { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: var(--gap); margin-top: clamp(32px, 4vw, 56px); }
.shot { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper); cursor: zoom-in; }
.shot:nth-child(n+6) { display: none; }
.shot:first-child { grid-column: span 2; grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shot:first-child img { object-position: 50% 75%; }
.more { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(11 34 48 / .6); color: #fff; font: 600 1.5rem/1 var(--display); }
@media (hover: hover) { .shot:hover img { transform: scale(1.03); } }
@media (min-width: 768px) {
  .shots { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 18vw, 280px); }
  .more { font-size: 2rem; }
}

.viewer { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: var(--deep); color: #fff; }
.viewer[open] { display: grid; place-items: center; }
.viewer::backdrop { background: var(--deep); }
.viewer img { width: 100%; height: 100dvh; padding: 68px 0; object-fit: contain; touch-action: pan-y pinch-zoom; }
.viewer__count { position: absolute; left: var(--pad); top: 22px; }
.viewer__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; cursor: pointer; }
.viewer__btn svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.viewer__close { right: 8px; top: 8px; }
.viewer__prev { left: 8px; bottom: 8px; }
.viewer__next { right: 8px; bottom: 8px; }
body:has(.viewer[open]) { overflow: hidden; }
@media (min-width: 768px) {
  .viewer img { padding-inline: 84px; }
  .viewer__prev, .viewer__next { bottom: 50%; transform: translateY(50%); }
  .viewer__prev { left: 16px; }
  .viewer__next { right: 16px; }
}

/* ---------- Дорога ---------- */
.road { padding-block: var(--section); }
.road__grid { display: grid; gap: 32px; }
.road__photo img { aspect-ratio: 4 / 3; }
.road .lead { margin-top: 18px; }
.near__list { margin-top: 28px; border-bottom: 1px solid var(--line); }
.near__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.near__list dt { font: 500 1.1875rem/1.25 var(--display); letter-spacing: -.02em; }
.near__list dd { flex: none; color: var(--cta); font-weight: 600; }
.winter { margin-top: 28px; padding: 22px 24px; border-radius: var(--r); background: var(--card); box-shadow: 0 1px 0 var(--line); }
.winter h3 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; letter-spacing: -.02em; }
.winter h3::before { content: "❄"; color: var(--cta); font-size: 1.125rem; }
.winter p { margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
@media (min-width: 900px) {
  .road__grid { grid-template-columns: 6fr 5fr; gap: clamp(48px, 6vw, 112px); align-items: center; }
  .near__list dt { font-size: 1.3125rem; }
}

/* ---------- Питання ---------- */
.faq { padding-block: var(--section); border-top: 1px solid var(--line); }
.faq__grid { display: grid; gap: 32px; }
.rows { border-bottom: 1px solid var(--line); }
.rows div { padding: 22px 0; border-top: 1px solid var(--line); }
.rows dt { font: 600 1.25rem/1.25 var(--display); letter-spacing: -.02em; }
.rows dd { max-width: 36em; margin-top: 8px; color: var(--muted); }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: 4fr 7fr; gap: clamp(48px, 6vw, 112px); align-items: start; }
  .faq h2 { position: sticky; top: calc(var(--header) + 32px); }
  .rows div { display: grid; grid-template-columns: 5fr 7fr; gap: 32px; padding: 26px 0; }
  .rows dd { margin-top: 0; }
}

/* ---------- Запит і футер ---------- */
.request { padding-block: var(--section); background: var(--deep); color: var(--on-dark); }
.request__grid { display: grid; gap: 36px; }
.request h2 { color: #fff; }
.request__intro p { max-width: 30em; margin-top: 18px; color: var(--on-dark-muted); font-size: 1.125rem; }
.request__intro img { display: none; }
.request__panel { min-width: 0; }
.request .note { margin-top: 12px; color: var(--on-dark-muted); font-size: .875rem; }
.form { display: grid; gap: 22px 16px; }
.form[hidden] { display: none; }
.form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.form label, .form legend { padding: 0; font-weight: 600; }
.form .field > label, .form legend { display: block; margin-bottom: 8px; }
.form .field { min-width: 0; }
.form input:not([type="radio"], [type="checkbox"]) {
  display: block; width: 100%; min-width: 0; height: 56px; margin: 0; padding: 0 16px; border: 2px solid transparent; border-radius: 12px;
  background: var(--card); color: var(--ink); font: inherit; text-align: left; -webkit-appearance: none; appearance: none;
}
.form input::placeholder { color: #6E808B; opacity: 1; }
.form input::-webkit-date-and-time-value { text-align: left; }
.form input[aria-invalid="true"] { border-color: #FFB27A; }
.field__err { color: #FFB27A; font-size: .9375rem; line-height: 1.4; }
.field__err:empty { display: none; }
.field .field__err:not(:empty) { margin-top: 8px; }
.form > .field__err { margin-top: -10px; }
.seg { height: 56px; padding: 4px; border-radius: 12px; background: rgb(255 255 255 / .08); }
.seg span { min-height: 0; height: 100%; border-radius: 9px; color: #fff; font-size: 1.0625rem; }
.seg input:checked + span { background: var(--card); color: var(--ink); }
.stepper { display: grid; grid-template-columns: 56px 1fr 56px; gap: 6px; }
.form .stepper input { padding: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper button { border: 1.5px solid rgb(234 243 246 / .4); border-radius: 12px; background: none; color: #fff; font: 500 1.5rem/1 var(--body); cursor: pointer; touch-action: manipulation; }
.stepper button:hover { background: rgb(255 255 255 / .1); }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick { position: relative; display: grid; cursor: pointer; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick span { display: grid; align-content: center; min-height: 64px; padding: 10px 14px; border: 1.5px solid rgb(234 243 246 / .35); border-radius: 12px; line-height: 1.25; transition: background-color .2s, color .2s; }
.pick small { margin-top: 3px; color: var(--on-dark-muted); font-size: .875rem; font-weight: 400; }
.pick input:checked + span { border-color: var(--card); background: var(--card); color: var(--ink); }
.pick input:checked + span small { color: var(--muted); }
.pick input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 3px; }
.form__send { width: 100%; }
.form__send:disabled { opacity: .6; cursor: default; }
.request .btn:not(.btn--light) { background: var(--sky); color: var(--deep); }
.request .btn:not(.btn--light):hover { background: #fff; }
.done { max-width: 36em; padding-top: 28px; border-top: 1px solid var(--line-dark); outline: none; }
.done[hidden] { display: none; }
.done h3 { color: #fff; font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem); }
.done p { margin: 16px 0 24px; color: var(--on-dark-muted); }
.footer { background: var(--deep); color: var(--on-dark); }
.footer__in { display: grid; gap: 8px; padding-block: 28px 76px; border-top: 1px solid var(--line-dark); }
.footer p { max-width: 44em; color: var(--on-dark-muted); font-size: .9375rem; }
@media (min-width: 600px) {
  .form { grid-template-columns: 1fr 1fr; }
  .field--wide { grid-column: 1 / -1; }
  .form__send { width: auto; padding-inline: 40px; }
}
@media (min-width: 900px) {
  .request { padding-block: var(--gap); }
  .request > .wrap { max-width: none; padding-inline: var(--gap); }
  .request__grid { grid-template-columns: 5fr 7fr; gap: 0; }
  .request__intro { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 780px; padding: clamp(32px, 3.4vw, 56px); border-radius: 20px; }
  .request__intro img { position: absolute; z-index: -2; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
  .request__intro::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(rgb(11 34 48 / 0) 35%, rgb(11 34 48 / .9) 82%); }
  .request__intro p { color: #DCEAF0; }
  .request__panel { align-self: center; width: 100%; max-width: 860px; padding: 40px clamp(32px, 4.4vw, 80px); }
  .footer__in { grid-template-columns: auto 1fr; align-items: center; gap: 8px 48px; padding-bottom: 36px; }
  .footer p { justify-self: end; text-align: right; }
}
body:has(.header.is-open) { overflow: hidden; }

/* ---------- 404 ---------- */
.lost { display: grid; place-content: center; justify-items: start; gap: 20px; min-height: 100svh; padding: 32px var(--pad); }
.lost h1 { font-size: var(--h2); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
