@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --primary: #002c5f;
  --white: #ffffff;
  --text: #0f1720;
  --muted: #3a4654;
  --line: #e8edf2;
  --transition: 0.22s ease;
  --font-sans: "Montserrat", "Poppins", sans-serif;
  --font-en: "Montserrat", "Poppins", sans-serif;
  --font-ar: "Cairo", "Montserrat", "Poppins", sans-serif;
  --tracking-tight: -0.02em;
  --tracking-body: 0.01em;
  --tracking-ui: 0.04em;
  --tracking-label: 0.1em;
}

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

html,
body {
  width: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--white);
  color: var(--text);
  line-height: 1.55;
  letter-spacing: var(--tracking-body);
  overflow-x: hidden;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="ar"],
html[lang="ar"] body {
  font-family: var(--font-ar);
  letter-spacing: 0;
  line-height: 1.75;
}

html[lang="en"],
html[lang="en"] body {
  font-family: var(--font-en);
  line-height: 1.55;
  letter-spacing: var(--tracking-body);
}

button,
input,
textarea,
select,
option,
nav,
a,
span,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
label,
small {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--tracking-tight);
}

h1 {
  font-weight: 800;
}

h2,
h3 {
  font-weight: 700;
}

h4,
h5,
h6 {
  font-weight: 600;
}

p,
li,
.site-footer__text {
  font-weight: 400;
}

strong,
b {
  font-weight: 600;
}

.navbar__menu a,
.navbar__cta,
.btn,
.service-trigger,
.site-ui-lang__btn,
.lineup-tab,
.vehicles-filters__tab,
.navbar-mobile-menu__service-toggle,
.navbar-mobile-menu__vehicles-toggle {
  font-weight: 600;
  letter-spacing: var(--tracking-ui);
}

.navbar__logo,
.site-footer__legal,
.maint-hero__eyebrow,
.warr-hero__subtitle,
.homepage-hero__label {
  letter-spacing: var(--tracking-label);
}

input,
textarea,
select {
  font-weight: 400;
  letter-spacing: var(--tracking-body);
}

label {
  font-weight: 500;
  letter-spacing: var(--tracking-ui);
}

.site-footer__heading,
.maint-section-title,
.warr-section__title,
.featured-vehicles__title,
.vehicles-hero__title {
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
}

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"] {
  overflow-wrap: anywhere;
}

/* Phone numbers: always LTR (+218 91-5502222) in Arabic and English */
a[href^="tel:"] {
  overflow-wrap: anywhere;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.locator-row__phones {
  direction: ltr;
  unicode-bidi: isolate;
}

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);
}

/* Service dropdown */
.nav-item.service-dropdown {
  position: relative;
}

.service-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
}

.service-trigger {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition);
}

.service-trigger__arrow {
  font-size: 0.55rem;
  line-height: 1;
  opacity: 0.72;
  transition: transform 0.25s ease;
}

.service-dropdown.is-open .service-trigger__arrow {
  transform: rotate(180deg);
}

.service-menu {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: 0;
  width: 220px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 44, 95, 0.12);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transform: translateY(8px);
  z-index: 90;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.service-dropdown:hover .service-menu,
.service-dropdown.is-open .service-menu,
.service-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.service-menu a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: #1d2935;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.service-menu a + a {
  border-top: 1px solid #eef2f6;
}

.service-menu a:hover {
  background: rgba(0, 44, 95, 0.05);
  color: #002c5f;
}

.service-trigger:hover {
  color: var(--primary);
}

.homepage-navbar .service-trigger {
  color: #ffffff;
  position: relative;
}

.homepage-navbar .service-trigger:hover {
  color: #ffffff;
}

.homepage-navbar.is-scrolled .service-trigger {
  color: #111111;
}

.homepage-navbar.is-scrolled .service-trigger:hover {
  color: var(--primary);
}

.navbar-mobile-menu__service {
  border-top: 1px solid #e5ebf2;
  border-bottom: 1px solid #e5ebf2;
  padding: 10px 0;
}

.navbar-mobile-menu__service-toggle {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #002c5f;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 0;
  cursor: pointer;
}

.navbar-mobile-menu__service-content {
  display: grid;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.navbar-mobile-menu__service.is-expanded .navbar-mobile-menu__service-content {
  max-height: 120px;
}

.navbar-mobile-menu__service-content a {
  color: #172838;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 0 10px 12px;
  border-top: 1px solid #eef2f6;
}

.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 {
  border: 0;
  background: #ffffff;
  color: #1d2935;
  font-family: inherit;
  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-controls--mobile {
  margin-top: 12px;
}

/* Premium navigation + vehicles mega menu */
.navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  transition: background-color var(--transition), border-color var(--transition);
}

.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: #dfe6ee;
}

.navbar__vehicles-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navbar__vehicles-link::after {
  content: "";
  width: 7px;
  height: 7px;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--transition);
}

.navbar.has-mega-open .navbar__vehicles-link::after {
  transform: rotate(-135deg) translateY(-1px);
}

.navbar-mega {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e5ebf2;
  border-bottom: 1px solid #e5ebf2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.navbar.has-mega-open .navbar-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.navbar-mega__inner {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding: 20px 80px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
}

.navbar-mega__tabs {
  display: grid;
  gap: 8px;
  align-content: start;
}

.navbar-mega__tab {
  appearance: none;
  border: 1px solid #dde5ee;
  background: #ffffff;
  color: #17314a;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: start;
  padding: 10px 12px;
  cursor: pointer;
}

.navbar-mega__tab.is-active {
  border-color: #002c5f;
  color: #002c5f;
}

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

.navbar-mega__card {
  text-decoration: none;
  color: inherit;
  border: none;
  padding: 10px 10px 12px;
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 10px;
  position: relative;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
  transition: transform var(--transition);
}

.navbar-mega__card::before {
  content: "";
  position: absolute;
  inset: 6px 4px 10px;
  background: rgba(0, 44, 95, 0.06);
  border-radius: 14px;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease;
  z-index: 0;
}

