/*
  MAZDA 2025 Base Styles (BEM)
*/

@font-face {
  font-family: "MazdaTypeViet";
  src: url("../font/mazdatypeviet-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MazdaTypeViet";
  src: url("../font/mazdatypeviet-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MazdaTypeViet";
  src: url("../font/mazdatypeviet-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables */
:root {
  --color-bg: #041429;
  --color-text-white: #ffffff;
  --color-text-black: #0a0a0a;
  --color-gray: #999999;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;
  --space-11: 80px;
  --space-12: 96px;

  --radius-2: 8px;
  --radius-3: 12px;

  --container: 1440px;

  /* Font size, line height */
  --fs-48: 48px;
  /* 48px (120%) */
  --lh-48-120: 120%;

  --fs-32: 32px;
  /* 32px (140%) */
  --lh-32-140: 140%;

  --fs-24: 24px;
  /* 24px (140%) */
  --lh-24-140: 140%;

  --fs-20: 20px;
  /* 20px (30px) */
  --lh-20-30: 30px;

  --fs-18: 18px;
  /* 18px (26px) */
  --lh-18-26: 26px;

  --fs-16: 16px;
  /* 16px (26px) */
  --lh-16-26: 26px;

  --fs-14: 14px;
  /* 14px (100% / 22px) */
  --lh-14-100: 100%;
  --lh-14-22: 22px;

  --fs-12: 12px;
  /* 12px */
  --lh-12-18: 18px;

  /* Font weight */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
}

/* Layout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "MazdaTypeViet", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
  box-sizing: border-box;
}

/* Banner */
.banner {
  position: relative;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.header--scrolled {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header.header--menu-active {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header.header--menu-active .header__link,
.header.header--menu-active .header__search {
  color: var(--color-text-black);
}

.header.header--menu-active .header__link::after {
  background: var(--color-text-black);
}

.header.header--menu-active .header__logo-img--desktop {
  filter: brightness(0);
  width: 35px;
  height: 35px;
}

.header.header--scrolled .header__link {
  color: var(--color-text-black);
}

.header.header--scrolled .header__link::after {
  background: var(--color-text-black);
}

.header.header--scrolled .header__search {
  color: var(--color-text-black);
}

.header.header--scrolled .header__logo-img--desktop {
  filter: brightness(0);
  width: 35px;
  height: 35px;
}

@media (hover: hover) and (pointer: fine) {
  .header:hover {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .header:hover .header__link {
    color: var(--color-text-black);
  }

  .header:hover .header__link::after {
    background: var(--color-text-black);
  }

  .header:hover .header__search {
    color: var(--color-text-black);
  }

  .header:hover .header__logo-img--desktop {
    filter: brightness(0);
  }
}

.header,
.header__logo,
.header__link,
.header__search {
  cursor: pointer;
}

.header__bar {
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--color-text-white);
  position: relative;
}

.header__menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  z-index: 1001;
  justify-self: start;
  grid-column: 1;
  color: var(--color-text-white);
  transition: color 0.3s ease;
}

.header__menu-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 18px;
}

.header__menu-icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: all 0.3s ease;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon span:nth-child(2) {
  opacity: 0;
}

.header__menu-toggle[aria-expanded="true"] .header__menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.header.header--scrolled .header__menu-toggle,
.header.header--menu-active .header__menu-toggle {
  color: var(--color-text-black);
}

.header__group {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header__group--left {
  justify-self: start;
  width: 632.49px;
  height: 88px;
  display: flex;
  align-items: center;
}

.header__group--right {
  justify-self: end;
  width: 632.49px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-5);
}

.header__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.header__logo-img {
  display: block;
  transition: filter 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.header__logo-img--desktop {
  width: 70px;
  height: 65px;
}

.header__logo-text {
  display: none;
  font-size: 24px;
  font-weight: var(--fw-bold);
  letter-spacing: 4px;
  color: var(--color-text-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.header.header--scrolled .header__logo-text {
  color: var(--color-text-black);
}

.header.header--menu-active .header__logo-text {
  color: var(--color-text-black);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav--left {
  width: 522px;
  height: 42px;
  justify-content: space-between;
}

.header__nav--right {
  display: flex;
  width: 314px;
  height: 38px;
  align-items: center;
  justify-content: space-between;
}

.header__link {
  color: var(--color-text-white);
  text-decoration: none;
  font-size: var(--fs-16);
  line-height: var(--lh-14-22);
  position: relative;
  font-weight: var(--fw-bold);
  transition: color 0.3s ease;
}

.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--color-text-white);
  transition: width 0.25s ease;
}

.header__link:hover::after {
  width: 100%;
}

/* Mega Menu */
.header__item--has-mega {
  height: 100%;
  display: flex;
  align-items: center;
}

.header__mega-menu {
  position: fixed;
  /* Changed from absolute to fixed to stretch full screen */
  top: 88px;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  color: var(--color-text-black);
  padding: var(--space-8) 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
  cursor: default;
  border-top: 1px solid #eee;
}

.header__item--has-mega:hover .header__mega-menu {
  opacity: 1;
  visibility: visible;
}

.header__mega-container {
  display: flex;
  justify-content: center;
  max-width: 100%;
  /* Override container to allow columns to fit */
  gap: 0;
}

.header__mega-col {
  display: flex;
  flex-direction: column;
  width: 500px;
  height: auto;
  min-height: 500px;
  gap: 16px;
  padding: 36px;
  box-sizing: border-box;
  border-right: 1px solid #D4D4D4;
}

.header__mega-col:last-child {
  padding-right: 36px;
  border-right: none;
}

.header__mega-title {
  width: 428px;
  font-family: "MazdaTypeViet";
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0px;
  vertical-align: middle;
  text-transform: uppercase;
  margin: 0;
  color: var(--color-text-black);
}

.header__mega-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 428px;
  height: 169px;
  gap: 16px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.header__mega-list a {
  color: var(--color-text-black);
  text-decoration: none;
  font-size: var(--fs-16);
  font-weight: var(--fw-regular);
  transition: all 0.3s ease;
  padding-bottom: 0;
  border-bottom: 1px solid transparent;
  width: 428px;
  height: 26px;
  line-height: 26px;
  display: block;
}

.header__mega-list a:hover {
  color: var(--color-text-black);
  border-bottom-color: var(--color-text-black);
}

.header__mega-img {
  width: 428px;
  height: 169px;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  flex-shrink: 0;
}

.header__mega-col:nth-child(3) .header__mega-img {
  width: 428px;
  height: 284px;
}

.header__mega-desc {
  width: 428px;
  height: auto;
  font-family: "MazdaTypeViet";
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0px;
  vertical-align: middle;
  color: var(--color-text-black);
  margin: 0;
  overflow: visible;
  display: block;
}

.header__mega-action {
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  color: var(--color-text-black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--color-text-black);
  align-self: flex-start;
  transition: opacity 0.3s ease;
  width: 101px;
  height: 30px;
  padding-top: 4px;
  padding-bottom: 4px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-top: auto;
}

.header__mega-action:hover {
  opacity: 0.7;
}

.header__search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--color-text-white);
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
}

.header__search svg {
  width: 18px;
  height: 18px;
}

.header__search:hover {
  background: rgba(255, 255, 255, 0.1);
}

.header__mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #f5f5f5;
  z-index: 1002;
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.header__mobile-menu[aria-hidden="false"] {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.header__mobile-menu-inner {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-panels-wrapper {
  display: flex;
  width: 100%;
  flex: 1;
  min-height: 0;
  transition: transform 0.3s ease;
}

.mobile-panels-wrapper.is-submenu-active {
  transform: translateX(-100%);
}

.mobile-panel {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #f5f5f5;
}

.header__mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 393px;
  max-width: 100%;
}

.header__mobile-item {
  border-bottom: 1px solid #D4D4D4;
}

.header__mobile-link {
  color: #000;
  text-decoration: none;
  font-size: var(--fs-14);
  font-weight: var(--fw-semibold);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 393px;
  max-width: 100%;
  height: 52px;
  gap: 8px;
  background: none;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  box-sizing: border-box;
}

.header__mobile-toggle-icon {
  width: 8px;
  height: 14px;
  background: url('data:image/svg+xml;utf8,<svg width="8" height="14" viewBox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 13L7 7L1 1" stroke="%23000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center;
  background-size: contain;
}

.mobile-panel__header {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid #e5e5e5;
}

.mobile-panel__header--main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 393px;
  max-width: 100%;
  height: 64px;
  background: #fff;
  padding: 0 16px;
  border-bottom: 1px solid #D4D4D4;
  box-sizing: border-box;
}

.mobile-panel__close {
  background: none;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-panel__logo-text {
  width: 88px;
  height: 34px;
  font-family: "MazdaTypeViet";
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #0A0A0A;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-panel__back {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-12);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  color: #000;
  cursor: pointer;
  padding: 0;
}

.mobile-panel__back svg {
  width: 16px;
  height: 16px;
}

.mobile-panel__content {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-panel__section:not(:first-child) {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: var(--space-6);
}

.mobile-panel__section-title {
  width: 345px;
  height: 12px;
  font-family: "MazdaTypeViet";
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
  color: #0A0A0A;
  margin: 0;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.mobile-panel__list {
  list-style: none;
  width: 345px;
  padding: 8px 0;
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

.mobile-panel__list a {
  text-decoration: none;
  color: #0A0A0A;
  font-family: "MazdaTypeViet";
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  width: 345px;
  height: 26px;
  display: flex;
  align-items: center;
}

.mobile-panel__card {
  margin-top: 16px;
}

.mobile-panel__card-img {
  width: 345px;
  height: 169px;
  object-fit: cover;
  margin-bottom: 16px;
  display: block;
}

.mobile-panel__card-desc {
  width: 345px;
  height: 72px;
  font-family: "MazdaTypeViet";
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  color: #0A0A0A;
  margin: 0 0 16px 0;
}

.mobile-panel__card-link {
  width: 94px;
  height: 30px;
  font-family: "MazdaTypeViet";
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0A0A0A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #0A0A0A;
  padding: 4px 0;
  box-sizing: border-box;
}

.banner {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  isolation: isolate;
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;

  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
  pointer-events: none;
}

.banner[data-covered="true"]::after {
  opacity: 1;
}

.banner__slider {
  width: 100%;
  height: 100%;
}

.banner__inner {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.25) 55%,
      rgba(0, 0, 0, 0.65) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.65) 80%);
  z-index: 1;
}

.banner__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-6);
  color: var(--color-text-white);
  text-align: center;
}

.banner__content-inner {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

.banner__kicker {
  margin: 0;
  font-size: var(--fs-16);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.8);
}

.banner__title {
  margin: 0;
  font-size: var(--fs-48);
  line-height: var(--lh-48-120);
  font-weight: var(--fw-semibold);
}

.banner__subtitle {
  margin: 0;
  font-size: var(--fs-18);
  line-height: var(--lh-18-26);
  max-width: 540px;
  color: rgba(255, 255, 255, 0.9);
}

.banner__nav {
  position: absolute;
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(4, 20, 41, 0.4);
  color: var(--color-text-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.banner__nav::before {
  content: "";
  width: 14px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.banner__nav--prev {
  left: var(--space-7);
  transform: translateY(-50%);
}

.banner__nav--prev::before {
  transform: rotate(-135deg);
}

.banner__nav--next {
  right: var(--space-4);
  transform: translateY(-50%);
}

.banner__nav:hover {
  background: rgba(4, 20, 41, 0.75);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-50%) scale(1.05);
}

.banner__pagination {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.banner__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  opacity: 1;
  margin: 0 var(--space-1) !important;
  transition: width 0.3s ease, background 0.3s ease;
}

.banner__pagination .swiper-pagination-bullet-active {
  width: 36px;
  border-radius: 999px;
  background: #fff;
}

/* Banner CTA Button */
.banner__cta-wrapper {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4) var(--space-9);
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-text-black);
  text-decoration: none;
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-2);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.banner__cta-button:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.banner__cta-button:active {
  transform: translateY(0);
}

/* Quick actions */
.quick-actions {
  position: relative;
  margin-top: 0;
  padding: var(--space-11) var(--space-6) var(--space-12);
  z-index: 5;
  background: #fff;
  transition: margin-top 0.3s ease, padding-top 0.3s ease, background 0.3s ease;
}


.quick-actions__panel {
  position: relative;
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: var(--space-6);
  border-radius: var(--radius-3);
  border: 1px solid rgba(10, 10, 10, 0.08);
  box-shadow: 0 30px 80px rgba(4, 20, 41, 0.15);
  background: rgba(255, 255, 255, 0.98);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.quick-actions__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-1);
}

.quick-actions__item {
  display: grid;
  place-items: center;
  gap: var(--space-4);
  min-height: 145px;
  background: rgba(69, 92, 112, 0.08);
  border: 1px solid rgba(4, 20, 41, 0.08);
  color: var(--color-text-black);
  text-align: center;
  padding: var(--space-5) 0;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.quick-actions__item:hover {
  background: #040404;
  border-color: #040404;
  color: #fff;
  transform: translateY(-4px);
}

.quick-actions__icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.quick-actions__item:hover .quick-actions__icon {
  filter: brightness(0) invert(1);
}

.quick-actions__text {
  font-size: var(--fs-14);
  line-height: var(--lh-14-22);
  letter-spacing: 0.02em;
  font-weight: var(--fw-semibold);
  transition: color 0.3s ease;
}

.quick-actions__item:hover .quick-actions__text {
  color: #fff;
}

@media (max-width: 1024px) {
  .quick-actions {
    margin-top: 0;
    padding: var(--space-11) var(--space-4) var(--space-10);
  }

  .quick-actions__panel {
    width: calc(100% - 32px);
  }

  .quick-actions__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


}

@media (max-width: 640px) {
  .quick-actions {
    padding: var(--space-8) var(--space-4) var(--space-8);
  }

  .quick-actions__grid {
    grid-template-columns: 1fr;
  }

}

/* Scroll Indicator */
.banner__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 90%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-white);
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease;
  z-index: 5;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.banner__scroll-indicator[data-visible="false"] {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  pointer-events: none;
}

.banner__scroll-indicator svg {
  width: 100%;
  height: 100%;
}

.banner__scroll-indicator svg path {
  animation: scrollSlideDown 2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes scrollSlideDown {
  0% {
    transform: translateY(-8px);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  50% {
    transform: translateY(6px);
    opacity: 1;
  }

  70% {
    opacity: 0;
  }

  100% {
    transform: translateY(-8px);
    opacity: 0;
  }
}

.banner__scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.15);
  background: rgba(255, 255, 255, 0.2);
}

.banner__scroll-indicator:active {
  transform: translateX(-50%) scale(0.95);
}

.banner__scroll-indicator--clicked {
  animation: scrollIndicatorClick 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scrollIndicatorClick {
  0% {
    transform: translateX(-50%) scale(1);
    background: rgba(255, 255, 255, 0.1);
  }

  50% {
    transform: translateX(-50%) scale(0.85);
    background: rgba(255, 255, 255, 0.3);
  }

  100% {
    transform: translateX(-50%) scale(1);
    background: rgba(255, 255, 255, 0.1);
  }
}

/* Mirai Base */
.mirai {
  background: #fff;
}

.mirai__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-12) 0;
}

.mirai__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
}

.mirai__titles {
  max-width: 680px;
}

.mirai__title {
  font-size: var(--fs-32);
  line-height: var(--lh-32-140);
  font-weight: var(--fw-medium);
  color: var(--color-text-black);
  margin: 0 0 var(--space-2);
}

.mirai__subtitle {
  margin: 0;
  font-size: var(--fs-16);
  line-height: var(--lh-16-26);
  color: var(--color-gray);
  font-weight: var(--fw-regular);
}

.mirai__header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.mirai__controls {
  display: flex;
  justify-content: center;
  margin-top: var(--space-6);
}

.mirai__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--color-text-black);
  color: var(--color-text-black);
  font-size: var(--fs-14);
  line-height: var(--lh-16-26);
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.mirai__cta:hover {
  background: var(--color-text-black);
  color: var(--color-text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mirai__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--color-text-black);
  transition: background 0.3s ease, transform 0.3s ease;
}

.mirai__cta:hover .mirai__cta-icon {
  background: transparent;
  color: currentColor;
  transform: translateX(4px);
}

.mirai__swiper-wrapper {
  position: relative;
  overflow: hidden;
}

.mirai__swiper {
  overflow: hidden;
}

.mirai__slide {
  height: auto;
}

.mirai__card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  width: 100%;
  max-width: 417px;
  height: 440px;
  margin: 0 auto;
}

