:root {
  --ink: #111214;
  --muted: #686b72;
  --surface: #f4f4f6;
  --line: #e7e7ea;
  --navy: #293966;
  --navy-deep: #071b48;
  --orange: #ff7417;
  --dark: #1b1c20;
  --white: #ffffff;
  --radius: 28px;
  --shadow: 0 18px 50px rgba(15, 20, 35, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
summary {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: var(--white);
}

.site-header {
  position: relative;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(17, 18, 20, 0.05);
}

.header-inner {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo img {
  width: 200px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding-block: 41px;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  height: 3px;
  background: var(--orange);
  content: "";
  opacity: 0;
  transform: scaleX(0.5);
  transition: 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  cursor: pointer;
  list-style: none;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 700;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 230px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.mobile-menu nav a:last-child {
  border-bottom: 0;
}

.hero {
  padding-top: 56px;
  padding-bottom: 50px;
}

.hero-car {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  object-position: center;
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.75fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-top: 20px;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.hero-aside {
  padding-bottom: 8px;
}

.hero-aside p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

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

.button-orange:hover,
.button-orange:focus-visible {
  background: #ee6308;
}

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

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.section {
  padding-block: 68px;
}

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

.section-heading h2 {
  max-width: 820px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #ff9c5b;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.split-heading > p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.brand-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
}

.brand-card img {
  width: auto;
  max-width: 140px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1);
}

.brand-card strong {
  font-size: 15px;
}

.brand-card.active {
  background: var(--ink);
  color: var(--white);
}

.brand-card.active img {
  filter: grayscale(1) invert(1);
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.maintenance-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid #efeff1;
  border-radius: 18px;
  background: var(--surface);
}

.maintenance-card h3,
.maintenance-card p {
  margin-bottom: 0;
}

.maintenance-card h3 {
  font-size: 18px;
}

.maintenance-card p {
  color: var(--muted);
  font-size: 13px;
}

.maintenance-card strong {
  font-size: 18px;
}

.story-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--white);
}

.story-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(34px, 6vw, 68px);
}

.story-copy h2 {
  max-width: 600px;
}

.story-copy > p:not(.eyebrow) {
  max-width: 570px;
  margin: auto 0 26px;
  color: rgba(255, 255, 255, 0.66);
}

.story-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.text-link.light {
  color: var(--white);
}

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

.service-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
}

.service-card h3 {
  max-width: 280px;
  margin-bottom: 18px;
  font-size: 19px;
  line-height: 1.15;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.dark-card {
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--white);
}

.booking-card {
  display: flex;
  min-height: 310px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: clamp(34px, 6vw, 68px);
}

.booking-card > div:first-child {
  max-width: 650px;
}

.booking-card h2 {
  margin-bottom: 22px;
}

.booking-card p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.67);
}

.booking-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  gap: 10px;
}

.schedule-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.schedule-frame img {
  width: 100%;
  height: auto;
}

.app-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  min-height: 480px;
  overflow: hidden;
}

.app-copy {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 6vw, 68px);
}

.app-copy h2 {
  max-width: 630px;
  margin-bottom: 24px;
}

.app-copy > p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.67);
}

.app-copy .fine-print {
  margin-top: 54px;
  font-size: 12px;
}

.store-badges {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.store-badges img {
  width: auto;
  height: 42px;
}

.store-badges a {
  display: inline-flex;
  border-radius: 8px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.store-badges a:hover,
.store-badges a:focus-visible {
  opacity: .86;
  transform: translateY(-2px);
}

.app-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

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

.advantages-grid article {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: 18px;
  background: var(--surface);
}

.advantages-grid article > span {
  margin-bottom: auto;
  color: var(--orange);
  font-size: 14px;
  font-weight: 800;
}

.advantages-grid h3 {
  max-width: 280px;
  margin-bottom: 16px;
  font-size: 23px;
  line-height: 1.05;
}

.advantages-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.partner-card {
  display: grid;
  min-height: 120px;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
}

.partner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.8;
}

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

.video-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 18px;
  background: #090909;
  color: var(--white);
}