.navbar-mega__card-image {
  background: transparent;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.navbar-mega__card-image img {
  width: 100%;
  height: 42px;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  transition: transform .35s ease;
}

.navbar-mega__card-name {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 800;
  color: #13253a;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  transition: color .35s ease;
}

.navbar-mega__card-meta {
  margin: 0;
  color: #607385;
  font-size: 0.75rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.navbar-mega__card-view {
  color: #002c5f;
  font-size: 0.72rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.navbar-mega__card:hover::before {
  opacity: 1;
  transform: scale(1) translateY(0);
  box-shadow: 0 18px 45px rgba(0, 44, 95, 0.14);
}

.navbar-mega__card:hover .navbar-mega__card-image img {
  transform: translateY(-6px) scale(1.03);
}

.navbar-mega__card:hover .navbar-mega__card-name {
  color: #002c5f;
}

.navbar__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d5deea;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

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

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

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

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

.navbar-mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
  z-index: 95;
}

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

.navbar-mobile-menu__panel {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  width: min(92vw, 390px);
  height: 100%;
  background: #ffffff;
  overflow-y: auto;
  padding: 26px 20px 24px;
  display: grid;
  grid-template-rows: auto auto auto auto;
  gap: 12px;
  transform: translateX(100%);
  transition: transform var(--transition);
}

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

.navbar-mobile-menu__close {
  justify-self: end;
  border: 1px solid #d5deea;
  background: #ffffff;
  color: #111111;
  width: 34px;
  height: 34px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.navbar-mobile-menu__main-links {
  display: grid;
  gap: 4px;
}

.navbar-mobile-menu__main-links a {
  color: #172838;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 0;
}

.navbar-mobile-menu__vehicles {
  border-top: 1px solid #e5ebf2;
  border-bottom: 1px solid #e5ebf2;
  padding: 10px 0;
}

.navbar-mobile-menu__vehicles-toggle {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #002c5f;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 6px 0;
  cursor: pointer;
}

.navbar-mobile-menu__vehicles-content {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.navbar-mobile-menu__vehicle-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.navbar-mobile-menu__vehicle-tab {
  appearance: none;
  border: 1px solid #d5deea;
  background: #f6f8fb;
  color: #172838;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 10px;
  cursor: pointer;
  line-height: 1.2;
}

.navbar-mobile-menu__vehicle-tab.is-active {
  border-color: #002c5f;
  background: #002c5f;
  color: #ffffff;
}

.navbar-mobile-menu__vehicle-group-title {
  margin: 0 0 4px;
  color: #607385;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.navbar-mobile-menu__vehicle-links {
  display: grid;
  gap: 4px;
}

.navbar-mobile-menu__vehicle-links a {
  color: #172838;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 5px 0;
}

body.nav-lock {
  overflow: hidden;
}

/* Shared buttons */
.btn {
  min-height: 52px;
  padding: 0 30px;
  border: 2px solid var(--primary);
  border-radius: 0;
  font-family: inherit;
  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: inherit;
  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;
}

.site-footer__list--branches {
  gap: 5px;
  max-height: 240px;
  overflow-y: auto;
  padding-inline-end: 6px;
  scrollbar-width: thin;
}

.site-footer__list--branches li {
  line-height: 1.3;
}

.site-footer__list--branches a {
  font-size: 0.8rem;
  line-height: 1.35;
  display: inline-block;
}

/* 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-lang {
  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 .navbar-mega {
  background: #151515;
  border-top-color: #2a2a2a;
  border-bottom-color: #2a2a2a;
}

body.dark-mode .navbar-mega__tab {
  background: #141414;
  border-color: #2a2a2a;
  color: #d9d9d9;
}

body.dark-mode .navbar-mega__tab.is-active {
  border-color: #7fb3ff;
  color: #7fb3ff;
}

body.dark-mode .navbar-mega__card {
  border-color: transparent;
  background: transparent;
}

body.dark-mode .navbar-mega__card:hover {
  border-color: transparent;
}

body.dark-mode .navbar-mega__card-image {
  background: transparent;
}

body.dark-mode .navbar-mega__card-name {
  color: #ffffff;
}

body.dark-mode .navbar-mega__card-meta {
  color: #b5b5b5;
}

body.dark-mode .navbar-mega__card-view {
  color: #7fb3ff;
}

body.dark-mode .lineup-item__link::before,
body.dark-mode .navbar-mega__card::before {
  background: rgba(255, 255, 255, 0.06);
}

body.dark-mode .lineup-item__link:hover::before,
body.dark-mode .navbar-mega__card:hover::before {
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

body.dark-mode .navbar__toggle {
  background: #151515;
  border-color: #2a2a2a;
}

body.dark-mode .navbar__toggle span {
  background: #ffffff;
}

body.dark-mode .navbar-mobile-menu {
  background: rgba(0, 0, 0, 0.6);
}

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

body.dark-mode .navbar-mobile-menu__close {
  background: #151515;
  color: #ffffff;
  border-color: #2a2a2a;
}

body.dark-mode .navbar-mobile-menu__main-links a,
body.dark-mode .navbar-mobile-menu__vehicle-links a {
  color: #ffffff;
}

body.dark-mode .navbar-mobile-menu__vehicles {
  border-top-color: #2a2a2a;
  border-bottom-color: #2a2a2a;
}

body.dark-mode .navbar-mobile-menu__vehicles-toggle {
  color: #7fb3ff;
}

body.dark-mode .navbar-mobile-menu__vehicle-group-title {
  color: #b5b5b5;
}

body.dark-mode .navbar-mobile-menu__vehicle-tab {
  border-color: #3a3a3a;
  background: #1f1f1f;
  color: #e8e8e8;
}

body.dark-mode .navbar-mobile-menu__vehicle-tab.is-active {
  border-color: #7fb3ff;
  background: #002c5f;
  color: #ffffff;
}

body.dark-mode .vehicle-item,
body.dark-mode .vehicle-item-page,
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 .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,
body.dark-mode .vehicles-lineup-placeholder {
  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 .service-split__title,
body.dark-mode .service-text-block__title,
body.dark-mode .services-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 .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 .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 .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,
body.dark-mode .lineup-item__category {
  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 .lineup-tab {
  background: #161616;
  border-color: #2a2a2a;
  color: #d6d6d6;
}

body.dark-mode .lineup-tab.is-active {
  color: #7fb3ff;
  border-color: #7fb3ff;
}

body.dark-mode .lineup-item__media {
  background: transparent;
  border-color: transparent;
}

body.dark-mode .lineup-item__name {
  color: #ffffff;
}

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;
}

/* 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: inherit;
  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;
}

.vehicles-lineup-placeholder {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 44px 24px;
  text-align: center;
}

.vehicles-placeholder {
  margin: 0;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  font-weight: 600;
}

.hyundai-lineup .featured-vehicles__header,
.vehicles-page .vehicles-hero {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.lineup-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 34px;
}

.lineup-tab {
  appearance: none;
  border: 1px solid #d9e3ee;
  color: #1f2f3f;
  background: #ffffff;
  min-height: 42px;
  padding: 0 18px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background-color var(--transition);
}

.lineup-tab.is-active {
  border-color: var(--primary);
  color: var(--primary);
}

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

.lineup-item {
  transition: opacity var(--transition), transform var(--transition);
}

.lineup-item__link {
  text-decoration: none;
  color: inherit;
  display: block;
  text-align: center;
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible;
  padding: 8px 4px 10px;
}

.lineup-item__link::before {
  content: "";
  position: absolute;
  inset: 8px 4px 18px;
  background: rgba(0, 44, 95, 0.06);
  border-radius: 18px;
  opacity: 0;
  transform: scale(0.96) translateY(8px);
  transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease;
  z-index: 0;
}

.lineup-item__media {
  border: none;
  padding: 12px 14px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  position: relative;
  z-index: 1;
}

.lineup-item__image {
  width: 100%;
  max-width: 170px;
  height: 88px;
  object-fit: contain;
  object-position: center;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  z-index: 1;
  transition: transform .35s ease;
}

.lineup-item__name {
  margin: 12px 0 4px;
  color: #0f1720;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  position: relative;
  z-index: 1;
  transition: color .35s ease;
}

.lineup-item__category {
  margin: 0;
  color: #667482;
  font-size: 0.82rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.lineup-item__link:hover::before {
  opacity: 1;
  transform: scale(1) translateY(0);
  box-shadow: 0 18px 45px rgba(0, 44, 95, 0.14);
}

.lineup-item__link:hover .lineup-item__image {
  transform: translateY(-6px) scale(1.03);
}

.lineup-item__link:hover .lineup-item__name {
  color: var(--primary);
}

.lineup-item.is-hidden {
  display: none;
}

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

.featured-vehicles,
.vehicles-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;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background: #ffffff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateZ(0) scale(1);
  transition: opacity 1.2s ease, transform 6s ease;
  background-color: #ffffff;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.hero-slide.active {
  opacity: 1;
  transform: translateZ(0) scale(1);
}

.homepage-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.12));
  pointer-events: none;
  z-index: 2;
}

.hero-slider__indicators {
  position: absolute;
  left: 80px;
  bottom: 34px;
  display: flex;
  gap: 8px;
  z-index: 4;
}

.hero-slider__dot {
  width: 26px;
  height: 3px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}

.hero-slider__dot.is-active {
  background: #ffffff;
  transform: scaleX(1.08);
}

.homepage-hero__content {
  max-width: 760px;
  position: relative;
  z-index: 5;
  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);
  }
}

@keyframes homeHeroBgZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

/* 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;
}

/* Typography refinement: Hyundai Qatar visual scale */
body {
  font-size: 15px;
}

h1,
h2,
h3,
h4 {
  letter-spacing: 0;
}

h1 {
  font-weight: 700;
  line-height: 1.1;
}

h2 {
  font-weight: 600;
  line-height: 1.2;
}

h3 {
  font-weight: 600;
  line-height: 1.3;
}

h4 {
  font-weight: 500;
  line-height: 1.35;
}

p,
li,
label {
  font-size: 0.98rem;
  font-weight: 400;
}

small,
.site-footer__legal,
.lineup-item__category {
  font-size: 0.84rem;
}

html[lang="ar"] body {
  line-height: 1.9;
  letter-spacing: 0;
}

.navbar__menu {
  gap: 38px;
}

.navbar__menu a {
  font-size: 0.93rem;
  font-weight: 500;
}

.navbar__cta,
.btn {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.navbar-mega__tab,
.lineup-tab,
.vehicles-filters__tab {
  font-size: 0.84rem;
  font-weight: 600;
}

.navbar-mega__card-name {
  font-size: 0.82rem;
  font-weight: 600;
}

.navbar-mobile-menu__vehicle-group-title {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.6px;
}

.homepage-hero__content {
  max-width: 560px;
}

.homepage-hero__title {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
}

.homepage-hero__subtitle {
  max-width: 560px;
  font-size: clamp(0.96rem, 1.15vw, 1.02rem);
  line-height: 1.75;
}

.hero__title,
.car-hero__title,
.tucson-hero__title,
.santafe-hero__title {
  font-weight: 700;
}

.featured-vehicles__title,
.vehicles-hero__title,
.services-hero__title,
.contact-hero__title,
.test-drive__title {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  font-weight: 600;
}

.tucson-title-center,
.santafe-title-center,
.section-title,
.cta__title,
.services-cta__title {
  font-size: clamp(1.75rem, 2.9vw, 2.35rem);
  font-weight: 600;
}

.lineup-item__name {
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.25px;
}

.vehicle-item__name,
.vehicle-item-page__name {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.35px;
}

.brochure-specs-table th {
  font-size: 0.86rem !important;
  font-weight: 600 !important;
}

.brochure-specs-table td {
  font-size: 0.84rem !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
}

.spec-notes,
.notes,
.h100-notes {
  font-size: 0.76rem !important;
  line-height: 1.8 !important;
}

/* Override model-page inline title scales without redesign */
.accent-hero__title,
.grand10-hero__title,
.h100-hero__title,
.palisade-hero__title,
.cg-hero__title,
.st-hero__title,
.creta-hero__title,
.tucson-hero__title,
.sp-hero__title,
.sg-hero__title,
.sf-title {
  font-size: clamp(2rem, 4.8vw, 3.45rem) !important;
  line-height: 1.1 !important;
  font-weight: 700 !important;
}

.accent-hero__subtitle,
.grand10-hero__subtitle,
.h100-hero__subtitle,
.palisade-hero__subtitle,
.cg-hero__subtitle,
.st-hero__subtitle,
.creta-hero__subtitle,
.tucson-hero__text,
.sp-hero__subtitle,
.sg-hero__subtitle,
.sf-subtitle {
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
}

/* 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;
  }

  .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;
  }

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

  .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;
  }

  .hero-slider__indicators {
    left: 40px;
  }
}

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

  .navbar__inner,
  .homepage-navbar .navbar__inner {
    min-height: 78px;
    padding: 0 28px;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
  }

  .navbar__menu,
  .navbar__cta {
    display: none;
  }

  .navbar__toggle {
    display: inline-flex;
  }

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

  .navbar-mega {
    display: none;
  }

  .service-menu {
    display: none;
  }

  .homepage-hero {
    min-height: 92vh;
    padding: 0 28px 48px;
  }

  .hero-slider__indicators {
    left: 28px;
  }

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

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .navbar__menu a {
    font-size: 0.88rem;
    font-weight: 500;
  }

  .navbar-mobile-menu__main-links a,
  .navbar-mobile-menu__vehicle-links a {
    font-size: 0.92rem;
    font-weight: 500;
  }

  .btn,
  .navbar__cta {
    font-size: 0.875rem;
  }

  .homepage-hero__title {
    font-size: clamp(2rem, 8.6vw, 2.35rem);
    line-height: 1.15;
  }

  .homepage-hero__subtitle {
    font-size: 0.94rem;
    line-height: 1.75;
    max-width: 100%;
  }

  .featured-vehicles__title,
  .vehicles-hero__title,
  .services-hero__title,
  .contact-hero__title,
  .test-drive__title,
  .tucson-title-center,
  .santafe-title-center,
  .section-title,
  .cta__title,
  .services-cta__title {
    font-size: clamp(1.62rem, 6.1vw, 1.95rem);
  }

  .accent-hero__title,
  .grand10-hero__title,
  .h100-hero__title,
  .palisade-hero__title,
  .cg-hero__title,
  .st-hero__title,
  .creta-hero__title,
  .tucson-hero__title,
  .sp-hero__title,
  .sg-hero__title,
  .sf-title {
    font-size: clamp(2rem, 8vw, 2.35rem) !important;
  }

  .lineup-item__name,
  .vehicle-item__name,
  .vehicle-item-page__name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2px;
  }

  .homepage-hero {
    min-height: 84vh;
    padding: 0 22px 42px;
  }

  .homepage-hero__title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .homepage-hero__subtitle {
    font-size: 0.98rem;
    line-height: 1.8;
    max-width: 100%;
  }

  .homepage-hero__actions {
    width: 100%;
  }

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

  .navbar-mobile-menu__panel {
    width: min(100vw, 360px);
    padding: 20px 16px;
  }

  .lineup-item__link {
    padding: 4px 2px 8px;
  }

  .lineup-item__link:active::before,
  .navbar-mega__card:active::before {
    opacity: 1;
    transform: scale(1) translateY(0);
    box-shadow: 0 14px 34px rgba(0, 44, 95, 0.12);
  }

  .lineup-item__link:active .lineup-item__image,
  .navbar-mega__card:active .navbar-mega__card-image img {
    transform: translateY(-3px) scale(1.02);
  }
}

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

  .navbar__inner,
  .homepage-navbar .navbar__inner {
    min-height: 72px;
    padding: 0 16px;
  }

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

  .lineup-item__media {
    min-height: 116px;
  }

  .homepage-hero {
    min-height: 82vh;
    padding: 0 16px 34px;
  }
}

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

  .featured-vehicles,
  .vehicles-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,
  .navbar__cta {
    display: none;
  }

  .site-ui-controls {
    display: none;
  }

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

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

  .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%;
  }

  .hero-slider__indicators {
    left: 24px;
    bottom: 22px;
  }

  .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;
  }

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

  .lineup-item__media {
    min-height: 120px;
  }

  .lineup-item__image {
    max-width: 140px;
    height: 72px;
  }

  .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;
  }

  .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%;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
  }

  /* Homepage hero: keep full vehicle visible on mobile/tablet */
  .hero,
  .homepage-hero,
  .home-hero {
    min-height: auto !important;
    padding-top: 90px !important;
    padding-bottom: 40px !important;
    background-color: #ffffff !important;
  }

  .homepage-hero {
    align-items: flex-start !important;
  }

  .hero-slide {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-color: #f6f6f6 !important;
  }

  .homepage-hero__overlay {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.05)) !important;
  }

  /* Vehicle lineup and cards: avoid cropping cars */
  .vehicle-card img,
  .vehicle-mini-card img,
  .vehicle-item img,
  .vehicle-lineup img,
  .lineup-item__image,
  .vehicle-item__image,
  .vehicle-item-page__media img {
    object-fit: contain !important;
    object-position: center center !important;
    width: 100% !important;
    height: auto !important;
    max-height: 160px !important;
    background: transparent !important;
  }

  .lineup-item__media,
  .vehicle-item__image-wrap,
  .vehicle-item-page__media {
    min-height: 160px !important;
    height: auto !important;
    aspect-ratio: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
  }

  /* Model/detail hero sections: contain instead of cover */
  .vehicle-hero,
  .model-hero,
  .car-hero,
  .grand10-hero,
  .accent-hero,
  .creta-hero,
  .cg-hero,
  .tucson-hero,
  .sf-hero,
  .santafe-hero,
  .palisade-hero,
  .sg-hero,
  .st-hero,
  .sp-hero,
  .h100-hero {
    min-height: auto !important;
    padding: 100px 20px 40px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    background-color: #f6f6f6 !important;
  }

  .vehicle-hero img,
  .model-hero img,
  .car-hero img,
  .vehicle-hero .hero-image,
  .model-hero .hero-image,
  .car-hero__bg img,
  .accent-hero__bg img,
  .accent-hero__floating img,
  .creta-hero__media img,
  .creta-hero__support img,
  .tucson-hero__media img,
  .sf-hero > img,
  .sf-hero-accent img,
  .palisade-hero__media img,
  .sg-hero__media img,
  .sg-hero__support img,
  .st-hero__media img,
  .sp-hero__media img,
  .sp-hero__support img,
  .h100-hero__media img {
    object-fit: contain !important;
    object-position: center center !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 58vh !important;
  }

  /* Keep hero text from overlapping the car */
  .vehicle-hero__content,
  .model-hero__content,
  .car-hero__content,
  .accent-hero__content,
  .creta-hero__content,
  .tucson-hero__content,
  .sf-hero-content,
  .palisade-hero__content,
  .sg-hero__content,
  .st-hero__content,
  .sp-hero__content,
  .h100-hero__content {
    position: relative !important;
    z-index: 3 !important;
    max-width: 100% !important;
    padding-bottom: 0 !important;
  }

  .hero::before,
  .vehicle-hero::before,
  .model-hero::before {
    opacity: 0.15 !important;
  }

  .homepage-hero__overlay,
  .car-hero__overlay,
  .accent-hero__overlay,
  .creta-hero__overlay,
  .tucson-hero__overlay,
  .santafe-hero__overlay,
  .palisade-hero__overlay,
  .sg-hero__overlay,
  .st-hero__overlay,
  .sp-hero__overlay,
  .h100-hero__overlay {
    opacity: 0.15 !important;
  }
}

/* --- Contact / dealer network (contact.html) --- */
.contact-page--network {
  overflow-x: hidden;
}

.contact-hero--network {
  padding: 8px 0 8px;
  margin-bottom: 28px;
  max-width: 640px;
}

.network-hero__eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #002c5f;
  margin: 0 0 10px;
}

.contact-hero--network .contact-hero__title {
  margin-bottom: 10px;
}

.network-hero__subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact-hero--form {
  margin-top: 48px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.network-locator {
  width: 100%;
  max-width: 100vw;
  margin-bottom: 40px;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.network-locator__stage {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 420px;
  max-height: 880px;
  background: #e8eaed;
  overflow: hidden;
}

.network-locator__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

.network-locator__panel--compact {
  position: absolute;
  z-index: 20;
  top: 12px;
  inset-inline-start: 12px;
  width: clamp(320px, 32vw, 380px);
  height: min(400px, 42vh);
  max-height: min(400px, 42vh);
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.network-locator__tabs--compact {
  display: flex;
  border-bottom: 1px solid #e8eaed;
  flex-shrink: 0;
}

.network-locator__tab--compact {
  flex: 1;
  padding: 8px 6px;
  border: 0;
  background: #f8f9fa;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #70757a;
  cursor: pointer;
  line-height: 1.2;
}

.network-locator__tab--compact.is-active {
  background: #fff;
  color: #002c5f;
}

.network-locator__lists--compact {
  flex: 1 1 0%;
  min-height: 0;
  position: relative;
}

.network-locator__list-scroller {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.network-locator__list-scroller[hidden] {
  display: none !important;
}

.locator-row--compact {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  min-height: 72px;
  max-height: 124px;
  box-sizing: border-box;
  border: 0;
  border-bottom: 1px solid #eceff1;
  background: #fff;
  text-align: start;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.15s ease;
}

.locator-row--compact:last-child {
  border-bottom: 0;
}

.locator-row--compact:hover {
  background: #f5f5f5;
}

.locator-row--compact:focus-visible {
  outline: 2px solid #002c5f;
  outline-offset: -2px;
}

.locator-row--compact.is-active {
  background: #eef3f8;
  box-shadow: inset 3px 0 0 #002c5f;
}

.locator-row__mark {
  flex-shrink: 0;
  padding-top: 3px;
}

.locator-row__mark img {
  display: block;
  height: 9px;
  width: auto;
  max-width: 44px;
  object-fit: contain;
}

@keyframes locator-mark-pulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

.locator-row__mark.is-pulse img {
  animation: locator-mark-pulse 0.55s ease;
}

.locator-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-content: center;
}

.locator-row--compact .locator-row__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #202124;
  line-height: 1.3;
}

.locator-row--compact.is-active .locator-row__title {
  font-weight: 700;
  color: #002c5f;
}

.locator-row__city {
  font-size: 0.75rem;
  color: #70757a;
  line-height: 1.25;
  margin-top: 1px;
}

.locator-row--compact .locator-row__phones {
  font-size: 0.8125rem;
  color: #5f6368;
  margin-top: 4px;
  line-height: 1.35;
}

.locator-row__phones .locator-row__dot {
  margin: 0 4px;
  color: #b0b4b8;
  user-select: none;
}

.locator-row--compact .locator-row__phones a {
  color: #002c5f;
  font-weight: 500;
  text-decoration: none;
}

.locator-row--compact .locator-row__phones a:hover {
  text-decoration: underline;
}

.locator-row__open-maps {
  display: inline-block;
  margin-top: 3px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #002c5f;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.locator-row__open-maps:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .network-locator__stage {
    height: 70vh;
    min-height: 360px;
    max-height: none;
  }

  .network-locator__panel--compact {
    top: auto;
    bottom: 12px;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    width: calc(100% - 24px);
    max-width: none;
    height: 240px;
    max-height: 240px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .network-locator__tab--compact {
    padding: 10px 8px;
    font-size: 0.65rem;
    min-height: 40px;
  }
}

body.dark-mode .network-locator__stage {
  background: #0d1117;
}

body.dark-mode .network-locator__panel--compact {
  background: #1a1d21;
  border-color: #3c4043;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

body.dark-mode .network-locator__tabs--compact {
  border-bottom-color: #3c4043;
}

body.dark-mode .network-locator__tab--compact {
  background: #131517;
  color: #9aa0a6;
}

body.dark-mode .network-locator__tab--compact.is-active {
  background: #1a1d21;
  color: #e8eaed;
}

body.dark-mode .locator-row--compact {
  background: #1a1d21;
  border-bottom-color: #3c4043;
}

body.dark-mode .locator-row--compact:hover {
  background: #25282d;
}

body.dark-mode .locator-row--compact.is-active {
  background: #252b33;
  box-shadow: inset 3px 0 0 #8ab4f8;
}

body.dark-mode .locator-row--compact .locator-row__title {
  color: #e8eaed;
}

body.dark-mode .locator-row--compact.is-active .locator-row__title {
  color: #8ab4f8;
}

body.dark-mode .locator-row__city {
  color: #9aa0a6;
}

body.dark-mode .locator-row--compact .locator-row__phones {
  color: #9aa0a6;
}

body.dark-mode .locator-row--compact .locator-row__phones a {
  color: #8ab4f8;
}

body.dark-mode .locator-row__open-maps {
  color: #8ab4f8;
}

html[dir="rtl"] .locator-row--compact.is-active {
  box-shadow: inset -3px 0 0 #002c5f;
}

html[dir="rtl"] body.dark-mode .locator-row--compact.is-active {
  box-shadow: inset -3px 0 0 #8ab4f8;
}

body.dark-mode .network-hero__eyebrow,
body.dark-mode .network-cta__title {
  color: #e8eef5;
}

body.dark-mode .network-hero__subtitle {
  color: #a7b0bd;
}

.network-cta {
  margin: 8px 0 0;
  padding: 36px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f5f8fc 0%, #fff 50%, #f7f9fc 100%);
  border: 1px solid #e4e9ef;
}

.network-cta__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.network-cta__title {
  margin: 0 0 20px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: #002c5f;
}

.network-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

body.dark-mode .network-cta {
  background: linear-gradient(135deg, #151c24 0%, #11161d 100%);
  border-color: #243040;
}

/* Maintenance page */
.maintenance-page-body {
  overflow-x: hidden;
}

.maintenance-page {
  padding: 0;
}

.maint-section-title {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  color: #002c5f;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
}

.maint-hero,
.maint-hero.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background-color: #1a2f45;
}

.maint-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 38%;
  background-repeat: no-repeat;
}

.maint-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.5) 32%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 100%
  );
}