.mirai__image-link {
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 417px;
  margin: 0 auto;
}

.mirai__image {
  width: 100%;
  height: 320px;
  max-width: 417px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mirai__image-link:hover .mirai__image {
  transform: scale(1.05);
}

.mirai__card-title {
  margin: 0;
  font-size: var(--fs-24);
  line-height: var(--lh-18-26);
  color: var(--color-text-black);
  font-weight: var(--fw-medium);
}

.mirai__navigation {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  position: relative;
  z-index: 10;
}

.mirai__nav-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  color: var(--color-text-black);
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  visibility: visible !important;
  opacity: 1 !important;
}

.mirai__nav-btn:hover {
  background: #0a0a0a;
  color: var(--color-text-white);
  border-color: #0a0a0a;
  transform: scale(1.1);
}

.mirai__nav-btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.mirai__nav-btn svg {
  width: 20px;
  height: 20px;
}

/* Showroom */
.showroom {
  position: relative;
  color: var(--color-text-black);
}

.showroom__inner {
  position: relative;
  /* height: 900px; */
}

.showroom__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showroom__overlay {
  position: absolute;
  inset: 0;
}

.showroom__header {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 600px;
}

.showroom__title {
  font-size: var(--fs-32);
  line-height: var(--lh-32-140);
  font-weight: var(--fw-medium);
  margin-bottom: var(--space-4);
}

.showroom__subtitle {
  font-size: var(--fs-18);
  line-height: var(--lh-16-26);
  font-weight: var(--fw-regular);
}

.showroom__cta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 60px;
}

.showroom__btn {
  display: inline-flex;
  padding: 11px 16px;
  background: #00142a;
  color: #fff;
  text-decoration: none;
  font-size: var(--fs-18);
  border-radius: 999px;
  gap: var(--space-2);
  transition: all 0.3s ease;
  align-items: center;
}

.showroom__btn+span {
  margin-left: 8px;
}

.showroom__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--color-text-white);
  transition: background 0.3s ease;
}

.showroom__btn:hover {
  background: rgba(79, 91, 105, 1);
}

/* Car Lineup */
.carlineup {
  background: rgba(0, 20, 42, 1);
  overflow-x: hidden;
  width: 100%;
}

.carlineup__inner {
  padding: var(--space-12) var(--space-6);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.carlineup__title {
  font-size: var(--fs-32);
  line-height: var(--lh-32-140);
  font-weight: var(--fw-medium);
  color: var(--color-text-white);
  text-align: center;
  margin: 64px 0 56px;
}

.carlineup__filters {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin: 0 0 var(--space-6);
  padding: 0 0 var(--space-4);
  list-style: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.carlineup__filters li {
  margin: 0;
  padding: 0;
}

.carlineup__filter {
  display: block;
  background: none;
  border: none;
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
  color: var(--color-text-white);
  text-decoration: none;
  cursor: pointer;
  padding: var(--space-2) 0;
  position: relative;
  transition: all 0.3s ease;
  font-family: inherit;
}

.carlineup__filter::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-text-white);
  transition: width 0.3s ease;
}