.video-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.82));
  content: "";
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
  transition: transform 300ms ease;
}

.video-card:hover img,
.video-card:focus-visible img {
  transform: scale(1.04);
}

.video-card strong {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 18px;
  left: 22px;
  font-size: 18px;
}

.play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 440px;
  overflow: hidden;
}

.contact-copy {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 6vw, 68px);
}

.contact-copy h2 {
  margin-bottom: 22px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 570px;
  color: rgba(255, 255, 255, 0.68);
}

.contact-actions {
  display: flex;
  gap: 10px;
  margin: 34px 0 28px;
}

.contact-actions .button {
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 14px;
}

.whatsapp {
  background: #20bd5a;
  color: var(--white);
}

.telegram {
  background: #249fe7;
  color: var(--white);
}

.contact-phone {
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.contact-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rating-link {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.rating-link strong {
  color: #f3b600;
  font-size: 32px;
}

.rating-link span {
  color: var(--muted);
  font-size: 13px;
}

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

.review-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 24px;
  border-radius: 18px;
  background: var(--surface);
}

.review-card p {
  color: #45474d;
  font-size: 14px;
}

.stars {
  margin-bottom: 18px;
  color: #f3b600;
  letter-spacing: 0.08em;
}

.review-card footer {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  font-size: 13px;
}

.review-card footer span {
  color: var(--muted);
}

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

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

.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 24px 54px 24px 0;
  font-size: 19px;
  font-weight: 700;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 8px;
  content: "+";
  color: var(--orange);
  font-size: 28px;
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 850px;
  padding: 0 60px 24px 0;
  color: var(--muted);
}

.location-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 400px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.location-card > div:first-child {
  padding: clamp(34px, 6vw, 62px);
}

.location-card h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.location-phone {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 700;
}

.location-card p:not(.eyebrow) {
  margin-bottom: 26px;
  color: var(--muted);
}

.map-visual {
  position: relative;
  overflow: hidden;
  background-color: #e7e6df;
  background-image:
    linear-gradient(29deg, transparent 48%, rgba(255, 255, 255, 0.9) 49%, rgba(255, 255, 255, 0.9) 51%, transparent 52%),
    linear-gradient(118deg, transparent 44%, rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0.85) 47%, transparent 48%),
    repeating-linear-gradient(0deg, transparent, transparent 54px, rgba(255, 255, 255, 0.55) 55px, rgba(255, 255, 255, 0.55) 57px);
}

.map-visual > span {
  position: absolute;
  top: 28px;
  right: 28px;
  padding: 8px 12px;
  border-radius: 9px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 800;
}

.pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 5px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: var(--orange);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transform: rotate(-45deg);
}

.pin-one {
  top: 42%;
  left: 38%;
}

.pin-two {
  top: 62%;
  left: 58%;
}

.pin-three {
  top: 27%;
  left: 72%;
}

.final-cta {
  padding-bottom: 110px;
}

.footer {
  padding-top: 70px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 70px;
  padding-bottom: 60px;
}

.footer-grid > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-grid img {
  margin-bottom: 16px;
}

.footer-grid p {
  max-width: 300px;
  font-size: 14px;
}

.footer-grid h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
}

.footer-grid a {
  font-size: 14px;
}

.footer-grid a:hover,
.footer-grid a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

