:root {
  --primary: #002c5f;
  --white: #ffffff;
  --text: #0f1720;
  --muted: #3a4654;
  --line: #e8edf2;
  --transition: 0.22s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
}

body {
  font-family: "Cairo", sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.15;
}

p {
  line-height: 1.7;
  word-break: normal;
}

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  margin-bottom: 14px;
}

main p {
  margin-bottom: 16px;
}

a[href^="mailto:"],
a[href^="http"],
a[href^="tel:"] {
  overflow-wrap: anywhere;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.container {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: 80px;
}

/* Navbar (shared) */
.navbar {
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid #edf1f5;
}

.navbar__inner {
  min-height: 86px;
  padding: 0 80px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  position: relative;
  gap: 28px;
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 44px;
  padding: 6px 0;
  flex-shrink: 0;
}

.navbar__logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.navbar__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 34px;
  position: static;
  transform: none;
  justify-content: center;
  white-space: nowrap;
}

.navbar__menu a {
  color: #1d2935;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  transition: color var(--transition);
}

.navbar__menu a:hover {
  color: var(--primary);
}

.navbar__cta {
  min-height: 44px;
  padding: 0 22px;
  border: 1.5px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.navbar__cta:hover {
  background: var(--primary);
  color: var(--white);
}

.site-ui-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: 10px;
}

.site-ui-lang {
  display: inline-flex;
  border: 1px solid #d9e3ee;
}

.site-ui-lang__btn,
.site-ui-theme-toggle {
  border: 0;
  background: #ffffff;
  color: #1d2935;
  font-family: "Cairo", sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1;
  min-height: 34px;
  padding: 0 10px;
  cursor: pointer;
}

.site-ui-lang__btn + .site-ui-lang__btn {
  border-inline-start: 1px solid #d9e3ee;
}

.site-ui-lang__btn.is-active {
  background: #002c5f;
  color: #ffffff;
}

.site-ui-theme-toggle {
  border: 1px solid #d9e3ee;
}

.site-ui-controls--mobile {
  margin-top: 12px;
}

/* Shared buttons */
.btn {
  min-height: 52px;
  padding: 0 30px;
  border: 2px solid var(--primary);
  border-radius: 0;
  font-family: "Cairo", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: #001f43;
  border-color: #001f43;
}

.btn--secondary {
  background: transparent;
  color: var(--primary);
}

.btn--secondary:hover {
  background: #e8eef6;
  color: #001f43;
  border-color: #001f43;
}

/* Homepage */
.hero {
  width: 100%;
  min-height: 80vh;
  background: var(--white);
  display: flex;
  align-items: center;
  padding: 80px;
}

.hero__inner {
  width: 100%;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: center;
  gap: 48px;
  direction: ltr;
}

.hero__content {
  direction: rtl;
  text-align: right;
  max-width: 560px;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 36px;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
  direction: rtl;
}

.hero__media {
  width: 100%;
  height: min(72vh, 680px);
  overflow: hidden;
}

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

.featured-vehicles {
  width: 100%;
  background: var(--white);
  padding: 96px 80px 104px;
}

.featured-vehicles__header {
  max-width: 760px;
  margin-bottom: 52px;
  text-align: right;
}

.featured-vehicles__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.featured-vehicles__subtitle {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.9;
  color: var(--muted);
  max-width: 700px;
}

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

.vehicle-item {
  display: flex;
  flex-direction: column;
}

.vehicle-item__image-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid #e9edf2;
  margin-bottom: 20px;
}

.vehicle-item__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.vehicle-item__name {
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0d1824;
  margin-bottom: 10px;
}

.vehicle-item__desc {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
}

.vehicle-item__link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 44, 95, 0.35);
  padding-bottom: 2px;
  transition: border-color var(--transition), color var(--transition);
}

.vehicle-item__link:hover {
  color: #001f43;
  border-color: #001f43;
}

/* Car details page */
.car-hero {
  position: relative;
  min-height: 88vh;
  color: #fff;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.car-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.car-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.car-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.car-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 80px 90px;
  max-width: 760px;
}

.car-hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.05;
  margin-bottom: 14px;
}

.car-hero__tagline {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  margin-bottom: 30px;
  color: #f3f6f9;
}

.specs {
  padding-block: 74px;
  border-bottom: 1px solid var(--line);
}

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