.carlineup__filter[data-active="true"]::after {
  width: 100%;
}

.carlineup__filter:hover {
  opacity: 0.7;
}

.carlineup__swiper-wrapper {
  position: relative;
  overflow: hidden;
  margin-left: calc(-1 * var(--space-6));
  margin-right: calc(-1 * var(--space-6));
  padding-left: var(--space-6);
  padding-right: var(--space-6);
  width: calc(100% + 2 * var(--space-6));
  max-width: 100vw;
  box-sizing: border-box;
}

.carlineup__swiper {
  overflow: hidden;
  padding-bottom: var(--space-6);
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  margin: 0;
}

.carlineup__swiper .swiper-wrapper {
  margin-right: 0 !important;
  padding-right: 0 !important;
  display: flex;
  align-items: stretch;
}

.carlineup__swiper .swiper-wrapper::after {
  display: none !important;
  content: none !important;
}

.carlineup__swiper .swiper-wrapper::before {
  display: none !important;
  content: none !important;
}

/* .carlineup__swiper .swiper-slide {
  height: auto;
  flex-shrink: 0;
  box-sizing: border-box;
} */

.carlineup__slide {
  height: auto;
  width: 100%;
  max-width: 420px;
  flex-shrink: 0;
  box-sizing: border-box;
}

.carlineup__card {
  position: relative;
  overflow: hidden;
}

.carlineup__image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 135.78%;
  overflow: hidden;
  background: #f5f5f5;
}

.carlineup__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.carlineup__image--hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.carlineup__card:hover .carlineup__image--default {
  opacity: 0;
}

.carlineup__card:hover .carlineup__image--hover {
  opacity: 1;
}

.carlineup__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-6) var(--space-5);
  z-index: 10;
  pointer-events: none;
  box-sizing: border-box;
}

.carlineup__overlay-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.carlineup__subtitle-overlay {
  font-size: var(--fs-16);
  line-height: var(--lh-14-22);
  color: var(--color-text-white);
  margin-top: 6px;
  font-weight: var(--fw-regular);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.carlineup__name-overlay {
  font-size: var(--fs-20);
  line-height: var(--lh-24-140);
  font-weight: var(--fw-semibold);
  color: var(--color-text-white);
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.carlineup__overlay-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-self: flex-end;
}

.carlineup__divider {
  width: 100%;
  height: 1px;
  background: var(--color-text-white);
  opacity: 1;
  margin-bottom: var(--space-2);
}

.carlineup__actions-overlay {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: var(--space-4);
  flex-wrap: wrap;
  position: relative;
  z-index: 11;
}

.carlineup__link-overlay {
  color: var(--color-text-white) !important;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  font-size: var(--fs-14);
  line-height: var(--lh-14-22);
  font-weight: var(--fw-medium);
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  display: inline-block;
  visibility: visible;
  opacity: 1;
}

.carlineup__link-overlay:hover {
  opacity: 0.8;
}

.carlineup__navigation {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.carlineup__nav-btn {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 1);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.carlineup__empty {
  color: var(--color-text-white);
  margin: 0 auto;
}

.carlineup__nav-btn svg {
  width: 16px;
  height: 16px;
  color: rgba(0, 20, 42, 1);
}

/* Local */
.local {
  background: #fff;
}

.local__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: var(--space-12) 0;
}

.local__content {
  max-width: 383px;
}

.local__title {
  font-size: var(--fs-24);
  line-height: var(--lh-24-140);
  font-weight: var(--fw-medium);
  margin: 0 0 var(--space-4);
}

.local__text {
  font-size: var(--fs-16);
  line-height: var(--lh-16-26);
  margin-bottom: var(--space-6);
}

.local__link {
  display: inline-block;
  font-size: var(--fs-16);
  line-height: var(--lh-14-22);
  color: var(--color-text-black);
  text-decoration: none;
  border-bottom: 1px solid var(--color-text-black);
  padding-bottom: 2px;
  font-weight: var(--fw-medium);
}

.local__image {
  width: 100%;
  max-width: 585px;
  height: auto;
  display: block;
}

/* Special Offers */
.offers {
  background: #fff;
  margin: 64px 0 56px;
}

.offers__inner {
  display: flex;
  flex-direction: column;
}

.offers__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--space-6);
  margin-bottom: var(--space-4);
}

.offers__title {
  font-size: var(--fs-32);
  line-height: var(--lh-32-140);
  font-weight: var(--fw-medium);
  color: var(--color-text-black);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.offers__pagination {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: var(--fs-24);
  font-weight: var(--fw-medium);
  color: var(--color-text-black);
}

.offers__pagination-separator {
  margin: 0 4px;
}

.offers__swiper-wrapper {
  position: relative;
  width: 100%;
  padding: 0 var(--space-6);
}

.offers__swiper {
  overflow: hidden;
  width: 100%;
}

.offers__slide {
  width: 100%;
  height: auto;
}

.offers__card {
  overflow: hidden;
  background: #fff;
  width: 100%;
}

.offers__banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.offers__banner-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.offers__banner-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}

.offers__actions {
  margin-top: 40px;
  background: #fff;
}

.offers__actions-text {
  font-size: var(--fs-24);
  line-height: var(--lh-24-140);
  color: var(--color-text-black);
  margin-bottom: 40px;
  font-weight: var(--fw-semibold);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.offers__buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
}

.offers__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-size: var(--fs-16);
  line-height: var(--lh-16-26);
  font-weight: var(--fw-medium);
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
  min-width: 200px;
}

.offers__btn--primary {
  background: #0a0a0a;
  color: var(--color-text-white);
  border: none;
}

.offers__btn--primary:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.offers__btn--secondary {
  background: #fff;
  color: var(--color-text-black);
  border: 1px solid var(--color-text-black);
}

.offers__btn--secondary:hover {
  background: #f5f5f5;
  border-color: var(--color-text-black);
}

.offers__navigation {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.offers__nav-btn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  color: var(--color-text-black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.offers__nav-btn:hover {
  background: #0a0a0a;
  color: var(--color-text-white);
  border-color: #0a0a0a;
  transform: scale(1.1);
}

.offers__nav-btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.offers__nav-btn svg {
  width: 20px;
  height: 20px;
}

/* Ownership Header */
.ownership-header {
  background: #fff;
  padding: 0;
}

.ownership-header__inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1300px;
  box-sizing: border-box;
  padding: 32px 160px;
  gap: 16px;
  margin: 0 auto;
}

.ownership-header__title {
  width: 980px;
  height: 58px;
  font-family: "MazdaTypeViet";
  font-weight: 500;
  font-size: 48px;
  line-height: 120%;
  letter-spacing: -0.02em;
  text-align: center;
  vertical-align: middle;
  color: #00142A;
  margin: 0;
}

.ownership-title-break {
  display: none;
}

.ownership-header__text {
  width: 980px;
  height: 52px;
  font-family: "MazdaTypeViet";
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color: #00142A;
  margin: 0;
}

/* Ownership Content */

.ownership-content__inner {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

.ownership-content__blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.ownership-content.container {
  max-width: calc(2 * 744px + 12px + var(--space-6) * 2);
  margin-bottom: var(--space-12);
}

.ownership-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: #000;
}

.ownership-card--large {
  grid-column: span 2;
  height: 383.18px;
}

.ownership-card--small {
  grid-column: span 1;
  height: 511.67px;
}

.ownership-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.ownership-card:hover .ownership-card__img {
  transform: scale(1.05);
}

.ownership-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(0deg, #00142A 0%, rgba(0, 20, 42, 0) 49.91%);
  pointer-events: none;
}

.ownership-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.ownership-card__text {
  display: flex;
  flex-direction: column;
  padding-right: 16px;
}

.ownership-card__title {
  color: #fff;
  font-size: var(--fs-16);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  margin: 0;
}

.ownership-card__desc {
  color: #e5e7eb;
  font-size: var(--fs-14);
  line-height: var(--lh-14-22);
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.ownership-card:hover .ownership-card__desc {
  max-height: 80px;
  opacity: 1;
  margin-top: var(--space-2);
}

.ownership-card__icon {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer */
.footer {
  background: #4a5662;
  color: var(--color-text-white);
}

.footer__inner {
  padding: 80px 100px 48px 100px;
}

.footer__layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 160px;
}

.footer__about {
  flex: 1.4;
  max-width: 368px;
}

.footer__links {
  flex: 1.6;
}

.footer__links-grid {
  display: flex;
  gap: var(--space-8);
}

.footer__links-grid .footer__col {
  flex: 0 0 240px;
  width: 240px;
}

.footer__heading {
  font-size: var(--fs-16);
  line-height: var(--lh-16-26);
  font-weight: var(--fw-bold);
  margin: 0 0 var(--space-3);
}

.footer__heading--spaced {
  margin-top: var(--space-6);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__list--text li {
  font-size: var(--fs-14);
  line-height: var(--lh-16-26);
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__list--text li img {
  width: 18px;
  height: 18px;
}

.footer__list--text .footer__bct img {
  width: 150px !important;
  height: 94px !important;
}

.footer__list--text li img[src*="phone-solid-full"],
.footer__list--text li img[src*="envelope-solid-full"] {
  filter: brightness(0) saturate(100%) invert(60%);
  opacity: 1;
}

.footer__social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
  align-items: center;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  text-decoration: none;
}

.footer__social-link:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.footer__social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer__link {
  color: #e7ecf1;
  text-decoration: none;
  font-size: var(--fs-14);
  line-height: var(--lh-16-26);
}

.footer__link:hover {
  text-decoration: underline;
}

.footer__brand--text {
  text-align: center;
  margin-top: 0;
  font-size: 28px;
  letter-spacing: 10px;
}

.footer__brand img {
  width: 120px;
  height: auto;
  display: none;
}

.footer__copyright {
  text-align: right;
  margin-top: 0;
  font-size: var(--fs-14);
  opacity: 0.9;
}

.footer__bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-8);
  padding-top: 12px;
}

.footer__bottom .footer__copyright {
  position: absolute;
  right: 0;
}

/* Back To Top */
.backtotop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: var(--radius-2);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  pointer-events: none;
  z-index: 1000;
}

