:root {
  --paper: #f3f4ed;
  --ink: #151714;
  --brand: #062714;
  --brand-light: #f8f8f8;
  --muted: #5f625a;
  --soft: #4a4d47;
  --line: #d6d7ce;
  --accent: #c8f34a;
  --accent-hover: color-mix(in srgb, var(--accent) 92%, var(--brand));
  --brand-hover: color-mix(in srgb, var(--brand) 85%, var(--brand-light));
  --gutter: 48px;
  --nav-height: 86px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--accent); color: var(--brand); }

a { color: inherit; }
img { max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* Header */
.header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  background: linear-gradient(to bottom, #03150ed9, #03150e00);
  color: var(--brand-light);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  min-height: var(--nav-height);
  position: relative;
}

.wordmark {
  display: grid;
  gap: 4px;
  color: inherit;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.075em;
  line-height: 1;
  text-decoration: none;
  justify-self: start;
}

.wordmark-caption {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .015em;
}

.nav-links {
  display: flex;
  gap: 30px;
  font-size: 12px;
  letter-spacing: .085em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-links a { text-decoration: none; padding-block: 6px; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

.nav-side {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-phones {
  display: grid;
  justify-items: end;
  gap: 3px;
}

.nav-phone {
  font-size: 14px;
  letter-spacing: -.01em;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
}

.menu { display: none; }
.menu summary {
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .085em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu nav {
  position: absolute;
  z-index: 20;
  right: 0;
  top: calc(100% + 1px);
  width: min(300px, calc(100vw - 36px));
  display: grid;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 8px 20px 20px;
}
.menu nav a {
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.menu nav a:last-child { border-bottom: 0; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  background: var(--brand);
  color: var(--brand-light);
}

.hero-wrap {
  display: grid;
  align-items: end;
  justify-items: end;
  padding-block: calc(var(--nav-height) + 36px) clamp(100px, 15svh, 150px);
}

.hero-head {
  display: grid;
  gap: 20px;
  width: min(100%, 425px);
}

.hero-title {
  margin: 0;
  font-size: clamp(54px, 5.5vw, 81px);
  line-height: .9;
  letter-spacing: -.065em;
  font-weight: 650;
}

.hero-head p {
  margin: 0;
  max-width: 34ch;
  font-size: 19px;
  line-height: 1.45;
  letter-spacing: -.012em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.btn-primary { background: var(--accent); color: var(--brand); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-dark { background: var(--brand); color: var(--brand-light); border-color: var(--brand); }
.btn-dark:hover { background: var(--brand-hover); border-color: var(--brand-hover); }

.text-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 15px;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 13px 22px; align-items: center; }
.hero-actions .btn {
  width: auto;
  border-radius: 48px;
  justify-content: center;
}
.hero-actions .text-link { margin-top: 0; }
.hero :focus-visible { outline-color: var(--accent); }

.hero-media {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -24px;
  background: var(--brand) url("office-kling-poster.webp") center / cover no-repeat;
  filter: blur(18px) brightness(.58);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--paper), #f3f4ed00 clamp(90px, 14svh, 140px)),
    linear-gradient(90deg, #06271400 42%, #03150ee0 84%, #03150eed);
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  mask-image: linear-gradient(to bottom, transparent, #000 11%, #000 89%, transparent);
}

.hero-video {
  opacity: 0;
  transition: opacity .6s ease;
}

.hero-video.is-visible { opacity: 1; }

.hero-video-toggle {
  position: absolute;
  left: max(var(--gutter), calc((100% - 1344px) / 2));
  bottom: clamp(100px, 13svh, 140px);
  min-height: 44px;
  padding: 7px 14px;
  border: 1px solid var(--brand-light);
  border-radius: 24px;
  background: var(--brand);
  color: var(--brand-light);
  font-size: 14px;
}

.hero + .section {
  margin-top: 0;
  padding-top: clamp(24px, 5vw, 72px);
  border-top: 0;
}

/* Shared section rhythm */
.section {
  margin-top: 132px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.section-kicker {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.section-kicker span:first-child { color: var(--ink); }

.section-title {
  margin: 0;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: .95;
  letter-spacing: -.05em;
  font-weight: 650;
}

.small-note {
  max-width: 42ch;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Calculator */
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 96px;
  align-items: start;
}

.calc-intro p {
  max-width: 36ch;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: 17px;
  line-height: 1.5;
}

.calc-form { display: grid; gap: 32px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .075em;
  text-transform: uppercase;
}

input[type="number"],
input[type="tel"],
select {
  width: 100%;
  min-height: 52px;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -.025em;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23151714' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 24px;
}

input::placeholder { color: #9a9d94; font-size: 17px; font-weight: 400; letter-spacing: 0; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.calc-outputs {
  display: grid;
  gap: 20px;
  padding-top: 8px;
}

.output { display: grid; gap: 4px; }

.output-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.output output {
  font-size: clamp(40px, 4.1vw, 62px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}

.payment-line {
  display: grid;
  gap: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.payment-line[hidden] { display: none; }
.payment-line output {
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}

.calc-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.calc-actions .btn { width: auto; min-width: 220px; }

.hint {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* Process */
.process {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 2fr);
  gap: 96px;
  margin-top: 128px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}

.step-num {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .08em;
}

.steps h3 {
  margin: 18px 0 10px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: -.025em;
  font-weight: 650;
}

.steps p {
  margin: 0;
  max-width: 31ch;
  color: var(--soft);
  font-size: 14px;
  line-height: 1.55;
}

/* Application guide */
.application-guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 6vw, 90px);
  align-items: start;
}

.application-guide p {
  margin: 18px 0 0;
  max-width: 34ch;
  color: var(--soft);
}

.application-guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.application-guide-list li {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}
.application-guide-list strong { color: var(--brand); font-weight: 650; }
.application-guide-list span { color: var(--soft); }

/* Selection */
.selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 76px);
}

.selection-item {
  padding-top: 15px;
  border-top: 1px solid #f8f8f85c;
}

.selection-item h3 {
  margin: 0 0 11px;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 650;
}

.selection-item p {
  margin: 0;
  max-width: 48ch;
  color: #e5ebe5;
  font-size: 16px;
  line-height: 1.55;
}

.selection-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--brand) url("golf-handover-kling-v2.webp") center top / 100% auto no-repeat;
  color: var(--brand-light);
}

.selection-cover-copy {
  position: absolute;
  inset: 0 0 auto;
  padding-top: clamp(24px, 5vw, 80px);
}
.selection-cover-copy .section-kicker {
  margin-bottom: clamp(8px, 1.3vw, 20px);
  color: inherit;
}

.selection-cover::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent calc(56.25vw - clamp(130px, 17vw, 240px)), var(--brand) 56.25vw),
    linear-gradient(115deg, #03150edb, #03150e36 50%, transparent 69%);
}

.selection-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.selection-details {
  padding-block: calc(56.25vw - clamp(78px, 11vw, 160px)) clamp(30px, 4vw, 54px);
}

.selection-cta {
  width: auto;
  min-height: 48px;
  margin-top: 26px;
  border-radius: 48px;
}
.selection-cover :focus-visible { outline-color: var(--accent); }

@media (max-width: 520px) {
  .selection-cover-copy { padding-top: 14px; }
  .selection-cover-copy .section-kicker { display: none; }
  .selection-cover-copy .section-title { font-size: clamp(23px, 6vw, 32px); }
  .selection-cover::after {
    background:
      linear-gradient(to bottom, transparent calc(56.25vw - 82px), var(--brand) 56.25vw),
      linear-gradient(150deg, #03150eec, #03150e00 55%);
  }
  .selection-details { padding-block: calc(56.25vw - 44px) 30px; }
}

.line-btn, .line-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 5px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.line-btn:hover, .line-link:hover { border-bottom-width: 2px; padding-bottom: 4px; }

/* Editorial */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 80px;
  align-items: end;
}

.editorial-media { margin: 0; }
.team { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.team .editorial-text { align-self: center; }
.section-kicker > span:first-child { display: none; }
.editorial-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 55%;
  background: #e8e8e2;
}
.editorial-media figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .035em;
}

.editorial-text { padding-bottom: 26px; }
.editorial-text p {
  max-width: 38ch;
  margin: 26px 0 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.55;
}

.bank-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: 22px 48px;
  align-items: end;
}
.bank-head p { max-width: 44ch; margin: 0; color: var(--soft); }
.bank-grid {
  --columns: 5;
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  padding: 1px;
  margin: 34px 0 0;
  background: var(--line);
}
.bank-grid li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 84px;
  padding: 12px 9px;
  background: color-mix(in srgb, var(--paper) 55%, var(--brand-light));
  color: var(--brand);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.bank-grid li span { overflow-wrap: anywhere; }
.bank-grid img {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}
@media (max-width: 900px) { .bank-grid { --columns: 2; } }
@media (max-width: 720px) {
  .bank-head { grid-template-columns: 1fr; }
  .bank-grid { margin-top: 22px; }
  .bank-grid li {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
    min-height: 60px;
    padding-inline: 8px;
  }
  .bank-grid img { width: 28px; height: 28px; }
}

/* Reviews */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.reviews-grid a { text-decoration: none; }

.reviews-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  background: #e8e8e2;
}

.reviews-grid a > span {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.reviews-grid strong { color: var(--ink); font-weight: 600; }
.reviews-grid a:hover strong { text-decoration: underline; text-underline-offset: 4px; }

.review-links {
  display: grid;
  justify-items: start;
  gap: 9px;
  margin-top: 18px;
}
.review-links .text-link { margin-top: 0; }

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 96px;
}

.partners-grid article {
  padding-top: 20px;
  border-top: 1px solid var(--ink);
}
.partners-grid h3 {
  margin: 0 0 16px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 650;
}
.partners-grid p {
  max-width: 46ch;
  margin: 0 0 26px;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.55;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 1fr);
  gap: 96px;
  align-items: start;
}

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  list-style: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--muted); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }

.faq details p {
  max-width: 62ch;
  margin: 0;
  padding: 0 44px 24px 0;
  color: var(--soft);
  font-size: 15px;
  line-height: 1.6;
}

/* Contact footer */
.contact {
  margin-top: 136px;
  padding: 96px 0 34px;
  background: var(--brand);
  color: var(--brand-light);
}

.contact-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-top h2 {
  margin: 0;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 650;
}

.contact-top p {
  max-width: 45ch;
  margin: 18px 0 0;
  color: #c9cbc2;
  font-size: 16px;
  line-height: 1.55;
}

.contact-aside {
  padding-inline-start: clamp(26px, 4vw, 60px);
  border-inline-start: 1px solid #ffffff26;
}
.contact-aside .btn {
  width: fit-content;
  max-width: 100%;
  margin-top: 24px;
}

.contact :focus-visible { outline-color: var(--accent); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .9fr .9fr;
  gap: 48px;
  margin-top: 84px;
  padding-top: 34px;
  border-top: 1px solid #ffffff26;
}

.contact-label {
  display: block;
  margin-bottom: 14px;
  color: #a5a89d;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-phone {
  display: block;
  width: fit-content;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -.03em;
  text-decoration: none;
}
.contact-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-phone + .contact-phone { margin-top: 8px; }