html[dir="rtl"] .maint-hero__overlay {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.5) 32%,
    rgba(255, 255, 255, 0.08) 58%,
    transparent 100%
  );
}

.maint-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  max-width: 520px;
  margin-right: clamp(28px, 6vw, 88px);
  margin-left: auto;
  padding: 32px 0;
  text-align: right;
  opacity: 0;
  transform: translateY(20px);
  animation: maintHeroFadeUp 0.8s ease forwards;
}

html[dir="rtl"] .maint-hero__content {
  margin-right: auto;
  margin-left: clamp(28px, 6vw, 88px);
  text-align: right;
}

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

.maint-hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #607385;
}

.maint-hero__title {
  margin: 0 0 10px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #002c5f;
}

.maint-hero__lead {
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: #17314a;
}

.maint-hero__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #4a5f73;
  max-width: 480px;
  margin-inline-start: auto;
}

.maint-network {
  padding: 72px 0;
  background: #ffffff;
  text-align: center;
}

.maint-network__inner {
  max-width: 720px;
  margin-inline: auto;
}

.maint-network__text {
  margin: 0 auto 28px;
  color: #4a5f73;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 620px;
}

.maint-network__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 22px;
}

.maint-network__number {
  font-size: clamp(3.5rem, 10vw, 5rem);
  font-weight: 800;
  color: #002c5f;
  line-height: 1;
}