.backtotop:hover {
  background: rgba(0, 0, 0, 0.95);
  transform: translateY(0) scale(1.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.backtotop:active {
  transform: translateY(0) scale(0.95);
}

.backtotop[data-visible="true"] {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.backtotop--clicked {
  animation: backToTopClick 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes backToTopClick {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }

  50% {
    transform: translateY(0) scale(0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  }

  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }
}

/* Responsive  */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-4);
  }

  /* Header */
  .header__menu-toggle {
    display: block;
    color: var(--color-text-white);
  }

  .header.header--scrolled .header__menu-toggle {
    color: var(--color-text-black);
  }

  .header__bar {
    grid-template-columns: auto 1fr auto;
    gap: var(--space-4);
  }

  .header__logo {
    grid-column: 2;
    justify-self: center;
  }

  .header__group--left .header__nav--left,
  .header__group--right .header__nav--right {
    display: none;
  }

  .header__group--right {
    justify-self: end;
  }

  .header__logo-img--desktop {
    display: none;
  }

  .header__logo-text {
    display: block;
    font-size: 22px;
  }

  .header__mobile-menu {
    display: block;
  }

  /* Banner */
  .banner__title {
    font-size: 36px;
  }

  .banner__content {
    padding: var(--space-10) var(--space-5);
    text-align: center;
    align-items: center;
  }

  .banner__content-inner {
    align-items: center;
    text-align: center;
  }

  .banner__subtitle {
    max-width: 100%;
  }

  .banner__nav {
    /* display: none; */
    width: 30px;
    height: 30px;
  }

  .banner__nav::before {
    width: 10px;
    height: 10px;
  }

  .banner__pagination {
    bottom: var(--space-5);
  }

  .quick-actions {
    padding: var(--space-9) var(--space-4) var(--space-10);
  }

  .quick-actions__panel {
    padding: var(--space-5);
  }

  .quick-actions__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-actions__item {
    min-height: 130px;
  }

  /* Mirai */
  .mirai__inner {
    padding: var(--space-8) var(--space-4);
    gap: var(--space-6);
  }

  .mirai__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .mirai__header-actions {
    flex-direction: column;
    width: 100%;
    gap: var(--space-3);
  }

  .mirai__cta {
    margin-top: 0;
    min-width: 280px;
    max-width: 100%;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
    font-size: var(--fs-16);
    animation: miraiButtonSlideIn 0.6s ease-out;
  }

  @keyframes miraiButtonSlideIn {
    0% {
      opacity: 0;
      transform: translateX(30px);
    }

    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .mirai__cta-icon {
    animation: miraiIconPulse 2s ease-in-out infinite;
  }

  @keyframes miraiIconPulse {

    0%,
    100% {
      transform: translateX(0);
    }

    50% {
      transform: translateX(3px);
    }
  }

  .mirai__card {
    height: auto;
    max-width: 100%;
  }

  .mirai__image-link {
    max-width: 100%;
  }

  .mirai__image {
    height: auto;
  }

  .mirai__card-title {
    font-size: var(--fs-20);
    min-height: 0;
  }

  /* About */
  .about__inner {
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-4);
  }

  .about__image {
    width: 100%;
    max-width: 586px;
  }

  .about__content {
    width: 100%;
    max-width: 470px;
  }

  /* Showroom */
  /* .showroom__inner {
    height: 600px;
  } */
  .showroom__title {
    font-size: var(--fs-24);
  }

  .showroom__subtitle {
    font-size: var(--fs-16);
  }

  .showroom__cta {
    bottom: 25px;
  }

  /* Car Lineup - Tablet */
  .carlineup__swiper-wrapper {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
  }

  .carlineup__swiper {
    width: 100%;
  }

  .carlineup__slide {
    max-width: 100%;
  }

  /* Local */
  .local__inner {
    flex-direction: column;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-4);
  }

  .local__content {
    max-width: 100%;
    text-align: center;
  }

  .local__image {
    max-width: 100%;
  }

  /* Offers */
  .offers {
    padding: var(--space-8) 0;
  }

  .offers__inner {
    gap: var(--space-6);
  }

  .offers__header {
    padding: 0 var(--space-4);
  }

  .offers__title {
    font-size: var(--fs-24);
  }

  .offers__swiper-wrapper {
    padding: 0 var(--space-4);
  }

  .offers__actions {
    padding: var(--space-6) var(--space-4);
  }

  .offers__actions-text {
    font-size: var(--fs-20);
    margin-bottom: var(--space-4);
  }

  .offers__buttons {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }

  .offers__btn {
    width: 100%;
    min-width: auto;
    padding: 12px 24px;
  }

  /* Ownership */
  .ownership-content__blocks {
    grid-template-columns: repeat(2, 1fr);
  }

  .ownership-card--large {
    grid-column: span 2;
  }

  .ownership-card--small {
    grid-column: span 1;
  }

  /* Footer */
  .footer__inner {
    padding: var(--space-8) var(--space-4);
  }

  .footer__layout {
    flex-direction: column;
    gap: var(--space-8);
  }

  .footer__brand--text {
    display: none;
  }

  .footer__brand img {
    display: block;
  }

  .footer__about {
    max-width: 100%;
  }

  .footer__links-grid {
    flex-wrap: wrap;
    gap: var(--space-6);
  }

  .footer__links-grid .footer__col {
    flex: 0 0 calc(50% - var(--space-3));
    width: calc(50% - var(--space-3));
  }

  .footer__bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: var(--space-4);
    position: relative;
    align-items: end;
  }

  .footer__brand {
    grid-column: 3;
    justify-self: end;
  }

  .footer__brand--text {
    text-align: center;
    font-size: 36px;
    letter-spacing: 12px;
    margin: 0;
    grid-column: 2;
    justify-self: center;
  }

  .footer__copyright {
    text-align: left;
    position: static;
    margin: 0;
    grid-column: 1;
    justify-self: start;
    left: 0;
  }
}

