@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/Onest-Variable.woff2") format("woff2");
}

:root {
  --white: #fff;
  --surface: #f3f5f7;
  --surface-strong: #e9edf3;
  --ink: #111318;
  --muted: #59606b;
  --line: #d9dee7;
  --blue: #2457f5;
  --blue-hover: #1848da;
  --navy: #152033;
  --success: #159b62;
  --warning: #d88416;
  --error: #c83232;
  --container: 1280px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-form: 0 18px 60px rgba(21, 32, 51, 0.12);
  --font-sans: "Onest", "Inter", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

.responsive-image {
  display: contents;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  margin-bottom: 0;
  font-weight: 700;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.65rem);
  line-height: 1.22;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(72px, 9vw, 120px);
}

.section--compact {
  padding-block: clamp(56px, 7vw, 88px);
}

.section--surface {
  background: var(--surface);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-heading__copy {
  max-width: 760px;
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.button,
.text-link,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button {
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button--primary {
  color: var(--white);
  background: var(--blue);
}

.button--primary:hover {
  background: var(--blue-hover);
}

.button--secondary {
  color: var(--blue);
  background: var(--white);
  border-color: var(--blue);
}

.button--secondary:hover {
  color: var(--white);
  background: var(--blue);
}

.button--dark {
  color: var(--white);
  background: var(--navy);
}

.button--full {
  width: 100%;
}

.button:focus-visible,
.text-link:focus-visible,
.icon-button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.text-link {
  min-height: 44px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 80px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 80px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}

.brand-link--header {
  width: 178px;
}

.brand-link--footer {
  width: 202px;
}

.brand-lockup {
  width: 100%;
  height: auto;
}

.brand-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #343a45;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-header__cta {
  white-space: nowrap;
}

.site-header__cta-label--compact {
  display: none;
}

.phone-link {
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.menu-toggle,
.mobile-phone {
  display: none;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(38px, 6vw, 84px);
  min-height: 700px;
  padding-block: 64px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__lead {
  max-width: 680px;
  margin: 26px 0 32px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.hero__media {
  position: absolute;
  inset: 0 0 0 43%;
  z-index: 0;
  overflow: hidden;
}

.hero__media::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 38%;
  content: "";
  background: linear-gradient(90deg, var(--white) 0%, rgba(255, 255, 255, 0.9) 35%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.hero__form {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(100%, 410px);
}

.lead-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(217, 222, 231, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-form);
}

.lead-card__title {
  margin-bottom: 6px;
  font-size: 24px;
}

.lead-card__copy {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-grid--compact {
  grid-template-columns: 1fr;
  gap: 14px;
}

.form-grid--compact .field > label,
.contact-band__form .field > label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.field {
  display: grid;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field__label,
.choice-group legend {
  color: #282d36;
  font-size: 13px;
  font-weight: 650;
}

.field label.required::after,
.field__label.required::after,
.choice-group legend.required::after {
  margin-left: 4px;
  color: var(--error);
  content: "*";
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #cfd5df;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 450;
  line-height: 1.35;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #697180;
  opacity: 1;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #aeb6c4;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-error {
  color: var(--error);
  font-size: 12px;
  line-height: 1.4;
}

.field-error:empty {
  display: none;
}

.choice-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid #cfd5df;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
}

.choice:has(input:checked) {
  color: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}

.choice input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--blue);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.form-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.form-note a {
  color: inherit;
}

.form-status {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  color: #0f7149;
  background: #eefaf5;
  border: 1px solid #9bdabd;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.4;
}

.form-status.is-visible {
  display: flex;
}

.form-status--error {
  color: #8d2626;
  background: #fff3f3;
  border-color: #e6aaaa;
}

.hp-field {
  position: absolute !important;
  display: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

@media (max-width: 1260px) {
  .site-header__actions {
    gap: 14px;
  }

  .site-header__cta {
    padding-inline: 18px;
  }

  .site-header__cta-label--full {
    display: none;
  }

  .site-header__cta-label--compact {
    display: inline;
  }
}

.process-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-rail::before {
  position: absolute;
  top: 28px;
  right: 10%;
  left: 10%;
  height: 1px;
  content: "";
  background: var(--line);
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-step__marker {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.process-step__number {
  display: inline-grid;
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  place-items: center;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 17px;
  letter-spacing: -0.015em;
}

.process-step p {
  color: var(--muted);
  font-size: 14px;
}

.situation-grid,
.factor-grid,
.faq-grid,
.geo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
  gap: clamp(40px, 7vw, 96px);
}

.vehicle-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 7vw, 96px);
}

.vehicle-links-grid h3 {
  margin-bottom: 20px;
}

.catalog-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 8vw, 112px);
}

.catalog-columns h3 {
  margin-bottom: 20px;
}

.catalog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.catalog-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.catalog-list li:nth-child(odd) {
  margin-right: 20px;
}

.catalog-list a {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
}

.catalog-list a:hover {
  color: var(--blue);
}

.open-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.open-list__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}

.open-list__item .icon {
  color: var(--blue);
}

.open-list__item a {
  font-weight: 550;
  text-decoration: none;
}

.honest-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.media-frame {
  overflow: hidden;
  min-height: 420px;
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.factor-media {
  position: relative;
}

.factor-points {
  display: grid;
  align-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.factor-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding-block: 19px;
  border-bottom: 1px solid var(--line);
}

.factor-points li:first-child {
  border-top: 1px solid var(--line);
}

.factor-points strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.factor-points span {
  color: var(--muted);
  font-size: 14px;
}

.range-panel {
  margin-top: 30px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.range-panel h3 {
  margin-bottom: 6px;
  font-size: 20px;
}

.range-panel p {
  color: var(--muted);
  font-size: 14px;
}

.range-rail {
  position: relative;
  height: 4px;
  margin-block: 28px 12px;
  background: #cfd6e3;
}

.range-rail::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20%;
  width: 48%;
  content: "";
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 700ms ease;
}

.is-visible .range-rail::before,
.range-rail.is-visible::before {
  transform: scaleX(1);
}

.range-rail span {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  background: var(--white);
  border: 3px solid var(--blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.range-rail span:first-child {
  left: 20%;
}

.range-rail span:last-child {
  left: 68%;
}

.assessment-summary {
  margin-top: 28px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.assessment-summary__eyebrow,
.estimate-explainer__eyebrow,
.contact-panel__eyebrow {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assessment-summary__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 16px 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.assessment-summary__steps > div {
  padding: 15px 16px;
  background: var(--white);
}

.assessment-summary__steps span,
.assessment-summary__steps strong {
  display: block;
}

.assessment-summary__steps span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
}

.assessment-summary__steps strong {
  font-size: 15px;
  line-height: 1.35;
}

.assessment-summary > p:not(.assessment-summary__eyebrow) {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 14px;
}

.estimate-explainer {
  align-self: start;
  padding: clamp(24px, 3vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.estimate-explainer h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
}

.estimate-explainer__lead {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.estimate-explainer__inputs {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.estimate-explainer__inputs li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.estimate-explainer__inputs .icon {
  margin-top: 2px;
  color: var(--blue);
}

.estimate-explainer__inputs strong,
.estimate-explainer__inputs span {
  display: block;
}

.estimate-explainer__inputs strong {
  font-size: 14px;
}

.estimate-explainer__inputs span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.estimate-explainer__result {
  display: grid;
  gap: 0;
  margin: 20px 0 16px;
  overflow: hidden;
  background: #eef3ff;
  border: 1px solid #cfdafa;
  border-radius: var(--radius-sm);
}

.estimate-explainer__result > div {
  position: relative;
  padding: 14px 16px 14px 44px;
}

.estimate-explainer__result > div + div {
  border-top: 1px solid #cfdafa;
}

.estimate-explainer__result > div::before {
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  width: 20px;
  height: 20px;
  color: var(--white);
  background: var(--blue);
  border-radius: 50%;
  content: "1";
  font-size: 11px;
  font-weight: 750;
  place-items: center;
}

.estimate-explainer__result > div + div::before {
  content: "2";
}

.estimate-explainer__result span,
.estimate-explainer__result strong {
  display: block;
}

.estimate-explainer__result span {
  color: var(--muted);
  font-size: 12px;
}

.estimate-explainer__result strong {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.35;
}

.estimate-explainer__segment {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.estimate-explainer__segment strong {
  color: var(--ink);
}

.estimate-explainer__privacy {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.estimate-explainer__privacy .icon {
  width: 20px;
  height: 20px;
  color: var(--blue);
}

.case-list {
  border-top: 1px solid var(--line);
}

.case-row {
  display: grid;
  grid-template-columns: 300px repeat(4, minmax(0, 1fr)) auto;
  align-items: stretch;
  min-height: 210px;
  border-bottom: 1px solid var(--line);
}

.case-row__media {
  overflow: hidden;
  background: var(--surface);
}

.case-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-row__cell {
  min-width: 0;
  padding: 28px 18px;
}

.case-row__label {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
}

.case-row__value {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.case-row__cell strong {
  display: block;
  font-size: 15px;
  line-height: 1.4;
}

.case-row__cell a {
  text-decoration: none;
}

.case-row__cell a:hover {
  color: var(--blue);
}

.case-row__action {
  display: grid;
  min-width: 58px;
  align-self: center;
  padding: 20px;
  color: var(--blue);
  border-radius: var(--radius-sm);
  text-decoration: none;
  place-items: center;
  transition: color 180ms ease, background-color 180ms ease;
}

.case-row__action:hover {
  color: var(--blue-hover);
  background: var(--surface);
}

.case-row a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.case-report {
  overflow: clip;
}

.case-report__hero {
  padding-block: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.case-report__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
}

.case-report__intro {
  min-width: 0;
}

.case-report__cover {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.case-report__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-report__cover figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  color: var(--white);
  background: rgb(17 19 24 / 78%);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.35;
}

.case-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  background: var(--white);
  border-block: 1px solid var(--line);
}

.case-facts > div {
  min-width: 0;
  padding: 24px clamp(16px, 2.2vw, 28px);
}

.case-facts > div + div {
  border-left: 1px solid var(--line);
}

.case-facts dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.035em;
  line-height: 1.35;
  text-transform: uppercase;
}

.case-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.4;
}

.case-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: start;
  gap: clamp(48px, 8vw, 112px);
}

.case-summary > .content-prose {
  min-width: 0;
}

.case-summary > .content-prose > section:first-child h2 {
  margin-top: 0;
}

.case-summary > aside {
  position: sticky;
  top: 112px;
  min-width: 0;
}

.case-summary > aside .case-proof:first-child {
  margin-top: 0;
}

.case-timeline {
  display: grid;
  gap: 0;
  max-width: 900px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.case-timeline > li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  min-height: 88px;
  padding: 0 0 36px;
}

.case-timeline > li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 48px;
  height: 48px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  place-items: center;
}

.case-timeline > li:not(:last-child)::after {
  position: absolute;
  top: 48px;
  bottom: 0;
  left: 23px;
  width: 1px;
  content: "";
  background: var(--line);
}

.case-timeline h3 {
  display: block;
  margin-bottom: 5px;
  font-size: 17px;
  line-height: 1.4;
}

.case-timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
  margin-top: 34px;
}

.case-gallery figure {
  min-width: 0;
  margin: 0;
}

.case-gallery picture {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border-radius: var(--radius);
}

.case-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.case-gallery figure:hover img {
  transform: scale(1.015);
}

.case-gallery figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.case-proof {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  margin-block: 36px;
  padding: 22px 24px;
  color: #343b46;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
}

.case-proof > .icon {
  margin-top: 2px;
  color: var(--blue);
}

.case-proof strong {
  display: block;
  margin-bottom: 7px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.case-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.case-index-hero .case-proof {
  margin-block: 0;
}

.deal-archive-teaser {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  min-height: 360px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(21, 32, 51, 0.18);
  isolation: isolate;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.deal-archive-teaser:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.deal-archive-teaser::before {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(36, 87, 245, 0.16);
  content: "";
  filter: blur(2px);
  left: -250px;
  bottom: -310px;
}

.deal-archive-teaser__content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(36px, 5vw, 64px);
}

.deal-archive-teaser__metric {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-left: 18px;
  border-left: 3px solid var(--blue);
}

.deal-archive-teaser__metric strong {
  color: var(--white);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.82;
}

.deal-archive-teaser__metric span {
  max-width: 150px;
  color: #aebbd0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.deal-archive-teaser__copy h2 {
  max-width: 620px;
  color: var(--white);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.08;
}

.deal-archive-teaser__copy > p:last-child {
  max-width: 610px;
  margin: 18px 0 0;
  color: #cbd4e3;
  font-size: 16px;
}

.deal-archive-teaser__action {
  margin-top: 28px;
  white-space: nowrap;
}

.deal-archive-teaser__visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.deal-archive-teaser__visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, rgba(21, 32, 51, 0.32) 26%, rgba(21, 32, 51, 0) 58%);
  content: "";
  pointer-events: none;
}

.deal-archive-teaser__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  transition: transform 450ms ease;
}

@media (hover: hover) {
  .deal-archive-teaser:hover {
    box-shadow: 0 30px 80px rgba(21, 32, 51, 0.24);
    transform: translateY(-2px);
  }

  .deal-archive-teaser:hover .deal-archive-teaser__image {
    transform: scale(1.025);
  }
}

.deal-archive-hero {
  overflow: hidden;
  padding-block: 72px 82px;
  background: #f6f7fa;
}

.deal-archive-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
}

.deal-archive-hero__copy h1 {
  max-width: 680px;
}

.deal-archive-hero__copy .page-hero__lead {
  max-width: 690px;
}

.deal-archive-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 34px 0 0;
  padding: 0;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  list-style: none;
}

.deal-archive-facts li {
  display: flex;
  min-height: 92px;
  padding: 18px 20px;
  background: var(--white);
  flex-direction: column;
  justify-content: center;
}

.deal-archive-facts strong {
  font-size: 19px;
  line-height: 1.2;
}

.deal-archive-facts span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.deal-archive-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.deal-archive-collage {
  position: relative;
  min-height: 530px;
}

.deal-archive-collage figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--surface-strong);
  border: 6px solid var(--white);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(21, 32, 51, 0.16);
}