.maint-network__label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #607385;
}

.maint-network__cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.maint-network__cities span {
  border: 1px solid #dbe4ee;
  color: #002c5f;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 8px 16px;
}

.maint-network__cities-ar {
  margin: 14px 0 0;
  color: #607385;
  font-size: 0.95rem;
  font-weight: 600;
}

.maint-services {
  padding: 64px 0 48px;
  background: #f5f8fc;
}

.maint-services__grid {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.maint-services__item {
  background: #ffffff;
  border: 1px solid #e4ebf2;
  padding: 22px 20px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.maint-services__index {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #002c5f;
  opacity: 0.55;
}

.maint-services__item h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #17314a;
  line-height: 1.4;
}

/* Wide cinematic banners (maintenance page only) */
.maintenance-page .container-wide {
  width: min(96%, 1700px);
  max-width: 1700px;
  margin-inline: auto;
  padding-inline: clamp(20px, 3vw, 48px);
}

.maintenance-page .maint-wide-section {
  padding-left: 0;
  padding-right: 0;
  overflow: hidden;
}

.maintenance-page .maint-image-wide {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: #e8eef5;
}

.maintenance-page .maint-image-wide img {
  width: 100%;
  height: clamp(320px, 45vw, 720px);
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  display: block;
}

.maintenance-page .maint-image-wide--contain img {
  height: auto;
  min-height: clamp(280px, 38vw, 640px);
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.maint-visual-strip {
  background: #ffffff;
}

.maint-visual-strip__caption {
  padding: 20px 0 36px;
}

.maint-visual-strip__caption h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: #002c5f;
}

.maint-split {
  padding: 56px 0;
  background: #ffffff;
}

.maint-split:nth-of-type(even) {
  background: #f9fbfd;
}

.maint-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

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

.maint-split__media {
  border: 1px solid #e4ebf2;
  background: #f5f8fc;
  overflow: hidden;
}

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

.maint-split__content h3,
.maint-split__content h2 {
  margin: 0 0 12px;
  color: #002c5f;
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

.maint-split__content p {
  margin: 0;
  color: #4a5f73;
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 520px;
}

.maint-feature--paint {
  padding: 0 0 56px;
  background: #f5f8fc;
}

.maint-feature__banner.maint-image-wide {
  max-width: 100%;
}

.maint-feature__body {
  padding: 36px 0 0;
  max-width: 900px;
}

.maint-feature__body p {
  margin: 0;
  color: #4a5f73;
  font-size: 1.05rem;
  line-height: 1.75;
}

.maint-split--mobile {
  padding: 0 0 56px;
  background: #ffffff;
}

.maint-split--mobile .maint-split__content--below {
  padding-top: 32px;
  max-width: 900px;
}

.maint-split--mobile .maint-split__content--below p {
  margin: 0;
  color: #4a5f73;
  font-size: 1.05rem;
  line-height: 1.75;
}

.maint-warranty {
  padding: 72px 0;
  background: #002c5f;
  color: #ffffff;
}

.maint-warranty__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.maint-warranty .maint-section-title {
  color: #ffffff;
}

.maint-warranty__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  font-size: 1.02rem;
}

.maint-warranty__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.maint-warranty__list li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 22px 24px;
}

