:is(.btn, [class*="-button"], [class*="-cta"], [class*="__cta"]) {
  white-space: nowrap;
}

:root {
  --ink: #0e1a2b;
  --red: #d91f2a;
  --paper: #f6f3ee;
  --line: #e3e0da;
  --muted: #626872;
}

/* Финальное правило общего текстового контейнера. */
.frame {
  width: min(1288px, calc(100vw - 48px)) !important;
  margin-inline: auto !important;
}

/* Единая ширина текстового контейнера главной страницы. */
.frame {
  width: min(1288px, calc(100% - 48px));
  margin-inline: auto;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
.mobile-copy,
.hero-contact-dock,
.social-section,
.contact-form,
.social-extra {
  display: none;
}
.cookie-notice {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2147483647;
  display: block;
  box-sizing: border-box;
  width: 366px;
  height: 236px;
  margin: 0;
  padding: 18px 17px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 18px 28px rgba(14, 26, 43, 0.22);
}
.cookie-notice[hidden] {
  display: none !important;
}
.cookie-notice__icon {
  position: absolute;
  top: 76px;
  left: 16px;
  width: 24px;
  height: 24px;
}
.cookie-notice p {
  width: 291px;
  margin: 0 0 0 40px;
  font-size: 14px;
  line-height: 24.08px;
}
.cookie-notice a {
  font-weight: 700;
  text-decoration: underline;
}
.cookie-notice button {
  position: absolute;
  top: 176px;
  right: 16px;
  left: 16px;
  width: auto;
  height: 42px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.frame {
  width: 1288px;
  margin: 0 auto;
}
.eyebrow {
  display: block;
  margin: 0 0 23px;
  color: var(--red);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
h1,
h2,
h3 {
  margin: 0;
  color: #161616;
  font-family: Montserrat, Arial, sans-serif;
}
h2 {
  font-size: 48px;
  line-height: 60px;
}
.action {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 27px;
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.action--red {
  background: var(--red);
  color: #fff;
}
.action--dark {
  background: var(--ink);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 85px;
  border-bottom: 1px solid rgba(14, 26, 43, 0.08);
  background: #fff;
}
.header-wrap {
  display: flex;
  width: 1300px;
  height: 85px;
  align-items: center;
  margin: 0 auto;
}
.brand {
  display: block;
  width: 75px;
  height: 75px;
  flex: none;
  margin-right: 38px;
}
.brand img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  transform: translate(-2px, -2px);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-right: auto;
}
.main-nav::after {
  display: none;
  content: none;
}
.main-nav a {
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  white-space: nowrap;
}
.main-nav a:hover {
  color: var(--red);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-location,
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.header-location {
  font-size: 14px;
}
.header-phone {
  font-size: 16px;
}
.header-location img,
.header-phone img {
  width: 19px;
  height: 19px;
}
.header-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-socials a {
  display: flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
.header-socials a:hover,
.header-socials a:focus-visible {
  opacity: 0.92;
  transform: translateY(-1px);
}
.header-socials img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.header-cta {
  display: flex;
  width: 213px;
  height: 50px;
  flex: none;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}
.menu-toggle,
.mobile-panel {
  display: none;
}
.mobile-panel__socials {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-top: 14px;
}
.mobile-panel__socials a {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.mobile-panel__socials img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.hero {
  height: 100vh;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.97) 0%,
      rgba(255, 255, 255, 0.84) 35%,
      rgba(255, 255, 255, 0.04) 72%
    ),
    url("../../img/hero-car.webp") center/cover no-repeat;
}
.hero__inner {
  position: relative;
  width: 1292px;
  height: 100%;
  margin: 0 auto;
  padding-top: 30px;
}
.hero__badge {
  display: inline-flex;
  height: 42px;
  align-items: center;
  padding: 0 16px;
  background: #fde9ea;
  color: var(--red);
  font-family: Manrope, Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero h1 {
  width: 695px;
  margin-top: 11px;
  font-size: 56px;
  line-height: 59px;
}
.hero__lead {
  width: 650px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 28.5px;
}
.hero__actions {
  position: relative;
  width: 461px;
  height: 151px;
  margin-top: 20px;
}
.hero__actions .action {
  position: absolute;
}
.hero__actions .action--wide {
  top: 0;
  left: 0;
  width: 461px;
}
.hero__actions .action--white {
  top: 74px;
  left: 0;
  width: 238px;
  background: #fff !important;
  color: var(--ink);
  border: none !important;
}
.hero__actions .action--outline {
  top: 74px;
  left: 248px;
  width: 213px;
  border-color: rgba(14, 26, 43, 0.28);
  color: var(--ink);
}
.hero__reasons {
  position: absolute;
  top: 404px;
  left: 0;
  display: grid;
  width: 760px;
  height: 69px;
  grid-template-columns: 182px 210px 195px 173px;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
}
.hero__reasons span {
  display: flex;
  align-items: center;
  padding: 0 13px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 19.5px;
}
.hero__reasons span::before {
  margin-right: 8px;
  color: #ff6c75;
  content: "✓";
}
.hero__social {
  position: absolute;
  bottom: 29px;
  left: 0;
  width: 392px;
  height: 113px;
  padding: 12px 13px;
  background: rgba(255, 255, 255, 0.93);
}
.hero__social b {
  display: block;
  width: 314px;
  font-size: 14px;
  line-height: 21.5px;
}
.hero__social div {
  display: flex;
  gap: 7px;
  margin-top: 7px;
}
.hero__social a {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: #1684dc;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.hero__social a:nth-child(3) {
  background: #6e49d8;
}
.hero__social a:nth-child(4) {
  background: #43c95c;
}
.hero__stats {
  position: absolute;
  right: 0;
  bottom: 28px;
  display: flex;
  gap: 36px;
}
.hero__stats article {
  display: flex;
  width: 250px;
  height: 78px;
  flex-direction: column;
  justify-content: center;
  padding: 8px 16px;
  background: var(--red);
  color: #fff;
}
.hero__stats strong {
  font-size: 24px;
  line-height: 30px;
}
.hero__stats span {
  font-size: 14px;
  line-height: 21px;
}

.process {
  height: 930px;
  padding-top: 44px;
  background: var(--paper);
}
.section-head {
  display: grid;
  grid-template-columns: 1.4fr 0.65fr;
  gap: 60px;
}
.section-head--process {
  height: 196px;
}
.section-head--process h2 {
  width: 705px;
}
.section-head--process > p {
  align-self: end;
  width: 524px;
  margin: 0 0 19px;
  color: var(--muted);
  font-size: 15px;
  line-height: 25.5px;
}
.metrics {
  display: grid;
  height: 105px;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}
.metrics article {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: 35px 22px;
  padding: 21px;
  border-right: 1px solid var(--line);
}
.metrics article:last-child {
  border: 0;
}
.metrics i {
  grid-row: 1/3;
  color: #ff6c75;
  font-size: 25px;
  font-style: normal;
}
.metrics strong {
  font-size: 22px;
  line-height: 33px;
}
.metrics span {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.service-cards article {
  position: relative;
  height: 355px;
  padding: 32px;
  background: #fff;
}
.service-no {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #c4c7ca;
  font-size: 14px;
}
.service-icon {
  display: block;
  height: 36px;
  color: #ff2c3a;
  font-size: 32px;
  line-height: 36px;
}
.service-cards h3 {
  min-height: 48px;
  margin-top: 60px;
  font-size: 21px;
  line-height: 24px;
}
.service-cards p {
  min-height: 67px;
  margin: 12px 0 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}
.service-cards a {
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
}
.service-cards a span {
  margin-left: 8px;
}

.steps {
  height: 735px;
  padding-top: 135px;
  background: var(--ink);
}
.steps__grid {
  display: grid;
  grid-template-columns: 536px 591px;
  gap: 119px;
}
.steps__intro .eyebrow {
  color: #ff6c75;
}
.steps__intro h2 {
  width: 560px;
  color: #fff;
}
.steps__intro > p {
  width: 500px;
  margin: 23px 0 24px;
  color: #aab2bf;
  font-size: 16px;
  line-height: 27.2px;
}
.steps__intro .action {
  width: 332px;
}
.steps__list {
  margin: 0;
}
.steps__list li {
  display: grid;
  min-height: 117px;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  padding: 26px 0 27px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}
.steps__list > li > span {
  color: #ff6c75;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}
.steps__list h3 {
  color: #fff;
  font-size: 21px;
  font-weight: 400;
  line-height: 31.5px;
}
.steps__list p {
  margin: 7px 0 0;
  color: #aab2bf;
  font-size: 14px;
  line-height: 23.8px;
}

.catalog-section {
  height: 1102px;
  padding-top: 60px;
}
.catalog-head {
  height: 141px;
}
.catalog-head h2 {
  width: 716px;
  line-height: 65.28px;
}
.filters {
  display: flex;
  align-self: center;
  gap: 8px;
}
.filters button {
  height: 52px;
  padding: 0 19px;
  border: 1px solid var(--line);
  background: #fff;
  color: #161616;
  font-size: 14px;
  font-weight: 700;
}
.filters .active {
  background: var(--ink);
  color: #fff;
}
.car-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.car-card {
  border: 1px solid var(--line);
}
.car-photo {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.car-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.car-photo > span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 11px;
  background: #fff;
  color: #1e6b3f;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}
.car-photo .booked {
  color: #8b5b1d;
}
.car-info {
  height: 315px;
  padding: 25px;
}
.car-title {
  display: flex;
  height: 85px;
  justify-content: space-between;
}
.car-title h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}
.car-title p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 18px;
}
.car-title > strong {
  font-size: 16px;
  line-height: 24px;
}
.car-pay {
  display: grid;
  height: 79px;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.car-pay span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--muted);
  font-size: 10px;
  line-height: 15px;
}
.car-pay b {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  line-height: 19.5px;
}
.car-info > a {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 17px;
  border: 1px solid var(--ink);
  font-size: 16px;
  letter-spacing: 0.96px;
  text-transform: uppercase;
}
.car-info small {
  display: block;
  margin-top: 9px;
  color: #92969c;
  font-size: 9px;
}
.all-link {
  display: flex;
  width: min(362px, 100%);
  height: 56px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 30px auto 0;
  padding: 0 22px;
  border: 1px solid #d83636;
  background: #d83636;
  box-shadow: 0 10px 22px rgba(216, 54, 54, 0.28);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}
.all-link:hover {
  background: #af2525;
  box-shadow: 0 14px 28px rgba(216, 54, 54, 0.38);
  transform: translateY(-2px);
}
.all-link:hover span {
  transform: translateX(3px);
}
.all-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
.all-link span {
  filter: brightness(0) invert(1);
  transition: transform 180ms ease;
}

.calculator-section {
  height: 603px;
  padding-top: 150px;
}
.calculator {
  display: grid;
  height: 453px;
  grid-template-columns: 42% 32% 26%;
  background: var(--paper);
}
.calculator__intro {
  padding: 72px;
}
.calculator__intro h2 {
  width: 434px;
  line-height: 65.28px;
}
.calculator__intro p {
  width: 412px;
  margin: 19px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 23.8px;
}
.calculator__fields {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 73px 58px 60px 26px;
}
.calculator__fields label {
  display: flex;
  height: 85px;
  flex-direction: column;
  color: var(--muted);
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}
.calculator__fields strong {
  margin-top: 7px;
  color: var(--ink);
  font-size: 19px;
  line-height: 28.5px;
  text-transform: none;
}
.calculator__fields input {
  width: 100%;
  accent-color: var(--red);
}
.calculator__result {
  display: flex;
  height: 453px;
  flex-direction: column;
  padding: 60px 34px;
  background: var(--ink);
  color: #fff;
}
.calculator__result > span {
  color: #f1f2f4;
  font-size: 16px;
  letter-spacing: 1px;
}
.calculator__result > strong {
  margin-top: 4px;
  font-size: clamp(26px, 2.3vw, 39px);
  line-height: 68px;
  white-space: nowrap;
}
.calculator__result .calc-breakdown {
  display: flex;
  flex-direction: column;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  gap: 6px;
  list-style: none;
}
.calculator__result .calc-breakdown li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  color: #c3c9d2;
  font-size: 12px;
  line-height: 16px;
}
.calculator__result .calc-breakdown b {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.calculator__result > a {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: center;
  margin-top: 11px;
  background: var(--red);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.calculator__result > small {
  margin-top: 13px;
  color: #8d96a3;
  font-size: 10px;
  line-height: 11px;
}

.news-section {
  height: 877px;
  padding: 50px 0 100px;
  background: var(--paper);
}
.news-head {
  height: 212px;
  padding-bottom: 36px;
}
.news-head h2 {
  width: 734px;
}
.news-head > div:last-child {
  align-self: center;
  text-align: right;
}
.news-head p {
  width: 487px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 25.5px;
}
.news-head a {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-grid__empty {
  grid-column: 1 / -1;
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}
.car-grid__empty {
  grid-column: 1 / -1;
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  padding: 32px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}
.car-grid__empty[hidden],
.news-grid__empty[hidden] {
  display: none;
}
@media (max-width: 767px) {
  .hero__lead .desktop-copy {
    display: none !important;
  }
  .hero__lead .mobile-copy {
    display: inline !important;
  }
  .news-grid__empty {
    min-height: 180px;
    font-size: 15px;
  }
}
.news-grid article {
  height: 490px;
  border: 1px solid var(--line);
  background: #fff;
}
.news-grid article > img {
  width: 100%;
  height: 245px;
  object-fit: cover;
}
.news-grid article > div {
  padding: 25px;
}
.news-grid header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.news-grid header b {
  color: var(--red);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.news-grid time {
  color: var(--muted);
  font-size: 12px;
}
.news-grid h3 {
  min-height: 62px;
  margin-top: 19px;
  font-size: 22px;
  font-weight: 400;
  line-height: 26px;
}
.news-grid p {
  height: 59px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 18px;
}
.news-grid a {
  display: inline-flex;
  gap: 8px;
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  text-transform: uppercase;
}

.selection {
  display: grid;
  height: 741px;
  grid-template-columns: 50% 50%;
  background: var(--paper);
}
.selection__image {
  position: relative;
  overflow: hidden;
}
.selection__image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.selection__image > span {
  position: absolute;
  bottom: 31px;
  left: 32px;
  padding: 21px 26px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.selection__content {
  padding: 54px 90px 50px 120px;
}
.selection__content h2 {
  width: 526px;
}
.selection__content > p {
  width: 504px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 27.2px;
}
.selection__content ul {
  display: grid;
  width: 510px;
  grid-template-columns: 1fr 1fr;
  gap: 22px 25px;
  margin: 42px 0 74px;
}
.selection__content li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 18px;
}
.selection__content li::before {
  position: absolute;
  left: 0;
  color: #ff6c75;
  content: "✓";
}
.selection__content .action {
  width: 418px;
}

.reviews-section {
  height: 774px;
  padding: 50px 0 150px;
}
.reviews-head {
  height: 177px;
}
.reviews-head h2 {
  width: 800px;
}
.reviews-head > p {
  align-self: end;
  width: 449px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 25.5px;
  text-align: right;
}
.review-grid {
  display: grid;
  height: 397px;
  grid-template-columns: 1.5fr 0.65fr 0.65fr;
  gap: 18px;
  margin-top: 60px;
}
.review-main {
  position: relative;
  padding: 45px;
  background: var(--paper);
}
.quote {
  position: absolute;
  top: 11px;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: 70px;
  font-weight: 700;
}
.review-main > p {
  margin: 40px 0 0;
  font-size: 19px;
  line-height: 30.4px;
}
.review-main footer {
  position: absolute;
  right: 45px;
  bottom: 40px;
  left: 45px;
  display: flex;
  align-items: center;
}
.avatar {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}
.review-main footer > div {
  display: flex;
  flex-direction: column;
  margin-left: 14px;
}
.review-main footer > div b {
  font-size: 16px;
}
.review-main footer small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.review-main footer > strong {
  margin-left: auto;
  color: var(--red);
  font-size: 20px;
}
.review-main footer > strong small {
  text-transform: uppercase;
}
.review-stat {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 33px;
  border: 1px solid var(--line);
}
.stat-icon {
  color: var(--red);
  font-size: 60px;
}
.review-stat > div > small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}
.review-stat strong {
  display: block;
  margin: 9px 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 42px;
}
.review-stat p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}
.review-stat--dark {
  border-color: var(--ink);
  background: var(--ink);
}
.review-stat--dark > div > small,
.review-stat--dark p {
  color: #aab2bf;
}
.review-stat--dark strong {
  color: #fff;
}

.cities-section {
  height: 567px;
  background: var(--ink);
}
.cities {
  display: grid;
  height: 100%;
  grid-template-columns: 47% 53%;
  align-items: center;
}
.cities h2 {
  width: 535px;
  color: #fff;
}
.city-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.city-buttons button {
  height: 56px;
  padding: 0 18px;
  border: 1px solid #2a394b;
  background: transparent;
  color: #aab2bf;
  font-size: 12px;
  cursor: default;
}
.city-buttons .active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.faq-section {
  height: 678px;
  padding-top: 150px;
  background: var(--paper);
}
.faq {
  display: grid;
  grid-template-columns: 522px 766px;
}
.faq h2 {
  width: 369px;
}
.faq > div:first-child > p {
  width: 369px;
  margin: 23px 0 17px;
  color: var(--muted);
  font-size: 14px;
  line-height: 24px;
}
.faq > div:first-child > a {
  font-size: 14px;
  font-weight: 700;
}
.accordion-item {
  border-top: 1px solid var(--line);
}
.accordion-item:last-child {
  border-bottom: 1px solid var(--line);
}
.accordion-trigger {
  display: flex;
  width: 100%;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}
.accordion-trigger::after {
  font-size: 24px;
  font-weight: 400;
  content: "+";
}
.accordion-trigger[aria-expanded="true"]::after {
  color: var(--red);
  content: "−";
}
.accordion-panel {
  display: none;
  padding: 0 40px 23px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 23px;
}
.accordion-panel.is-open {
  display: block;
}

.contact-section {
  height: 736px;
  padding-top: 130px;
  background: var(--ink);
}
.contact {
  display: grid;
  grid-template-columns: 577px 676px;
  gap: 45px;
}
.contact h2 {
  width: 539px;
  color: #fff;
}
.contact > div > p {
  width: 405px;
  margin: 23px 0 16px;
  color: #aab2bf;
  font-size: 16px;
  line-height: 27.2px;
}
.contact > div > a {
  display: block;
  margin-top: 29px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.contact > div > small {
  display: block;
  margin-top: 5px;
  color: #8d96a3;
  font-size: 12px;
}
.contact__map {
  position: relative;
  width: 676px;
  height: 422px;
  overflow: hidden;
  background: #0e1a2b;
}
.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.contact__map-link {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(14, 26, 43, 0.2);
  color: var(--ink) !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  transition:
    background 0.18s,
    color 0.18s;
}
.contact__map-link:hover,
.contact__map-link:focus-visible {
  background: var(--red);
  color: #fff !important;
}

.site-footer {
  height: 458px;
  padding-top: 65px;
  background: #081425;
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 344px repeat(3, 1fr);
  gap: 50px;
}
.footer-brand > img {
  width: 74px;
  height: 72px;
  object-fit: contain;
}
.footer-brand > p {
  width: 230px;
  margin: 20px 0 13px;
  color: #aab2bf;
  font-size: 12px;
  line-height: 21px;
}
.footer-brand > a {
  font-size: 16px;
  font-weight: 700;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}
.footer-social a {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  background: #137bd6;
  font-size: 10px;
  font-weight: 700;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
}
.footer-grid h3 {
  margin: 0 0 13px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-grid > div:not(:first-child) > a {
  margin: 5px 0;
  color: #aab2bf;
  font-size: 11px;
}
.footer-bottom {
  display: grid;
  grid-template-columns: 390px 1fr;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8d96a3;
  font-size: 10px;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom p:last-child {
  width: 763px;
}

@media (min-width: 1101px) and (max-width: 1350px) {
  .frame,
  .hero__inner {
    width: calc(100% - 32px);
  }
  .header-wrap {
    width: calc(100% - 32px);
  }
  .brand {
    margin-right: 20px;
  }
  .main-nav {
    gap: 20px;
  }
  .header-location {
    display: none;
  }
  .section-head--process > p,
  .news-head p,
  .reviews-head > p {
    width: auto;
  }
  .steps__grid {
    grid-template-columns: minmax(0, 42%) minmax(0, 48%);
    gap: 10%;
  }
  .selection__content {
    padding-right: 48px;
    padding-left: 64px;
  }
  .selection__content h2,
  .selection__content > p,
  .selection__content ul {
    width: auto;
  }
  .faq {
    grid-template-columns: 40% 60%;
  }
  .contact {
    grid-template-columns: 44% 52%;
    gap: 4%;
  }
  .contact h2,
  .contact > div > p {
    width: auto;
  }
  .contact__map {
    width: 100%;
  }
  .footer-bottom p:last-child {
    width: auto;
  }
}

/* Mobile composition from Figma node 143:3585 (390 px). */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 72px;
  }
  body {
    font-family: Manrope, Arial, sans-serif;
    font-size: 14px;
    overflow-x: hidden;
  }
  .desktop-copy {
    display: none;
  }
  .mobile-copy {
    display: inline;
  }
  .frame {
    width: 354px;
    margin: 0 auto;
  }
  .eyebrow {
    margin: 0;
    color: var(--red);
    font-family: Manrope, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 17px;
    letter-spacing: 0.96px;
    text-transform: uppercase;
  }
  h2 {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 28px;
    line-height: 34px;
  }
  .action {
    height: 52px;
    min-height: 52px;
    border-radius: 0;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0.72px;
  }

  .site-header {
    position: sticky;
    top: 0;
    height: 72px;
    background: #fff;
  }
  .header-wrap {
    width: 390px;
    height: 72px;
    padding: 0;
  }
  .brand {
    position: absolute;
    top: 6.5px;
    left: 18px;
    width: 58px;
    height: 58px;
  }
  .brand img {
    width: 58px;
    height: 58px;
    transform: none;
  }
  .menu-toggle {
    position: absolute;
    top: 15px;
    right: 18px;
    display: grid;
    width: 42px;
    height: 42px;
    place-content: center;
    border: 0;
    background: transparent;
    padding: 0;
  }
  .menu-toggle span {
    width: 24px;
    height: 2px;
    margin: 3px auto;
    background: var(--ink);
  }
  .mobile-panel {
    top: 72px;
  }

  .hero {
    position: relative;
    min-height: 0;
    background: #fff;
  }
  .hero::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 390px;
    height: 760px;
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.7) 47%,
        rgba(14, 26, 43, 0.09) 68%
      ),
      url("../../img/figma-home/hero-mobile.webp");
    background-position:
      0 0,
      0 0;
    background-size:
      390px 760px,
      390px 760px;
    background-repeat: no-repeat;
    content: "";
  }
  .hero__inner {
    position: relative;
    width: 390px;
    padding: 0;
  }
  .hero__badge {
    position: absolute;
    top: 9px;
    left: 8px;
    height: 17px;
    padding: 0 0 0 16px;
    background: transparent;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0.96px;
  }
  .hero h1 {
    position: absolute;
    top: 29px;
    left: 24px;
    width: 361px;
    margin: 0;
    font-size: 30px;
    line-height: 37px;
  }
  .hero__lead {
    position: absolute;
    top: 110px;
    left: 24px;
    width: 347px;
    margin: 0;
    font-size: 14px;
    line-height: 24.08px;
  }
  .hero__actions {
    position: absolute;
    top: 195px;
    left: 24px;
    width: 342px;
    height: 180px;
    margin: 0;
  }
  .hero__actions .action {
    position: absolute;
    width: 342px !important;
    height: 52px;
    margin: 0;
    border-radius: 0;
  }
  .hero__actions .action--wide {
    top: 0;
    left: 0;
  }
  .hero__actions .action--white {
    top: 64px;
    left: 0;
    border: 1px solid rgba(14, 26, 43, 0.22);
  }
  .hero__actions .action--outline {
    top: 128px;
    left: 0;
    background: rgba(14, 26, 43, 0.05);
    border-color: rgba(14, 26, 43, 0.18);
  }
  .hero-contact-dock {
    position: absolute;
    top: 380px;
    right: 16px;
    z-index: 2;
    display: flex;
    width: 170px;
    height: 281px;
    align-items: flex-end;
    flex-direction: column;
    gap: 8px;
  }
  .hero-contact-dock > a:not(.hero-contact-dock__label) {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-right: 11px;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 16px 19px rgba(14, 26, 43, 0.28);
  }
  .hero-contact-dock > a > img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
  }
  .hero-contact-dock > a:first-child > img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
  }
  .hero-contact-dock__label {
    display: flex !important;
    width: 170px !important;
    height: 40px !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 3px;
    padding: 0 16px;
    border-radius: 31px !important;
    background: var(--red) !important;
    box-shadow: 0 16px 19px rgba(14, 26, 43, 0.28);
    color: #fff;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
  }
  .hero-contact-dock__label img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 0 !important;
  }
  .hero__stats {
    position: absolute;
    top: 695px;
    right: auto;
    bottom: auto;
    left: 16px;
    display: grid;
    width: 358px;
    height: 52px;
    grid-template-columns: 172px 172px;
    gap: 14px;
    margin: 0;
  }
  .hero__stats article {
    width: 172px;
    height: 52px;
    padding: 5px 11px;
    background: var(--red);
  }
  .hero__stats strong {
    font-size: 15px;
    line-height: 20px;
  }
  .hero__stats span {
    font-size: 10px;
    line-height: 14px;
  }
  .hero__social {
    display: none;
  }
  .hero__reasons {
    position: absolute;
    top: 781px;
    left: 16px;
    display: grid;
    width: 358px;
    height: 176px;
    grid-template-columns: 179px 179px;
    grid-template-rows: 92px 84px;
    gap: 0;
    margin: 0;
    padding: 34px 0 0;
    background-color: rgba(255, 255, 255, 0.85);
    background-image: linear-gradient(#626872, #626872);
    background-position: 0 92px;
    background-size: 358px 2px;
    background-repeat: no-repeat;
    border: 0;
    backdrop-filter: blur(8px);
  }
  .hero__reasons::before {
    position: absolute;
    top: 14px;
    left: 53px;
    color: #000;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    content: "Рассматриваем разные ситуации";
  }
  .hero__reasons::after {
    position: absolute;
    top: 51px;
    left: 175px;
    width: 2px;
    height: 98px;
    background: #626872;
    content: "";
  }
  .hero__reasons span {
    position: relative;
    z-index: 1;
    display: flex;
    height: auto;
    align-items: flex-start;
    padding: 14px 17px 0 22px;
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
  }
  .hero__reasons span::before {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin: 1px 9px 0 0;
    background: url("../../img/figma-home/reason-check.svg") center/19px 19px
      no-repeat;
    color: transparent;
    content: "";
  }

  .cookie-notice {
    right: 16px;
    bottom: 16px;
  }

  .process {
    position: relative;
    height: 1906px;
    padding: 0;
    background: var(--paper);
  }
  .process > .frame {
    position: relative;
    height: 100%;
  }
  .section-head--process {
    position: absolute;
    top: 68px;
    left: 0;
    display: block;
    width: 354px;
    height: 240px;
    margin: 0;
  }
  .section-head--process h2 {
    width: 295px;
    margin-top: 14px;
  }
  .section-head--process > p {
    position: absolute;
    top: 147px;
    left: 0;
    width: 354px;
    padding-bottom: 10px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 14px;
    line-height: 24.08px;
    text-align: left;
  }
  .metrics {
    position: absolute;
    top: 308px;
    left: 0;
    display: grid;
    width: 100%;
    height: 416px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 104px);
    border: 1px solid var(--line);
    background: transparent;
  }
  .metrics article {
    display: grid;
    height: 104px;
    grid-template-columns: 43px 1fr;
    grid-template-rows: 37px 24px;
    padding: 20px 22px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .metrics article:last-child {
    border-bottom: 0;
  }
  .metrics i {
    grid-row: 1/3;
    width: 26px;
    height: 26px;
    align-self: center;
    margin-top: 0;
    background-size: 26px !important;
  }
  .metrics strong {
    align-self: end;
    font-size: 14px;
    line-height: 18px;
  }
  .metrics span {
    font-size: 14px;
    line-height: 24px;
  }
  .service-cards {
    position: absolute;
    top: 740px;
    left: 0;
    display: grid;
    width: 354px;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0;
  }
  .service-cards article {
    height: 260px;
    min-height: 0;
    padding: 32px;
    background: #fff;
  }
  .service-cards article:first-child,
  .service-cards article:last-child {
    height: 275px;
  }
  .service-no {
    top: 25px;
    right: 26px;
    font-size: 16px;
  }
  .service-icon {
    width: 36px;
    height: 36px;
  }
  .service-cards h3 {
    min-height: 0;
    margin-top: 24px;
    font-size: 20px;
    line-height: 25px;
  }
  .service-cards p {
    min-height: 0;
    margin: 14px 0 10px;
    font-size: 13px;
    line-height: 24px;
  }
  .service-cards a {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 18px;
  }

  .steps {
    position: relative;
    height: 958px;
    padding: 0;
    background: var(--ink);
  }
  .steps__grid {
    position: relative;
    display: block;
    height: 100%;
  }
  .steps__intro {
    position: absolute;
    inset: 0;
  }
  .steps__intro .eyebrow {
    position: absolute;
    top: 32px;
    left: 0;
  }
  .steps__intro h2 {
    position: absolute;
    top: 55px;
    left: 0;
    width: 227px;
    color: #fff;
  }
  .steps__intro > p {
    position: absolute;
    top: 187px;
    left: 0;
    width: 354px;
    margin: 0;
    font-size: 14px;
    line-height: 24.08px;
  }
  .steps__intro .action {
    position: absolute;
    top: 293px;
    left: 0;
    width: 284px;
    margin: 0;
  }
  .steps__list {
    position: absolute;
    top: 390px;
    left: 0;
    width: 354px;
    height: 536px;
  }
  .steps__list li {
    display: grid;
    height: 134px;
    min-height: 0;
    grid-template-columns: 42px 1fr;
    gap: 24px;
    padding: 26px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }
  .steps__list > li > span {
    font-size: 12px;
    line-height: 16px;
  }
  .steps__list h3 {
    font-size: 20px;
    line-height: 25px;
  }
  .steps__list p {
    margin-top: 10px;
    font-size: 13px;
    line-height: 24px;
  }

  .catalog-section {
    position: relative;
    height: 1883px;
    padding: 0;
    background: #fff;
  }
  .catalog-section > .frame {
    position: relative;
    height: 100%;
  }
  .catalog-head {
    position: absolute;
    top: 30px;
    left: 0;
    display: block;
    width: 354px;
    height: 213px;
  }
  .catalog-head h2 {
    width: 255px;
    margin-top: 17px;
    line-height: 34px;
  }
  .filters {
    position: absolute;
    top: 161px;
    left: 0;
    display: grid;
    width: 354px;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0;
  }
  .filters button {
    height: 52px;
    justify-content: center;
    padding: 0;
    font-size: 13px;
  }
  .car-grid {
    position: absolute;
    top: 180px;
    left: 0;
    display: grid;
    width: 354px;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 0;
  }
  .car-card {
    width: 354px;
    height: 536px;
  }
  .car-photo {
    height: 220px;
  }
  .car-photo img {
    content: url("../../img/figma-home/catalog-mobile.webp");
    object-fit: cover;
    object-position: 100% center;
  }
  .car-photo > span {
    display: none;
  }
  .car-info {
    height: 315px;
    padding: 26px;
  }
  .car-title {
    height: 67px;
  }
  .car-title h3 {
    font-size: 13px;
    line-height: 17px;
  }
  .car-title p {
    margin-top: 10px;
    font-size: 12px;
    line-height: 18px;
  }
  .car-title > strong {
    display: none;
  }
  .car-pay {
    height: 73px;
  }
  .car-pay span {
    font-size: 10px;
    line-height: 15px;
  }
  .car-pay b {
    font-size: 11px;
    line-height: 15px;
  }
  .car-info > a {
    height: 52px;
    margin-top: 20px;
    font-size: 12px;
    line-height: 15px;
  }
  .car-info small {
    margin-top: 17px;
    font-size: 9px;
    line-height: 16px;
  }
  .all-link {
    position: absolute;
    top: 1841px;
    left: 0;
    margin: 0;
    font-size: 13px;
    line-height: 22px;
  }

  .calculator-section {
    position: relative;
    height: 943px;
    padding: 0;
    background: var(--paper);
  }
  .calculator {
    position: relative;
    display: block;
    width: 390px;
    height: 1010px;
    background: transparent;
  }
  .calculator__intro {
    position: absolute;
    top: 0;
    left: 0;
    width: 390px;
    height: 293px;
    padding: 49px 18px 0;
  }
  .calculator__intro h2 {
    width: 206px;
    margin-top: 6px;
    line-height: 34px;
  }
  .calculator__intro p {
    width: 320px;
    margin-top: 20px;
    font-family: Manrope, Arial, sans-serif;
    font-size: 14px;
    line-height: 24.08px;
  }
  .calculator__fields {
    position: absolute;
    top: 293px;
    left: 18px;
    display: flex;
    width: 366px;
    height: 307px;
    gap: 26px;
    padding: 0 18px 0 0;
  }
  .calculator__fields label {
    height: 85px;
    font-size: 11px;
    line-height: 16px;
  }
  .calculator__fields strong {
    font-size: 19px;
    line-height: 26px;
  }
  .calculator__result {
    position: absolute;
    top: 624px;
    left: 0;
    width: 390px;
    height: auto;
    min-height: 274px;
    padding: 38px 34px;
    background: var(--ink);
  }
  .calculator__result > span {
    font-size: 12px;
    line-height: 16px;
  }
  .calculator__result > strong {
    margin-top: 4px;
    font-size: 28px;
    line-height: 38px;
  }
  .calculator__result > a {
    height: 52px;
    margin-top: 22px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 12px;
  }
  .calculator__result > small {
    margin-top: 16px;
    font-size: 10px;
    line-height: 16px;
  }

  .news-section {
    position: relative;
    height: 1981px;
    margin-top: -45px;
    padding: 0;
    background: var(--paper);
  }
  .news-section > .frame {
    position: relative;
    height: 100%;
  }
  .news-head {
    position: absolute;
    top: 21px;
    left: 0;
    display: block;
    width: 354px;
    height: 225px;
    padding: 0;
  }
  .news-head h2 {
    width: 312px;
    margin-top: 10px;
    line-height: 34px;
  }
  .news-head > div:last-child {
    position: absolute;
    top: 114px;
    left: 0;
    margin: 0;
    text-align: left;
  }
  .news-head p {
    width: 349px;
    font-size: 14px;
    line-height: 24.08px;
  }
  .news-head a {
    margin-top: 11px;
    font-size: 12px;
    line-height: 18px;
  }
  .news-grid {
    position: absolute;
    top: 300px;
    left: 0;
    display: grid;
    width: 354px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .news-grid article {
    height: 485px;
  }
  .news-grid article:first-child {
    height: 510px;
  }
  .news-grid article > img {
    height: 220px;
  }
  .news-grid article > div {
    padding: 21px;
  }
  .news-grid header {
    height: 24px;
  }
  .news-grid header b,
  .news-grid time {
    font-size: 10px;
  }
  .news-grid h3 {
    min-height: 0;
    margin-top: 19px;
    font-size: 20px;
    line-height: 26px;
  }
  .news-grid p {
    height: auto;
    margin-top: 8px;
    font-size: 13px;
    line-height: 23px;
  }
  .news-grid a {
    margin-top: 12px;
    font-size: 13px;
    line-height: 22px;
  }

  .social-section {
    position: relative;
    display: block;
    height: 831px;
    background: var(--ink);
    color: #fff;
  }
  .social-section__inner {
    position: relative;
    width: 390px;
    height: 100%;
    margin: 0 auto;
    padding: 37px 27px;
  }
  .social-section .eyebrow {
    color: #ff6c75;
  }
  .social-section h2 {
    width: 349px;
    margin-top: 16px;
    color: #fff;
    font-size: 28px;
    line-height: 34px;
  }
  .social-section p {
    width: 338px;
    margin: 19px 0 0;
    color: #aab2bf;
    font-size: 14px;
    line-height: 24px;
  }
  .social-channels {
    display: grid;
    gap: 10px;
    margin-top: 34px;
  }
  .social-channels a {
    display: grid;
    width: 335px;
    height: 104px;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.04);
  }
  .social-channels b,
  .social-channels img {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border-radius: 16px;
    color: #fff;
    font-size: 13px;
    object-fit: cover;
  }
  .social-channels span {
    display: flex;
    flex-direction: column;
  }
  .social-channels strong {
    font-size: 17px;
    line-height: 24px;
  }
  .social-channels small {
    color: #9da6b3;
    font-size: 12px;
    line-height: 18px;
  }

  .selection {
    position: relative;
    display: block;
    width: 100%;
    height: 928px;
    margin-top: -11px;
    background: var(--paper);
  }
  .selection__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 330px;
  }
  .selection__image > img {
    width: 100%;
    height: 330px;
    margin: 0;
    content: url("../../img/figma-home/hero-mobile.webp");
    object-fit: cover;
    object-position: center 73%;
  }
  .selection__image > span {
    right: 18px;
    bottom: 32px;
    left: 18px;
    width: auto;
    max-width: 270px;
    height: 60px;
    margin: 0 auto;
    justify-content: center;
    padding: 0;
    font-size: 13px;
  }
  .selection__content {
    position: absolute;
    top: 330px;
    left: 0;
    width: 100%;
    height: 598px;
    padding: 59px 18px 0;
  }
  .selection__content > .eyebrow {
    position: static;
    margin: 0;
  }
  .selection__content h2 {
    position: static;
    width: auto;
    margin-top: 10px;
    font-size: 28px;
    line-height: 34px;
  }
  .selection__content > p {
    position: static;
    width: auto;
    margin-top: 20px;
    font-size: 14px;
    line-height: 24px;
  }
  .selection__content ul {
    position: static;
    display: grid;
    width: auto;
    grid-template-columns: 1fr;
    row-gap: 17px;
    margin: 21px 0 0;
  }
  .selection__content li {
    font-size: 13px;
    line-height: 24px;
  }
  .selection__content .action {
    position: absolute;
    top: 491px;
    left: 18px;
    width: 313px;
  }

  .reviews-section {
    position: relative;
    height: 1050px;
    margin-top: -19px;
    padding: 0;
    background: #fff;
  }
  .reviews-section > .frame {
    position: relative;
    height: 100%;
  }
  .reviews-head {
    position: absolute;
    top: 21px;
    left: 0;
    display: block;
    width: 354px;
    height: 210px;
  }
  .reviews-head h2 {
    width: 297px;
    margin-top: 8px;
    font-size: 28px;
    line-height: 34px;
  }
  .reviews-head > p {
    width: 339px;
    margin: 20px 0 0;
    font-size: 14px;
    line-height: 24px;
    text-align: left;
  }
  .review-grid {
    position: absolute;
    top: 288px;
    left: 0;
    display: grid;
    width: 354px;
    height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0;
  }
  .review-main {
    width: 354px;
    height: 282px;
    min-height: 0;
    padding: 28px;
    background: var(--paper);
  }
  .quote {
    top: 14px;
    left: 28px;
    font-size: 70px;
    line-height: 49px;
  }
  .review-main > p {
    margin: 26px 0 0;
    font-size: 14px;
    line-height: 24px;
  }
  .review-main footer {
    right: 28px;
    bottom: 7px;
    left: 28px;
    height: 82px;
    align-items: flex-start;
  }
  .review-main footer > div b {
    font-size: 11px;
  }
  .review-main footer > div small {
    font-size: 11px;
    line-height: 15px;
  }
  .review-main footer > strong {
    position: absolute;
    top: 57px;
    left: 0;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
  }
  .review-main footer > strong small {
    display: inline;
    font-size: 11px;
    text-transform: none;
  }
  .review-stat {
    width: 354px;
    height: 210px;
    min-height: 0;
    padding: 32px;
  }
  .review-stat .stat-icon {
    width: 24px;
    height: 24px;
    background-size: 24px !important;
  }
  .review-stat > div > small,
  .review-stat strong,
  .review-stat p {
    color: var(--muted);
    font-size: 11px;
    line-height: 16px;
    text-transform: uppercase;
  }
  .review-stat strong {
    margin: 9px 0 5px;
  }
  .review-stat--dark strong {
    color: #aab2bf;
  }

  .cities-section {
    position: relative;
    height: 473px;
    padding: 0;
    background: var(--ink);
  }
  .cities {
    position: relative;
    display: block;
    height: 100%;
  }
  .cities > div:first-child {
    position: absolute;
    top: 37px;
    left: 0;
  }
  .cities h2 {
    width: 354px;
    margin-top: 16px;
    font-size: 28px;
    line-height: 34px;
  }
  .city-buttons {
    position: absolute;
    top: 206px;
    left: 0;
    display: flex;
    width: 354px;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
  }
  .city-buttons button {
    height: 50px;
    padding: 0 12px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 13px;
  }

  .faq-section {
    position: relative;
    height: 912px;
    padding: 0;
    background: var(--paper);
  }
  .faq {
    position: relative;
    display: block;
    height: 100%;
  }
  .faq > div:first-child {
    position: absolute;
    top: 47px;
    left: 6px;
    width: 354px;
  }
  .faq h2 {
    width: 253px;
    margin-top: 8px;
    font-size: 28px;
    line-height: 38px;
  }
  .faq > div:first-child > p {
    width: 309px;
    margin: 19px 0 0;
    font-size: 14px;
    line-height: 24px;
  }
  .faq > div:first-child > a {
    top: 9px;
    font-size: 12px;
  }
  .accordion {
    position: absolute;
    top: 280px;
    left: 6px;
    width: 354px;
    margin: 0;
  }
  .accordion-item {
    position: relative;
    background: transparent;
  }
  .accordion-trigger {
    min-height: 99px;
    height: 99px;
    padding: 0 9px 0 0;
    font-size: 15px;
    line-height: 24px;
  }
  .accordion-item:first-child {
    height: 198px;
  }
  .accordion-item:first-child .accordion-trigger {
    height: 77px;
    min-height: 77px;
    font-size: 15px;
  }
  .accordion-panel.is-open {
    min-height: 121px;
    padding: 0 14px 24px 0;
    font-size: 14px;
    line-height: 24px;
  }

  .contact-section {
    position: relative;
    height: 1072px;
    padding: 0;
    background: var(--ink);
  }
  .contact {
    position: relative;
    display: block;
    height: 100%;
  }
  .contact > div {
    position: absolute;
    top: 79px;
    left: 0;
    width: 354px;
    padding: 0;
  }
  .contact h2 {
    width: 296px;
    margin-top: 3px;
    font-size: 28px;
    line-height: 34px;
  }
  .contact > div > p {
    width: 344px;
    margin: 19px 0 0;
    font-size: 14px;
    line-height: 24px;
  }
  .contact > div > a {
    margin-top: 28px;
    color: #7e8997;
    font-size: 10px;
    line-height: 24px;
  }
  .contact > div > a::before {
    filter: none;
    opacity: 0.75;
  }
  .contact > div > small {
    margin-top: 4px;
    color: #7e8997;
    font-size: 10px;
  }
  .contact__map {
    display: none;
  }
  .contact-form {
    position: absolute;
    top: 436px;
    left: 0;
    display: grid;
    width: 354px;
    height: 561px;
    padding: 20px 18px 0;
    background: #fff;
  }
  .contact-form > label {
    display: flex;
    height: 65px;
    flex-direction: column;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.55px;
    text-transform: uppercase;
  }
  .contact-form input[type="text"],
  .contact-form input[type="tel"],
  .contact-form select {
    height: 38px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    color: var(--muted);
    font:
      12px Arial,
      sans-serif;
    outline: none;
  }
  .contact-form input:focus,
  .contact-form select:focus {
    border-bottom-color: var(--red);
  }
  .contact-form fieldset {
    display: flex;
    height: 81px;
    align-items: center;
    gap: 18px;
    padding: 0;
    border: 0;
  }
  .contact-form legend {
    padding-top: 8px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .contact-form fieldset label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--ink);
    font-size: 12px;
  }
  .contact-form input[type="radio"],
  .contact-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--red);
  }
  .contact-form > button {
    display: flex;
    width: 318px;
    height: 52px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    background: var(--red);
    color: #fff;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.72px;
    text-transform: uppercase;
  }
  .contact-form__consent {
    display: grid !important;
    height: 54px !important;
    grid-template-columns: 20px 1fr;
    gap: 9px;
    padding-top: 17px;
    color: var(--muted) !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    line-height: 15px !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }
  .contact-form__status {
    margin: 0;
    color: var(--red);
    font-size: 11px;
  }

  .site-footer {
    position: relative;
    height: 1190px;
    padding: 0;
    background: #09121f;
  }
  .site-footer > .frame {
    position: relative;
    width: 342px;
    height: 100%;
    margin-left: 24px;
  }
  .footer-grid {
    position: static;
    display: block;
  }
  .footer-brand {
    position: absolute;
    top: 65px;
    left: 0;
    width: 342px;
  }
  .footer-brand > img {
    width: 58px;
    height: 58px;
  }
  .footer-brand > p {
    width: 296px;
    margin: 24px 0 10px;
    font-size: 14px;
    line-height: 24px;
  }
  .footer-brand > a {
    font-size: 17px;
    line-height: 23px;
  }
  .footer-social {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
  }
  .footer-social a {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: #137bd6;
  }
  .footer-social img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .footer-social .social-extra {
    display: grid;
    place-items: center;
    background: #fff;
    color: #0e1a2b;
    font-weight: 800;
  }
  .footer-grid > div:nth-child(2) {
    position: absolute;
    top: 370px;
    left: 0;
  }
  .footer-grid > div:nth-child(3) {
    position: absolute;
    top: 563px;
    left: 0;
  }
  .footer-grid > div:nth-child(4) {
    position: absolute;
    top: 850px;
    left: 0;
    display: flex;
  }
  .footer-grid h3 {
    margin: 0 0 17px;
    font-size: 12px;
    line-height: 16px;
    color: white;
  }
  .footer-grid > div:not(:first-child) > a {
    margin: 0 0 11px;
    color: #7e8997;
    font-size: 12px;
    line-height: 19px;
  }
  .footer-bottom {
    position: absolute;
    top: 925px;
    left: 0;
    display: block;
    width: 342px;
    height: 174px;
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 11px;
    line-height: 17px;
  }
  .footer-bottom p:last-child {
    width: 333px;
    margin-top: 42px;
    font-size: 14px;
    line-height: 24px;
  }
}

