@font-face {
  font-family: "Mazda Type Viet";
  src: url("../font/mazdatypeviet-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mazda Type Viet";
  src: url("../font/mazdatypeviet-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mazda Type Viet";
  src: url("../font/mazdatypeviet-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 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;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
  width: 100%;
  box-sizing: border-box;
}

/* Banner */
.banner {
  position: relative;
}

/* #region 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 .submenu .submenu__nav a {
  color: 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:hover .submenu .submenu__nav a {
    color: var(--color-text-black);
  }
}
.header,
.header__logo,
.header__link,
.header__search {
  cursor: pointer;
}
.header__bar {
  height: 80px;
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  color: var(--color-text-white);
  position: relative;
  /*border-bottom: 2px solid var(--color-text-white);*/
}
.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;
}
.header__group--right {
  justify-self: 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--right {
  display: flex;
  gap: 24px;
}
.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-semibold);
  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%;
}
.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: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 999;
  overflow-y: auto;
  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 {
  padding: var(--space-8) var(--space-4);
}
.header__mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.header__mobile-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.header__mobile-link {
  color: var(--color-text-white);
  text-decoration: none;
  font-size: var(--fs-18);
  font-weight: var(--fw-semibold);
  padding: var(--space-4) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  width: 100%;
  background: none;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease;
}
.header__mobile-link:hover {
  opacity: 0.7;
}
.header__mobile-link--toggle {
  cursor: pointer;
}
.header__mobile-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.header__mobile-toggle-icon::before,
.header__mobile-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.header__mobile-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.header__mobile-item--open .header__mobile-toggle-icon::after {
  opacity: 0;
}
.header__mobile-submenu {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-4) var(--space-4);
  display: none;
  flex-direction: column;
  gap: var(--space-3);
}

.header__mobile-submenu[data-open="true"] {
  display: flex;
}

.header__mobile-sublink {
  color: var(--color-text-white);
  text-decoration: none;
  font-size: var(--fs-16);
  font-weight: var(--fw-regular);
  text-transform: uppercase;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.header__mobile-sublink:hover {
  opacity: 1;
}
.header__mobile-item--open .header__mobile-link {
  opacity: 1;
}
/* #endregion */

/* #region Banner */
.banner {
  position: sticky;
  top: 0;
  z-index: 1;
  height: 66dvh;
  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;*/
  height: 66dvh;
  overflow: hidden;
}
.banner__inner-text {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: var(--fs-48);
  line-height: var(--lh-48-120);
  font-weight: var(--fw-medium);
  letter-spacing: 0px;
  color: rgba(255, 255, 255, 1);
  text-align: center;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  pointer-events: none;
  text-transform: capitalize;
}
.banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 66dvh;
  object-fit: cover;
}
.banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 42, 0.3);
  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-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);
}
/* #endregion */

/* #region Submenu */
.submenu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 16px 0;
  top: 90px;
  left: 0;
  width: 100%;
  z-index: 100;
}

.submenu__nav {
  display: flex;
  gap: 40px;
}

.submenu__nav .submenu__nav-link {
  color: rgba(255, 255, 255, 1);
  font-size: 15px;
  letter-spacing: 0px;
  line-height: 26px;
  white-space: nowrap;
  font-weight: var(--fw-medium);
}
.submenu__nav-link--active {
  text-underline-offset: 8px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
/* #endregion */

/* #region Photo */
.photo {
  position: relative;
  margin-bottom: 100px;
  margin-top: 72px;
  display: flex;
  justify-content: center;
  z-index: 3;
}

.photo__inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

.photo__inner-grid img:nth-child(3) {
  grid-column: 1 / -1;
}

.photo__inner-grid img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* #endregion */

/*#region Concept*/
.concept {
  padding: 120px 0;
  background: #fff;
}

.concept__inner {
  max-width: 800px;
  padding: 0px;
}

.concept__sub-title {
  font-size: var(--fs-20);
  color: #555;
  line-height: var(--lh-20-30);
  font-weight: var(--fw-medium);
  margin-bottom: 10px;
  letter-spacing: 0px;
  text-transform: uppercase;
}

.concept__title {
  font-size: var(--fs-48);
  line-height: var(--lh-48-120);
  font-weight: var(--fw-medium);
  letter-spacing: 0px;
  margin-bottom: 24px;
}

.concept__desc p {
  margin-bottom: 24px;
  color: #333;
  line-height: var(--lh-18-26);
  font-size: var(--fs-18);
  font-weight: var(--fw-regular);
}

.concept__image {
  margin-top: 30px;
  position: relative;
}

.concept__image img {
  width: 100%;
}

.concept__image-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: var(--fs-32);
  font-weight: var(--fw-medium);
  line-height: var(--lh-32-140);
  text-align: center;
  width: 100%;
}
/* #endregion */