.spec {
  padding: 18px 6px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.spec__label {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.spec__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
}

.gallery {
  padding-block: 92px;
}

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

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 760px;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 42vw);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.gallery-item {
  scroll-snap-align: start;
  border: 1px solid var(--line);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.highlights {
  padding-bottom: 96px;
}

.highlight {
  display: grid;
  grid-template-columns: 52% 48%;
  align-items: center;
  gap: 44px;
  margin-bottom: 52px;
}

.highlight:nth-child(even) {
  grid-template-columns: 48% 52%;
}

.highlight__image {
  border: 1px solid var(--line);
  overflow: hidden;
}

.highlight__image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.highlight__title {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 10px;
}

.highlight__text {
  color: var(--muted);
  max-width: 520px;
  font-size: 1.02rem;
}

.cta {
  border-top: 1px solid var(--line);
  padding: 84px 0 100px;
  text-align: center;
}

.cta__title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 24px;
}

/* Test drive page */
.test-drive {
  padding: 92px 0 100px;
}

.test-drive__header {
  max-width: 760px;
  margin-bottom: 42px;
}

.test-drive__title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.2;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 12px;
}

.test-drive__subtitle {
  color: var(--muted);
  font-size: 1.04rem;
}

.test-drive__panel {
  border: 1px solid var(--line);
  padding: 30px;
  background: var(--white);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 0.95rem;
  color: #21303f;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  border: 1px solid #dce4ec;
  padding: 12px 14px;
  font-family: "Cairo", sans-serif;
  font-size: 0.96rem;
  color: var(--text);
  background: var(--white);
}

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

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

.form-actions {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}

/* Contact page */
.contact-page {
  padding: 92px 0 100px;
}

.contact-hero {
  margin-bottom: 42px;
  max-width: 820px;
}

.contact-hero__title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--primary);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-hero__subtitle {
  color: var(--muted);
  font-size: 1.04rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 36% 64%;
  gap: 30px;
  align-items: start;
}

.contact-info {
  border: 1px solid var(--line);
  background: var(--white);
}