:focus-visible {
  outline: 3px solid rgba(255, 116, 23, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .desktop-nav {
    gap: 18px;
    font-size: 12px;
  }

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

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

@media (max-width: 860px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .section {
    padding-block: 50px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .header-inner {
    min-height: 82px;
  }

  .logo img {
    width: 170px;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-copy,
  .story-card,
  .app-card,
  .contact-card,
  .location-card {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    gap: 28px;
  }

  .hero-aside {
    max-width: 520px;
  }

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

  .story-copy {
    min-height: 410px;
  }

  .story-card > img {
    max-height: 420px;
  }

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

  .booking-card,
  .split-heading {
    align-items: flex-start;
  }

  .booking-card {
    flex-direction: column;
  }

  .booking-actions {
    width: 100%;
  }

  .booking-actions .button {
    width: 100%;
  }

  .app-preview,
  .contact-card > img {
    max-height: 420px;
  }

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

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

  .video-card {
    max-height: 320px;
  }

  .map-visual {
    min-height: 360px;
  }

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

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 24px, 520px);
  }

  .topbar-inner {
    min-height: 34px;
  }

  .social-links {
    gap: 12px;
  }

  .header-inner {
    min-height: 72px;
  }

  .logo img {
    width: 145px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-car {
    min-height: 200px;
    object-fit: contain;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .button {
    width: 100%;
  }

  .section {
    padding-block: 38px;
  }

  .split-heading {
    flex-direction: column;
    gap: 20px;
  }

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

  .brand-card {
    min-height: 150px;
    padding: 18px;
  }

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

  .maintenance-card {
    min-height: 155px;
    padding: 18px;
  }

  .story-copy,
  .app-copy,
  .contact-copy,
  .location-card > div:first-child,
  .booking-card {
    padding: 28px;
  }

  .story-copy {
    min-height: 430px;
  }

  .services-grid,
  .advantages-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 150px;
  }

  .advantages-grid article {
    min-height: 290px;
  }

  .store-badges {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-badges img {
    height: 38px;
  }

  .app-preview,
  .contact-card > img {
    max-height: 300px;
  }

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

  .partner-card {
    min-height: 90px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-phone {
    font-size: 1.85rem;
  }

  .rating-link {
    align-items: flex-start;
  }

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

  .map-visual {
    min-height: 280px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }
}

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

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

/* CMS extensions */
.cms-nav .nav-item {
  position: relative;
}

.cms-nav .nav-item > a {
  display: block;
}

.cms-nav .dropdown {
  position: absolute;
  z-index: 40;
  top: calc(100% - 18px);
  left: 50%;
  display: grid;
  width: 310px;
  max-height: min(68vh, 620px);
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: 160ms ease;
}

.cms-nav .dropdown a {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 650;
  text-transform: none;
}

.cms-nav .dropdown a::after {
  display: none;
}

.cms-nav .dropdown a:hover,
.cms-nav .dropdown a:focus-visible {
  background: var(--surface);
  color: var(--orange);
}

.cms-nav .has-dropdown:hover .dropdown,
.cms-nav .has-dropdown:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mobile-menu .mobile-child {
  padding-left: 34px;
  color: var(--muted);
  font-size: 13px;
}

.mobile-menu nav {
  max-height: 72vh;
  overflow: auto;
}

.flash {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 650;
}

.flash-success {
  background: #eaf8ee;
  color: #157438;
}

.flash-error {
  background: #fff0ee;
  color: #aa2b20;
}

.page-hero .hero-car {
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f7f7f8);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}

.compact-section {
  padding-top: 22px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
}

.stats-grid article {
  display: flex;
  min-height: 140px;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.stats-grid article:last-child {
  border-right: 0;
}

.stats-grid strong {
  margin-bottom: 4px;
  color: var(--orange);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1;
}

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

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

.model-card {
  position: relative;
  display: flex;
  min-height: 210px;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  transition: 180ms ease;
}

.model-card:hover,
.model-card:focus-visible {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-3px);
}

.model-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  flex: 1;
  flex-direction: column;
}

.model-card .card-kicker {
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.model-card h3 {
  margin: 20px 0;
  font-size: 24px;
  line-height: 1.08;
}

.model-card strong {
  margin-top: auto;
  font-size: 13px;
}

.localization-model-card {
  min-height: 210px;
  padding: 0;
  border-color: #e4e5e8;
  background: #f4f4f5;
  color: var(--ink);
  isolation: isolate;
}

.localization-model-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 244, 245, 1) 0%, rgba(244, 244, 245, .48) 32%, rgba(244, 244, 245, .28) 53%, rgba(244, 244, 245, 0) 78%);
  content: '';
  transition: background 220ms ease;
}

.localization-model-card .model-card-image {
  position: absolute;
  z-index: 0;
  right: -13%;
  bottom: -5%;
  width: 82%;
  max-width: 250px;
  height: 88%;
  opacity: 1;
  object-fit: contain;
  object-position: right bottom;
  transition: opacity 240ms ease, transform 320ms ease;
}

.localization-model-card .model-card-content {
  align-items: flex-start;
  padding: 24px;
}

.localization-model-card h3 {
  max-width: 62%;
  margin: 18px 0 0;
}

.localization-model-card strong {
  margin-top: auto;
  color: var(--ink);
}

.localization-model-card:hover,
.localization-model-card:focus-visible {
  border-color: var(--orange);
  background: #f4f4f5;
  color: var(--ink);
}

.localization-model-card:hover::after,
.localization-model-card:focus-visible::after {
  background: linear-gradient(90deg, rgba(244, 244, 245, 1) 0%, rgba(244, 244, 245, .94) 32%, rgba(255, 236, 222, .58) 58%, rgba(243, 107, 22, .12) 100%);
}

.localization-model-card:hover .model-card-image,
.localization-model-card:focus-visible .model-card-image {
  opacity: .68;
  transform: translateX(-2%) scale(1.025);
}

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

.maintenance-direction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.maintenance-card-link {
  position: relative;
  display: flex;
  min-height: 240px;
  flex-direction: column;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  background: var(--dark);
  color: var(--white);
  isolation: isolate;
  transition: border-color 180ms ease, transform 180ms ease;
}

.maintenance-card-link::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 92%;
  background: linear-gradient(0deg, rgba(243, 107, 22, .94) 0%, rgba(243, 107, 22, .46) 45%, rgba(243, 107, 22, 0) 100%);
  content: '';
  opacity: 0;
  transform: translateY(64%);
  transition: opacity 260ms ease, transform 300ms cubic-bezier(.22,.61,.36,1);
}

