@font-face {
  font-family: "ChangAnunitype";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/ChangAnunitype-Regular.otf") format("opentype");
}

@font-face {
  font-family: "ChangAnunitype";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("assets/ChangAnunitype-Light.otf") format("opentype");
}

@font-face {
  font-family: "ChangAnunitype";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/ChangAnunitype-Bold.otf") format("opentype");
}

:root {
  --blue: #0066b5;
  --blue-deep: #0b457f;
  --ink: #333333;
  --muted: #888889;
  --soft: #f2f2f2;
  --line: #e0e0e0;
  --white: #ffffff;
  --dark: #172530;
  --radius: 8px;
  --shadow: 0 18px 44px rgba(28, 31, 34, 0.1);
  --container: 1320px;
  --gutter: clamp(20px, 5vw, 70px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: "ChangAnunitype", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.35;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 156px;
}

.dealer {
  display: grid;
  gap: 2px;
  font-size: 14px;
}

.dealer strong,
.phone {
  font-weight: 700;
}

.dealer span {
  color: var(--muted);
}

.phone {
  color: var(--blue);
  font-size: 18px;
  white-space: nowrap;
}

.hero {
  padding: 42px 0 64px;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.hero__copy {
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f8f8;
}

.hero__media {
  grid-column: 6 / 13;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #eef2f5;
  box-shadow: var(--shadow);
}

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

.hero__form {
  grid-column: 1 / 13;
  min-height: 0;
  align-content: start;
  grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(160px, 1fr)) minmax(190px, 0.8fr);
  align-items: end;
}

.hero__form h2,
.hero__form p {
  grid-column: 1;
}

.hero__form label,
.hero__form .button {
  align-self: end;
}

.hero__form .consent {
  grid-column: 2 / 6;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero h1,
.section__head h2,
.dealer-grid h2,
.contact h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero h1 {
  max-width: 430px;
  font-size: clamp(38px, 3.3vw, 54px);
}

.lead {
  max-width: 430px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 21px;
}

.hero__proofs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 44px;
  padding-top: 0;
}

.hero__proofs span {
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.hero__proofs b {
  display: inline;
  margin-right: 8px;
  color: var(--blue);
  font-size: 12px;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
}

.lead-form h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.08;
}

.lead-form p {
  margin: -3px 0 4px;
  color: var(--muted);
  font-size: 15px;
}

.lead-form label {
  display: grid;
  gap: 7px;
  position: relative;
  font-size: 13px;
  font-weight: 700;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 50px;
  border: 1px solid #666;
  border-radius: 8px;
  padding: 0 15px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.lead-form select {
  appearance: none;
  padding-right: 50px;
}

.lead-form input:focus,
.lead-form select:focus {
  border-color: var(--blue);
}

.select-native {
  position: absolute;
  width: 1px !important;
  min-height: 1px !important;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
  z-index: 1;
}

.custom-select.is-open {
  z-index: 12;
}

.custom-select__button {
  position: relative;
  width: 100%;
  min-height: 50px;
  border: 1px solid #666;
  border-radius: 8px;
  padding: 0 54px 0 15px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-select__button:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-64%) rotate(45deg);
  transition: transform 0.2s ease;
}

.custom-select.is-open .custom-select__button,
.custom-select__button:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 181, 0.14);
  outline: 0;
}

.custom-select.is-open .custom-select__button:after {
  transform: translateY(-30%) rotate(225deg);
}

.custom-select__list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  max-height: 260px;
  margin: 0;
  padding: 6px;
  overflow: auto;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(28, 31, 34, 0.14);
}

.custom-select.is-open .custom-select__list {
  display: grid;
  gap: 2px;
}

.custom-select__option {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  padding: 9px 12px;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
}

.custom-select__option:hover,
.custom-select__option.is-selected {
  background: rgba(0, 102, 181, 0.08);
  color: var(--blue);
}