.contact-info__item {
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.contact-info__item:last-child {
  border-bottom: 0;
}

.contact-info__label {
  color: #1f2f3f;
  font-size: 0.94rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-info__value {
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-info__value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #d5dde6;
}

.contact-info__value a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.contact-form {
  border: 1px solid var(--line);
  padding: 30px;
  background: var(--white);
}

.map-block {
  margin-top: 36px;
  border: 1px solid var(--line);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.map-block a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid #b8c8db;
}

.showrooms-section {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.showrooms-section__header {
  margin-bottom: 20px;
}

.showrooms-section__title {
  color: var(--primary);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.showrooms-section__subtitle {
  color: var(--muted);
  font-size: 0.98rem;
}

.showrooms-city {
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--line);
}

.showrooms-city:last-child {
  border-bottom: 0;
}

.showrooms-city__title {
  color: #10273f;
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.showrooms-branch {
  margin-bottom: 12px;
}

.showrooms-branch h4 {
  color: #1f2f3f;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.showrooms-branch p {
  color: var(--muted);
  font-size: 0.95rem;
}

.showrooms-branch a {
  color: #243548;
  text-decoration: none;
}

.showrooms-branch a:hover {
  color: var(--primary);
}

.site-footer {
  background: #0a0a0a;
  border-top: 1px solid #1b1b1b;
  padding: 58px 0 26px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 34px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.site-footer__title {
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 800;
}

.site-footer__subtitle {
  color: #b4bcc6;
  font-size: 0.95rem;
  max-width: 340px;
}

.site-footer__drive-link {
  display: inline-flex;
  width: fit-content;
  color: #5a87bf;
  text-decoration: none;
  border-bottom: 1px solid rgba(90, 135, 191, 0.45);
  font-weight: 700;
  font-size: 0.96rem;
  padding-bottom: 2px;
  transition: color var(--transition), border-color var(--transition);
}

.site-footer__heading {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.site-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__list a {
  color: #b4bcc6;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.site-footer__list a:hover,
.site-footer__drive-link:hover {
  color: #ffffff;
}

.site-footer__text {
  color: #b4bcc6;
  font-size: 0.95rem;
}

.site-footer__text a {
  color: #b4bcc6;
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer__text a:hover {
  color: #ffffff;
}

/* Dark mode */
body.dark-mode {
  background: #111111;
  color: #ffffff;
}

body.dark-mode .navbar,
body.dark-mode .homepage-navbar.is-scrolled,
body.dark-mode .homepage-navbar {
  background: #111111;
  border-bottom-color: #2a2a2a;
}

body.dark-mode .navbar__menu a,
body.dark-mode .site-ui-lang__btn,
body.dark-mode .site-ui-theme-toggle {
  color: #ffffff;
  background: #161616;
  border-color: #2a2a2a;
}

body.dark-mode .navbar__menu a:hover,
body.dark-mode .navbar__menu a.is-active {
  color: #7fb3ff;
}

body.dark-mode .homepage-navbar .navbar__menu a::after {
  background: #7fb3ff;
}

body.dark-mode .navbar__cta {
  color: #ffffff;
  border-color: #002c5f;
  background: #002c5f;
}

body.dark-mode .homepage-mobile-menu {
  background: rgba(10, 10, 10, 0.93);
}

body.dark-mode .homepage-mobile-menu__panel {
  background: #151515;
}

body.dark-mode .homepage-mobile-menu__panel a {
  color: #ffffff;
}

body.dark-mode .vehicle-item,
body.dark-mode .vehicle-item-page,
body.dark-mode .offer-item,
body.dark-mode .contact-form,
body.dark-mode .contact-info,
body.dark-mode .test-drive__panel,
body.dark-mode .services-network,
body.dark-mode .service-split,
body.dark-mode .services-warranty,
body.dark-mode .services-cta,
body.dark-mode .offers-cta,
body.dark-mode .showrooms-section,
body.dark-mode .map-block {
  background: #151515;
  border-color: #2a2a2a;
}

body.dark-mode .tucson-page,
body.dark-mode .santafe-page,
body.dark-mode .model-nav {
  background: #111111;
  border-color: #2a2a2a;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6,
body.dark-mode .vehicle-item__name,
body.dark-mode .vehicle-item-page__name,
body.dark-mode .offer-item__title,
body.dark-mode .service-split__title,
body.dark-mode .service-text-block__title,
body.dark-mode .services-cta__title,
body.dark-mode .offers-cta__title,
body.dark-mode .showrooms-city__title,
body.dark-mode .showrooms-branch h4,
body.dark-mode .section-title,
body.dark-mode .highlight__title,
body.dark-mode .cta__title,
body.dark-mode .tucson-title-center,
body.dark-mode .tucson-media-caption h3,
body.dark-mode .tucson-split__content h3,
body.dark-mode .tucson-gallery__title,
body.dark-mode .tucson-final-cta h2,
body.dark-mode .santafe-title-center,
body.dark-mode .santafe-feature__content h3,
body.dark-mode .santafe-wide__content h3,
body.dark-mode .santafe-hybrid__content h3,
body.dark-mode .santafe-gallery__title,
body.dark-mode .santafe-final-cta h2,
body.dark-mode .vehicles-hero__title,
body.dark-mode .offers-hero__title,
body.dark-mode .services-hero__title,
body.dark-mode .contact-hero__title,
body.dark-mode .test-drive__title,
body.dark-mode .showrooms-section__title {
  color: #ffffff;
}

body.dark-mode p,
body.dark-mode li,
body.dark-mode label,
body.dark-mode .test-drive__subtitle,
body.dark-mode .vehicles-hero__subtitle,
body.dark-mode .offers-hero__subtitle,
body.dark-mode .services-hero__subtitle,
body.dark-mode .contact-hero__subtitle,
body.dark-mode .vehicle-item__desc,
body.dark-mode .vehicle-item-page__desc,
body.dark-mode .offer-item__desc,
body.dark-mode .service-split__text,
body.dark-mode .service-text-block__text,
body.dark-mode .services-cta__text,
body.dark-mode .showrooms-section__subtitle,
body.dark-mode .showrooms-branch p,
body.dark-mode .spec__label,
body.dark-mode .section-subtitle,
body.dark-mode .highlight__text,
body.dark-mode .tucson-text-center,
body.dark-mode .tucson-media-caption p,
body.dark-mode .tucson-split__content p,
body.dark-mode .tucson-final-cta p,
body.dark-mode .santafe-text-center,
body.dark-mode .santafe-feature__content p,
body.dark-mode .santafe-wide__content p,
body.dark-mode .santafe-hybrid__content p,
body.dark-mode .santafe-final-cta p {
  color: #d6d6d6;
}

body.dark-mode .site-footer__subtitle,
body.dark-mode .site-footer__text,
body.dark-mode .site-footer__legal,
body.dark-mode .santafe-feature__eyebrow,
body.dark-mode .model-nav__link {
  color: #b5b5b5;
}

body.dark-mode .model-nav__link.is-active,
body.dark-mode .model-nav__link:hover {
  color: #7fb3ff;
  border-bottom-color: #7fb3ff;
}

body.dark-mode .contact-info__value,
body.dark-mode .spec__value {
  color: #ffffff;
}

body.dark-mode a,
body.dark-mode .contact-info__value a,
body.dark-mode .map-block a,
body.dark-mode .vehicle-item__link,
body.dark-mode .site-footer__list a,
body.dark-mode .site-footer__text a {
  color: #7fb3ff;
}

body.dark-mode a:hover,
body.dark-mode .contact-info__value a:hover,
body.dark-mode .map-block a:hover,
body.dark-mode .vehicle-item__link:hover,
body.dark-mode .site-footer__list a:hover,
body.dark-mode .site-footer__text a:hover {
  color: #a9ccff;
}

body.dark-mode .btn--primary {
  background: #002c5f;
  border-color: #002c5f;
  color: #ffffff;
}

body.dark-mode .btn--primary:hover {
  background: #0a478d;
  border-color: #0a478d;
}

body.dark-mode .btn--secondary {
  color: #f1f1f1;
  border-color: #8d8d8d;
  background: transparent;
}

body.dark-mode .btn--secondary:hover {
  color: #ffffff;
  border-color: #c2c2c2;
  background: #1f1f1f;
}

body.dark-mode .btn--light,
body.dark-mode .btn--light:hover {
  color: #ffffff;
  border-color: #ffffff;
}

body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea {
  background: #161616;
  border-color: #2a2a2a;
  color: #ffffff;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #9a9a9a;
}

.site-footer__bottom {
  border-top: 1px solid #1b1b1b;
  padding-top: 16px;
}

.site-footer__legal {
  color: #9da7b3;
  font-size: 0.9rem;
}

/* Offers page */
.offers-page {
  padding: 92px 0 100px;
}

.offers-hero {
  margin-bottom: 42px;
  max-width: 820px;
}

.offers-hero__title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--primary);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 12px;
}

.offers-hero__subtitle {
  color: var(--muted);
  font-size: 1.04rem;
}

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

.offer-item {
  border: 1px solid var(--line);
  background: var(--white);
}

.offer-item__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.offer-item__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.offer-item__content {
  padding: 22px 22px 24px;
}

.offer-item__title {
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 8px;
}

.offer-item__desc {
  font-size: 0.98rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.offers-cta {
  border-top: 1px solid var(--line);
  margin-top: 52px;
  padding-top: 46px;
  text-align: center;
}

.offers-cta__title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.35;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 20px;
}

/* Services page */
.services-page {
  padding: 92px 0 100px;
}

.services-hero {
  margin-bottom: 42px;
  max-width: 820px;
}

.services-hero__title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--primary);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 12px;
}

.services-hero__subtitle {
  color: var(--muted);
  font-size: 1.04rem;
}

.services-network {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0 34px;
  margin-bottom: 46px;
}

.services-cities {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.services-cities__item {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid #dbe4ee;
  padding: 8px 14px;
}

.service-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  margin-bottom: 42px;
}

.service-split--spacious {
  margin-top: 16px;
}

.service-split--reverse .service-split__media {
  order: 2;
}

.service-split--reverse .service-split__content {
  order: 1;
}

.service-split__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
}

.service-split__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.service-split__title {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  color: var(--primary);
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 10px;
}

.service-split__text {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 520px;
}

.service-clean-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-clean-list li {
  color: #253545;
  font-size: 0.98rem;
  border-bottom: 1px solid #e7edf3;
  padding-bottom: 8px;
}

.service-text-block {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-bottom: 28px;
}

.service-text-block__title {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  color: var(--primary);
  line-height: 1.3;
  font-weight: 800;
  margin-bottom: 8px;
}

.service-text-block__text {
  color: var(--muted);
  font-size: 1rem;
  max-width: 760px;
}

.services-warranty {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 30px 0 34px;
  margin-top: 14px;
}

.warranty-list {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.warranty-list li {
  color: #253545;
  font-size: 0.98rem;
}

.services-cta {
  border-top: 1px solid var(--line);
  margin-top: 44px;
  padding-top: 42px;
  text-align: center;
}

.services-cta__title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.35;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 20px;
}

.services-cta__text {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 20px;
}

/* Vehicles page */
.vehicles-page {
  padding: 92px 0 100px;
}

.vehicles-hero {
  margin-bottom: 36px;
  max-width: 860px;
}

.vehicles-hero__title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--primary);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 12px;
}

.vehicles-hero__subtitle {
  color: var(--muted);
  font-size: 1.04rem;
}

.vehicles-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.vehicles-filters__tab {
  appearance: none;
  border: 1px solid #d9e3ee;
  color: #1f2f3f;
  background: #ffffff;
  padding: 9px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: "Cairo", sans-serif;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

.vehicles-filters__tab.is-active {
  border-color: var(--primary);
  color: var(--primary);
}

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

.vehicle-item-page {
  border: 1px solid var(--line);
  background: var(--white);
}

.vehicle-item-page__media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.vehicle-item-page__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.vehicle-item-page__content {
  padding: 20px 22px 22px;
}

.vehicle-item-page__name {
  font-size: 1.35rem;
  line-height: 1.3;
  color: #0e1d2c;
  letter-spacing: 0.8px;
  font-weight: 800;
  margin-bottom: 8px;
}

.vehicle-item-page__desc {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.vehicle-item-page__badge {
  color: #111111;
  border: 1px solid #d9e3ee;
  font-size: 0.78rem;
  font-weight: 700;
  width: fit-content;
  padding: 2px 8px;
  margin-bottom: 10px;
}

.vehicle-item-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.vehicle-item-page__link {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 44, 95, 0.35);
  padding-bottom: 2px;
  transition: border-color var(--transition), color var(--transition);
}

.vehicle-item-page__link:hover {
  border-bottom-color: #001f43;
  color: #001f43;
}

.vehicle-item-page.is-hidden {
  display: none;
}

/* Homepage premium hero + navigation refinement */
.homepage .featured-vehicles {
  padding-top: 108px;
}

.featured-vehicles,
.vehicles-page,
.offers-page,
.services-page,
.test-drive,
.contact-page,
.tucson-page,
.santafe-page {
  padding-block: 96px;
}

.homepage-navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition);
}

.homepage-navbar .navbar__inner {
  min-height: 80px;
}

.homepage-navbar .navbar__logo {
  min-height: 48px;
}

.homepage-navbar .navbar__menu a {
  color: #ffffff;
  position: relative;
}

.homepage-navbar .navbar__menu a::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -10px;
  height: 2px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition), background-color var(--transition);
}