.maint-warranty__value {
  display: inline-block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-inline-end: 6px;
}

.maint-warranty__unit {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
}

.maint-warranty__list p {
  margin: 10px 0 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.maint-block {
  padding: 52px 0;
  background: #ffffff;
}

.maint-block--alt {
  background: #f5f8fc;
}

.maint-block__inner {
  max-width: 780px;
}

.maint-block__inner p {
  margin: 0;
  color: #4a5f73;
  font-size: 1.03rem;
  line-height: 1.75;
}

.maint-why {
  padding: 64px 0;
  background: #ffffff;
  border-top: 1px solid #e4ebf2;
}

.maint-why__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.maint-why__list li {
  position: relative;
  padding: 16px 0 16px 22px;
  border-bottom: 1px solid #e8eef5;
  color: #253545;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.maint-why__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35em;
  width: 8px;
  height: 8px;
  background: #002c5f;
  border-radius: 50%;
  transform: translateY(-50%);
}

html[dir="rtl"] .maint-why__list li {
  padding: 16px 22px 16px 0;
}

html[dir="rtl"] .maint-why__list li::before {
  left: auto;
  right: 0;
}

.maint-translation {
  padding: 48px 0 64px;
  background: #ffffff;
}

.maint-translation__inner {
  background: #ffffff;
  border: none;
  padding: 0;
  text-align: center;
}

.maint-translation__inner.maint-image-wide--contain {
  background: #ffffff;
}

.maint-branches {
  padding: 64px 0;
  background: #f5f8fc;
}

.maint-branches__map-link {
  margin: 0 0 24px;
}

.maint-branches__map-link a {
  color: #002c5f;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #002c5f;
}

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

.maint-branches__group h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 800;
  color: #002c5f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.maint-branches__group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.maint-branches__group li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid #dde5ee;
  font-size: 0.94rem;
  color: #253545;
}