.contact-map { display: block; margin-top: 16px; color: #c9cbc2; font-size: 14px; }
.contact .text-link { color: #c9cbc2; }

.contact-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 17px;
}
.contact-links a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #ffffff4d; }
.contact-links a:hover { text-decoration-color: var(--accent); }

.contact-address { margin: 0; color: #c9cbc2; font-size: 16px; line-height: 1.55; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 64px;
  padding-top: 20px;
  border-top: 1px solid #ffffff1f;
  color: #a5a89d;
  font-size: 11px;
  letter-spacing: .05em;
}

/* Dialog */
dialog {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 26px 90px #03150e52;
}
dialog::backdrop { background: #03150eb3; }

.dialog-header {
  position: relative;
  padding: 28px 70px 25px 30px;
  background: var(--brand);
  color: var(--brand-light);
}

.dialog-body { padding: 27px 30px 23px; }

.close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 1px solid #f8f8f858;
  border-radius: 50%;
  background: transparent;
  font-size: 22px;
  line-height: 1;
}
.close:hover { border-color: var(--brand-light); }
.close:focus-visible { outline-color: var(--accent); }

dialog h2 {
  margin: 0;
  font-size: clamp(28px, 6.8vw, 40px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 650;
}

#summary {
  margin: 10px 0 0;
  color: #e5ebe5;
  font-size: 14px;
  line-height: 1.45;
}

.lead-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.lead-fields label {
  margin-bottom: 6px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 650;
}

.lead-fields input {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
}
.lead-fields input::placeholder { color: var(--muted); opacity: 1; }

#lead-form .btn {
  justify-content: center;
  min-height: 52px;
  border-radius: 30px;
}