.homepage-navbar .navbar__menu a:hover::after,
.homepage-navbar .navbar__menu a.is-active::after {
  transform: scaleX(1);
}

.homepage-navbar .navbar__cta {
  color: #ffffff;
  border-color: #ffffff;
}

.homepage-navbar .navbar__cta:hover {
  background: #ffffff;
  color: #000000;
}

.homepage-navbar.is-scrolled {
  background: #ffffff;
  border-bottom-color: #dfe6ee;
}

.homepage-navbar.is-scrolled .navbar__menu a {
  color: #111111;
}

.homepage-navbar.is-scrolled .navbar__menu a::after {
  background: var(--primary);
}

.homepage-navbar.is-scrolled .navbar__menu a.is-active {
  color: var(--primary);
}

.homepage-navbar.is-scrolled .navbar__cta {
  color: var(--primary);
  border-color: var(--primary);
}

.homepage-navbar.is-scrolled .navbar__cta:hover {
  background: var(--primary);
  color: #ffffff;
}

.homepage-navbar__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.homepage-navbar__toggle span {
  width: 18px;
  height: 2px;
  background: #ffffff;
  transition: transform var(--transition), opacity var(--transition), background-color var(--transition);
}

.homepage-navbar.is-scrolled .homepage-navbar__toggle {
  border-color: #d4deea;
}