/* Desktop - Fix whitespace */
@media (min-width: 1025px) {
  .carlineup__swiper-wrapper {
    margin-left: calc(-1 * var(--space-6));
    margin-right: calc(-1 * var(--space-6));
    padding-left: var(--space-6);
    padding-right: var(--space-6);
    width: calc(100% + 2 * var(--space-6));
    max-width: 100vw;
    overflow: hidden;
  }

  .carlineup__swiper {
    overflow: hidden;
  }

  .carlineup__swiper .swiper-wrapper {
    will-change: transform;
  }

  .quick-actions__item {
    min-height: 145px;
    width: auto;
    flex: none;
  }

  .quick-actions__grid {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
  }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 var(--space-4);
  }

  /* Header */
  .header__bar {
    height: 64px;
    padding: 0 var(--space-4);
    grid-template-columns: auto 1fr auto;
  }

  .header__menu-toggle {
    display: block;
    color: var(--color-text-white);
  }

  .header.header--scrolled .header__menu-toggle {
    color: var(--color-text-black);
  }

  .header__logo-img--desktop {
    display: none;
  }

  .header__logo-text {
    display: block;
    font-size: 20px;
  }

  .header__group--left .header__nav--left,
  .header__group--right .header__nav--right {
    display: none;
  }

  .header__logo {
    justify-self: center;
  }

  .header__group--left {
    justify-self: start;
    width: auto;
  }

  .header__group--right {
    justify-self: end;
    width: auto;
  }

  .header__mobile-menu {
    display: block;
    top: 0;
  }

  /* Banner */
  .banner__content {
    position: relative;
    inset: auto;
    padding: var(--space-4) var(--space-4) var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: center;
    text-align: center;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.75) 60%,
        rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
  }

  .banner__content-inner {
    margin-top: 0;
  }

  .banner__title {
    font-size: 28px;
    line-height: 1.2;
  }

  .quick-actions {
    padding: var(--space-8) var(--space-4) var(--space-9);
  }

  .quick-actions__panel {
    padding: var(--space-4);
  }

  .quick-actions__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
  }

  .quick-actions__item {
    padding: var(--space-4) var(--space-2);
    min-height: auto;
  }

  .quick-actions__icon {
    width: 36px;
    height: 36px;
  }

  .quick-actions__text {
    font-size: 12px;
  }

  .banner__scroll-indicator {
    bottom: 24px;
    width: 40px;
    height: 40px;
  }

  .banner__cta-button {
    padding: 10px 20px;
  }

  /* About */
  .about__inner {
    padding: var(--space-6) var(--space-4);
  }

  .about__title {
    font-size: var(--fs-24);
  }

  .about__text {
    font-size: var(--fs-14);
  }

  /* Showroom */
  /* .showroom__inner {
    height: 400px;
  } */
  .showroom__header {
    padding: 0 var(--space-4);
    max-width: 100%;
    top: 30px;
  }

  .showroom__title {
    font-size: var(--fs-20);
  }

  .showroom__subtitle {
    font-size: var(--fs-14);
  }

  .showroom__cta {
    bottom: var(--space-6);
  }

  /* Car Lineup */

  .carlineup__title {
    font-size: var(--fs-24);
  }

  .carlineup__filters {
    flex-wrap: wrap;
    gap: var(--space-4);
    justify-content: center;
  }

  .carlineup__swiper-wrapper {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    max-width: 100%;
  }

  .carlineup__swiper {
    width: 100%;
  }

  .carlineup__slide {
    width: 100%;
  }

  /* Local */
  .local__inner {
    padding: var(--space-6) var(--space-4);
  }

  .local__title {
    font-size: var(--fs-20);
  }

  .local__text {
    font-size: var(--fs-14);
  }

  /* Offers */
  .offers {
    padding: var(--space-6) 0;
  }

  .offers__inner {
    gap: var(--space-4);
  }

  .offers__header {
    padding: 0 var(--space-4);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
  }

  .offers__title {
    font-size: var(--fs-20);
  }

  .offers__swiper-wrapper {
    padding: 0 var(--space-4);
  }

  .offers__actions {
    padding: var(--space-5) var(--space-4);
  }

  .offers__actions-text {
    font-size: var(--fs-16);
    margin-bottom: var(--space-4);
  }

  .offers__buttons {
    flex-direction: column;
    gap: var(--space-3);
  }

  .offers__btn {
    font-size: var(--fs-14);
    padding: 12px 20px;
    min-width: auto;
  }

  .offers__navigation {
    margin-top: var(--space-4);
  }

  .offers__nav-btn {
    width: 36px;
    height: 36px;
  }

  .offers__nav-btn svg {
    width: 18px;
    height: 18px;
  }

  /* Ownership */
  .ownership-header__inner {
    padding: var(--space-8) var(--space-4);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ownership-title-break {
    display: block;
  }

  .ownership-header__title {
    width: 361px;
    min-height: 68px;
    font-family: "MazdaTypeViet";
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #00142A;
    text-align: center;
    margin: 0 auto;
  }

  .ownership-header__text {
    width: 361px;
    height: 66px;
    font-family: "MazdaTypeViet";
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0px;
    color: #00142A;
    text-align: center;
    margin: 16px auto 0;
  }

  .ownership-content__blocks {
    grid-template-columns: 1fr;
  }

  .ownership-card--large,
  .ownership-card--small {
    grid-column: span 1;
    width: 361px;
    height: 216.8px;
    margin: 0 auto;
  }

  .ownership-card__content {
    padding: 16px 12px;
    gap: 10px;
  }

  /* Footer */

  .footer__inner {
    padding: var(--space-6) var(--space-4);
  }

  .footer__links-grid {
    flex-direction: column;
  }

  .footer__links-grid .footer__col {
    flex: 1 1 100%;
    width: 100%;
  }

  .footer__brand--text {
    display: none;
  }

  .footer__brand img {
    height: 54px;
    width: 66px;
    display: block;
  }

  .footer__copyright {
    font-size: var(--fs-12);
  }

  .footer__social {
    margin-top: var(--space-4);
    gap: var(--space-3);
  }

  .footer__social-link {
    width: 36px;
    height: 36px;
  }

  /* Back To Top */
  .backtotop {
    right: var(--space-4);
    bottom: var(--space-4);
    width: 40px;
    height: 40px;
  }

  /* Responsive Mirai */
  .mirai__inner {
    padding: var(--space-8) var(--space-4);
    gap: var(--space-6);
  }

  .mirai__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .mirai__header-actions {
    flex-direction: column;
    width: 100%;
    gap: var(--space-3);
  }

  .mirai__cta {
    min-width: 280px;
    max-width: 100%;

    padding: var(--space-4) var(--space-5);
    font-size: var(--fs-16);
    animation: miraiButtonSlideIn 0.6s ease-out;
  }

  .mirai__cta-icon {
    animation: miraiIconPulse 2s ease-in-out infinite;
  }

  .mirai__card {
    height: auto;
    max-width: 100%;
  }

  .mirai__image-link {
    max-width: 100%;
  }

  .mirai__image {
    height: auto;
  }

  .mirai__card-title {
    font-size: var(--fs-16);
    line-height: var(--lh-16-26);
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .showroom__inner {
    height: 520px;
  }

  .showroom__cta {
    left: 50%;
    transform: translateX(-50%);
    bottom: var(--space-4);
  }

  .showroom__btn {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    white-space: normal;
    padding: 14px var(--space-4);
  }

  .showroom__btn span {
    text-align: center;
  }

  .footer__brand img {
    height: 54px;
    width: 66px;
    display: block;
  }
}

/* ==========================================================================
   SERVICE APPOINTMENT FORM STYLES
   ========================================================================== */

.page-banner {
  width: 100%;
}

.mobile-page-selector {
  display: none;
}

.page-banner__image {
  width: 100%;
  height: auto;
  display: block;
}

.forms--service {
  background-color: #f4f4f4;
  padding: 60px 0;
}

.header--service-page {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header--service-page .header__link,
.header--service-page .header__search {
  color: #0A0A0A;
}

.header--service-page .header__link::after {
  background: #0A0A0A;
}

.header--service-page .header__logo-img--desktop {
  filter: brightness(0);
}

.maintenance-page {
  background: #F4F4F4;
  color: #00142A;
}

.maintenance-hero {
  position: relative;
  margin-top: 88px;
  background: #00142A;
}

.maintenance-hero__media {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
}

.maintenance-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.maintenance-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 20, 42, 0.12) 0%, rgba(0, 20, 42, 0.28) 100%);
  pointer-events: none;
}

.maintenance-page__content {
  padding: 64px 0 0;
}

.maintenance-page__intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  color: #00142A;
}

.maintenance-page__title {
  margin: 0;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.maintenance-page__subtitle {
  margin: 18px auto 0;
  max-width: 720px;
  font-family: "MazdaTypeViet", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color: #00142A;
}

.maintenance-page__lead {
  max-width: 940px;
  margin: 32px auto 0;
  font-size: 18px;
  line-height: 26px;
  font-weight: 400;
  color: #0A0A0A;
}

.maintenance-section {
  margin: 40px auto 0;
  max-width: 940px;
}

.maintenance-section__title {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #00142A;
}

.maintenance-schedule {
  border: 1px solid #D4D4D4;
  border-radius: 3px;
  background: #fff;
  min-height: 312px;
  padding: 28px 28px 20px;
  overflow: hidden;
}

.maintenance-schedule__diagram {
  position: relative;
  min-height: 260px;
}

.maintenance-schedule__road {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 28px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(to right,
      rgba(255, 255, 255, 0.95) 0 34px,
      rgba(255, 255, 255, 0) 34px 54px),
    #3f3f3f;
}

.maintenance-schedule__vehicle {
  position: absolute;
  left: 28px;
  top: 48%;
  transform: translateY(-50%);
  width: 160px;
  height: 82px;
  border-radius: 10px;
  background: linear-gradient(135deg, #b11616 0%, #e33a2d 44%, #6c0d0d 100%);
  box-shadow: 0 16px 24px rgba(0, 0, 0, 0.16);
}

.maintenance-schedule__vehicle::before,
.maintenance-schedule__vehicle::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1f1f1f;
  border: 4px solid #d4d4d4;
}

.maintenance-schedule__vehicle::before {
  left: 18px;
}

.maintenance-schedule__vehicle::after {
  right: 18px;
}

.maintenance-schedule__label {
  position: absolute;
  left: 34px;
  bottom: 18px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
  color: #00142A;
}

.maintenance-schedule__marker {
  position: absolute;
  width: 112px;
  text-align: center;
  color: #00142A;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 500;
}

.maintenance-schedule__marker::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 4px solid currentColor;
  background: #fff;
  box-sizing: border-box;
}

.maintenance-schedule__marker::after {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  margin: 8px auto 0;
  background: #C9C9C9;
}

.maintenance-schedule__marker--top {
  top: 12px;
}

.maintenance-schedule__marker--bottom {
  bottom: 12px;
}

.maintenance-schedule__marker--green {
  color: #14A44D;
}

.maintenance-schedule__marker--blue {
  color: #1CA7E3;
}

.maintenance-schedule__marker--orange {
  color: #F08A24;
}

.maintenance-schedule__marker--red {
  color: #D43131;
}

.maintenance-schedule__marker--1 {
  left: 260px;
}

.maintenance-schedule__marker--2 {
  left: 390px;
}

.maintenance-schedule__marker--3 {
  left: 520px;
}

.maintenance-schedule__marker--4 {
  left: 650px;
}

.maintenance-schedule__marker--5 {
  left: 780px;
}

.maintenance-schedule__marker--6 {
  left: 910px;
}

.maintenance-schedule__marker--7 {
  left: 1040px;
}

.maintenance-schedule__note {
  max-width: 940px;
  margin: 16px auto 0;
  font-size: 18px;
  line-height: 26px;
  color: #0A0A0A;
}

.maintenance-table {
  margin: 24px auto 0;
  max-width: 940px;
}

.maintenance-table__title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
  color: #00142A;
}

.maintenance-table__wrap {
  border: 1px solid #D4D4D4;
  border-radius: 3px;
  background: #fff;
  overflow-x: auto;
}

.maintenance-table__grid {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
  color: #00142A;
}

.maintenance-table__grid th,
.maintenance-table__grid td {
  border: 1px solid #D4D4D4;
  padding: 10px 8px;
  vertical-align: middle;
  text-align: center;
}

.maintenance-table__grid th {
  font-weight: 500;
  background: #F7F7F7;
}

.maintenance-table__grid td:first-child,
.maintenance-table__grid th:first-child {
  text-align: left;
  width: 220px;
}

.maintenance-table__footnote {
  margin-top: 18px;
  font-size: 18px;
  line-height: 26px;
  color: #0A0A0A;
}