.maintenance-card-link:hover,
.maintenance-card-link:focus-visible {
  border-color: rgba(255, 156, 91, .9);
  transform: translateY(-3px);
}

.maintenance-card-link:hover::after,
.maintenance-card-link:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.maintenance-card-logo {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
}

.maintenance-card-logo img {
  width: 100%;
  max-width: 150px;
  height: 62px;
  object-fit: contain;
}

.maintenance-card-logo img.built-in-logo {
  filter: grayscale(1) brightness(0);
}

.maintenance-logo-fallback {
  color: var(--ink);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.04em;
  text-align: center;
}

.maintenance-card-content {
  display: flex;
  min-height: 98px;
  flex: 1;
  flex-direction: column;
  padding-top: 20px;
}

.maintenance-card-content .card-kicker {
  color: #ff9c5b;
  font-size: 12px;
  font-weight: 800;
}

.maintenance-card-content h3 {
  margin: 8px 0 16px;
  font-size: 26px;
}

.maintenance-card-content strong {
  margin-top: auto;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.content-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.content-items article {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  padding: 26px;
  border-radius: 18px;
  background: var(--surface);
}

.content-items h3 {
  max-width: 300px;
  margin: 18px 0 14px;
  font-size: 23px;
  line-height: 1.08;
}

.content-items p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.item-number,
.item-value {
  margin-bottom: auto;
  color: var(--orange);
  font-weight: 800;
}

.item-value {
  font-size: 25px;
}

.items-price article {
  min-height: 220px;
}

.story-card.no-image {
  grid-template-columns: 1fr;
}

.story-card.no-image .story-copy {
  min-height: 450px;
}

.rich-copy {
  color: rgba(255, 255, 255, .7);
}

.rich-copy p:last-child {
  margin-bottom: 0;
}

.prose-section {
  display: grid;
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.prose-section > .eyebrow,
.prose-section > h2 {
  max-width: 900px;
}

.prose {
  color: #383a40;
  font-size: 18px;
  line-height: 1.75;
}

.prose h2,
.prose h3 {
  margin-top: 1.6em;
  margin-bottom: .6em;
  color: var(--ink);
}

.prose h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.prose h3 {
  font-size: 1.5rem;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li {
  margin-bottom: .45em;
}

.prose figure,
.rich-copy figure {
  margin: 28px 0;
}

.prose img,
.rich-copy img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.prose figcaption,
.rich-copy figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.lead-card {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(36px, 7vw, 90px);
  padding: clamp(32px, 6vw, 68px);
}

.lead-copy h2 {
  margin-bottom: 22px;
}

.lead-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, .68);
}

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

.lead-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 650;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, .07);
  color: var(--white);
  font: inherit;
}