.maint-branches__group a {
  color: #002c5f;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.maint-cta {
  padding: 72px 0 96px;
  background: #ffffff;
}

.maint-cta__inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.maint-cta__inner h2 {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #002c5f;
  line-height: 1.3;
}

.maint-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

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

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

.service-menu a.is-active {
  background: rgba(0, 44, 95, 0.08);
  color: #002c5f;
}

@media (max-width: 992px) {
  .maint-hero__content {
    margin-right: 28px;
    margin-left: auto;
    width: min(100%, 480px);
  }

  html[dir="rtl"] .maint-hero__content {
    margin-left: 28px;
    margin-right: auto;
  }

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

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

  .maint-split--reverse .maint-split__media,
  .maint-split--reverse .maint-split__content {
    order: unset;
  }

  .maint-warranty__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .maint-branches__grid {
    grid-template-columns: 1fr;
  }

  .maintenance-page .container-wide {
    width: min(100%, 1700px);
    padding-inline: 28px;
  }
}

@media (max-width: 768px) {
  .maint-hero,
  .maint-hero.hero-section {
    min-height: 70vh;
    padding-top: 0;
    padding-bottom: 48px;
    align-items: flex-end;
    justify-content: center;
  }

  .maint-hero__bg {
    background-size: cover;
    background-position: center center;
    inset: 0;
  }

  .maint-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 47, 69, 0.15) 0%,
      rgba(255, 255, 255, 0.55) 55%,
      rgba(255, 255, 255, 0.92) 88%
    );
  }

  html[dir="rtl"] .maint-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 47, 69, 0.15) 0%,
      rgba(255, 255, 255, 0.55) 55%,
      rgba(255, 255, 255, 0.92) 88%
    );
  }

  .maint-hero__content {
    margin: 0;
    padding: 20px 24px 0;
    width: 100%;
    max-width: 100%;
    text-align: right;
  }

  .maint-hero__title {
    font-size: 30px;
  }

  .maint-hero__desc {
    font-size: 15px;
    max-width: 100%;
  }

  .maint-services__grid {
    grid-template-columns: 1fr;
  }

  .maint-network {
    padding: 52px 0;
  }

  .maintenance-page .maint-image-wide img {
    height: 260px;
    object-position: center;
  }

  .maintenance-page .maint-image-wide--contain img {
    min-height: 220px;
    height: auto;
  }

  .maint-cta__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .maint-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .maint-hero__content {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .warr-hero__content {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Warranty page */
.warranty-page-body {
  overflow-x: hidden;
}

.warranty-page {
  padding: 0;
}

.warr-hero,
.warr-hero.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background-color: #1a2f45;
}

.warr-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.warr-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.55) 34%,
    rgba(255, 255, 255, 0.12) 62%,
    transparent 100%
  );
}

html[dir="rtl"] .warr-hero__overlay {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.55) 34%,
    rgba(255, 255, 255, 0.12) 62%,
    transparent 100%
  );
}

.warr-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  max-width: 500px;
  margin-right: clamp(28px, 6vw, 88px);
  margin-left: auto;
  padding: 32px 0;
  text-align: right;
  opacity: 0;
  transform: translateY(20px);
  animation: maintHeroFadeUp 0.8s ease forwards;
}

html[dir="rtl"] .warr-hero__content {
  margin-right: auto;
  margin-left: clamp(28px, 6vw, 88px);
  text-align: right;
}

.warr-hero__subtitle {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #607385;
}

.warr-hero__title {
  margin: 0 0 12px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #002c5f;
}

.warr-hero__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #4a5f73;
  max-width: 480px;
  margin-inline-start: auto;
}