.homepage-navbar.is-scrolled .homepage-navbar__toggle span {
  background: #111111;
}

.homepage-mobile-menu {
  display: none;
}

.homepage-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 80px 96px;
  background: transparent;
  overflow: hidden;
}

.homepage-hero__bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 1;
}

.homepage-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.22);
  pointer-events: none;
  z-index: 2;
}

.homepage-hero__content {
  max-width: 760px;
  position: relative;
  z-index: 3;
  color: #ffffff;
  opacity: 0;
  transform: translateY(18px);
  animation: homeHeroReveal 0.7s ease forwards;
  animation-delay: 120ms;
}

.homepage-hero__label {
  font-size: 0.9rem;
  letter-spacing: 1.1px;
  font-weight: 700;
  margin-bottom: 10px;
}

.homepage-hero__title {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 14px;
}

.homepage-hero__subtitle {
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 26px;
  max-width: 690px;
}

.homepage-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes homeHeroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TUCSON dedicated details page */
.tucson-page {
  background: var(--white);
}

.tucson-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 80px 88px;
  background-image: url("images/TUCSON-BACKGARUND.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-color: transparent;
  overflow: hidden;
}

.elantra-hero {
  background-image: url("ELANTRA- OUT.png");
}

.accent-hero {
  background-image: url("ACCENT- OUT.png");
}