.maintenance-basics {
  margin: 72px auto 0;
  background: #F4F4F4;
  padding: 60px 64px;
  max-width: 1500px;
}

.maintenance-basics__title {
  margin: 0 0 36px;
  text-align: center;
  font-size: 24px;
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #00142A;
}

.maintenance-basics__grid {
  display: flex;
  justify-content: center;
  gap: 56px;
}

.maintenance-card {
  text-decoration: none;
  color: #0A0A0A;
  width: 301px;
  height: 345px;
  min-height: 337.85px;
  max-height: 900px;
}

.maintenance-card__image {
  width: 100%;
  height: 301px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  background: #D9D9D9;
}

.maintenance-card__title {
  margin-top: 0;
  padding-top: 18px;
  width: 301px;
  height: 44px;
  font-family: "MazdaTypeViet", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
  vertical-align: middle;
  color: #3A3A3A;
}

.maintenance-actions {
  margin-top: 64px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.maintenance-actions__button {
  width: 148px;
  height: 48px;
  padding: 12px 16px;
  border-radius: 2px;
  border: 1px solid #00142A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.maintenance-actions__button--primary {
  background: #00142A;
  color: #fff;
}

.maintenance-actions__button--secondary {
  background: #fff;
  color: #00142A;
}

.maintenance-actions__button:hover {
  background: #0A0A0A;
  color: #fff;
  border-color: #0A0A0A;
}

.maintenance-cta {
  position: relative;
  width: 100%;
  height: 509px;
  overflow: hidden;
}

.maintenance-cta__background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.maintenance-cta__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.maintenance-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #00142A 0%, rgba(0, 20, 42, 0) 100%);
}

.maintenance-cta__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  height: 100%;
  padding-top: 180px;
  padding-left: 120px;
}