.warr-highlight {
  padding: 72px 0;
  background: #ffffff;
  text-align: center;
}

.warr-highlight__inner {
  max-width: 720px;
  margin-inline: auto;
}

.warr-highlight__stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 12px 20px;
}

.warr-highlight__value {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: #002c5f;
  line-height: 1.1;
}

.warr-highlight__or {
  font-size: 1.1rem;
  font-weight: 600;
  color: #607385;
  text-transform: lowercase;
}

.warr-highlight__note {
  margin: 18px 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #002c5f;
}

.warr-highlight__intro {
  margin: 28px auto 0;
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #4a5f73;
}

.warr-benefits {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
}

.warr-benefit h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
  color: #002c5f;
  line-height: 1.35;
}

.warr-benefit p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #4a5f73;
}

.warr-section {
  padding: 56px 0;
  background: #ffffff;
}

.warr-section--alt {
  background: #f5f8fc;
}

.warr-section__inner {
  max-width: 780px;
}

.warr-section__title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: #002c5f;
  line-height: 1.25;
}

.warr-section__text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.8;
  color: #4a5f73;
  max-width: 720px;
}

.warr-checklist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.warr-checklist li {
  position: relative;
  padding-inline-start: 28px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.65;
  color: #253545;
}

.warr-checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #002c5f;
  transform: translateY(-50%) rotate(45deg);
}

.warr-cta {
  padding: 64px 0 88px;
  background: #ffffff;
  border-top: 1px solid #e4ebf2;
}

.warr-cta__inner {
  max-width: 720px;
}

.warr-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

@media (max-width: 992px) {
  .warr-hero__content {
    margin-right: 28px;
    width: min(100%, 460px);
  }

  html[dir="rtl"] .warr-hero__content {
    margin-left: 28px;
  }
}

@media (max-width: 768px) {
  .warr-hero,
  .warr-hero.hero-section {
    min-height: 70vh;
    padding-bottom: 48px;
    align-items: flex-end;
  }

  .warr-hero__bg {
    background-position: center center;
  }

  .warr-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 47, 69, 0.1) 0%,
      rgba(255, 255, 255, 0.55) 52%,
      rgba(255, 255, 255, 0.94) 86%
    );
  }

  html[dir="rtl"] .warr-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(26, 47, 69, 0.1) 0%,
      rgba(255, 255, 255, 0.55) 52%,
      rgba(255, 255, 255, 0.94) 86%
    );
  }

  .warr-hero__content {
    margin: 0;
    padding: 20px 24px 0;
    width: 100%;
    max-width: 100%;
  }

  .warr-hero__title {
    font-size: 30px;
  }

  .warr-hero__desc {
    font-size: 15px;
    max-width: 100%;
  }

  .warr-highlight {
    padding: 52px 0;
  }

  .warr-highlight__stat {
    flex-direction: column;
    gap: 8px;
  }

  .warr-cta__actions .btn {
    width: 100%;
  }
}

/* About Us page */
@font-face {
  font-family: "Hyundai Sans Text";
  src: url("fonts/HyundaiSansText-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hyundai Sans Text";
  src: url("fonts/HyundaiSansText-Medium.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Hyundai Sans Text";
  src: url("fonts/HyundaiSansText-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.about-page-body {
  overflow-x: hidden;
}

html[lang="en"] .about-page-body,
html[lang="en"] .about-page-body .about-page {
  font-family: "Hyundai Sans Text", var(--font-en);
}

html[lang="ar"] .about-page-body,
html[lang="ar"] .about-page-body .about-page {
  font-family: "Noto Kufi Arabic", var(--font-ar);
}

.about-page {
  padding: 0;
}

.about-section-title {
  margin: 0 0 20px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  color: #002c5f;
  line-height: 1.25;
}

.about-section-title--center {
  text-align: center;
}

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

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

/* Hero */
.about-hero,
.about-hero.hero-section {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background-color: #e8edf2;
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 44, 95, 0.08) 0%,
    rgba(255, 255, 255, 0.35) 45%,
    rgba(255, 255, 255, 0.88) 100%
  );
}

html[dir="rtl"] .about-hero__overlay {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.62) 38%,
    rgba(255, 255, 255, 0.18) 68%,
    transparent 100%
  );
}

html[dir="ltr"] .about-hero__overlay {
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.62) 38%,
    rgba(255, 255, 255, 0.18) 68%,
    transparent 100%
  );
}

.about-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 520px);
  max-width: 520px;
  margin-right: clamp(28px, 6vw, 88px);
  margin-left: auto;
  padding: 48px 24px 64px;
  text-align: right;
  opacity: 0;
  transform: translateY(18px);
  animation: maintHeroFadeUp 0.85s ease forwards;
  isolation: isolate;
}

.about-hero__content::before {
  content: "";
  position: absolute;
  inset: -12px -20px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 95% 110% at 100% 50%,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(255, 255, 255, 0.48) 48%,
    transparent 78%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.about-hero__title {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.22;
  color: #002c5f;
  letter-spacing: -0.01em;
}

.about-hero__subtitle {
  margin: 0;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 500;
  line-height: 1.65;
  color: #4a5f73;
}

/* Logo showcase */
.about-logo {
  padding: clamp(56px, 8vw, 96px) 0;
  background: #ffffff;
}

.about-logo__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.about-logo__img {
  width: min(100%, 280px);
  height: auto;
  object-fit: contain;
}

.about-logo__line {
  display: block;
  width: 48px;
  height: 2px;
  margin: 28px auto 20px;
  background: linear-gradient(90deg, transparent, #002c5f, transparent);
}

.about-logo__tagline {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #607385;
}

/* Intro split */
.about-intro {
  padding: clamp(64px, 9vw, 110px) 0;
  background: #f5f8fc;
}

.about-intro__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.about-intro__text p {
  margin: 0 0 18px;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #4a5f73;
}

.about-intro__text p:last-child {
  margin-bottom: 0;
}

.about-intro__media {
  overflow: hidden;
}

.about-intro__media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}

/* Vision & Mission */
.about-vm {
  padding: clamp(64px, 8vw, 96px) 0;
  background: #ffffff;
}

.about-vm__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.about-vm__card {
  padding: clamp(32px, 4vw, 44px);
  border-top: 3px solid #002c5f;
  background: #f9fbfd;
}

.about-vm__heading {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #002c5f;
}

.about-vm__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #4a5f73;
}

/* What we offer */
.about-offer {
  padding: clamp(64px, 8vw, 100px) 0;
  background: #f5f8fc;
}

.about-offer__grid {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #dce4ec;
  border: 1px solid #dce4ec;
}

.about-offer__item {
  padding: 28px 24px;
  background: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.55;
  color: #253545;
  transition: background 0.25s ease, color 0.25s ease;
}

.about-offer__item:hover {
  background: #002c5f;
  color: #ffffff;
}

/* Network */
.about-network {
  background: #ffffff;
}

.about-network__banner {
  position: relative;
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.about-network__banner img {
  display: block;
  width: 100%;
  height: clamp(220px, 38vw, 420px);
  object-fit: cover;
  object-position: center;
}

.about-network__banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 44, 95, 0.35) 100%);
  pointer-events: none;
}