/* Keep the mobile composition centered, but let the Hero image fill tablets and wider phones. */
@media (min-width: 391px) and (max-width: 767px) {
  .hero::before {
    width: 100%;
    background-position:
      0 0,
      0 0;
    background-size:
      100% 100%,
      cover;
  }
  .hero__inner {
    width: calc(100% - 32px);
  }
  .hero h1,
  .hero__lead,
  .hero__actions {
    left: 50%;
    transform: translateX(-50%);
  }
  .hero__stats {
    left: 16px;
    width: calc(100% - 32px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__stats article {
    width: auto;
  }
  .hero__reasons {
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background-size: 100% 2px;
  }
  .hero__reasons::before {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .hero__reasons::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  body {
    font-size: 14px;
  }
  .frame {
    width: calc(100% - 32px);
  }
  .eyebrow {
    margin-bottom: 15px;
    font-size: 12px;
  }
  .site-header {
    position: sticky;
    top: 0;
    height: 68px;
  }
  .header-wrap {
    width: 100%;
    height: 68px;
    padding: 0 16px;
  }
  .brand {
    width: 82px;
    height: 52px;
    margin: 0;
  }
  .brand img {
    width: 62px;
    height: 62px;
  }
  .main-nav,
  .header-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    background: transparent;
  }
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
  }
  .mobile-panel {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 19;
    display: block;
    padding: 32px 24px;
    background: var(--ink);
    color: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: 0.25s;
  }
  .mobile-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
  .mobile-panel nav {
    display: grid;
    gap: 20px;
    font-size: 25px;
    font-weight: 700;
  }
  .mobile-panel__footer {
    margin-top: 45px;
    color: #aab2bf;
  }
  h2 {
    font-size: 34px;
    line-height: 41px;
  }
  .hero {
    height: auto;
    min-height: 860px;
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(255, 255, 255, 0.84) 52%,
        rgba(255, 255, 255, 0.1) 100%
      ),
      url("../../img/hero-car.webp") 65% center/cover;
  }
  .hero__inner {
    width: calc(100% - 32px);
    padding-top: 32px;
  }
  .hero h1 {
    width: auto;
    margin-top: 15px;
    font-size: 44px;
    line-height: 45px;
  }
  .hero__lead {
    width: auto;
    margin-top: 20px;
    font-size: 15px;
    line-height: 26px;
  }
  .hero__actions {
    position: static;
    width: auto;
    height: auto;
    margin-top: 25px;
  }
  .hero__actions .action {
    position: static;
    width: 100% !important;
    margin-bottom: 10px;
    border-radius: 30px;
  }
  .hero__reasons {
    position: static;
    width: 100%;
    height: auto;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 16px;
    margin-top: 10px;
  }
  .hero__social {
    display: none;
  }
  .hero__stats {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
  }
  .hero__stats article {
    width: auto;
    min-width: 0;
  }
  .hero__stats strong {
    font-size: 18px;
  }
  .hero__stats span {
    font-size: 11px;
  }
  .process,
  .steps,
  .catalog-section,
  .calculator-section,
  .news-section,
  .selection,
  .reviews-section,
  .cities-section,
  .faq-section,
  .contact-section,
  .site-footer {
    height: auto;
  }
  .process {
    padding: 60px 0;
  }
  .section-head,
  .section-head--process {
    display: block;
    height: auto;
  }
  .section-head h2,
  .section-head--process h2,
  .catalog-head h2,
  .news-head h2,
  .reviews-head h2 {
    width: auto;
  }
  .section-head--process > p,
  .reviews-head > p {
    width: auto;
    margin: 20px 0 28px;
    text-align: left;
  }
  .metrics {
    height: auto;
    grid-template-columns: 1fr 1fr;
  }
  .metrics article {
    border-bottom: 1px solid var(--line);
  }
  .service-cards {
    grid-template-columns: 1fr;
  }
  .service-cards article {
    height: auto;
    min-height: 310px;
  }
  .steps {
    padding: 60px 0;
  }
  .steps__grid {
    display: block;
  }
  .steps__intro h2,
  .steps__intro > p {
    width: auto;
  }
  .steps__intro .action {
    width: 100%;
    margin-bottom: 30px;
  }
  .catalog-section {
    padding: 60px 0;
  }
  .catalog-head {
    height: auto;
  }
  .filters {
    margin-top: 25px;
  }
  .car-grid {
    grid-template-columns: 1fr;
  }
  .car-title > strong {
    font-size: 14px;
  }
  .all-link {
    font-size: 13px;
  }
  .calculator-section {
    padding: 0 0 60px;
  }
  .calculator {
    height: auto;
    grid-template-columns: 1fr;
  }
  .calculator__intro {
    padding: 35px 24px;
  }
  .calculator__intro h2,
  .calculator__intro p {
    width: auto;
  }
  .calculator__fields {
    padding: 35px 24px;
  }
  .calculator__result {
    height: auto;
    min-height: 290px;
    padding: 45px 24px;
  }
  .news-section {
    padding: 60px 0;
  }
  .news-head {
    height: auto;
    padding: 0;
  }
  .news-head > div:last-child {
    margin: 20px 0 30px;
    text-align: left;
  }
  .news-head p {
    width: auto;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .selection {
    grid-template-columns: 1fr;
  }
  .selection__image {
    height: 390px;
  }
  .selection__content {
    padding: 50px 24px;
  }
  .selection__content h2,
  .selection__content > p,
  .selection__content ul {
    width: auto;
  }
  .selection__content ul {
    grid-template-columns: 1fr;
    margin: 30px 0;
  }
  .selection__content .action {
    width: 100%;
    padding: 0 12px;
    font-size: 12px;
  }
  .reviews-section {
    padding: 60px 0;
  }
  .reviews-head {
    height: auto;
  }
  .review-grid {
    height: auto;
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .review-main {
    min-height: 430px;
    padding: 30px;
  }
  .review-main footer {
    right: 30px;
    bottom: 30px;
    left: 30px;
  }
  .review-main footer > strong {
    font-size: 15px;
  }
  .review-stat {
    min-height: 260px;
  }
  .cities-section {
    padding: 60px 0;
  }
  .cities {
    display: block;
  }
  .cities h2 {
    width: auto;
  }
  .city-buttons {
    margin-top: 35px;
  }
  .faq-section {
    padding: 60px 0;
  }
  .faq {
    display: block;
  }
  .faq h2,
  .faq > div:first-child > p {
    width: auto;
  }
  .accordion {
    margin-top: 30px;
  }
  .accordion-trigger {
    height: auto;
    min-height: 76px;
    padding-right: 10px;
  }
  .contact-section {
    padding: 60px 0;
  }
  .contact {
    display: block;
  }
  .contact h2,
  .contact > div > p {
    width: auto;
  }
  .contact > img {
    width: 100%;
    height: 280px;
    margin-top: 35px;
  }
  .site-footer {
    padding: 55px 0 25px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 35px;
  }
  .footer-bottom p:last-child {
    width: auto;
  }
  .mobile-panel {
    visibility: hidden;
    transform: none;
  }
  .mobile-panel.is-open {
    visibility: visible;
    transform: none;
  }
}

/* Exact exported Figma vectors. */
.action > span {
  width: 18px;
  height: 24px;
  background: url("../../img/figma-exact/arrow-white.svg") center/contain
    no-repeat;
  font-size: 0;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .contact__map {
    width: 100%;
    height: 280px;
    margin-top: 35px;
  }
}
.filters button {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filters button:last-child::before {
  width: 16px;
  height: 24px;
  background: url("../../img/figma-exact/filter.svg") center/contain no-repeat;
  content: "";
}
.car-info > a span,
.all-link span,
.news-grid a span,
.news-head a span {
  display: block;
  width: 16px;
  height: 24px;
  background: url("../../img/figma-exact/arrow-dark.svg") center/contain
    no-repeat;
  font-size: 0;
}
.all-link,
.news-grid a {
  align-items: center;
}
.news-grid time {
  display: flex;
  align-items: center;
  gap: 5px;
}
.news-grid time::before {
  width: 13px;
  height: 24px;
  background: url("../../img/figma-exact/calendar.svg") center/contain no-repeat;
  content: "";
}
.review-stat .stat-icon {
  display: block;
  width: 60px;
  height: 60px;
  font-size: 0;
}
.review-stat:nth-child(2) .stat-icon {
  background: url("../../img/figma-exact/review-savings.svg") center/contain
    no-repeat;
}
.review-stat:nth-child(3) .stat-icon {
  background: url("../../img/figma-exact/review-car.svg") center/contain
    no-repeat;
}

/* Pixel calibration against Figma node 143:575. */
.main-nav,
.header-cta,
.action,
.filters button,
.car-info > a,
.all-link,
.accordion-trigger,
.city-buttons button {
  font-family: Montserrat, Arial, sans-serif;
}
.hero__lead {
  font-family: Manrope, Arial, sans-serif;
}
.section-head--process > p,
.calculator__intro p {
  font-family: Onest, Arial, sans-serif;
}
.calculator__fields strong,
.car-pay b,
.car-info small {
  font-family: Onest, Arial, sans-serif;
}
.calculator__result > span,
.calculator__result > small {
  font-family: Manrope, Arial, sans-serif;
}
.hero__social img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
}
.metrics i {
  width: 26px;
  height: 24px;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 0;
}
.metrics article:nth-child(1) i {
  background-image: url("../../img/figma-home/metric-free.svg");
  background-size: 26px 26px;
}
.metrics article:nth-child(2) i {
  background-image: url("../../img/figma-home/metric-shield.svg");
  background-size: 26px 24px;
}
.metrics article:nth-child(3) i {
  background-image: url("../../img/figma-home/metric-time.svg");
  background-size: 26px 24px;
}
.metrics article:nth-child(4) i {
  background-image: url("../../img/figma-home/metric-location.svg");
  background-size: 26px 24px;
}
.service-icon {
  width: 36px;
  height: 36px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 36px 36px;
  font-size: 0;
}
.service-cards article:nth-child(1) .service-icon {
  background-image: url("../../img/figma-home/service-installment.svg");
}
.service-cards article:nth-child(2) .service-icon {
  background-image: url("../../img/figma-home/service-rent.svg");
}
.service-cards article:nth-child(3) .service-icon {
  background-image: url("../../img/figma-home/service-selection.svg");
}
.service-cards article:nth-child(4) .service-icon {
  background-image: url("../../img/figma-home/service-trade.svg");
}
.service-no {
  color: #c8c5c0;
  font-size: 16px;
  font-weight: 700;
}
.service-cards h3 {
  font-size: 20px;
  font-weight: 400;
}
.service-cards p {
  font-size: 13px;
  line-height: 22.1px;
}
.service-cards a span {
  display: inline-block;
  width: 16px;
  height: 24px;
  background: url("../../img/figma-exact/arrow-dark.svg") center/contain
    no-repeat;
  font-size: 0;
  vertical-align: middle;
}
.selection__image > span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 22px;
}
.selection__image > span::before {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url("../../img/figma-home/selection-badge.svg") center/contain
    no-repeat;
  content: "";
}
.selection__content li::before {
  width: 17px;
  height: 24px;
  background: url("../../img/figma-home/selection-check.svg") center/17px 24px
    no-repeat;
  content: "";
}
.reviews-head h2 {
  font-weight: 800;
}
.review-main footer {
  height: 54px;
}
.review-main footer > div small {
  font-size: 12px;
  line-height: 15px;
}
.review-main footer > strong small {
  font-size: 8px;
  line-height: 12px;
}
.faq > div:first-child > a {
  position: relative;
  top: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  line-height: 18px;
}
.faq > div:first-child > a::before {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url("../../img/figma-home/faq-chat.svg") center/contain no-repeat;
  content: "";
}
.accordion-trigger::after {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url("../../img/figma-home/faq-closed.svg") center/contain
    no-repeat;
  content: "";
}
.accordion-trigger[aria-expanded="true"]::after {
  background-image: url("../../img/figma-home/faq-open.svg");
  content: "";
}
.city-buttons button {
  display: flex;
  align-items: center;
  gap: 8px;
}
.city-buttons button::before {
  width: 15px;
  height: 24px;
  flex: 0 0 15px;
  background: url("../../img/figma-home/city.svg") center/15px 24px no-repeat;
  content: "";
}
.city-buttons .active::before {
  background-image: url("../../img/figma-home/city-active.svg");
}
.contact > div > a {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 24px;
}
.contact > div > a::before {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url("../../img/phone.svg") center/contain no-repeat;
  filter: brightness(0) invert(1);
  content: "";
}
.contact > div > small {
  line-height: 15px;
}

@media (min-width: 1101px) {
  .brand {
    margin-right: 37px;
  }
  .brand img {
    max-width: none;
    transform: translate(-2.5px, -3.5px);
  }
  .header-actions {
    transform: translate(-2px, -0.5px);
  }
  .hero {
    height: calc(100vh - 85px);
    background-color: #ddd;
    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.931) 0%,
        rgba(255, 255, 255, 0.836) 33%,
        rgba(255, 255, 255, 0.076) 64%
      ),
      linear-gradient(
        0deg,
        rgba(14, 26, 43, 0.154) 0%,
        rgba(14, 26, 43, 0) 40%
      ),
      url("../../img/hero-car.webp");
    background-position:
      0 0,
      0 0,
      center center;
    background-repeat: no-repeat;
    background-size:
      100% 100%,
      100% 100%,
      cover;
  }
  .hero__actions .action--wide {
    top: 10px;
  }
  .hero__actions .action--white {
    top: 84px;
  }
  .hero__actions .action--outline {
    top: 85px;
  }
  .hero__reasons {
    top: 489px;
    display: block;
  }
  .hero__reasons span {
    position: absolute;
    top: 19px;
    height: 31px;
    padding: 0;
    font-family: Manrope, Arial, sans-serif;
  }
  .hero__reasons span:nth-child(1) {
    left: 22px;
    width: 170px;
  }
  .hero__reasons span:nth-child(2) {
    left: 204px;
    width: 161px;
  }
  .hero__reasons span:nth-child(3) {
    left: 386px;
    width: 174px;
  }
  .hero__reasons span:nth-child(4) {
    left: 582px;
    width: 158px;
  }
  .hero__reasons span::before {
    width: 19px;
    height: 24px;
    flex: 0 0 19px;
    margin-right: 9px;
    background: url("../../img/figma-home/reason-check.svg") center/19px 24px
      no-repeat;
    content: "";
  }
  .hero__social {
    top: auto;
    bottom: 29px;
    left: -2px;
    padding: 5px 15px;
  }
  .hero__social b {
    font-family: Manrope, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 21.5px;
  }
  .hero__social div {
    margin-top: 13px;
    margin-left: -2px;
  }
  .hero__stats {
    right: -4px;
  }
  .section-head--process > div {
    padding-top: 4px;
  }
  .section-head--process {
    margin-bottom: 40px;
  }
  .selection__image > img {
    height: calc(100% - 15px);
    margin-top: 15px;
  }
  .selection__content {
    position: relative;
    height: 644px;
    padding: 0;
  }
  .selection__content > .eyebrow {
    position: absolute;
    top: 15px;
    left: 120px;
    margin: 0;
  }
  .selection__content h2 {
    position: absolute;
    top: 56px;
    left: 120px;
  }
  .selection__content > p {
    position: absolute;
    top: 260px;
    left: 120px;
    margin: 0;
  }
  .selection__content ul {
    position: absolute;
    top: 383px;
    left: 120px;
    row-gap: 11.5px;
    margin: 0;
  }
  .selection__content .action {
    position: absolute;
    top: 535px;
    left: 120px;
  }
  .cities {
    position: relative;
    display: block;
  }
  .cities > div:first-child {
    position: absolute;
    top: 130px;
    left: -2px;
  }
  .cities .eyebrow {
    margin-bottom: 30px;
  }
  .city-buttons {
    position: absolute;
    top: 193px;
    left: 612px;
    width: 660px;
    gap: 10px 9px;
    margin: 0;
  }
  .city-buttons button {
    padding-right: 17.5px;
    padding-left: 17.5px;
  }
  .contact > div {
    position: relative;
    left: 44px;
    padding-top: 4px;
  }
  .contact > div > a {
    margin-top: 41px;
  }
  .contact > div > small {
    margin-top: 9px;
  }
  .accordion-trigger {
    font-size: 18px;
  }
  .accordion-item:first-child .accordion-trigger {
    font-size: 20px;
  }
  .accordion-panel {
    font-size: 16px;
    line-height: 22.1px;
  }
  .accordion-panel.is-open {
    min-height: 92px;
    padding-bottom: 25px;
  }
}