.lead-form input {
  min-height: 48px;
  padding: 0 14px;
}

.lead-form textarea {
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
}

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

.lead-form label:nth-of-type(4),
.lead-form .consent,
.lead-form .button {
  grid-column: 1 / -1;
}

.lead-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.lead-form .consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.lead-form .button {
  width: 100%;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
}

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

.gallery-grid figure {
  position: relative;
  margin: 0;
  min-height: 260px;
  overflow: hidden;
  border-radius: 18px;
  background: var(--surface);
}

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

.gallery-grid figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .66);
  color: var(--white);
  font-size: 13px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.video-link-card {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: radial-gradient(circle at 65% 35%, #35363b, #121316 58%);
  color: var(--white);
}

.video-link-card span {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
}

@media (max-width: 1040px) {
  .cms-nav {
    gap: 12px;
  }

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

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

@media (max-width: 860px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid article:nth-child(2) {
    border-right: 0;
  }

  .stats-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .model-grid,
  .full-model-grid,
  .content-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .page-hero h1 {
    font-size: clamp(2.4rem, 13vw, 3.7rem);
  }

  .model-grid,
  .full-model-grid,
  .maintenance-direction-grid,
  .content-items,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .model-card,
  .maintenance-card-link,
  .content-items article {
    min-height: 190px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .lead-form label,
  .lead-form label:nth-of-type(4),
  .lead-form .consent,
  .lead-form .button {
    grid-column: 1;
  }

  .gallery-grid figure {
    min-height: 230px;
  }
}


.mobile-call-button {
    display: none;
}

@media (max-width: 1024px) and (hover: none), (max-width: 767px) {
    .mobile-call-button {
        position: fixed;
        z-index: 9999;
        right: calc(18px + env(safe-area-inset-right, 0px));
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));

        display: inline-flex;
        width: 58px;
        height: 58px;
        align-items: center;
        justify-content: center;

        border-radius: 50%;
        background: #f36b16;
        box-shadow:
            0 10px 25px rgba(0, 0, 0, 0.22),
            0 3px 8px rgba(243, 107, 22, 0.3);

        color: #fff;
        text-decoration: none;
        touch-action: manipulation;
        transition: transform 160ms ease, background-color 160ms ease;
    }

    .mobile-call-button::before {
        position: absolute;
        inset: -6px;
        border: 2px solid rgba(243, 107, 22, 0.45);
        border-radius: inherit;
        content: "";
        pointer-events: none;
        animation: mobile-call-pulse 2.8s ease-out infinite;
    }

    .mobile-call-button svg {
        width: 27px;
        height: 27px;
        fill: currentColor;
        animation: mobile-call-ring 4.5s ease-in-out infinite;
    }

    .mobile-call-button:active {
        transform: scale(0.93);
    }

    .mobile-call-button:focus-visible {
        outline: 3px solid #fff;
        outline-offset: 3px;
    }
}

@keyframes mobile-call-pulse {
    0%,
    55% {
        opacity: 0;
        transform: scale(0.9);
    }

    60% {
        opacity: 0.55;
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

@keyframes mobile-call-ring {
    0%,
    88%,
    100% {
        transform: rotate(0);
    }

    91% {
        transform: rotate(-8deg);
    }

    94% {
        transform: rotate(8deg);
    }

    97% {
        transform: rotate(-5deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-call-button,
    .mobile-call-button::before,
    .mobile-call-button svg {
        animation: none;
        transition: none;
    }
}