.about-network__content {
  padding: clamp(48px, 7vw, 80px) 24px;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
}

.about-network__stat {
  margin: 8px 0 0;
  font-size: clamp(4rem, 12vw, 6.5rem);
  font-weight: 800;
  line-height: 1;
  color: #002c5f;
  letter-spacing: -0.03em;
}

.about-network__stat-label {
  margin: 4px 0 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #607385;
}

.about-network__text {
  margin: 0 auto 28px;
  max-width: 680px;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #4a5f73;
}

.about-network__cities {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.about-network__cities li {
  padding: 10px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #002c5f;
  border: 1px solid #c5d4e4;
  background: #f9fbfd;
}

/* Community */
.about-community {
  padding: clamp(64px, 9vw, 110px) 0;
  background: #f5f8fc;
}

.about-community__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.about-community__media img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 480px;
  object-fit: cover;
}

.about-community__content p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.85;
  color: #4a5f73;
}

html[dir="rtl"] .about-community__inner {
  direction: rtl;
}

/* Finale */
.about-finale {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 120px) 0;
  overflow: hidden;
}

.about-finale__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-finale__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 44, 95, 0.88) 0%,
    rgba(0, 44, 95, 0.72) 50%,
    rgba(0, 44, 95, 0.82) 100%
  );
}

.about-finale__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  text-align: center;
  margin-inline: auto;
}

.about-finale__title {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.about-finale__text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 992px) {
  .about-intro__inner,
  .about-community__inner {
    grid-template-columns: 1fr;
  }

  .about-vm__grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .about-hero,
  .about-hero.hero-section {
    min-height: 68vh;
    align-items: flex-end;
  }

  .about-hero__bg {
    background-position: center 30%;
  }

  .about-hero__content {
    margin: 0;
    padding: 24px 24px 48px;
    width: 100%;
    max-width: 100%;
    text-align: right;
  }

  .about-hero__content::before {
    inset: -8px -12px;
  }

  .about-logo {
    padding: 48px 0;
  }

  .about-logo__img {
    width: min(100%, 220px);
  }

  .about-intro__media img,
  .about-community__media img {
    min-height: 240px;
    max-height: 320px;
  }

  .about-offer__grid {
    grid-template-columns: 1fr;
  }

  .about-network__cities {
    flex-direction: column;
    align-items: center;
  }

  .about-finale {
    min-height: auto;
  }

  .about-reveal {
    transform: translateY(14px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__content {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .about-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* News pages */
.news-page-body {
  overflow-x: hidden;
}

html[lang="en"] .news-page-body,
html[lang="en"] .news-page-body .news-page,
html[lang="en"] .news-page-body .news-detail-page {
  font-family: "Hyundai Sans Text", var(--font-en);
}

html[lang="ar"] .news-page-body,
html[lang="ar"] .news-page-body .news-page,
html[lang="ar"] .news-page-body .news-detail-page {
  font-family: "Noto Kufi Arabic", var(--font-ar);
}

.news-page,
.news-detail-page {
  padding: 0;
}

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

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

.news-hero {
  padding: clamp(72px, 12vw, 120px) 0 clamp(48px, 8vw, 72px);
  background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
  border-bottom: 1px solid #e4ebf2;
}

.news-hero__inner {
  max-width: 720px;
}

.news-hero__eyebrow {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #607385;
}

.news-hero__title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #002c5f;
}

.news-hero__subtitle {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4a5f73;
  max-width: 560px;
}

.news-listing {
  padding: clamp(48px, 8vw, 80px) 0 clamp(72px, 10vw, 100px);
  background: #ffffff;
}

.news-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 32px);
}

.news-card {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e8edf2;
}

.news-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.news-card__link:hover .news-card__media img {
  transform: scale(1.05);
}

.news-card__body {
  padding: 22px 0 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #002c5f;
}

.news-card__excerpt {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4a5f73;
  flex: 1;
}

.news-card__date {
  display: block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #607385;
}

.news-card__more {
  font-size: 0.9rem;
  font-weight: 700;
  color: #002c5f;
}

.news-card__link:hover .news-card__more {
  text-decoration: underline;
}

/* News detail */
.news-detail-hero {
  position: relative;
  background: #1a2f45;
}

.news-detail-hero__media {
  max-height: 56vh;
  overflow: hidden;
}

.news-detail-hero__media img {
  display: block;
  width: 100%;
  height: clamp(280px, 50vh, 520px);
  object-fit: cover;
}

.news-detail-hero__content {
  padding: clamp(32px, 5vw, 48px) 24px;
  background: #ffffff;
  border-bottom: 1px solid #e4ebf2;
}

.news-detail-hero__category {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #002c5f;
}

.news-detail-hero__title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: #002c5f;
}

.news-detail-hero__date {
  font-size: 0.95rem;
  font-weight: 600;
  color: #607385;
}

.news-detail-body {
  padding: clamp(40px, 6vw, 64px) 24px clamp(72px, 8vw, 96px);
}

.news-detail-body__text p {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #4a5f73;
  max-width: 780px;
}

.news-detail-body__text p:last-child {
  margin-bottom: 0;
}

.news-gallery {
  margin-top: 48px;
}

.news-gallery__title {
  margin: 0 0 24px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #002c5f;
}

.news-gallery__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news-gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.news-gallery__item img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.news-gallery__item:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

/* Single-image news article (no gallery grid) */
.news-single-image {
  margin-top: clamp(40px, 6vw, 56px);
  padding: clamp(36px, 6vw, 64px) 0;
  background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 100%);
  border-top: 1px solid #e4ebf2;
  border-bottom: 1px solid #e4ebf2;
}

.news-single-image__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.news-single-image__title {
  margin: 0 0 clamp(20px, 3vw, 28px);
  font-size: 1.35rem;
  font-weight: 700;
  color: #002c5f;
}

.news-single-image__frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  max-height: min(82vh, 920px);
  padding: clamp(16px, 3vw, 36px);
  background: #ffffff;
  border: 1px solid #e4ebf2;
  box-shadow: 0 12px 40px rgba(0, 44, 95, 0.06);
}

.news-single-image__frame img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 880px);
  width: auto;
  height: auto;
  object-fit: contain;
}

.news-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 48px;
}

.news-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 20, 45, 0.92);
}

.news-lightbox[hidden] {
  display: none !important;
}

.news-lightbox__img {
  max-width: min(100%, 1100px);
  max-height: 85vh;
  object-fit: contain;
}

.news-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

html[dir="rtl"] .news-lightbox__close {
  right: auto;
  left: 24px;
}

body.news-lightbox-open {
  overflow: hidden;
}

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

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

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

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

  .news-detail-actions .btn {
    width: 100%;
    text-align: center;
  }

  .news-single-image__frame {
    max-height: min(72vh, 640px);
    padding: 12px 10px;
  }

  .news-single-image__frame img {
    max-height: min(68vh, 600px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .news-card__media img,
  .news-gallery__item img {
    transition: none;
  }
}