/* #region Feature*/
.feature__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.feature__item {
  position: relative;
  width: calc(100% / 3);
  height: 400px;
  overflow: hidden;
  cursor: pointer;
}

.feature__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: 0.3s ease;
}

/* .feature__item:hover .feature__img {

  filter: brightness(0.8);
} */

.feature__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 1);
  font-size: var(--fs-32);
  font-weight: var(--fw-medium);
  letter-spacing: 0px;
  line-height: var(--lh-32-140);
  text-align: center;
  text-shadow: 0 2px 10px rgba(91, 83, 63, 1);
  pointer-events: none;
  white-space: nowrap;
}
/* #endregion */

/* #region 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);
  }
}
/* #endregion */

/* #region Mirai Base */
.mirai {
  background: #fff;
}
.mirai__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: 200px 0;
}
.mirai__header {
  display: flex;
  padding: 0 24px;
  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;
  white-space: nowrap;
}
.mirai__cta:hover {
  background: var(--color-text-black);
  color: var(--color-text-white);
}
.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;
}

.mirai__cta:hover .mirai__cta-icon {
  background: transparent;
  color: currentColor;
}
.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: 423px;
  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;
}
/* #endregion */

/* #region Premium*/
.premium {
  width: 100%;
  background: #fff;
  margin-bottom: 112px;
}
.premium__mobile-slider {
  display: none !important ;
}

/* --- TOP SECTION --- */
.premium__top {
  display: flex;
  width: 100%;
  min-height: 350px;
}

.premium__content {
  width: 50%;
  background: rgba(230, 225, 219, 1);
  padding: 140px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.premium__title {
  font-size: var(--fs-32);
  font-weight: var(--fw-medium);
  margin-bottom: 32px;
  line-height: var(--lh-32-140);
  text-align: center;
}

.premium__desc {
  line-height: var(--lh-18-26);
  font-size: var(--fs-18);
  font-weight: var(--fw-regular);
  color: #333;
  margin-bottom: 56px;
  text-align: center;
}

.premium__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 14px 11px 16px;
  background: #0f1a2f;
  color: #fff;
  border-radius: 25px;
  font-size: var(--fs-18);
  font-weight: var(--fw-medium);
  line-height: var(--lh-18-26);
  text-decoration: none;
  width: fit-content;
  transition: 0.2s;
  margin-left: auto;
  margin-right: auto;
}

.premium__btn:hover {
  background: #2c3e60;
}

.premium__image {
  width: 65%;
}

.premium__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- GALLERY --- */
.premium__gallery {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 5px;
}

.premium__gallery img {
  width: calc((100% - 5px) / 2);
  height: 400px;
  /* object-fit: cover; */
}
/* #endregion */

/* #region Dealer*/
/* Layout tổng */
.dealers {
  padding: 0px 0 32px;
}

.dealers__title {
  font-weight: var(--fw-medium);
  font-size: var(--fs-32);
  line-height: var(--lh-32-140);
  text-align: center;
  margin-bottom: 64px;
}
.dealers__map {
  width: 100%;
  overflow: hidden;
}

.dealers__iframe {
  width: 100%;
  height: 600px;
  border: none;
}
/* #endregion */

/* #region Hero*/
.hero {
  padding: 64px 0px;
  background-color: rgba(0, 20, 42, 1);
}
.hero__inner {
  padding: 0px 80px;
}

.hero-section__banner {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2) inset;
}
.hero-section__banner-img {
  display: block;
  width: 100%;
  height: 237px;
  object-fit: none;
  object-position: top;
}

/* Cards grid */
.hero-section__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  align-items: stretch;
}
/* #endregion */

/* #region Card*/
.card {
  background: rgba(247, 247, 247, 0.3);
  padding: 36px 24px;
  text-align: center;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: background 180ms ease, transform 180ms ease;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  cursor: default;
  min-height: 140px;
  border: none;
}

.card__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.95);
}
.card__icon-svg {
  width: 48px;
  height: 48px;
  display: block;
}
.card__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.6px;
  margin: 12px 0px;
  color: rgba(255, 255, 255, 1);
  line-height: 1.2;
}
/* #endregion */
/* #region related */
.related {
  background: rgba(0, 20, 42, 1);
  padding: 56px 0 40px;
  text-align: center;
}

.related__title {
  color: #fff;
  font-size: var(--fs-32);
  font-weight: var(--fw-medium);
  line-height: var(--lh-32-140);
  margin-bottom: 50px;
  text-transform: uppercase;
}

.related__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  justify-items: center;
}

.related__item {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #fff;
}

.related__image-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.related__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.related__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  text-align: left;
}

.related__year {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0;
}

.related__name {
  font-size: 1.2rem;
  margin: 5px 0 0 0;
}

.related__image-wrapper:hover .related__image {
  transform: scale(1.07); 
  cursor: pointer;
}


/* #endregion */