.deal-archive-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-archive-collage__main {
  inset: 0 25% 0 0;
}

.deal-archive-collage__side {
  right: 0;
  width: 36%;
  height: 42%;
}

.deal-archive-collage__side--top {
  top: 4%;
  transform: rotate(2.5deg);
}

.deal-archive-collage__side--bottom {
  bottom: 4%;
  transform: rotate(-2deg);
}

.deal-archive-collage__badge {
  position: absolute;
  z-index: 2;
  right: 24%;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  color: var(--white);
  background: var(--blue);
  border: 4px solid var(--white);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(36, 87, 245, 0.28);
  font-size: 14px;
  font-weight: 700;
}

.deal-archive-collage__badge .icon {
  width: 18px;
  height: 18px;
}

.deal-archive-heading {
  align-items: end;
}

.deal-archive-result {
  flex: 0 0 auto;
  margin: 0;
  color: var(--muted);
}

.deal-archive-result strong {
  color: var(--ink);
  font-size: 28px;
}

.deal-archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -6px 0 36px;
  padding-bottom: 2px;
  overflow-x: visible;
}

.deal-archive-filter {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.deal-archive-filter small {
  display: inline-grid;
  min-width: 24px;
  min-height: 24px;
  padding-inline: 6px;
  color: var(--muted);
  background: var(--surface);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  place-items: center;
}

.deal-archive-filter:hover {
  border-color: #b3bfd8;
  transform: translateY(-1px);
}

.deal-archive-filter:focus-visible {
  outline: 3px solid rgba(36, 87, 245, 0.25);
  outline-offset: 2px;
}

.deal-archive-filter.is-active {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.deal-archive-filter.is-active small {
  color: var(--navy);
  background: var(--white);
}

.deal-archive-gallery {
  columns: 4 260px;
  column-gap: 18px;
}

.deal-archive-card {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 0 18px;
  overflow: hidden;
  background: var(--navy);
  border-radius: var(--radius);
  break-inside: avoid;
  scroll-margin-top: 108px;
  box-shadow: 0 8px 24px rgba(21, 32, 51, 0.08);
}

.deal-archive-card[hidden] {
  display: none !important;
}

.deal-archive-card__open {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.deal-archive-card__open::after {
  position: absolute;
  inset: 36% 0 0;
  background: linear-gradient(0deg, rgba(12, 19, 31, 0.94), rgba(12, 19, 31, 0));
  content: "";
  pointer-events: none;
}

.deal-archive-card img {
  width: 100%;
  background: var(--surface);
  transition: transform 320ms ease;
}

.deal-archive-card__zoom {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: rgba(21, 32, 51, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
  place-items: center;
}

.deal-archive-card__zoom .icon {
  width: 18px;
  height: 18px;
}

.deal-archive-card figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  padding: 48px 18px 16px;
  color: var(--white);
  pointer-events: none;
  flex-direction: column;
}

.deal-archive-card figcaption strong {
  font-size: 16px;
  line-height: 1.25;
}

.deal-archive-card figcaption span {
  margin-top: 3px;
  color: #d5dbea;
  font-size: 12px;
  line-height: 1.35;
}

.deal-archive-card:hover img,
.deal-archive-card__open:focus-visible img {
  transform: scale(1.025);
}

.deal-archive-card:hover .deal-archive-card__zoom,
.deal-archive-card__open:focus-visible .deal-archive-card__zoom {
  opacity: 1;
  transform: none;
}

.deal-archive-card__open:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: -4px;
}

.deal-archive-card:target {
  outline: 4px solid var(--blue);
  outline-offset: 3px;
}

.deal-archive-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  margin: 18px 0 38px;
  padding: clamp(28px, 4vw, 48px);
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgba(21, 32, 51, 0.16);
}

.deal-archive-cta[hidden] {
  display: none;
}

.deal-archive-cta .eyebrow {
  color: #91aaff;
}

.deal-archive-cta h3 {
  max-width: 680px;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.deal-archive-cta p:last-child {
  max-width: 700px;
  margin-top: 12px;
  color: #cbd4e3;
}

.deal-archive-cta .button {
  white-space: nowrap;
}

.deal-archive-empty {
  padding: 32px;
  color: var(--muted);
  background: var(--surface);
  border-radius: var(--radius);
  text-align: center;
}

.deal-archive-services {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.deal-archive-services a {
  position: relative;
  display: flex;
  min-height: 210px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  flex-direction: column;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.deal-archive-services a > span {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: auto;
  color: var(--blue);
  background: #eef2ff;
  border-radius: 12px;
  place-items: center;
}

.deal-archive-services a > span .icon {
  width: 23px;
  height: 23px;
}

.deal-archive-services strong {
  margin-top: 30px;
  font-size: 18px;
}

.deal-archive-services small {
  margin-top: 5px;
  padding-right: 28px;
  color: var(--muted);
  font-size: 13px;
}

.deal-archive-services a > .icon {
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 20px;
  color: var(--blue);
}

.deal-archive-services a:hover {
  border-color: #b6c4e8;
  box-shadow: 0 14px 34px rgba(21, 32, 51, 0.1);
  transform: translateY(-2px);
}

.deal-archive-lightbox {
  width: min(1180px, calc(100vw - 48px));
  max-width: none;
  height: min(860px, calc(100vh - 48px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--white);
  background: #0c111b;
  border: 0;
  border-radius: 22px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.deal-archive-lightbox::backdrop {
  background: rgba(8, 12, 20, 0.86);
  backdrop-filter: blur(8px);
}

.deal-archive-lightbox[open] {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
}

.deal-archive-lightbox figure {
  display: grid;
  height: 100%;
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
}

.deal-archive-lightbox figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.deal-archive-lightbox figcaption {
  display: flex;
  gap: 8px 18px;
  padding: 16px 18px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.deal-archive-lightbox figcaption span {
  color: #bfc8d8;
}

.deal-archive-lightbox button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  cursor: pointer;
  place-items: center;
}

.deal-archive-lightbox button:hover,
.deal-archive-lightbox button:focus-visible {
  background: var(--blue);
  outline: none;
}

.deal-archive-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
}

.deal-archive-lightbox__nav {
  margin: 0 auto;
}

.deal-archive-lightbox__nav--prev .icon {
  transform: rotate(180deg);
}

.article-list {
  border-top: 1px solid var(--line);
}

.article-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  min-height: 210px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.article-row__media {
  overflow: hidden;
  height: 170px;
  background: var(--surface);
  border-radius: var(--radius-sm);
}

.article-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-row h2 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

.article-row h2 a {
  text-decoration: none;
}

.article-row p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.geo-map {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.yandex-map {
  position: relative;
  display: grid;
  min-height: 460px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.yandex-map__placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  min-height: inherit;
  padding: 40px 24px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(36, 87, 245, 0.12), transparent 30%),
    linear-gradient(135deg, #f7f9fc, #edf1f7);
}

.yandex-map__placeholder p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.yandex-map__icon {
  display: grid;
  width: 52px;
  height: 52px;
  color: var(--blue);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  place-items: center;
}

.yandex-map__icon svg {
  width: 24px;
  height: 24px;
}

.yandex-map__noscript {
  margin: auto;
}

.yandex-map iframe {
  display: block;
  width: 100%;
  min-height: inherit;
  height: 100%;
  border: 0;
}

.yandex-map--contacts {
  min-height: 520px;
}

.city-map {
  align-self: start;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 42px rgba(21, 32, 51, 0.08);
}

.yandex-map--city {
  min-height: 430px;
  border: 0;
  border-radius: 0;
}

.city-map__placeholder {
  min-height: 430px;
  background:
    radial-gradient(circle at 22% 28%, rgba(36, 87, 245, 0.12), transparent 24%),
    linear-gradient(135deg, #f7f9fc, #edf1f7);
}

.city-map__placeholder p {
  max-width: 440px;
}

.city-map iframe {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.city-map__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.city-map__caption > div {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.city-map__caption .icon {
  color: var(--blue);
}

.city-map__caption strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.city-map__caption .text-link {
  flex: 0 0 auto;
}

.geo-map::before {
  position: absolute;
  inset: 56px;
  content: "";
  border: 1px dashed #c6ceda;
  border-radius: 50%;
}

.geo-map::after {
  position: absolute;
  top: 50%;
  right: 32px;
  left: 32px;
  height: 1px;
  content: "";
  background: var(--line);
}

.geo-map__center,
.geo-map__point {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 8px 24px rgba(21, 32, 51, 0.08);
}

.geo-map__center {
  top: 52%;
  left: 50%;
  color: var(--blue);
  transform: translate(-50%, -50%);
}

.geo-map__point::before {
  width: 9px;
  height: 9px;
  content: "";
  background: var(--blue);
  border-radius: 50%;
}

.geo-map__point:nth-child(2) { bottom: 10%; left: 44%; }
.geo-map__point:nth-child(3) { top: 48%; right: 6%; }
.geo-map__point:nth-child(4) { top: 14%; right: 18%; }
.geo-map__point:nth-child(5) { top: 12%; left: 22%; }
.geo-map__point:nth-child(6) { top: 40%; left: 6%; }
.geo-map__point:nth-child(7) { bottom: 15%; left: 12%; }

.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 460px;
  padding: clamp(32px, 5vw, 64px);
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius-lg);
}

.contact-panel--details {
  min-height: 0;
  margin-top: 28px;
  padding: 32px;
  justify-content: flex-start;
}

.contact-panel.contact-panel--details .phone-link {
  margin: 2px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.contact-panel .contact-panel__eyebrow {
  margin-bottom: 8px;
  color: #9fb0c8;
}

.contact-facts {
  display: grid;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-facts li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-facts .icon {
  margin-top: 2px;
  color: #b8c8df;
}

.contact-facts strong,
.contact-facts span {
  display: block;
}

.contact-facts strong {
  color: var(--white);
  font-size: 14px;
}

.contact-facts span {
  margin-top: 2px;
  color: #cbd4e3;
  font-size: 14px;
  line-height: 1.45;
}

.contact-panel .phone-link {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-panel p {
  color: #cbd4e3;
}

.contact-panel__actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-panel--details .contact-panel__actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.contact-panel .process-rail {
  grid-template-columns: 1fr;
  gap: 0;
}

.contact-panel .process-rail::before {
  display: none;
}

.contact-panel .process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-panel .process-step__marker {
  grid-row: 1 / 4;
  width: 46px;
  height: 46px;
  margin: 0;
}

.contact-panel .process-step__number {
  display: none;
}

.contact-panel .process-step h3,
.contact-panel .process-step p {
  grid-column: 2;
}

.contact-panel .process-step h3 {
  color: var(--white);
}

.contact-panel .process-step p {
  color: #cbd4e3;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  position: relative;
  padding: 24px 46px 24px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 650;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 18px;
  height: 2px;
  content: "";
  background: var(--blue);
  transition: transform 180ms ease;
}

.faq-item summary::after {
  transform: rotate(90deg);
}

.faq-item[open] summary::after {
  transform: rotate(0deg);
}

.faq-item__answer {
  max-width: 760px;
  padding: 0 46px 24px 0;
  color: var(--muted);
}

.contact-band {
  padding-block: clamp(48px, 7vw, 76px);
  color: var(--white);
  background: var(--navy);
}

.contact-band__head {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.65fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.contact-band h2 {
  color: var(--white);
}

.contact-band p,
.contact-band .checkbox,
.contact-band .form-note {
  color: #cbd4e3;
}

.contact-band .field label {
  color: var(--white);
}

.contact-band__form {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.7fr 1fr 1fr auto;
  align-items: end;
  gap: 12px;
}

.site-footer {
  padding: 56px 0 38px;
  background: var(--white);
}

.site-footer__main {
  display: grid;
  grid-template-columns: 1.1fr 1.6fr 1fr;
  align-items: start;
  gap: 48px;
  padding-bottom: 44px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
}

.footer-nav a,
.site-footer__meta a,
.site-footer__meta button {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.site-footer__meta button {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-footer__meta button:hover,
.site-footer__meta button:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: start;
  gap: 14px;
  font-size: 14px;
}

.footer-contact__facts {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact__facts li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.footer-contact__facts .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.footer-contact__facts span,
.footer-contact__facts strong {
  display: block;
}

.footer-contact__facts strong {
  margin-bottom: 2px;
  color: var(--ink);
}

.footer-contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 6px;
}

.footer-contact__actions .button {
  min-height: 46px;
  padding: 11px 16px;
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.mobile-action-bar {
  display: none;
}

.cookie-banner {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: min(620px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(21, 32, 51, 0.24);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-consent-decided .cookie-banner {
  display: none;
}

.cookie-banner__copy strong {
  font-size: 20px;
}

.cookie-banner__copy p {
  margin: 7px 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-banner__copy .cookie-banner__status {
  margin-top: 10px;
  padding: 9px 11px;
  color: var(--ink);
  background: var(--surface);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
}

.cookie-banner__copy a {
  color: var(--blue);
  font-size: 13px;
  font-weight: 650;
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
}

.cookie-banner__actions .button {
  min-height: 46px;
  padding: 11px 16px;
}

.cookie-banner__actions .button.is-selected {
  box-shadow: 0 0 0 3px rgba(36, 87, 245, 0.2);
}

.cookie-banner__dismiss {
  min-height: 40px;
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.cookie-banner__dismiss:hover,
.cookie-banner__dismiss:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page-hero {
  padding-block: clamp(56px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.52fr);
  align-items: center;
  gap: clamp(44px, 8vw, 104px);
}

.page-hero__lead {
  max-width: 720px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 19px;
}

.article-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.page-hero__photo {
  position: relative;
  margin-top: 40px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
}

.page-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__photo figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgb(18 24 20 / 74%);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  backdrop-filter: blur(6px);
}

.page-vehicle-catalog .page-hero--catalog {
  padding-block: clamp(44px, 6vw, 72px);
}

.catalog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.catalog-hero__copy h1 {
  max-width: 680px;
}

.catalog-hero__copy .page-hero__lead {
  max-width: 700px;
  margin-bottom: 26px;
}

.catalog-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.catalog-hero__actions > span {
  max-width: 250px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.catalog-hero__photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius-lg);
}

.catalog-hero__photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.catalog-hero__photo figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}

.catalog-hero__photo figcaption strong,
.catalog-hero__photo figcaption span {
  display: block;
}

.catalog-hero__photo figcaption strong {
  font-size: 14px;
}

.catalog-hero__photo figcaption span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  gap: clamp(48px, 8vw, 112px);
}

.content-grid--estimate {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.48fr);
  gap: clamp(44px, 6vw, 84px);
}

.content-prose {
  max-width: 780px;
}

.content-prose h2 {
  margin: 56px 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.content-prose h3 {
  margin: 36px 0 14px;
}

.content-prose p,
.content-prose li {
  color: #343b46;
}

.content-prose li + li {
  margin-top: 9px;
}

.toc {
  position: sticky;
  top: 112px;
  align-self: start;
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.toc a {
  display: block;
  padding-block: 7px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.toc a:hover {
  color: var(--blue);
}

.info-note {
  display: flex;
  gap: 12px;
  margin-block: 28px;
  padding: 18px 20px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.placeholder {
  display: grid;
  min-height: 220px;
  padding: 32px;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed #b8c0cf;
  border-radius: var(--radius);
  text-align: center;
  place-items: center;
}

.breadcrumbs {
  padding-top: 22px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 8px;
  content: "/";
}

.breadcrumbs a {
  color: var(--muted);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto auto;
    gap: 18px;
  }

  .brand-link--header {
    grid-column: 1;
  }

  .site-header__actions {
    grid-column: 2;
    justify-self: end;
  }

  .mobile-phone {
    grid-column: 3;
  }

  .menu-toggle {
    grid-column: 4;
  }

  .site-nav,
  .site-header__actions .button {
    display: none;
  }

  .mobile-phone,
  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--ink);
    background: transparent;
    border: 0;
    border-radius: 8px;
    place-items: center;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .mobile-phone {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    z-index: 49;
    inset: 80px 0 0;
    display: none;
    padding: 22px var(--gutter) 120px;
    overflow-y: auto;
    background: var(--white);
  }

  .mobile-menu.is-open {
    display: block;
  }

  .mobile-menu nav {
    display: grid;
    border-top: 1px solid var(--line);
  }

  .mobile-menu nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
    font-weight: 650;
    text-decoration: none;
  }

  .mobile-menu .button {
    width: 100%;
    margin-top: 24px;
  }

  .case-row {
    grid-template-columns: minmax(190px, 0.9fr) repeat(4, minmax(100px, 1fr)) 58px;
  }

  .deal-archive-teaser {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .case-row__cell {
    padding-inline: 14px;
  }

  .case-row .case-row__label {
    margin-bottom: 12px;
  }

  .case-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .case-facts > div {
    border-bottom: 0;
  }

  .case-facts > div:nth-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .case-facts > div:nth-child(3n + 1) {
    border-left: 0;
  }

  .contact-band__form {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  :root {
    --gutter: 20px;
  }

  .deal-archive-hero__grid {
    grid-template-columns: 1fr;
  }

  .deal-archive-hero__copy {
    max-width: 760px;
  }

  .deal-archive-collage {
    min-height: 460px;
  }

  .deal-archive-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
    padding-block: 56px;
  }

  .hero__media {
    position: relative;
    inset: auto;
    grid-row: 2;
    width: calc(100% + (var(--gutter) * 2));
    height: 420px;
    margin: 0 calc(var(--gutter) * -1);
  }

  .hero__media::before {
    display: none;
  }

  .hero__form {
    grid-row: 3;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }

  .situation-grid,
  .factor-grid,
  .faq-grid,
  .geo-grid,
  .vehicle-links-grid,
  .catalog-columns,
  .catalog-hero,
  .page-hero__grid,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero__photo {
    min-height: 400px;
  }

  .situation-grid .media-frame {
    grid-row: 1;
  }

  .process-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-rail::before {
    display: none;
  }

  .contact-band__head {
    grid-template-columns: 1fr;
  }

  .site-footer__main {
    grid-template-columns: 1fr 1.5fr;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .toc {
    position: static;
    grid-row: 1;
  }

  .article-row {
    grid-template-columns: 220px minmax(0, 1fr) auto;
  }

  .case-report__hero-grid,
  .case-summary {
    grid-template-columns: 1fr;
  }

  .case-report__cover {
    max-height: 620px;
  }

  .case-summary > aside {
    position: static;
  }

  .no-js .mobile-menu {
    position: static;
    display: block;
    padding-bottom: 24px;
  }

  .no-js .menu-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
  }

  body {
    padding-bottom: 72px;
    font-size: 16px;
  }

  html {
    scroll-padding-top: 82px;
  }

  h1 {
    font-size: clamp(2.15rem, 9.5vw, 2.35rem);
    line-height: 1.06;
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.15rem);
  }

  .section {
    padding-block: 64px;
  }

  .section--compact {
    padding-block: 52px;
  }

  .section-heading {
    display: block;
    margin-bottom: 34px;
  }

  .section-heading__copy {
    margin-top: 14px;
    font-size: 16px;
  }

  .deal-archive-teaser {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .deal-archive-teaser__content {
    padding: 24px 22px 26px;
  }

  .deal-archive-teaser__metric {
    gap: 13px;
    margin-bottom: 18px;
    padding-left: 14px;
  }

  .deal-archive-teaser__metric strong {
    font-size: 2.9rem;
  }

  .deal-archive-teaser__metric span {
    max-width: 142px;
    font-size: 12px;
  }

  .deal-archive-teaser__copy h2 {
    font-size: clamp(1.6rem, 7.2vw, 1.85rem);
  }

  .deal-archive-teaser__copy > p:last-child {
    margin-top: 14px;
    font-size: 15px;
  }

  .deal-archive-teaser__action {
    min-height: 50px;
    margin-top: 20px;
    width: 100%;
  }

  .deal-archive-teaser__visual {
    grid-row: 1;
    min-height: 180px;
  }

  .deal-archive-teaser__visual::after {
    background: linear-gradient(0deg, var(--navy) 0%, rgba(21, 32, 51, 0.08) 46%, rgba(21, 32, 51, 0) 70%);
  }

  .deal-archive-gallery {
    columns: 1;
  }

  .deal-archive-card {
    margin-bottom: 18px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 6px 20px rgba(21, 32, 51, 0.06);
  }

  .deal-archive-hero {
    padding-block: 42px 54px;
  }

  .deal-archive-hero__grid {
    gap: 38px;
  }

  .deal-archive-hero__copy .page-hero__lead {
    margin-top: 18px;
  }

  .deal-archive-facts {
    grid-template-columns: 1fr;
  }

  .deal-archive-facts li {
    min-height: 70px;
    padding: 14px 16px;
  }

  .deal-archive-hero__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .deal-archive-hero__actions .button {
    width: 100%;
  }

  .deal-archive-hero__actions .text-link {
    align-self: flex-start;
  }

  .deal-archive-collage {
    min-height: 330px;
  }

  .deal-archive-collage figure {
    border-width: 4px;
    border-radius: 16px;
  }

  .deal-archive-collage__main {
    right: 23%;
  }

  .deal-archive-collage__side {
    width: 37%;
  }

  .deal-archive-collage__badge {
    right: 20%;
    bottom: 14px;
  }

  .deal-archive-heading {
    display: block;
  }

  .deal-archive-result {
    margin-top: 16px;
  }

  .deal-archive-filters {
    width: calc(100% + var(--gutter));
    flex-wrap: nowrap;
    margin-right: calc(var(--gutter) * -1);
    margin-bottom: 26px;
    padding-right: var(--gutter);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .deal-archive-card__open::after,
  .deal-archive-card__zoom {
    display: none;
  }

  .deal-archive-card figcaption {
    position: static;
    padding: 14px 16px 16px;
    color: var(--ink);
    background: var(--white);
  }

  .deal-archive-card figcaption span {
    color: var(--muted);
  }

  .deal-archive-cta {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-block: 10px 28px;
    padding: 26px 22px;
  }

  .deal-archive-cta .button {
    width: 100%;
  }

  .deal-archive-services {
    grid-template-columns: 1fr;
  }

  .deal-archive-services a {
    min-height: 160px;
  }

  .deal-archive-lightbox {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
    border-radius: 16px;
  }

  .deal-archive-lightbox[open] {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
  }

  .deal-archive-lightbox button {
    width: 38px;
    height: 38px;
  }

  .deal-archive-lightbox__close {
    top: 10px;
    right: 10px;
  }

  .deal-archive-lightbox figcaption {
    padding: 12px 8px 14px;
    font-size: 13px;
    flex-direction: column;
  }

  .catalog-list {
    grid-template-columns: 1fr;
  }

  .catalog-list li:nth-child(odd) {
    margin-right: 0;
  }

  .site-header,
  .site-header__inner {
    min-height: 70px;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto auto;
    gap: 6px;
  }

  .brand-link--header {
    width: 150px;
  }

  .site-header__actions {
    display: none;
  }

  .mobile-phone {
    display: inline-grid;
  }

  .mobile-menu {
    inset: 70px 0 0;
  }

  .hero__grid {
    padding-top: 38px;
  }

  .hero__lead {
    margin-block: 20px 24px;
    font-size: 16px;
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__actions .button,
  .hero__actions .text-link {
    width: 100%;
  }

  .hero__media {
    height: 280px;
  }

  .hero__media img {
    object-position: 54% center;
  }

  .lead-card {
    padding: 20px;
    box-shadow: none;
  }

  .form-grid,
  .contact-band__form {
    grid-template-columns: 1fr;
  }

  .choices {
    display: grid;
    grid-template-columns: 1fr;
  }

  .process-rail {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-step {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    padding-block: 18px;
    border-bottom: 1px solid var(--line);
  }

  .process-step__marker {
    grid-row: 1 / 4;
    width: 46px;
    height: 46px;
    margin: 0;
  }

  .process-step__number {
    display: none;
  }

  .process-step h3,
  .process-step p {
    grid-column: 2;
  }

  .media-frame {
    min-height: 300px;
  }

  .case-row {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .case-row__media {
    min-height: 210px;
    aspect-ratio: 16 / 10;
  }

  .article-row {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .article-row__media {
    grid-column: 1 / -1;
    height: 210px;
  }

  .case-row__cell {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 16px;
    padding: 16px 18px;
    border-top: 1px solid var(--line);
  }

  .case-row__label {
    margin: 0;
  }

  .case-row > .case-row__action {
    width: 100%;
    min-height: 52px;
    border-top: 1px solid var(--line);
    border-radius: 0;
  }

  .case-report__hero {
    padding-block: 42px 56px;
  }

  .case-report__hero-grid {
    gap: 32px;
  }

  .case-report__cover {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
  }

  .case-facts {
    grid-template-columns: 1fr 1fr;
  }

  .case-facts > div {
    padding: 18px 16px;
    border-bottom: 0;
  }

  .case-facts > div:nth-child(-n + 4) {
    border-bottom: 1px solid var(--line);
  }

  .case-facts > div:nth-child(3n + 1) {
    border-left: 1px solid var(--line);
  }

  .case-facts > div:nth-child(odd) {
    border-left: 0;
  }

  .case-summary {
    gap: 40px;
  }

  .case-timeline > li {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
  }

  .case-timeline > li > span {
    width: 42px;
    height: 42px;
  }

  .case-timeline > li:not(:last-child)::after {
    top: 42px;
    left: 20px;
  }

  .case-gallery {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-gallery picture {
    aspect-ratio: 4 / 3;
  }

  .case-gallery figure:hover img {
    transform: none;
  }

  .case-proof {
    padding: 20px;
  }

  .geo-map,
  .yandex-map,
  .contact-panel--geo,
  .contact-panel--steps {
    min-height: 390px;
  }

  .contact-panel--details {
    min-height: 0;
    margin-top: 24px;
    padding: 24px;
  }

  .contact-panel--details .contact-panel__actions {
    grid-template-columns: 1fr;
  }

  .faq-item summary {
    padding-block: 20px;
    font-size: 16px;
  }

  .contact-band__head {
    gap: 18px;
  }

  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-contact__actions {
    width: 100%;
  }

  .footer-contact__actions .button {
    display: none;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 60;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 8px;
    padding: 10px 12px max(10px, env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px rgba(21, 32, 51, 0.1);
  }

  .mobile-action-bar .button {
    min-height: 48px;
    padding-inline: 12px;
  }

  .cookie-banner {
    right: 10px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 98px - env(safe-area-inset-bottom));
    gap: 16px;
    padding: 20px;
    border-radius: 16px;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-banner__actions .button {
    width: 100%;
  }

  .page-hero {
    padding-block: 46px 64px;
  }

  .page-hero__lead {
    margin-block: 20px 24px;
    font-size: 16px;
  }

  .page-hero__photo {
    margin-top: 28px;
  }

  .page-vehicle-catalog .page-hero--catalog {
    padding-block: 36px 48px;
  }

  .catalog-hero {
    gap: 32px;
  }

  .catalog-hero__actions {
    align-items: stretch;
  }

  .catalog-hero__actions .button {
    width: 100%;
  }

  .catalog-hero__actions > span {
    max-width: none;
  }

  .catalog-hero__photo {
    min-height: 290px;
  }

  .city-map iframe {
    height: 320px;
  }

  .yandex-map--city,
  .city-map__placeholder {
    min-height: 320px;
  }

  .city-map__caption {
    display: grid;
    gap: 10px;
    padding: 16px;
  }

  .city-map__caption .text-link {
    justify-content: flex-start;
  }

  .assessment-summary__steps {
    grid-template-columns: 1fr;
  }

  .breadcrumbs {
    overflow: hidden;
  }

  .breadcrumbs ol {
    flex-wrap: nowrap;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .breadcrumbs ol::-webkit-scrollbar {
    display: none;
  }

  .breadcrumbs li {
    flex: 0 0 auto;
  }

  .breadcrumbs li:last-child {
    max-width: 50vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .toc {
    padding: 0 0 18px;
    overflow-x: auto;
    border: 0;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
  }

  .toc a {
    display: inline-block;
    margin-right: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .case-gallery figure:hover img {
    transform: none;
  }
}