@media (max-width: 767px) {
  .main-nav,
  .header-actions {
    display: none;
  }
  .action,
  .filters button,
  .car-info > a,
  .all-link,
  .accordion-trigger,
  .city-buttons button {
    font-family: Montserrat, Arial, sans-serif;
  }
  .section-head--process > p,
  .calculator__intro p {
    font-family: Manrope, Arial, sans-serif;
  }
  .metrics i {
    width: 26px;
    height: 26px;
    background-size: 26px !important;
  }
  .service-cards p {
    line-height: 24px;
  }
  .selection__image > span {
    padding: 0;
  }
  .review-main footer {
    height: 82px;
  }
  .review-main footer > div small {
    font-size: 11px;
    line-height: 15px;
  }
  .review-main footer > strong small {
    font-size: 11px;
    line-height: 16px;
  }
  .faq > div:first-child > a {
    top: 9px;
  }
  .mobile-panel {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 19;
    display: block;
    padding: 32px 24px;
    background: var(--ink);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .mobile-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .mobile-panel nav {
    display: grid;
    gap: 20px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 25px;
    font-weight: 700;
  }
  .mobile-panel__footer {
    margin-top: 45px;
    color: #aab2bf;
  }
}

/* Responsive Hero: preserve the 390 px and 1440 px compositions while making
   the space between them fluid and resilient to wrapped copy. */
@media (max-width: 767px) {
  .hero {
    height: auto;
    min-height: 0;
  }
  .hero::before {
    width: 100%;
    height: calc(100% - 22px);
    background-position:
      0 0,
      0 0;
    background-size:
      100% 100%,
      cover;
  }
  .hero__inner {
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    padding: 9px 0 25px;
  }
  .hero__badge {
    position: static;
    order: 1;
    align-self: flex-start;
    margin-left: 8px;
    vertical-align: top;
  }
  .hero h1 {
    position: static;
    order: 2;
    width: auto;
    margin: 3px 5px 0 24px;
  }
  .hero__lead {
    position: static;
    order: 3;
    width: auto;
    margin: 7px 19px 0 24px;
  }
  .hero__actions {
    position: relative;
    top: auto;
    left: auto;
    order: 4;
    width: auto;
    height: 180px;
    flex: none;
    margin: 13px 24px 0;
    transform: none;
  }
  .hero__actions .action {
    width: 100% !important;
  }
  .hero-contact-dock {
    position: relative;
    top: auto;
    right: auto;
    order: 5;
    flex: none;
    margin: 5px 16px 0 auto;
  }
  .hero__stats {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    order: 6;
    width: auto;
    flex: none;
    margin: 34px 16px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero__stats article {
    width: auto;
    min-width: 0;
  }
  .hero__reasons {
    position: relative;
    top: auto;
    left: auto;
    order: 7;
    width: auto;
    height: 176px;
    min-height: 176px;
    align-items: stretch;
    flex: none;
    margin: 34px 16px 0;
    padding: 50px 0 0;
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    background-image: none;
  }
  .hero__reasons::before {
    top: 14px;
    left: 50%;
    width: calc(100% - 32px);
    transform: translateX(-50%);
    white-space: nowrap;
    text-align: center;
  }
  .hero__reasons::after {
    display: none;
  }
  .hero__reasons span {
    align-items: center;
    padding: 6px 16px;
  }
  .hero__reasons span:nth-child(odd) {
    border-right: 1px solid #c4c7ca;
  }
  .hero__reasons span:nth-child(n + 3) {
    border-top: 1px solid #c4c7ca;
  }
}

@media (min-width: 391px) and (max-width: 767px) {
  .hero__badge {
    margin-left: 24px;
  }
  .hero h1 {
    width: min(361px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
    transform: none;
  }
  .hero__lead {
    width: min(347px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
    transform: none;
  }
  .hero__actions {
    width: min(342px, calc(100% - 48px));
    margin-right: auto;
    margin-left: auto;
  }
  .hero-contact-dock {
    margin-right: 32px;
  }
  .hero__stats {
    margin-right: 32px;
    margin-left: 32px;
  }
}

@media (max-width: 359px) {
  .hero h1 {
    margin-right: 16px;
    margin-left: 16px;
    font-size: 28px;
    line-height: 34px;
  }
  .hero__lead {
    margin-right: 16px;
    margin-left: 16px;
  }
  .hero__actions {
    margin-right: 16px;
    margin-left: 16px;
  }
  .hero__actions .action {
    gap: 8px;
    padding-right: 12px;
    padding-left: 12px;
    font-size: 10px;
    letter-spacing: 0.45px;
  }
  .hero-contact-dock {
    margin-right: 16px;
  }
  .hero__stats,
  .hero__reasons {
    margin-right: 16px;
    margin-left: 16px;
  }
  .hero__stats {
    gap: 8px;
  }
  .hero__stats article {
    padding-right: 8px;
    padding-left: 8px;
  }
  .hero__stats strong {
    font-size: 14px;
  }
  .hero__reasons {
    height: 190px;
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }
  .hero__reasons span {
    padding-right: 8px;
    padding-left: 8px;
  }
  .hero__reasons span::before {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    margin-right: 6px;
    background-size: 15px 15px;
  }
}

@media (min-width: 680px) and (max-width: 767px) {
  .hero__reasons {
    height: 120px;
    min-height: 120px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: minmax(0, 1fr);
  }
  .hero__reasons span:nth-child(n) {
    border-top: 0;
    border-right: 1px solid #c4c7ca;
  }
  .hero__reasons span:last-child {
    border-right: 0;
  }
}

/* Mobile Hero calibrated to the supplied 390 px composition. */
@media (min-width: 390px) and (max-width: 480px) {
  .hero {
    height: 931px;
    min-height: 931px;
    background: #f6f3ee;
  }
  .hero::before {
    top: 0;
    left: 0;
    width: 390px;
    height: 760px;
    background-position:
      0 0,
      0 0;
    background-size:
      390px 760px,
      390px 760px;
  }
  .hero__inner {
    position: relative;
    display: block;
    width: 390px;
    height: 931px;
    margin: 0;
    padding: 0;
  }
  .hero__badge {
    position: absolute;
    top: 9px;
    left: 8px;
    margin: 0;
  }
  .hero h1 {
    position: absolute;
    top: 29px;
    left: 24px;
    width: 361px;
    margin: 0;
  }
  .hero__lead {
    position: absolute;
    top: 110px;
    left: 24px;
    width: 347px;
    margin: 0;
  }
  .hero__actions {
    position: absolute;
    top: 195px;
    left: 24px;
    width: 342px;
    height: 180px;
    margin: 0;
  }
  .hero__actions .action {
    position: absolute;
    width: 342px !important;
    height: 52px;
    margin: 0;
  }
  .hero__actions .action--wide {
    top: 0;
    left: 0;
  }
  .hero__actions .action--white {
    top: 64px;
    left: 0;
  }
  .hero__actions .action--outline {
    top: 128px;
    left: 0;
  }
  .hero__actions .action--outline::after {
    width: 20px;
    height: 20px;
    background: var(--ink);
    content: "";
    mask: url("../../img/figma-home/service-rent.svg") center/contain no-repeat;
    -webkit-mask: url("../../img/figma-home/service-rent.svg") center/contain
      no-repeat;
  }
  .hero-contact-dock {
    position: absolute;
    top: 380px;
    right: 16px;
    width: 150px;
    height: 281px;
    margin: 0;
  }
  .hero__stats {
    position: absolute;
    top: 695px;
    right: auto;
    bottom: auto;
    left: 16px;
    width: 358px;
    height: 52px;
    margin: 0;
    grid-template-columns: 172px 172px;
    gap: 14px;
  }
  .hero__stats article {
    width: 172px;
    height: 52px;
  }
  .hero__reasons {
    position: absolute;
    top: 781px;
    right: auto;
    bottom: auto;
    left: 16px;
    width: 358px;
    height: 150px;
    min-height: 0;
    margin: 0;
    padding: 34px 0 0;
    transform: none;
    grid-template-columns: 179px 179px;
    grid-template-rows: 58px 58px;
    background-color: rgba(255, 255, 255, 0.96);
    background-image: linear-gradient(#626872, #626872);
    background-position: 0 92px;
    background-size: 358px 2px;
    background-repeat: no-repeat;
    backdrop-filter: none;
  }
  .hero__reasons::before {
    top: 14px;
    left: 53px;
    width: auto;
    transform: none;
    white-space: nowrap;
    text-align: left;
  }
  .hero__reasons::after {
    top: 51px;
    left: 175px;
    display: block;
    width: 2px;
    height: 99px;
    transform: none;
    background: #626872;
  }
  .hero__reasons span {
    align-items: flex-start;
    padding: 14px 17px 0 22px;
    border: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .hero {
    --hero-gutter: clamp(16px, calc(65px - 4.45vw), 31px);
    height: 100vh;
    min-height: 0;
    background-color: #ddd;
    background-image:
      linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.84) 46%,
        rgba(255, 255, 255, 0.08) 76%
      ),
      linear-gradient(0deg, rgba(14, 26, 43, 0.12) 0%, rgba(14, 26, 43, 0) 42%),
      url("../../img/hero-car.webp");
    background-position:
      0 0,
      0 0,
      60% center;
    background-repeat: no-repeat;
    background-size:
      100% 100%,
      100% 100%,
      cover;
  }
  .hero__inner {
    width: 100%;
    height: 100%;
    padding: 30px var(--hero-gutter) 0;
  }
  .hero h1 {
    width: min(64vw, 695px);
    margin-top: 11px;
    font-size: clamp(46px, 5vw, 54px);
    line-height: 1.08;
  }
  .hero__lead {
    width: min(64vw, 650px);
    margin-top: 11px;
    font-size: 16px;
    line-height: 28.5px;
  }
  .hero__actions {
    position: relative;
    width: 461px;
    height: 151px;
    margin-top: 20px;
  }
  .hero__actions .action {
    position: absolute;
    width: auto !important;
    margin: 0;
    border-radius: 0;
  }
  .hero__actions .action--wide {
    top: 0;
    left: 0;
    width: 461px !important;
  }
  .hero__actions .action--white {
    top: 74px;
    left: 0;
    width: 238px !important;
  }
  .hero__actions .action--outline {
    top: 74px;
    left: 248px;
    width: 213px !important;
  }
  .hero__reasons {
    position: absolute;
    top: 550px;
    right: auto;
    left: var(--hero-gutter);
    display: grid;
    width: min(760px, calc(100% - (var(--hero-gutter) * 2)));
    height: 69px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
  }
  .hero__reasons span {
    padding: 0 clamp(8px, 1.4vw, 13px);
    font-size: clamp(11px, 1.3vw, 14px);
    line-height: 1.4;
  }
  .hero__stats {
    position: absolute;
    right: var(--hero-gutter);
    bottom: 28px;
    display: flex;
    width: auto;
    grid-template-columns: none;
    gap: clamp(12px, 3vw, 36px);
    margin: 0;
  }
  .hero__stats article {
    width: clamp(220px, 24vw, 250px);
    height: 78px;
  }
  .hero__stats strong {
    font-size: 24px;
    line-height: 30px;
  }
  .hero__stats span {
    font-size: 14px;
    line-height: 21px;
  }
}

/* The Figma mobile frame is 390 px wide. Below that width, constrain every
   fixed mobile canvas to the actual viewport instead of widening the page. */
@media (max-width: 389px) {
  .header-wrap {
    width: 100%;
  }
  .frame {
    width: calc(100% - 32px);
  }
  .frame * {
    max-width: 100%;
  }

  .cookie-notice {
    width: calc(100% - 24px);
  }
  .cookie-notice p {
    width: auto;
    margin-right: 0;
  }
  .cookie-notice button {
    right: 16px;
    left: 16px;
    width: auto;
  }

  .calculator,
  .calculator__intro,
  .calculator__result,
  .social-section__inner,
  .selection__image,
  .selection__content {
    width: 100%;
  }
  .calculator__fields {
    right: 18px;
    width: auto;
  }
  .social-section__inner *,
  .selection__content * {
    max-width: 100%;
  }
  .social-channels a {
    width: 100%;
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .selection__image > span {
    right: 16px;
    left: 16px;
    width: auto;
  }
  .car-card,
  .review-main,
  .review-stat,
  .selection__content .action {
    width: 100%;
  }
  .selection__content .action {
    right: 18px;
    left: 18px;
    width: auto;
  }
  .contact-form > label,
  .contact-form > fieldset,
  .contact-form > button,
  .contact-form__consent,
  .contact-form__status {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .contact-form {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-form input,
  .contact-form select {
    min-width: 0;
  }
  .contact-form fieldset {
    height: auto;
    min-height: 81px;
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .site-footer > .frame {
    width: calc(100% - 48px);
    margin-right: 24px;
  }
}

@media (max-width: 279px) {
  .hero__stats article,
  .hero__reasons span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .hero__reasons {
    height: auto;
    min-height: 342px;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, minmax(64px, auto));
  }
  .hero__reasons::before {
    width: calc(100% - 16px);
    white-space: normal;
    text-align: center;
  }
  .hero__reasons span:nth-child(n) {
    border-right: 0;
  }
  .hero__reasons span:nth-child(n + 2) {
    border-top: 1px solid #c4c7ca;
  }
}

/* Подпись агентства в нижней строке футера. */
.footer-bottom {
  grid-template-columns: minmax(190px, 300px) minmax(0, 1fr) 225px;
  gap: 24px;
  padding-top: 18px;
}
.footer-bottom > p:nth-child(2) {
  width: auto;
  max-width: 680px;
}
.footer-credit {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 11px;
  color: #aab2bf;
  font-size: 10px;
  line-height: 15px;
}
.footer-credit span {
  max-width: 180px;
}
.footer-credit a {
  color: inherit;
  text-decoration: none;
}
.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit img {
  width: 19px;
  height: 39px;
  flex: none;
}
.footer-disclaimer {
  max-width: 900px;
  margin: 14px 0 0;
  color: #8d96a3;
  font-size: 10px;
  line-height: 15px;
}
.footer-coverage p {
  margin: 5px 0;
  color: #aab2bf;
  font-size: 11px;
  line-height: 15px;
}

/* Юридические ссылки занимают правую колонку футера вместо географии. */
.footer-legal a {
  margin: 5px 0;
  color: #aab2bf;
  font-size: 11px;
  line-height: 15px;
}
.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: #fff;
}

@media (max-width: 767px) {
  .footer-legal {
    top: 820px !important;
  }
  .footer-bottom {
    top: 1015px !important;
  }
  .footer-bottom > p:nth-child(2) {
    width: 333px;
    margin-top: 42px;
    font-size: 14px;
    line-height: 24px;
  }
  .footer-credit {
    position: absolute;
    top: 180px;
    left: 0;
    justify-self: start;
    font-size: 11px;
    line-height: 16px;
  }
  .footer-credit span {
    max-width: 160px;
  }
}

/* Единая ширина текстового контейнера поверх page-specific правил. */
.frame {
  width: min(1288px, calc(100% - 48px));
  margin-inline: auto;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-credit {
    justify-self: start;
    margin-top: 4px;
  }
}

/* Fluid page shell.
   The reference widths (1440 px desktop and 390 px mobile) stay unchanged;
   only the space between and beyond them is allowed to grow or contract. */
.frame,
.header-wrap,
.hero__inner {
  max-width: 100%;
}

@media (min-width: 1101px) {
  .frame {
    width: min(1288px, calc(100% - 32px));
  }
  .header-wrap {
    width: min(1300px, calc(100% - 32px));
  }
  .hero__inner {
    width: min(1292px, calc(100% - 32px));
  }
}

@media (min-width: 1101px) and (max-width: 1350px) {
  .cities .city-buttons {
    right: 0;
    left: auto;
    width: min(660px, calc(100% - 48%));
  }

  .contact {
    width: min(1288px, calc(100% - 32px));
    grid-template-columns: minmax(0, 44%) minmax(0, 52%);
    gap: 4%;
  }

  .contact > div:first-child {
    left: 0;
  }
  .contact > .contact__map {
    left: 0;
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 767px) {
  :root {
    --mobile-page-gutter: 18px;
  }

  .header-wrap,
  .hero__inner,
  .social-section__inner {
    width: 100%;
  }

  .calculator {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .calculator__intro,
  .calculator__result {
    width: 100%;
  }
  .calculator__fields {
    right: 18px;
    width: auto;
  }

  .frame {
    width: calc(100% - (var(--mobile-page-gutter) * 2));
    max-width: none;
  }

  .frame.calculator {
    width: 100vw;
    max-width: 100vw;
  }

  .section-head--process,
  .service-cards,
  .steps__list,
  .catalog-head,
  .filters,
  .car-grid,
  .car-card,
  .news-head,
  .news-grid,
  .reviews-head,
  .review-grid,
  .review-main,
  .review-stat,
  .cities h2,
  .city-buttons,
  .accordion,
  .contact > div:first-child,
  .contact-form {
    width: 100%;
    max-width: none;
  }

  .faq > div:first-child {
    right: 0;
    width: auto;
  }

  .contact-form > button {
    width: 100%;
  }
  .social-channels a {
    width: 100%;
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .site-footer > .frame {
    width: calc(100% - 48px);
    margin-right: 24px;
    margin-left: 24px;
  }

  .footer-brand,
  .footer-bottom {
    width: 100%;
  }
}

/* The fixed 390 px composition positioned the city copy absolutely. Once the
   section is allowed to grow on real phones, those elements must contribute to
   its height so the next section cannot cover the final cities. */
@media (max-width: 767px) {
  .cities-section {
    height: auto;
    min-height: 0;
    padding: 60px 0;
  }

  .cities {
    position: static;
    display: block;
    height: auto;
  }

  .cities > div:first-child,
  .city-buttons {
    position: static;
    width: auto;
  }

  .city-buttons {
    margin-top: 35px;
  }
}

@media (max-width: 389px) {
  .footer-bottom > p:nth-child(2) {
    width: 100%;
    max-width: 100%;
  }
}

/* Keep the measured 390 px Hero geometry, but make its horizontal dimensions
   follow the viewport on wider phones instead of leaving a fixed canvas at the
   left edge. Absolute positioning remains here because the artwork and contact
   dock are intentionally layered in the supplied composition. */
@media (min-width: 390px) and (max-width: 480px) {
  .hero::before {
    width: 100%;
    background-size:
      100% 760px,
      cover;
  }

  .hero__inner {
    width: 100%;
  }
  .hero h1 {
    right: 5px;
    width: auto;
  }
  .hero__lead {
    right: 19px;
    width: auto;
  }
  .hero__actions {
    right: 24px;
    width: auto;
  }
  .hero__actions .action {
    width: 100% !important;
  }

  .hero__stats {
    right: 16px;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__stats article {
    width: auto;
    min-width: 0;
  }

  .hero__reasons {
    right: 16px;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background-size: 100% 2px;
  }

  .hero__reasons::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Large desktop composition: keep the 1440 px reference untouched and let
   the layout use the additional canvas progressively on larger displays. */
@media (min-width: 1441px) {
  :root {
    --wide-frame: min(1920px, calc(100% - 152px));
    --wide-header: min(1932px, calc(100% - 140px));
    --wide-hero: min(1924px, calc(100% - 148px));
  }

  .frame {
    width: var(--wide-frame);
  }
  .header-wrap {
    width: var(--wide-header);
  }
  .hero__inner {
    width: var(--wide-hero);
  }
  .site-footer > .frame {
    width: var(--wide-frame);
  }

  .hero {
    height: calc(100vh - 85px);
  }
  .hero h1 {
    width: clamp(695px, 42vw, 820px);
    font-size: clamp(56px, 3.45vw, 68px);
    line-height: 1.06;
  }
  .hero__lead {
    width: clamp(650px, 39vw, 760px);
  }
  .hero__reasons {
    top: clamp(489px, 28.5vw, 548px);
  }
  .hero__social {
    top: auto;
    bottom: 29px;
  }

  .steps__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
    gap: clamp(119px, 7vw, 150px);
  }
  .steps__intro h2,
  .steps__intro > p {
    width: min(100%, 620px);
  }

  .car-photo {
    height: clamp(260px, 17vw, 340px);
  }
  .catalog-section {
    height: clamp(1102px, 61vw, 1182px);
  }

  .news-grid article > img {
    height: clamp(245px, 15vw, 310px);
  }
  .news-grid article {
    height: clamp(490px, 29vw, 555px);
  }
  .news-section {
    height: clamp(877px, 51vw, 942px);
  }

  .selection__content > .eyebrow,
  .selection__content h2,
  .selection__content > p,
  .selection__content ul,
  .selection__content .action {
    left: clamp(120px, 7vw, 160px);
  }

  .cities .city-buttons {
    right: 0;
    left: auto;
    width: min(760px, 52%);
  }

  .faq {
    grid-template-columns: minmax(420px, 40%) minmax(0, 60%);
  }

  .contact {
    grid-template-columns: minmax(0, 44%) minmax(0, 52%);
    gap: 4%;
  }
  .contact > .contact__map {
    left: 0;
    width: 100%;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: minmax(344px, 1.1fr) repeat(3, minmax(0, 1fr));
  }
}

/* The primary lead form must be available on desktop as well as mobile. */
@media (min-width: 768px) {
  .contact-section {
    height: auto;
    min-height: 0;
    padding: 100px 0;
  }

  .contact {
    grid-template-rows: auto auto;
    row-gap: 32px;
  }

  .contact__map {
    width: 100%;
  }

  .contact-form {
    display: grid;
    width: 100%;
    min-height: 470px;
    grid-column: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 30px;
    padding: 32px;
    box-sizing: border-box;
    background: #fff;
    color: var(--ink);
  }

  .contact-form > label {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.55px;
    text-transform: uppercase;
  }

  .contact-form input[type="text"],
  .contact-form input[type="tel"],
  .contact-form select {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 8px 0;
    box-sizing: border-box;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    color: var(--ink);
    font:
      14px Arial,
      sans-serif;
    outline: none;
  }

  .contact-form input:focus,
  .contact-form select:focus {
    border-bottom-color: var(--red);
  }

  .contact-form fieldset,
  .contact-form > button,
  .contact-form__consent,
  .contact-form__status {
    grid-column: 1 / -1;
  }

  .contact-form fieldset {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .contact-form legend {
    margin-right: 8px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
  }

  .contact-form fieldset label,
  .contact-form__consent {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .contact-form input[type="radio"],
  .contact-form input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--red);
  }

  .contact-form > button {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    background: var(--red);
    color: #fff;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.72px;
    text-transform: uppercase;
  }

  .contact-form__consent {
    align-items: flex-start;
    box-sizing: border-box;
    min-height: 56px;
    padding: 12px 14px;
    border: 1px solid #e3e0da;
    background: #faf9f6;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 16px;
    text-transform: none;
  }

  .contact-form__consent input[type="checkbox"] {
    flex: none;
    margin-top: 1px;
  }

  .contact-form > button:disabled {
    opacity: 0.68;
  }

  .contact-form__status {
    min-height: 16px;
    margin: 0;
    color: var(--red);
    font-size: 12px;
    line-height: 16px;
  }
}

/* Keep the map and the lead form on one exact right-hand track on desktop.
   This is intentionally last: the file contains calibrated breakpoint rules
   above, and this closes the cascade so the two cards cannot drift apart. */
@media (min-width: 1101px) {
  .contact {
    grid-template-columns: minmax(0, 44%) minmax(0, 52%);
    column-gap: 4%;
    align-items: start;
  }

  .contact__map,
  .contact-form {
    grid-column: 2;
    width: 100%;
    min-width: 0;
    margin-inline: 0;
    justify-self: stretch;
    box-sizing: border-box;
  }

  .contact__map {
    grid-row: 1;
  }

  .contact-form {
    grid-row: 2;
  }
}

/* The close state is anchored at one centre, so its two strokes align exactly. */
@media (max-width: 1100px) {
  .menu-toggle span {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    margin: 0;
    transform: translateX(-50%);
    transform-origin: center;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .menu-toggle span:first-child {
    top: calc(50% - 8px);
  }
  .menu-toggle span:nth-child(2) {
    top: 50%;
  }
  .menu-toggle span:last-child {
    top: calc(50% + 8px);
  }

  .menu-open .menu-toggle span:first-child {
    transform: translate(-50%, 8px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:last-child {
    transform: translate(-50%, -8px) rotate(-45deg);
  }
}

.contact-form input[type="number"] {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 8px 0;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 14px Arial, sans-serif;
  outline: none;
}
.contact-form input[type="number"]:focus { border-bottom-color: var(--red); }
.contact-field--initial-payment { position: relative; }
.contact-field--initial-payment small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 14px;
  text-transform: none;
}

.contact-form__consent {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  align-items: flex-start !important;
  column-gap: 9px !important;
  row-gap: 0 !important;
  padding-top: 12px !important;
}
.contact-form__consent input[type="checkbox"] {
  margin-top: 0 !important;
}
.contact-form fieldset {
  flex-wrap: wrap;
  row-gap: 12px;
}
.contact-form fieldset legend {
  flex-basis: 100%;
  margin-bottom: 2px;
}

/* Extra form fields and the full operator name add lines on phones. Reserve
   real layout space instead of clipping the form against its Figma-era height. */
@media (max-width: 767px) {
  .contact-section {
    height: auto;
    min-height: 1240px;
  }

  .contact-form {
    height: auto;
    min-height: 700px;
    padding-bottom: 20px;
  }

  .contact-form > label {
    height: auto;
    min-height: 65px;
  }

  .contact-field--initial-payment {
    min-height: 104px;
  }

  .contact-form__consent {
    height: auto !important;
    min-height: 54px;
  }

  .contact-form > button {
    margin-top: 18px;
  }
}

.news-carousel {
  --news-card-gap: 20px;
  --news-rail-peek: clamp(52px, 5vw, 88px);
}
.news-carousel__viewport {
  min-width: 0;
  overflow: hidden;
}
.news-carousel .news-grid {
  display: grid;
  width: 100%;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px - var(--news-rail-peek)) / 3);
  grid-template-columns: none;
  gap: var(--news-card-gap);
  height: auto;
  padding-top: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.news-carousel .news-grid::-webkit-scrollbar {
  display: none;
}
.news-carousel .news-grid article {
  width: auto;
  min-width: 0;
  scroll-snap-align: start;
}
@media (max-width: 1100px) {
  .news-carousel {
    --news-rail-peek: clamp(40px, 7vw, 64px);
  }
  .news-carousel .news-grid { grid-auto-columns: calc((100% - 40px - var(--news-rail-peek)) / 2); }
}
@media (max-width: 700px) {
  .news-carousel {
    --news-rail-peek: 40px;
  }
  .news-carousel .news-grid { grid-auto-columns: minmax(272px, calc(100% - 60px)); }
}

/* Порядок главной страницы строится смысловыми секциями, а не локальными
   смещениями карточек. */
main {
  display: flex;
  flex-direction: column;
}

main > .hero {
  order: 1;
}
main > .catalog-section {
  order: 2;
}
main > .steps {
  order: 3;
}
main > .calculator-section {
  order: 4;
}
main > .reviews-section {
  order: 5;
}
main > .team-section {
  order: 6;
}
main > .social-section {
  order: 7;
}
main > .process {
  order: 8;
}
main > .news-section {
  order: 9;
}
main > .selection {
  order: 10;
}
main > .cities-section {
  order: 11;
}
main > .faq-section {
  order: 12;
}
main > .contact-section {
  order: 13;
}

.team-section {
  padding: 132px 0 120px;
  background: var(--paper);
}

.team-section__head {
  min-height: 163px;
}

.team-section__head h2 {
  max-width: 770px;
}

.team-section__head > p {
  align-self: end;
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  text-align: right;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 50px;
  align-items: stretch;
}

.team-card {
  display: flex;
  min-height: 288px;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(25, 28, 32, 0.06);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(25, 28, 32, 0.1);
}

.team-card:focus-within {
  outline: 3px solid rgba(214, 47, 58, 0.22);
  outline-offset: 3px;
}

.team-card--owner,
.team-card--specialist {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
}

.team-card__portrait {
  height: clamp(260px, 27vw, 340px);
  flex: 0 0 auto;
  background: #272a2e;
  overflow: hidden;
}

.team-card__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.team-card--specialist .team-card__portrait {
  background: #a9c9e9;
}

.team-card--specialist .team-card__portrait img {
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.06);
  transform-origin: center 20%;
}

.team-card__body {
  display: flex;
  flex: 1 0 auto;
  min-width: 0;
  flex-direction: column;
  padding: 22px 30px 30px;
}

.team-card__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.team-card:not(.team-card--owner):not(.team-card--specialist) .team-card__mark {
  background: #f0ede9;
}

.team-card small {
  display: block;
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-card--owner small,
.team-card--owner p,
.team-card--specialist small,
.team-card--specialist p {
  color: var(--muted);
}

.team-card--owner .team-card__mark,
.team-card--specialist .team-card__mark {
  display: none;
}

.team-card--owner small,
.team-card--specialist small {
  margin-top: 0;
  color: var(--red);
}

.team-card h3 {
  margin-top: 8px;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.15;
}

.team-card--owner h3,
.team-card--specialist h3 {
  color: var(--ink);
  font-size: 26px;
}

.team-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.team-card__body > p + p {
  margin-top: 10px;
}

.team-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.team-card__links a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.team-card__links a:hover,
.team-card__links a:focus-visible {
  background: var(--red);
  color: #fff;
}

@media (min-width: 768px) {
  .social-section {
    display: block;
    background: var(--ink);
    color: #fff;
  }

  .social-section__inner {
    display: grid;
    width: min(1288px, calc(100% - 48px));
    grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
    column-gap: clamp(48px, 7vw, 116px);
    row-gap: 0;
    margin: 0 auto;
    padding: 64px 0;
  }

  .social-section .eyebrow {
    color: #ff6c75;
  }

  .social-section h2 {
    color: #fff;
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1.12;
  }

  .social-section p {
    margin: 20px 0 0;
    color: #aab2bf;
    font-size: 15px;
    line-height: 24px;
  }

  .social-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-self: center;
  }

  .social-channels a {
    display: grid;
    min-height: 142px;
    grid-template-columns: 1fr;
    grid-template-rows: 54px auto;
    gap: 16px 10px;
    align-content: center;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    transition:
      background 0.18s ease,
      border-color 0.18s ease,
      transform 0.18s ease;
  }

  .social-channels a:hover,
  .social-channels a:focus-visible {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
  }

  .social-channels img {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    object-fit: cover;
  }

  .social-channels span {
    display: flex;
    flex-direction: column;
  }

  .social-channels strong {
    font-size: 16px;
    line-height: 22px;
  }

  .social-channels small {
    margin-top: 4px;
    color: #aab2bf;
    font-size: 11px;
    line-height: 16px;
  }
}

@media (min-width: 1101px) {
  .social-section__inner {
    grid-template-rows: auto auto auto;
    align-items: start;
  }

  .social-section .eyebrow {
    grid-column: 1;
    grid-row: 1;
  }

  .social-section h2 {
    grid-column: 1;
    grid-row: 2;
  }

  .social-section p {
    grid-column: 1;
    grid-row: 3;
  }

  .social-channels {
    grid-column: 2;
    grid-row: 1 / 4;
    align-self: center;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .social-section__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  main > .news-section {
    margin-top: 0;
  }

  .team-section {
    padding: 72px 0 68px;
  }

  .team-section__head {
    display: block;
    min-height: 0;
  }

  .team-section__head h2 {
    max-width: 340px;
    margin-top: 10px;
    font-size: 28px;
    line-height: 34px;
  }

  .team-section__head > p {
    max-width: 340px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 24px;
    text-align: left;
  }

  .team-grid {
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 350px);
    grid-template-columns: none;
    gap: 14px;
    margin-top: 32px;
    margin-right: -20px;
    padding: 4px 20px 16px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-left: 0;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgba(25, 28, 32, 0.35) transparent;
    scrollbar-width: thin;
  }

  .team-grid::-webkit-scrollbar {
    height: 5px;
  }

  .team-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .team-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(25, 28, 32, 0.35);
  }

  .team-card {
    min-height: 100%;
    padding: 24px;
    scroll-snap-align: start;
  }

  .team-card--owner,
  .team-card--specialist {
    padding: 0;
  }

  .team-card--owner .team-card__portrait img,
  .team-card--specialist .team-card__portrait img {
    height: 235px;
    min-height: 0;
  }

  .team-card--owner .team-card__body,
  .team-card--specialist .team-card__body {
    padding: 20px 22px 24px;
  }

  .team-card--owner .team-card__body {
    padding: 20px 22px 24px;
  }

  .team-card__mark {
    width: 42px;
    height: 42px;
  }

  .team-card small {
    margin-top: 0;
  }

  .team-card h3 {
    font-size: 21px;
  }

  .team-card__links {
    margin-top: 24px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .team-section {
    padding: 96px 0;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile catalogue preview: keep cards readable and let the row be swiped
   inside the section instead of widening the document or stacking into a
   very long fixed-height composition. */
@media (max-width: 767px) {
  .catalog-section {
    height: auto;
    padding: 60px 0;
    overflow: hidden;
  }

  .catalog-section > .frame,
  .catalog-head {
    position: static;
    width: auto;
    height: auto;
  }

  .car-grid {
    position: static;
    display: grid;
    width: calc(100% + var(--mobile-page-gutter));
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(272px, calc(100vw - 72px));
    gap: 16px;
    margin: 28px 0 0;
    padding: 0 max(34px, calc(100% - 254px)) 12px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 0 var(--mobile-page-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .car-grid > .car-card {
    width: auto;
    height: auto;
    min-height: 536px;
    scroll-snap-align: start;
  }

  .car-grid__empty {
    min-height: 180px;
  }

  .all-link {
    position: static;
    max-width: 100%;
    min-height: 52px;
    height: auto;
    gap: 10px;
    margin: 22px auto 0;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0.72px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .car-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, calc((100vw - 72px) / 2));
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .car-grid > .car-card {
    width: auto;
    height: auto;
    scroll-snap-align: start;
  }
}

/* On desktop, keep the three-card composition and expose additional cars in a
   contained horizontal rail only when the homepage has a fourth card. */
@media (min-width: 1101px) {
  .car-grid:has(> .car-card:nth-of-type(4)) {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, calc((100% - 40px) / 3));
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .car-grid:has(> .car-card:nth-of-type(4)) > .car-card {
    width: auto;
    scroll-snap-align: start;
  }
}

/* News previews use the same native swipe pattern as the car cards. */
@media (max-width: 767px) {
  .news-section {
    height: auto;
    margin-top: 0;
    padding: 60px 0;
    overflow: hidden;
  }

  .news-section > .frame,
  .news-head {
    position: static;
    width: auto;
    height: auto;
  }

  .news-head h2,
  .news-head p {
    width: auto;
  }

  .news-head > div:last-child {
    position: static;
    margin: 20px 0 30px;
  }

  .news-grid {
    position: static;
    display: grid;
    width: calc(100% + var(--mobile-page-gutter));
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 280px;
    gap: 16px;
    padding: 0 max(34px, calc(100% - 262px)) 12px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 0 var(--mobile-page-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .news-grid article,
  .news-grid article:first-child {
    width: auto;
    height: auto;
    min-height: 485px;
    scroll-snap-align: start;
  }

  .news-grid__empty {
    min-height: 180px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .news-grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, calc((100vw - 72px) / 2));
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .news-grid article {
    width: auto;
    scroll-snap-align: start;
  }
}

/* Homepage review platforms reuse the confirmed excerpts and links from the
   dedicated reviews page. */
.reviews-section {
  height: auto;
  padding: 120px 0;
  background: #fff;
}

.home-reviews__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.home-reviews__head h2 {
  width: auto;
  margin-top: 12px;
}

.home-reviews__head > a,
.home-review-card > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.home-reviews__head > a span,
.home-review-card > a span {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.home-reviews__head > a:hover span,
.home-reviews__head > a:focus-visible span,
.home-review-card > a:hover span,
.home-review-card > a:focus-visible span {
  transform: translateX(3px);
}

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

.home-review-card {
  display: flex;
  min-width: 0;
  min-height: 310px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
}

.home-review-card__platform {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.home-review-card__platform img {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  object-fit: contain;
}

.home-review-card__platform h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.25;
}

.home-review-card__content {
  margin: 28px 0 24px;
}

.home-review-card__content > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.home-review-card__content > div span {
  color: #f4a900;
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.home-review-card blockquote {
  display: -webkit-box;
  margin: 10px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home-review-card small {
  display: block;
  margin-top: 10px;
  color: #9aa0a8;
  font-size: 10px;
  line-height: 1.35;
}

.home-review-card > a {
  margin-top: auto;
}

@media (max-width: 767px) {
  .reviews-section {
    padding: 60px 0;
    overflow: hidden;
  }

  .home-reviews__head {
    align-items: end;
    gap: 16px;
    margin-bottom: 28px;
  }

  .home-reviews__head h2 {
    max-width: 245px;
    font-size: 28px;
    line-height: 1.2;
  }

  .home-reviews__head > a {
    flex: 0 0 auto;
    font-size: 10px;
  }

  .home-reviews__grid {
    display: grid;
    width: calc(100% + var(--mobile-page-gutter));
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 280px;
    gap: 16px;
    padding: 0 max(34px, calc(100% - 262px)) 12px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 0 var(--mobile-page-gutter);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .home-review-card {
    min-height: 290px;
    padding: 24px;
    scroll-snap-align: start;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .home-reviews__grid {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, calc((100vw - 72px) / 2));
    gap: 20px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .home-review-card {
    scroll-snap-align: start;
  }
}

/* Keep the homepage FAQ in normal flow on phones so closed and open rows
   take only the space their content needs. */
@media (max-width: 767px) {
  .faq-section {
    height: auto;
    padding: 60px 0;
  }

  .faq {
    height: auto;
  }

  .faq > div:first-child {
    position: static;
    width: auto;
  }

  .accordion {
    position: static;
    width: 100%;
    margin-top: 30px;
  }

  .accordion-item,
  .accordion-item:first-child {
    height: auto;
  }

  .accordion-trigger,
  .accordion-item:first-child .accordion-trigger {
    height: auto;
    min-height: 76px;
    padding: 22px 9px 22px 0;
  }

  .accordion-panel.is-open {
    min-height: 0;
    padding: 0 14px 24px 0;
  }
}

/* Animate FAQ panels instead of switching display state abruptly. */
.faq .accordion-panel {
  display: block;
  max-height: 0;
  overflow: hidden;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    max-height 460ms cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 460ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 260ms ease,
    visibility 0s linear 460ms;
}

  .faq .accordion-panel.is-open {
    max-height: 320px;
  min-height: 0;
  padding-bottom: 24px;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    max-height 520ms cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 300ms ease,
    visibility 0s linear 0s;
}

@media (prefers-reduced-motion: reduce) {
  .faq .accordion-panel,
  .faq .accordion-panel.is-open {
    max-height: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: none;
  }

  .faq .accordion-panel:not(.is-open) {
    display: none;
  }
}

/* Keep the homepage map available on phones. The original mobile composition
   hid it after the form, leaving the contact section without the location
   block that is present on desktop. */
@media (max-width: 767px) {
  .contact-section {
    height: auto;
    min-height: 0;
    padding: 60px 0;
  }

  .contact {
    height: auto;
  }

  .contact > div:first-child {
    position: static;
    width: 100%;
  }

  .contact > .contact-cities-title {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
  }

  .contact-form {
    position: static;
    width: 100%;
    height: auto;
    min-height: 561px;
    margin-top: 40px;
  }

  .contact > .contact__map {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 280px;
    margin-top: 32px;
    padding: 0;
    box-sizing: border-box;
  }
}

/* Header socials stay visible next to the burger on tablet and mobile. */
@media (max-width: 1100px) {
  .site-header .header-actions {
    position: absolute;
    top: calc(50% - 16px);
    right: 70px;
    display: flex !important;
    width: auto;
    height: 32px;
    margin: 0;
    gap: 0;
    transform: none !important;
  }
  .site-header .header-actions > :not(.header-socials) {
    display: none !important;
  }
}

/* Contact details, the lead form and the map used to be assigned to separate
   fixed-width grid tracks. At tablet widths that made the map/form drift apart.
   Keep the source and visual order predictable: copy, form, then map. */
@media (min-width: 768px) and (max-width: 1100px) {
  .contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "contact-copy"
      "contact-form"
      "contact-map";
    gap: 32px;
  }

  .contact > div:first-child {
    grid-area: contact-copy;
    position: static;
    width: auto;
  }

  .contact-form {
    grid-area: contact-form;
  }

  .contact__map {
    grid-area: contact-map;
    display: block;
    width: 100%;
    height: 360px;
    margin-top: 0;
  }
}

@media (min-width: 1101px) {
  .contact {
    grid-template-columns: minmax(0, 44%) minmax(0, 52%);
    grid-template-areas:
      "contact-copy contact-form"
      "contact-cities-title contact-map";
    column-gap: 4%;
    row-gap: 32px;
  }

  .contact > div:first-child {
    grid-area: contact-copy;
    width: auto;
  }

  .contact-form {
    grid-area: contact-form;
  }

  .contact-cities-title {
    grid-area: contact-cities-title;
    align-self: center;
    min-width: 0;
  }

  .contact__map {
    grid-area: contact-map;
    width: 100%;
    align-self: start;
  }

  /* These are key payment conditions, not plain text over the image. Keep the
     red cards opaque even when a new hero photograph is selected. */
  .hero__stats article {
    background: var(--red) !important;
    color: #fff !important;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .contact-cities-title {
    grid-area: contact-cities-title;
    min-width: 0;
    margin-top: 8px;
  }

  .contact {
    grid-template-areas:
      "contact-copy"
      "contact-form"
      "contact-cities-title"
      "contact-map";
  }
}

@media (max-width: 767px) {
  .contact-cities-title {
    margin-top: 40px;
  }
}

/* City labels wrap inside the existing contact track without widening the map. */
.contact > .contact-cities-title {
  position: static;
  min-width: 0;
  width: 100%;
  padding: 0;
}

.contact-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-cities__item {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  max-width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
  border: 1px solid #344357;
  color: #dce1e8;
  font-size: 13px;
  font-weight: 700;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.contact-cities__item::before {
  flex: 0 0 15px;
  width: 15px;
  height: 24px;
  background: url("../../img/figma-home/city.svg") center / contain no-repeat;
  content: "";
}

.contact-cities__item--primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.contact-cities__item--primary::before {
  background-image: url("../../img/figma-home/city-active.svg");
}

@media (max-width: 767px) {
  .contact-cities__item {
    padding-inline: 12px;
    font-size: 12px;
  }
}