/* #region 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;
}
/* #endregion */

/* #region 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);
  }
}
/* #endregion */

/* Responsive  */
@media (width: 1280px) {
  .mirai__swiper-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0px 24px;
  }
}

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--space-4);
  }

  /* #region 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);
    border-bottom: none;
  }
  .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;
  }
  .submenu {
    display: none;
  }
  /* #endregion */

  /* #region 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;
  }
  .banner__pagination {
    bottom: var(--space-5);
  }
  /* #endregion */
.photo {
        margin-top: 48px;
    }
  /* #region Concept*/
  .concept__image-text {
    font-size: var(--fs-32);
  }
  /* #endregion */

  /* #region Feature*/
  .feature__list {
    flex-wrap: wrap;
  }
  .feature__item {
    position: relative;
    width: calc(100% / 3);
    overflow: hidden;
    cursor: pointer;
  }
  .feature__img {
    height: 100%;
  }
  /* #endregion */

  /* #region 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%;
    align-items: unset;
    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;
    justify-content: center;
  }
  .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;
  }
  /* #endregion */

  /* #region Premium*/
  .premium__content {
    padding: 24px;
  }
  .premium__gallery img {
    height: 260px;
  }
  /* #endregion */

  /* #region 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;
  }
  .footer__links-grid .footer__col {
    flex: 1 1 100%;
    width: 100%;
  }
  /* #endregion */
}
/* Mobile (< 768px) */
@media (max-width: 767px) {
  .container {
    padding: 0 var(--space-4);
  }

  /* #region Header */
  .header__bar {
    height: 64px;
    padding: 0 var(--space-4);
    grid-template-columns: auto 1fr auto;
    border-bottom: none;
  }
  .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;
  }
  .header__group--right {
    justify-self: end;
  }
  .header__mobile-menu {
    display: block;
    top: 64px;
  }
  .submenu {
    display: none;
  }
  /* #endregion */

  /* #region 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;
  }

  .banner__scroll-indicator {
    bottom: 24px;
    width: 40px;
    height: 40px;
  }

  .banner__cta-button {
    padding: 10px 20px;
  }
  .banner__inner-text {
    font-size: var(--fs-32);
  }
  /* #endregion */

  /* #region 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;
  }
  /* #endregion */

  /* Back To Top */
  .backtotop {
    right: var(--space-4);
    bottom: var(--space-4);
    width: 40px;
    height: 40px;
  }
  /* #region Concept */
  .concept {
    padding: 0px 0px 64px;
  }
  .concept__title {
    font-size: var(--fs-32);
  }
  .concept__image-text {
    font-size: var(--fs-16);
  }
  /* #endregion */

    .photo {
        margin-top: 48px;
    }
  /* #region Feature*/
  .feature__list {
    flex-wrap: wrap;
  }
  .feature__item {
    position: relative;
    width: calc(100% / 2);
    height: 260px;
    overflow: hidden;
    cursor: pointer;
  }
  .feature__img {
    height: 100%;
  }
  .feature__text{
      font-size: var(--fs-24);
      white-space: wrap;
  }
  /* #endregion */

  /* #region 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;
    justify-content: center;
  }
  .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;
  }
  /* #endregion */

  /* #region Premium */
  .premium {
    margin-bottom: 64px;
  }
  .premium__top,
  .premium__gallery {
    display: none;
  }

  .premium__mobile-slider {
    display: block !important;
  }

  .premium__slide img {
    width: 100%;
    height: 305px;
    object-fit: cover;
  }

  .premium__slide--content {
    background: rgba(230, 225, 219, 1);
    padding: 32px 20px;
    text-align: center;
    height: 305px;
  }
  .premium__title {
    font-size: var(--fs-24);
  }
  .premium__desc {
    font-size: var(--fs-16);
    margin-bottom: 16px;
  }
  .premium__btn {
    font-size: var(--fs-16);
  }
  .premium__navigation {
  display: flex;
  margin: 24px 0px 10px;
  gap: var(--space-2);
  justify-content: center;
  position: relative;
  z-index: 10;
}
.premium__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;
}
.premium__nav-btn:hover {
  background: #0a0a0a;
  color: var(--color-text-white);
  border-color: #0a0a0a;
  transform: scale(1.1);
}
.premium__nav-btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.premium__nav-btn svg {
  width: 20px;
  height: 20px;
}
  /* #endregion */

  /*dealer*/
  .dealers__title {
    font-size: var(--fs-24);
    margin-bottom: 32px;
  }
  /*hero*/
  .card {
    justify-content: unset;
    padding: 24px 8px;
  }
  /*related*/
  .related {
    background: rgba(0, 20, 42, 1);
    padding: 32px 0 24px;
    text-align: center;
  }
  .related__title {
    font-size: 28px;
  }
  .related__list {
    grid-template-columns:unset;
    gap: 16px;
  }
}