.creta-hero {
  background-image: url("CRETA - OUT.png");
}

.staria-hero {
  background-image: url("staria-OUT.png");
}

.tucson-real-hero {
  background-image: url("TUCSON-BACKGRAUND.png");
}

.tucson-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.24);
  pointer-events: none;
  z-index: 2;
}

.tucson-hero__content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  color: #ffffff;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

body.loaded .tucson-hero__content {
  opacity: 1;
  transform: translateY(0);
}

.tucson-hero__kicker {
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.tucson-hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.tucson-hero__text {
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 26px;
}

.tucson-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn--light {
  color: #ffffff;
  border-color: #ffffff;
}

.btn--light:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.model-nav {
  position: sticky;
  top: 0;
  z-index: 25;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.model-nav__list {
  list-style: none;
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 14px 0;
}

.model-nav__list::-webkit-scrollbar {
  display: none;
}

.model-nav__link {
  text-decoration: none;
  color: #314253;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.model-nav__link.is-active,
.model-nav__link:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tucson-intro {
  padding: 92px 0 88px;
}

.tucson-title-center {
  text-align: center;
  color: var(--primary);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.tucson-text-center {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 1.03rem;
}

.tucson-media-section {
  padding-bottom: 76px;
}

.tucson-media-full {
  width: 100%;
  max-height: 86vh;
  object-fit: cover;
}

.tucson-media-caption {
  max-width: 660px;
  margin-top: 22px;
}

.tucson-media-caption h3,
.tucson-split__content h3,
.tucson-gallery__title,
.tucson-final-cta h2 {
  color: var(--primary);
  font-weight: 800;
  line-height: 1.25;
}

.tucson-media-caption h3,
.tucson-split__content h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.3rem);
  margin-bottom: 8px;
}

.tucson-media-caption p,
.tucson-split__content p,
.tucson-final-cta p {
  color: var(--muted);
  font-size: 1.02rem;
}

.tucson-split {
  padding-bottom: 76px;
}

.tucson-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.tucson-split__media {
  border: 1px solid var(--line);
  overflow: hidden;
}

.tucson-split__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
}

.tucson-gallery {
  padding: 20px 0 82px;
}

.tucson-gallery__title {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 18px;
}

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

.tucson-gallery__grid figure {
  border: 1px solid var(--line);
  overflow: hidden;
}

.tucson-gallery__grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tucson-final-cta {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 74px 0 94px;
}

.tucson-final-cta h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  margin-bottom: 10px;
}

.tucson-final-cta p {
  margin-bottom: 20px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SANTA FE dedicated page */
.santafe-page {
  background: var(--white);
}

.santafe-hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 80px 90px;
  background-image: url("SANTA FE - OUT.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-color: transparent;
  overflow: hidden;
}

.santafe-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.24);
  pointer-events: none;
  z-index: 2;
}

.santafe-hero__content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  color: #ffffff;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

body.loaded .santafe-hero__content {
  opacity: 1;
  transform: translateY(0);
}

.santafe-hero__kicker {
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.santafe-hero__title {
  font-size: clamp(2.1rem, 5vw, 4.1rem);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 14px;
}

.santafe-hero__text {
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.94);
  margin-bottom: 26px;
}

.santafe-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.santafe-intro {
  padding: 92px 0 74px;
}

.santafe-title-center {
  text-align: center;
  color: var(--primary);
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.santafe-text-center {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 1.03rem;
}

.santafe-feature {
  padding-bottom: 76px;
}

.santafe-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.santafe-feature__grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.santafe-feature__eyebrow {
  color: #54759b;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.santafe-feature__content h3,
.santafe-wide__content h3,
.santafe-hybrid__content h3,
.santafe-gallery__title,
.santafe-final-cta h2 {
  color: var(--primary);
  font-weight: 800;
  line-height: 1.25;
}

.santafe-feature__content h3,
.santafe-wide__content h3,
.santafe-hybrid__content h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  margin-bottom: 8px;
}

.santafe-feature__content p,
.santafe-wide__content p,
.santafe-hybrid__content p,
.santafe-final-cta p {
  color: var(--muted);
  font-size: 1.02rem;
}

.santafe-feature__media {
  border: 1px solid var(--line);
  overflow: hidden;
}

.santafe-feature__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
}

.santafe-wide {
  padding-bottom: 76px;
}

.santafe-wide__image {
  width: 100%;
  max-height: 84vh;
  object-fit: cover;
}