.maintenance-cta__text-box {
  width: 550px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.maintenance-cta__title {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}

.maintenance-cta__desc {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  color: #FFFFFF;
}

.maintenance-cta__link {
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  color: #FFFFFF;
  text-decoration: none;
  border-bottom: 1px solid #FFFFFF;
  width: max-content;
  text-transform: uppercase;
}

.forms__inner-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.forms__header {
  text-align: center;
  margin-bottom: 48px;
}

.forms__title {
  font-size: 32px;
  font-weight: 500;
  color: #00142A;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.subtitle-break {
  display: none;
}

.forms__sub-title {
  font-family: "MazdaTypeViet", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color: #00142A;
  max-width: 600px;
  margin: 0 auto;
}

.forms__group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.input-row {
  width: calc(50% - 12px);
  display: flex;
  flex-direction: column;
}

.input-row.full-row {
  width: 100%;
}

.input-label {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.input-row__field-wrapper {
  position: relative;
  width: 100%;
}

.form-field {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  font-size: 14px;
  color: #333;
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

.form-field:focus {
  border-color: #00142A;
}

.form-field--select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="%23333333" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  color: #757575;
}

.form-field--select.has-value {
  color: #333;
}

.form-field[type="date"] {
  position: relative;
}

.form-field[type="date"]:invalid::-webkit-datetime-edit {
  color: transparent;
}

.form-field[type="date"]:invalid::before {
  content: attr(placeholder);
  color: #757575;
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.input-row--checkbox {
  flex-direction: row;
  align-items: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 0;
}

.form-field-checkbox {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.checkbox-component {
  font-size: 14px;
  color: #333;
  font-weight: 400;
}

.submit-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 16px;
}

.btn-submit {
  background-color: #0A0A0A;
  color: #ffffff;
  border: none;
  width: 129px;
  height: 48px;
  padding: 12px 16px;
  font-family: "MazdaTypeViet", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border-radius: 2px;
  transition: background-color 0.3s;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-submit:hover {
  background-color: #333333;
}

.dealer-address-hint {
  font-size: 11px;
  color: #767676;
  margin-top: 6px;
}

/* Secondary Header for Service Pages */
.service-secondary-header-wrapper {
  background: #FFFFFF;
}

/* Fix banner overlapping with the taller fixed header on service pages */
@media (min-width: 769px) {

  .page-banner,
  .maintenance-hero {
    margin-top: 152px;
  }
}

@media (max-width: 768px) {

  .page-banner,
  .maintenance-hero {
    margin-top: 64px !important;
  }
}

.page-banner__image,
.maintenance-hero__media img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.maintenance-basics__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 32px;
}

.maintenance-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.maintenance-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.maintenance-card__title {
  font-family: "MazdaTypeViet", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #0A0A0A;
}

.page-banner__image,
.maintenance-hero__media img {
  width: 100%;
  height: 650px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {

  .page-banner__inner,
  .maintenance-hero__media {
    height: 171px !important;
  }

  .page-banner__image,
  .maintenance-hero__media img {
    height: 100% !important;
    object-fit: unset !important;
  }

  .maintenance-page__title {
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #00142A;
  }

  .maintenance-page__intro {
    min-height: 86px;
    width: 361px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .maintenance-page__subtitle {
    width: 361px;
    height: 44px;
    text-align: center;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    margin-top: 0;
    color: #00142A;
  }

  .maintenance-page__content {
    padding: 32px 0 0;
  }

  .maintenance-page__lead {
    font-size: 14px;
    line-height: 22px;
    color: #00142A;
  }

  .maintenance-page__lead {
    margin-top: 24px;
  }

  .maintenance-section {
    margin-top: 12px;
  }

  .maintenance-table {
    margin-top: 12px;
  }

  .maintenance-section__title,
  .maintenance-table__title {
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #00142A;
    margin-bottom: 8px;
  }

  .maintenance-basics {
    width: 393px;
    height: auto;
    padding: 40px 16px 32px;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .maintenance-basics>.container {
    width: 100%;
    max-width: none;
    padding: 0;
    box-sizing: border-box;
  }

  .maintenance-basics__title {
    font-family: "MazdaTypeViet", sans-serif;
    font-weight: 597;
    font-size: 16px;
    line-height: 32px;
    letter-spacing: -0.02em;
    color: #00142A;
    display: block;
    width: 361px;
    height: 32px;
    margin: 0 auto 10px auto;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
  }

  .maintenance-schedule__note,
  .maintenance-table__footnote {
    font-size: 14px;
    line-height: 22px;
    color: #000000;
  }

  .maintenance-basics__grid {
    grid-template-columns: 174.5px 174.5px;
    gap: 24px;
    justify-content: center;
  }

  .maintenance-card {
    width: 174.5px;
    height: 226.5px;
    min-height: auto;
    max-height: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  .maintenance-card__image {
    width: 174.5px;
    height: 174.5px;
    display: block;
    object-fit: cover;
  }

  .maintenance-card__title {
    width: 174.5px;
    height: 52px;
    padding: 0 12px 0 0;
    margin: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    font-family: "MazdaTypeViet", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    vertical-align: middle;
    color: #0A0A0A;
    background: transparent;
    text-align: left;
    box-sizing: border-box;
  }

  .maintenance-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    gap: 16px;
    flex-wrap: nowrap !important;
    margin-top: 64px;
  }

  .maintenance-actions__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 12px 16px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 500;
    font-family: "MazdaTypeViet", sans-serif;
    gap: 8px;
    box-sizing: border-box;
    white-space: nowrap !important;
  }

  .maintenance-actions__button--secondary {
    width: 148px;
    background: #FFFFFF;
    border: 1px solid #0A0A0A;
    color: #0A0A0A;
  }

  .maintenance-actions__button--primary {
    width: 129px;
    background: #0A0A0A;
    border: 1px solid #0A0A0A;
    color: #FFFFFF;
  }

  .maintenance-cta {
    height: 242px;
  }

  .maintenance-cta__background img {
    height: 242px;
    object-fit: cover;
  }

  .maintenance-cta__content {
    padding: 40px 16px !important;
    height: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    box-sizing: border-box !important;
  }

  .maintenance-cta__text-box {
    width: 361px;
    max-width: 100%;
    gap: 16px;
    align-items: flex-start;
    text-align: left;
    margin: 0 auto;
  }

  .maintenance-cta__title {
    font-size: 24px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #FFFFFF;
  }

  .maintenance-cta__desc {
    font-size: 14px;
    line-height: 22px;
    color: #FFFFFF;
  }

  .maintenance-cta__link {
    font-size: 14px;
    line-height: 22px;
    color: #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
    padding: 4px 0;
    display: inline-block;
    text-decoration: none;
    text-transform: uppercase;
  }
}



.header--service-page {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header--service-page .header__link,
.header--service-page .header__search,
.header--service-page .header__menu-toggle {
  color: #0a0a0a;
}

.header--service-page .header__link::after {
  background: #0a0a0a;
}

.header--service-page .header__logo-img--desktop {
  filter: brightness(0);
}



.service-secondary-header {
  width: 100%;
  max-width: 1440px;
  height: 64px;
  padding: 16px 280px 16px 230px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.service-secondary-header__nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.service-secondary-header__link {
  font-family: "MazdaTypeViet", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0A0A0A;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  text-decoration: none;
  transition: border-color 0.3s ease;
  line-height: 26px;
}

.service-secondary-header__link:hover,
.service-secondary-header__link.active {
  border-bottom-color: #0A0A0A;
}

.service-secondary-header__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 123px;
  height: 32px;
  padding: 4px 12px;
  border-radius: 2px;
  border: 1px solid #0A0A0A;
  background: #FFFFFF;
  color: #0A0A0A;
  font-family: "MazdaTypeViet", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  text-decoration: none;
  transition: all 0.3s ease;
  gap: 4px;
  white-space: nowrap;
}

.service-secondary-header__btn:hover {
  background: #0A0A0A;
  color: #FFFFFF;
}

@media (max-width: 1024px) {
  .service-secondary-header {
    padding: 16px 20px;
  }
}

@media (max-width: 768px) {
  .service-secondary-header-wrapper {
    display: none;
  }

  .input-row {
    width: 100%;
  }

  .forms__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #00142A;
    max-width: 361px;
    margin-left: auto;
    margin-right: auto;
  }

  .custom-dropdown__options {
    width: 100%;
    background-color: #FFFFFF;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .custom-dropdown.open .custom-dropdown__options {
    display: block;
  }

  .custom-dropdown.open .mobile-page-selector__icon {
    transform: rotate(180deg);
  }

  .forms__header {
    min-height: 116px;
    width: 361px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .subtitle-break {
    display: block;
  }

  .forms__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #00142A;
    max-width: 361px;
    margin-left: auto;
    margin-right: auto;
  }

  .forms__sub-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0px;
    text-align: center;
    color: #00142A;
    min-height: 66px;
    width: 361px;
    max-width: 100%;
    margin: 0 auto;
  }

  .forms--service {
    padding: 40px 16px;
  }

  .forms__inner-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .mobile-page-selector {
    position: relative;
    width: 100%;
    height: 54px;
    background-color: #FFFFFF;
    margin-top: 0;
    display: flex;
    align-items: center;
  }

  .header--service-page,
  .header--service-page.header--scrolled,
  .header--service-page.header--menu-active,
  .header__bar,
  .header {
    background-color: #fff !important;
    box-shadow: none !important;
    border-bottom: none !important;
    border: none !important;
  }

  .header--service-page .header__menu-toggle {
    color: #000 !important;
  }

  .header--service-page .header__logo-text {
    color: #000 !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .custom-dropdown {
    position: relative;
    width: 100%;
    height: 54px;
    background-color: #FFFFFF;
    margin-top: 0;
    z-index: 10;
    border-top: none !important;
  }

  .custom-dropdown__selected {
    width: 100%;
    height: 100%;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: "MazdaTypeViet", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #00142A;
    border-top: none !important;
  }

  .custom-dropdown__options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .custom-dropdown.open .custom-dropdown__options {
    display: block;
  }

  .custom-dropdown.open .mobile-page-selector__icon {
    transform: rotate(180deg);
  }

  .custom-dropdown__option {
    padding: 12px 16px;
    font-family: "MazdaTypeViet", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #00142A;
    cursor: pointer;
    border-bottom: 1px solid #E5E5E5;
    transition: background-color 0.2s ease;
  }

  .custom-dropdown__option:hover,
  .custom-dropdown__option.active {
    background-color: #F5F5F5;
  }

  .custom-dropdown__option:last-child {
    border-bottom: none;
  }

  .mobile-page-selector__icon {
    pointer-events: none;
    transition: transform 0.3s ease;
  }
}

/* =============================================
   REPAIR SPLIT PANELS  (service-repair.html)
   Box lớn: 1500×500 | Box nhỏ: 750×500 mỗi bên
   ============================================= */

.repair-panels {
  width: 100%;
}

.repair-panel {
  display: flex;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

/* Content half */
.repair-panel__content {
  flex: 0 0 50%;
  height: 600px;
  padding: 10px 64px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  background: #F5F5F5;
}

/* Image half */
.repair-panel__image {
  flex: 0 0 50%;
  height: 600px;
  overflow: hidden;
}

.repair-panel__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Reverse row: image left, content right */
.repair-panel--reverse .repair-panel__image {
  order: -1;
}

/* Title */
.repair-panel__title {
  max-width: 600px;
  font-family: "MazdaTypeViet", sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  letter-spacing: -0.02em;
  color: #1A2239;
  margin: 0 0 10px 0;
}

/* Description */
.repair-panel__desc {
  max-width: 600px;
  font-family: "MazdaTypeViet", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0;
  color: #000000;
  margin: 0 0 10px 0;
}

/* Buttons row inside panel */
.repair-panel__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Inner content wrapper (desktop: transparent pass-through) */
.repair-panel__content-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .repair-panel {
    height: auto;
    flex-direction: column;
  }

  .repair-panel__content,
  .repair-panel__image {
    flex: none;
    width: 100%;
    height: auto;
  }

  .repair-panel__image {
    height: 300px;
  }

  .repair-panel--reverse .repair-panel__image {
    order: 0;
  }

  .repair-panel__content {
    padding: 32px 24px;
  }
}

@media (max-width: 768px) {
  .repair-panel__image {
    height: 240px;
  }

  .repair-panel__title {
    font-size: 20px;
  }


  .repair-panel__desc {
    font-size: 16px;
    line-height: 24px;
  }
}

/* =============================================
   REPAIR INTRO BOX  (service-repair.html)
   Box lớn: 1500×438 | bg #F5F5F5
   ============================================= */

.repair-intro-box {
  width: 100%;
  max-width: 1500px;
  min-height: unset;
  margin: 0 auto;
  background: #F5F5F5;
  box-sizing: border-box;
  padding: 80px 280px 40px;
}

.repair-intro-box__inner {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Box nhỏ 1: Title + Subtitle — 940×176, padding 32px top/bottom */
.repair-intro-box__heading {
  width: 100%;
  max-width: 940px;
  height: 126px;
  min-height: 1px;
  padding: 0;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.repair-intro-box__title {
  font-family: "MazdaTypeViet", sans-serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #00142A;
  margin: 0;
  text-align: center;
}

.repair-intro-box__subtitle {
  font-family: "MazdaTypeViet", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color: #00142A;
  margin: 0;
}

/* Box nhỏ 2: Lead / Content text — 940×78 */
.repair-intro-box__lead {
  width: 100%;
  max-width: 940px;
  min-height: 78px;
  box-sizing: border-box;
}

.repair-intro-box__lead p {
  font-family: "MazdaTypeViet", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0;
  color: #000000;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 1400px) {
  .repair-intro-box {
    padding: 80px 120px;
  }
}

@media (max-width: 1024px) {
  .repair-intro-box {
    padding: 60px 64px;
  }
}

@media (max-width: 768px) {
  .repair-intro-box {
    padding: 48px 24px;
    min-height: unset;
  }

  .repair-intro-box__title {
    font-size: 26px;
  }

  .repair-intro-box__lead p {
    font-size: 16px;
    line-height: 24px;
  }
}

/* ==============================================
   MOBILE SPEC  ≤ 767px
   Box lớn 1: 393×314 | Box lớn 2: 393×994
   ============================================== */
@media (max-width: 767px) {

  /* ---- Box lớn 1: Intro (393×314, padding 40px 16px, gap 16px) ---- */
  .repair-intro-box {
    padding: 40px 16px;
    min-height: 314px;
    height: auto;
  }

  .repair-intro-box__inner {
    gap: 16px;
    max-width: 100%;
  }

  /* Box nhỏ 1: Title + Subtitle (361×86, gap 8px) */
  .repair-intro-box__heading {
    max-width: 361px;
    min-height: 86px;
    gap: 8px;
    margin: 0 auto;
    padding: 0;
  }

  .repair-intro-box__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: -0.02em;
    text-align: center;
    color: #00142A;
  }

  .repair-intro-box__subtitle {
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    color: #00142A;
  }

  /* Box nhỏ 2: Lead text (361×132, font 14px/22px) */
  .repair-intro-box__lead {
    max-width: 361px;
    min-height: 132px;
    margin: 0 auto;
  }

  .repair-intro-box__lead p {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    color: #000000;
  }

  /* ---- Box lớn 2: Panels (2 × 393×508, stack dọc) ---- */
  .repair-panels {
    display: flex;
    flex-direction: column;
  }

  .repair-panel,
  .repair-panel.repair-panel--reverse {
    flex-direction: column;
    height: 508px;
    width: 100%;
    overflow: hidden;
  }

  /* Ảnh luôn ở trên, content ở dưới */
  .repair-panel__image {
    order: 0 !important;
    flex: none;
    width: 100%;
    height: 262px;
  }

  .repair-panel__content {
    order: 1 !important;
    flex: none;
    width: 100%;
    height: 246px;
    padding: 32px 16px;
    gap: 10px;
    justify-content: center;
    box-sizing: border-box;
  }

  /* Inner wrapper: 361×182, gap 24px */
  .repair-panel__content-inner {
    width: 100%;
    max-width: 361px;
    min-height: 182px;
    gap: 24px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Title: 16px, weight 500, color #1A2239 */
  .repair-panel__title {
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: #1A2239;
    max-width: 361px;
    margin: 0;
  }

  /* Desc: 14px/22px, weight 400, color #000 */
  .repair-panel__desc {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
    color: #000000;
    max-width: 361px;
    margin: 0;
  }

  /* Buttons: gap 16px, height 32px */
  .repair-panel__actions {
    gap: 16px;
    margin-top: 0;
  }

  .repair-panel__actions .maintenance-actions__button {
    height: 32px;
    padding: 6px 16px;
    font-size: 14px;
    width: auto;
  }
}

/* ===== NEW CARE SERVICES GRIDS ===== */
.care-services-section {
  width: 100%;
  padding: 64px 0;
  background: #F5F5F5;
}

.care-services-section--light {
  background: #F5F5F5;
}

/* Button styles for care section */
.btn-care {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 12px 16px;
  gap: 8px;
  border-radius: 2px;
  font-family: 'MazdaTypeViet', sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
  width: auto;
}

.btn-care--secondary {
  min-width: 148px;
  border: 1px solid #0A0A0A;
  color: #0A0A0A;
  background: transparent;
}

.btn-care--primary {
  min-width: 157px;
  background: #00142A;
  color: #FFFFFF;
}

.btn-care__icon {
  width: 20px;
  height: 20px;
}

.care-services-container {
  max-width: 1372px;
  margin: 0 auto;
  padding: 0 24px; /* Optional side padding for smaller screens */
}

.care-services-group {
  display: grid;
  grid-template-columns: 1fr auto;
  row-gap: 40px;
  align-items: center;
}

.care-services-group__header {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  width: 100%;
  max-width: 1372px;
  display: flex;
  align-items: center;
  margin: 0;
}

.care-services-group__title {
  font-family: 'MazdaTypeViet', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4; /* 140% */
  letter-spacing: -0.02em; /* -2% */
  color: #00142A; /* Text color requested as background: #00142A in specs */
  margin: 0;
  display: flex;
  align-items: center;
}

.care-services-group__actions {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

.care-services-group__grid {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: repeat(3, 420px);
  justify-content: space-between; /* This will create the required 56px gap implicitly */
  row-gap: 56px;
}

.care-service-card {
  width: 420px;
  min-height: 337.85px;
  max-height: 900px;
  display: flex;
  flex-direction: column;
}

.care-service-card__image {
  width: 420px;
  height: 420px;
  object-fit: cover;
  display: block;
}

.care-service-card__content {
  width: 420px;
  height: 44px;
  min-width: 383px;
  max-width: 470px;
  padding-top: 18px;
  font-family: 'MazdaTypeViet', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #00142A;
}

@media (max-width: 1372px) {
  .care-services-group__header {
    width: 100%;
  }
  .care-services-group__title {
    width: auto;
  }
  .care-services-group__grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
  .care-service-card {
    width: 100%;
    height: auto;
  }
  .care-service-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
  .care-service-card__content {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 767px) {
  .care-services-section {
    background: #F5F5F5;
    padding: 20px 16px; /* Box lớn: padding top 20, bottom 20. 16px hai bên. Total width sẽ vừa với màn 393px */
  }

  .care-services-container {
    width: 361px;
    height: auto; /* Để height auto thay vì fix cứng 362px tránh bị tràn nếu nội dung hoặc khoảng cách trình duyệt tính toán lớn hơn */
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .care-services-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    height: auto;
    gap: 24px;
    margin: 0;
    padding: 0;
  }

  .care-services-group__header {
    display: contents; /* Gộp title & button vào lưới cha */
  }

  .care-services-group__title {
    order: 1;
    width: 100%;
    height: auto;
    font-family: "MazdaTypeViet", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.02em;
    color: #00142A;
    margin: 0;
    padding: 0;
    text-align: left;
  }

  .care-services-group__grid {
    order: 2;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 24px;
    scroll-snap-type: x mandatory;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .care-services-group__grid::-webkit-scrollbar {
    display: none;
  }

  .care-service-card {
    flex: 0 0 220px;
    width: 220px;
    height: auto;
    min-height: unset; /* Xóa min-height 337.85px từ desktop */
    max-height: unset;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .care-service-card__image {
    width: 220px !important;
    height: 220px !important;
    object-fit: cover;
    aspect-ratio: auto;
    margin: 0;
  }

  .care-service-card__content {
    width: 220px !important;
    height: auto !important; /* Để auto thay vì 30px cố định */
    min-height: unset; /* Xóa min-height từ desktop nếu có */
    max-height: unset;
    min-width: unset;
    padding-top: 8px;
    font-family: "MazdaTypeViet", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #0A0A0A;
    text-align: left;
    margin: 0;
  }

  .care-services-group__actions {
    order: 3;
    display: flex;
    justify-content: flex-start; /* Ghi đè flex-end từ desktop để luôn canh trái */
    width: 246px;
    height: 32px;
    gap: 16px;
    margin: 0;
    padding: 0;
  }

  .btn-care {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "MazdaTypeViet", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 22px;
    box-sizing: border-box;
    gap: 4px;
    text-decoration: none;
    margin: 0;
  }

  .btn-care--secondary {
    width: 114px;
    height: 32px;
    min-width: unset; /* Xóa min-width 148px từ desktop */
    padding: 4px 12px;
    border-radius: 2px;
    background: #FFFFFF;
    border: 1px solid #0A0A0A;
    color: #0A0A0A;
  }

  .btn-care--primary {
    width: 116px;
    height: 32px;
    min-width: unset; /* Xóa min-width 157px từ desktop */
    padding: 4px 12px;
    border-radius: 2px;
    background: #00142A;
    border: 1px solid #00142A;
    color: #FFFFFF;
  }
  
  .btn-care__icon {
    width: 16px;
    height: 16px;
  }
}

/* Customer Care Layouts */
.care-overview-box,
.care-ecosystem-box {
  width: 100%;
  background: #F5F5F5;
}

.care-overview-box {
  padding: 80px 64px;
}

.care-overview-box__inner {
  max-width: 1372px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.care-overview-box__heading {
  width: 100%;
  text-align: center;
  padding: 0 15px;
}

.care-overview-box__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #0A0A0A;
  margin-bottom: 12px;
}

.care-overview-box__subtitle {
  font-family: "MazdaTypeViet", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 26px;
  letter-spacing: 0px;
  text-align: center;
  vertical-align: middle;
  color: #00142A;
}

.care-overview-box__cards {
  display: flex;
  gap: 36px;
  justify-content: space-between;
}

.care-card {
  flex: 1;
  background: #D4D4D4;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.care-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.care-card__icon svg,
.care-card__icon img {
  width: 100%;
  height: 100%;
  color: #0A0A0A;
}

.care-card__title {
  font-size: 20px;
  font-weight: 600;
  color: #0A0A0A;
  text-transform: uppercase;
  margin-bottom: 0;
}

.care-card__number {
  font-size: 32px;
  font-weight: 400;
  color: #0A0A0A;
}

.care-card__hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.care-card__hours-title {
  font-size: 14px;
  font-weight: 600;
  color: #0A0A0A;
  margin-bottom: 4px;
}

.care-card__hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #333;
}

.care-card__desc {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  flex-grow: 1;
}

.care-card__link {
  font-family: 'MazdaTypeViet', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  letter-spacing: 0px;
  color: #00142A;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
  display: inline-block;
  margin-top: auto;
}

/* Ecosystem Box */
.care-ecosystem-box {
  width: 100%;
  background: #F5F5F5;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.care-ecosystem-box__inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.care-ecosystem-box__heading {
  max-width: 757px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 20px;
}

.care-ecosystem-box__title {
  font-size: 32px;
  font-weight: 400;
  color: #0A0A0A;
  margin-bottom: 0;
  text-transform: uppercase;
  line-height: 1.3;
}

.care-ecosystem-box__subtitle {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.care-ecosystem-box__content {
  width: 100%;
  display: flex;
  gap: 36px;
  height: 736px;
}

.ecosystem-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: transparent;
}

.ecosystem-card__image {
  width: 100%;
  flex: 1;
  overflow: hidden;
  margin-bottom: 0;
}

.ecosystem-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ecosystem-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0 0 24px;
}

.ecosystem-card__title {
  font-size: 20px;
  font-weight: 600;
  color: #00142a;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ecosystem-card__desc {
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}

.ecosystem-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 176px;
  height: 40px;
  padding: 12px 16px;
  border: 1px solid #0A0A0A;
  border-radius: 2px;
  background: #FFFFFF;
  color: #0A0A0A;
  font-family: "MazdaTypeViet", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.3s;
}

.ecosystem-card__link:hover {
  background: #0A0A0A;
  color: #FFF;
}

.ecosystem-card__link--large {
  width: 248px;
}

/* Responsive */
@media (max-width: 991px) {
  /* Overview Box (Box 1) */
  .care-overview-box { padding: 40px 16px; }
  .care-overview-box__inner { gap: 16px; }
  .care-overview-box__heading { display: flex; flex-direction: column; gap: 8px; padding: 0; }
  .care-overview-box__title { font-size: 24px; line-height: 1.4; letter-spacing: -0.48px; margin-bottom: 0; }
  .care-overview-box__subtitle { font-size: 14px; line-height: 22px; }
  .care-overview-box__cards { flex-direction: column; gap: 16px; }
  .care-card { padding: 24px; }
  .care-card__icon { width: 32px; height: 32px; }
  .care-card__icon img, .care-card__icon svg { width: 32px; height: 32px; }
  .care-card__title { font-size: 18px; font-weight: 700; line-height: 24px; }
  .care-card__number { font-size: 24px; font-weight: 500; line-height: 1.4; letter-spacing: -0.48px; }
  .care-card__link { font-size: 14px; line-height: 22px; }

  /* Ecosystem Box (Box 2) */
  .care-ecosystem-box { padding: 40px 0; }
  .care-ecosystem-box__inner { gap: 20px; }
  .care-ecosystem-box__heading { padding: 0; gap: 8px; max-width: 361px; margin: 0 auto; }
  .care-ecosystem-box__title { font-size: 24px; font-weight: 500; line-height: 1.4; letter-spacing: -0.48px; }
  .care-ecosystem-box__subtitle { font-size: 14px; font-weight: 400; line-height: 22px; }
  .care-ecosystem-box__content { flex-direction: column; gap: 24px; height: auto; }
  .ecosystem-card__image { height: auto; min-height: unset; aspect-ratio: 393 / 268; }
  .ecosystem-card__body { padding: 16px 24px; gap: 8px; }
  .ecosystem-card__title { margin-bottom: 0; }
  .ecosystem-card__desc { font-size: 14px; font-weight: 400; line-height: 22px; }
  .ecosystem-card__link { margin-top: 16px; }
}
/* CTA Description Toggle */
.cta-desc-mobile { display: none; }
.cta-desc-desktop { display: inline; }

@media (max-width: 991px) {
  .cta-desc-mobile { display: inline; }
  .cta-desc-desktop { display: none; }
  .br-desktop { display: none; }
  
  .input-label {
    font-family: "MazdaTypeViet", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    color: var(--color-text-subtle, #505258);
  }
}