.button {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  padding: 0 22px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.consent {
  display: flex !important;
  gap: 9px !important;
  align-items: flex-start;
  color: var(--muted);
  font-size: 12px !important;
  font-weight: 300 !important;
}

.consent input {
  width: 16px;
  min-height: 16px;
  margin-top: 1px;
}

.section {
  padding: 76px 0;
}

.section__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.section__head h2,
.dealer-grid h2,
.contact h2 {
  font-size: clamp(32px, 4vw, 54px);
}

.trust__grid,
.model-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.trust article {
  grid-column: span 4;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.warranty-card {
  padding-right: 132px;
}

.warranty-card img {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 92px;
  opacity: 0.12;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.trust h3,
.model-card h3,
.dealer-note strong {
  margin: 0 0 9px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.16;
}

.trust p,
.model-card p,
.dealer-grid p,
.dealer-note span {
  margin: 0;
  color: var(--muted);
}

.dealer-section,
.models {
  background: var(--soft);
}

.dealer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.dealer-grid > div:first-child {
  grid-column: 1 / 8;
}

.dealer-grid p {
  max-width: 680px;
  margin-top: 18px;
  font-size: 20px;
}

.dealer-note {
  grid-column: 9 / 13;
  display: grid;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.dealer-note a,
.text-button {
  width: fit-content;
  color: var(--blue);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.text-button {
  margin: 0;
  padding: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  line-height: 1.15;
  text-align: left;
}

.text-button:hover,
.dealer-note a:hover {
  color: var(--blue-deep);
}

.model-card {
  grid-column: span 3;
  display: grid;
  align-content: space-between;
  min-height: 310px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.model-card--featured {
  border-color: rgba(0, 102, 181, 0.45);
}

.model-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 18px;
}

.contact {
  background: var(--dark);
  color: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.contact__grid > div {
  grid-column: 1 / 8;
}

.contact__form {
  grid-column: 9 / 13;
  align-self: stretch;
  box-shadow: none;
}

.contact .eyebrow,
.contact h2,
.contact a {
  color: #fff;
}

.contact__form h2 {
  color: var(--ink);
}

.contact p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

p.eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.1;
}

.contact-map {
  height: 278px;
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-map iframe,
.contact-map > ymaps,
.contact-map > div {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  padding: 28px 0;
  background: #111;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.footer .container {
  display: grid;
  gap: 16px;
}

.footer p {
  max-width: 980px;
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: rgba(0, 102, 181, 0.08);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal.is-open {
  display: grid;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 34, 0.54);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
}

.modal__form {
  box-shadow: 0 26px 70px rgba(13, 24, 35, 0.28);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: #f2f2f2;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 28px;
  line-height: 1;
}

.modal__close:hover {
  background: #e7e7e7;
}

@media (max-width: 1100px) {
  .hero__copy {
    grid-column: 1 / 7;
  }

  .hero__media {
    grid-column: 7 / 13;
  }

  .hero__form {
    grid-column: 1 / 13;
    min-height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__form h2,
  .hero__form p,
  .hero__form .consent {
    grid-column: 1 / 3;
  }

  .trust article,
  .model-card {
    grid-column: span 6;
  }

  .dealer-grid > div:first-child,
  .dealer-note,
  .contact__grid > div,
  .contact__form {
    grid-column: 1 / 13;
  }
}

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

  .site-header__inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 0;
  }

  .site-header {
    position: static;
  }

  .brand img {
    width: 134px;
  }

  .phone {
    font-size: 16px;
  }

  .hero {
    padding: 28px 0 48px;
  }

  .hero__grid,
  .trust__grid,
  .model-grid,
  .dealer-grid,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .hero__copy,
  .hero__media,
  .hero__form,
  .trust article,
  .model-card,
  .dealer-grid > div:first-child,
  .dealer-note,
  .contact__grid > div,
  .contact__form {
    grid-column: 1;
    min-width: 0;
  }

  .hero__form {
    grid-template-columns: 1fr;
  }

  .hero__form h2,
  .hero__form p,
  .hero__form .consent {
    grid-column: 1;
  }

  .hero__copy {
    min-height: auto;
    padding: 24px;
  }

  .hero__media {
    min-height: 320px;
  }

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

  .hero h1 {
    font-size: 30px;
  }

  .lead {
    font-size: 18px;
  }

  .lead-form {
    padding: 22px;
  }

  .warranty-card {
    padding-right: 24px;
  }

  .warranty-card img {
    top: 24px;
    right: 24px;
    width: 78px;
    opacity: 0.1;
  }

  .section {
    padding: 54px 0;
  }
}


/* Utility pages */
.utility-main {
  background: #f7f8fa;
}

.utility-page {
  padding: 58px 0 78px;
}

.utility-card {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.utility-card h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
}

.utility-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
}

.utility-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.utility-actions .text-button {
  align-self: center;
}

.legal-page .utility-card {
  max-width: 1120px;
}

.legal-page .legal__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
}

.legal-page .legal__list .legal__list {
  margin-top: 12px;
}

.legal-page .legal__list-item {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
}

.legal-page .legal__heading {
  display: block;
  margin: 20px 0 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-page .legal__text {
  color: var(--ink);
}

.legal-page .legal__note {
  color: var(--muted);
}

.legal-page .link {
  color: var(--blue);
  border-bottom: 1px solid currentColor;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