.santafe-wide__content {
  margin-top: 20px;
  max-width: 680px;
}

.santafe-hybrid {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0 44px;
  margin: 8px 0 76px;
}

.santafe-hybrid__grid {
  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;
  gap: 30px;
}

.santafe-hybrid__media {
  border: 1px solid var(--line);
  overflow: hidden;
}

.santafe-hybrid__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.santafe-gallery {
  padding: 0 0 84px;
}

.santafe-gallery__title {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  margin-bottom: 18px;
}

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

.santafe-gallery__grid figure {
  border: 1px solid var(--line);
  overflow: hidden;
}

.santafe-gallery__grid figure:nth-child(1) {
  grid-column: span 7;
}

.santafe-gallery__grid figure:nth-child(2) {
  grid-column: span 5;
}

.santafe-gallery__grid figure:nth-child(3) {
  grid-column: span 5;
}

.santafe-gallery__grid figure:nth-child(4) {
  grid-column: span 7;
}

.santafe-gallery__grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.santafe-final-cta {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 74px 0 94px;
}

.santafe-final-cta h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  margin-bottom: 14px;
}

/* Responsive */
@media (max-width: 1100px) {
  .container {
    padding-inline: 40px;
  }

  .navbar__inner {
    padding: 0 40px;
    grid-template-columns: auto 1fr auto auto;
  }

  .navbar__menu {
    gap: 22px;
  }

  .hero {
    padding: 56px 40px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero__content,
  .hero__actions {
    justify-content: flex-start;
  }

  .hero__media {
    height: 48vh;
    min-height: 320px;
  }

  .featured-vehicles {
    padding: 72px 40px 84px;
  }

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

  .car-hero__content {
    padding: 0 40px 62px;
  }

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

  .highlight,
  .highlight:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 26px;
  }

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

  .site-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

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

  .service-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-split--reverse .service-split__media,
  .service-split--reverse .service-split__content {
    order: initial;
  }

  .vehicles-grid-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }

  .tucson-hero {
    min-height: 82vh;
    padding: 0 40px 62px;
    background-size: cover;
    background-position: center center;
  }

  .tucson-split__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .santafe-hero {
    min-height: 82vh;
    padding: 0 40px 64px;
    background-size: cover;
    background-position: center center;
  }

  .santafe-feature__grid,
  .santafe-feature__grid--reverse,
  .santafe-hybrid__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .santafe-gallery__grid figure:nth-child(1),
  .santafe-gallery__grid figure:nth-child(2),
  .santafe-gallery__grid figure:nth-child(3),
  .santafe-gallery__grid figure:nth-child(4) {
    grid-column: span 6;
  }

  .homepage-navbar .navbar__inner {
    padding-inline: 40px;
  }

  .homepage-hero {
    min-height: 86vh;
    padding: 0 40px 74px;
  }

  .homepage-hero__bg-image {
    object-fit: cover;
    object-position: center bottom;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 24px;
  }

  .featured-vehicles,
  .vehicles-page,
  .offers-page,
  .services-page,
  .test-drive,
  .contact-page,
  .tucson-page,
  .santafe-page {
    padding-block: 64px;
  }

  .navbar__inner {
    min-height: auto;
    padding: 12px 24px;
    grid-template-columns: auto 1fr;
    row-gap: 10px;
  }

  .navbar__logo img {
    height: 24px;
  }

  .navbar__menu {
    display: flex;
    position: static;
    transform: none;
    width: 100%;
    grid-column: 1 / -1;
    gap: 18px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .navbar__menu::-webkit-scrollbar {
    display: none;
  }

  .navbar__cta {
    min-height: 40px;
    padding: 0 16px;
    font-size: 0.9rem;
    order: 2;
  }

  .site-ui-controls {
    order: 2;
    margin-inline-start: auto;
    width: auto;
  }

  .site-ui-controls--mobile {
    order: 6;
    width: 100%;
    justify-content: flex-start;
  }

  .homepage-navbar .site-ui-controls:not(.site-ui-controls--mobile) {
    display: none;
  }

  .homepage-mobile-menu .site-ui-controls--mobile {
    display: inline-flex;
  }

  .hero {
    padding: 32px 20px;
  }

  .hero__title {
    margin-bottom: 16px;
  }

  .hero__subtitle {
    margin-bottom: 24px;
  }

  .btn {
    width: 100%;
  }

  .homepage-hero {
    min-height: 72vh;
    padding: 0 24px 36px;
  }

  .homepage-hero__content {
    max-width: 100%;
  }

  .homepage-hero__bg-image {
    object-fit: cover;
    object-position: center center;
  }

  .featured-vehicles {
    padding: 56px 20px 64px;
  }

  .featured-vehicles__header {
    margin-bottom: 34px;
  }

  .vehicles-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .vehicles-grid-page {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .car-hero {
    min-height: 82vh;
  }

  .tucson-hero,
  .santafe-hero {
    min-height: 68vh;
    background-size: cover;
    background-position: center center;
    padding: 0 24px 28px;
  }

  .car-hero__content {
    padding: 0 24px 42px;
  }

  .specs {
    padding-block: 56px;
  }

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

  .gallery {
    padding-block: 64px;
  }

  .gallery-track {
    grid-auto-columns: 88vw;
  }

  .highlights {
    padding-bottom: 72px;
  }

  .cta {
    padding: 64px 0 76px;
  }

  .test-drive {
    padding: 64px 0 72px;
  }

  .test-drive__panel {
    padding: 20px;
  }

  .contact-page {
    padding: 64px 0 72px;
  }

  .contact-form {
    padding: 20px;
  }

  .map-block {
    min-height: 240px;
  }

  .offers-page {
    padding: 64px 0 72px;
  }

  .offers-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .services-page {
    padding: 64px 0 72px;
  }

  .services-network {
    margin-bottom: 34px;
  }

  .vehicles-page {
    padding: 64px 0 72px;
  }

  .vehicles-grid-page {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .tucson-hero {
    min-height: 88vh;
    padding: 0 24px 34px;
    background-position: 58% center;
  }

  .tucson-intro {
    padding: 64px 0 60px;
  }

  .tucson-media-section,
  .tucson-split {
    padding-bottom: 56px;
  }

  .tucson-gallery {
    padding: 12px 0 64px;
  }

  .tucson-gallery__grid {
    grid-template-columns: 1fr;
  }

  .tucson-final-cta {
    padding: 56px 0 70px;
  }

  .santafe-hero {
    min-height: 88vh;
    padding: 0 24px 34px;
    background-position: 62% center;
  }

  .santafe-intro {
    padding: 64px 0 58px;
  }

  .santafe-feature,
  .santafe-wide {
    padding-bottom: 56px;
  }

  .santafe-hybrid {
    margin: 0 0 56px;
    padding: 30px 0 34px;
  }

  .santafe-gallery {
    padding: 0 0 64px;
  }

  .santafe-gallery__grid {
    grid-template-columns: 1fr;
  }

  .santafe-gallery__grid figure:nth-child(1),
  .santafe-gallery__grid figure:nth-child(2),
  .santafe-gallery__grid figure:nth-child(3),
  .santafe-gallery__grid figure:nth-child(4) {
    grid-column: auto;
  }

  .santafe-final-cta {
    padding: 56px 0 70px;
  }

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

  .site-footer {
    padding: 44px 0 20px;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .homepage-navbar .navbar__inner {
    min-height: 80px;
    padding: 0 24px;
    flex-wrap: nowrap;
    row-gap: 0;
  }

  .homepage-navbar .navbar__menu {
    display: none;
  }

  .homepage-navbar .navbar__cta {
    display: none;
  }

  .homepage-navbar__toggle {
    display: inline-flex;
  }

  .homepage-navbar.is-open .homepage-navbar__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .homepage-navbar.is-open .homepage-navbar__toggle span:nth-child(2) {
    opacity: 0;
  }

  .homepage-navbar.is-open .homepage-navbar__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .homepage-mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition);
    z-index: 59;
  }

  .homepage-mobile-menu__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(88vw, 360px);
    height: 100%;
    background: #ffffff;
    padding: 96px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transform: translateX(100%);
    transition: transform var(--transition);
  }

  .homepage-mobile-menu__panel a {
    color: #111111;
    text-decoration: none;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.5;
    padding: 6px 0;
  }

  .homepage-mobile-menu__panel a.is-active {
    color: var(--primary);
  }

  .homepage-mobile-menu__panel .btn {
    margin-top: 8px;
    font-size: 1rem;
  }

  .homepage-navbar.is-open .homepage-mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .homepage-navbar.is-open .homepage-mobile-menu__panel {
    transform: translateX(0);
  }

  .homepage-hero {
    min-height: 100vh;
    padding: 0 24px 52px;
    background-position: 62% center;
  }

  .homepage-hero__actions {
    width: 100%;
    gap: 10px;
  }

  .homepage-hero__actions .btn {
    width: 100%;
  }
}