.dialog-status {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

#lead-form[hidden] + .dialog-status {
  margin: 0;
  font-size: 16px;
}

/* Responsive */
@media (min-width: 901px) and (min-aspect-ratio: 16 / 9) {
  .hero-img {
    object-fit: cover;
    object-position: center 20%;
    mask-image: none;
  }
}

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 64px); }
  .nav { gap: 20px; }
  .nav-links { gap: 18px; }
  .hero-head { width: min(100%, 360px); }
  .calc-grid, .process { gap: 64px; }
}

@media (max-width: 900px) {
  :root { --nav-height: 64px; }
  .wrap { width: calc(100% - 40px); }
  .nav { grid-template-columns: 1fr auto; gap: 12px; }
  .nav-links { display: none; }
  .menu { display: block; }
  .nav-phone { font-size: 12px; }
  .nav-side { gap: 12px; }

  .hero {
    --video-top: max(calc(var(--nav-height) + 52px), 18svh);
    --video-height: min(56.25vw, 38svh);
  }
  .hero-wrap {
    justify-items: start;
    padding-block: calc(var(--video-top) + var(--video-height) + 24px) 92px;
  }
  .hero-head { gap: 15px; width: 100%; }
  .hero-title { font-size: clamp(43px, 10vw, 68px); }
  .hero-head p { font-size: 16px; }
  .hero-actions { column-gap: 15px; }
  .hero-actions .btn { min-height: 48px; padding: 12px 15px; }
  .hero-media::after {
    background:
      linear-gradient(to top, var(--paper), #f3f4ed00 72px),
      linear-gradient(to top, #03150e 8%, #03150eae 34%, #03150e00 52%);
  }
  .hero-img {
    top: var(--video-top);
    height: var(--video-height);
    mask-image: linear-gradient(to bottom, transparent, #000 6%, #000 92%, transparent);
  }
  .hero-video-toggle {
    top: calc(var(--nav-height) + 4px);
    right: 20px;
    bottom: auto;
    left: auto;
    background: #062714e8;
  }

  .section { margin-top: 84px; padding-top: 24px; }
  .section-kicker { margin-bottom: 26px; }

  .calc-grid, .partners-grid, .faq-grid { grid-template-columns: 1fr; gap: 42px; }
  .application-guide, .selection-grid { grid-template-columns: 1fr; }
  .calc-intro p { margin-top: 20px; }

  .process { grid-template-columns: 1fr; gap: 36px; margin-top: 84px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps p { max-width: 46ch; }

  .editorial { grid-template-columns: 1fr; gap: 36px; }
  .editorial-text { padding-bottom: 0; }

  .reviews-grid { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }

  .contact { margin-top: 88px; padding-top: 64px; }
  .contact-top { grid-template-columns: 1fr; gap: 36px; }
  .contact-aside { padding: 28px 0 0; border-inline-start: 0; border-top: 1px solid #ffffff26; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 56px; }
  .contact-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; margin-top: 48px; }
}

@media (max-width: 520px) {
  .wrap { width: calc(100% - 36px); }
  .field-row { grid-template-columns: 1fr; gap: 24px; }
  .calc-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .calc-actions .btn { width: 100%; }
  .reviews-grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 16px; }
  .faq details p { padding-right: 0; }
  .dialog-header { padding: 24px 64px 20px 20px; }
  .dialog-body { padding: 21px 20px; }
  .lead-fields { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div:first-child { grid-column: auto; }
}

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