:root {
  --red: #eb0a1e;
  --red-dark: #b80716;
  --black: #0a0d10;
  --dark: #11161b;
  --text: #17191c;
  --muted: #6c7075;
  --line: #dedede;
  --soft: #f5f5f3;
  --gold: #b28b52;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 75px; }
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}
img { width: 100%; display: block; }
a { text-decoration: none; }
button { font-family: inherit; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: .35s ease;
}
.navbar {
  padding: 13px 0;
  background: rgba(8, 11, 14, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: .35s ease;
}
.site-header.scrolled .navbar {
  background: rgba(8, 11, 14, .97);
  padding: 9px 0;
}
.nav-inner { padding-left: 5%; padding-right: 5%; }
.brand {
  display: inline-flex;
  align-items: center;
  color: #fff;
  white-space: nowrap;
}
.toyota-mark {
  font-weight: 700;
  letter-spacing: .04em;
  font-size: 17px;
}
.brand-divider {
  width: 1px; height: 24px;
  background: rgba(255,255,255,.45);
  margin: 0 12px;
}
.alphard-word {
  font-family: "Playfair Display", serif;
  font-size: 17px;
  letter-spacing: .16em;
}
.nav-link {
  color: rgba(255,255,255,.85) !important;
  font-size: 12px;
  padding: 8px 12px !important;
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 1px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: .25s;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.navbar-toggler { border-color: rgba(255,255,255,.3); }

.btn-whatsapp, .btn-red {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}
.btn-whatsapp:hover, .btn-red:hover {
  background: #fff;
  color: var(--red);
  border-color: #fff;
}
.btn-red { padding: 12px 22px; border-radius: 3px; }
.btn-dark-custom {
  background: var(--black);
  color: #fff;
  padding: 12px 20px;
  border-radius: 3px;
}
.btn-dark-custom:hover { background: var(--red); color: #fff; }


/* =====================================
   PROMO CAROUSEL
===================================== */

/* =====================================
   PROMO CAROUSEL - SMOOTH TRANSITION
===================================== */

/* =====================================
   PROMO CAROUSEL - SMOOTH TANPA CELAH
===================================== */

/* =====================================
   PROMO CAROUSEL - SMOOTH & FULL IMAGE
===================================== */

.promo-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    background: #000;
}

.promo-slide {
    position: absolute;
    inset: 0;
    width: 100%;

    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);

    transition:
        opacity 1.2s ease-in-out,
        transform 1.6s cubic-bezier(.2, .7, .2, 1);

    z-index: 1;
}

.promo-slide.promo-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);

    z-index: 2;
}

.promo-slide img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

/* =====================================  
   MOBILE
===================================== */

@media (max-width: 768px) {

    .promo-hero {
        width: 100%;
        margin-top: 58px;
        margin-bottom:0;
        padding: 0;
    }

    .promo-slide {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .promo-slide img {
        width: 100%;
        height: auto;
        display: block;
    }

}
/* =====================================
   TOYOTA ALPHARD - CINEMATIC HERO
===================================== */

.hero {
  --hero-red: #e31e26;
  position: relative;
  min-height: 720px;
  height: min(850px, 100svh);
  max-height: 950px;
  overflow: hidden;
  isolation: isolate;
  background: #080a0e;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: inherit;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(
      ellipse at 73% 48%,
      rgba(63, 75, 93, 0.23),
      transparent 45%
    ),
    linear-gradient(
      105deg,
      #080a0e 0%,
      #0c0f15 52%,
      #11151d 100%
    );
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(
      rgba(255,255,255,.07) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.07) 1px,
      transparent 1px
    );
  background-size: 90px 90px;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 45%,
    transparent
  );
}

/* TOPLINE */

.hero-topline {
  position: absolute;
  top: 32px;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
}

.hero-edition {
  color: #8c929d;
  font-size: 9px;
  letter-spacing: 2px;
}

/* MAIN LAYOUT */

.hero-container {
  width: min(1320px, 88%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.88fr 1.35fr;
  align-items:start;
  gap: 15px;
}

/* LEFT COPY */

.hero-copy {
  position: relative;
  z-index: 5;
  padding: 0px 0;
  animation: heroTextIn 1s ease both;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d4d6dc;
  font-size: 11px;
  letter-spacing: 5px;
  font-weight: 500;
}

.eyebrow-line {
  width: 28px;
  height: 2px;
  background: var(--hero-red);
}

.hero-copy h1 {
  margin: 24px 0 0;
  font-size: clamp(43px, 5.5vw, 82px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -3px;
  color: #f8f8fa;
}

.hero-copy h1 strong {
  display: block;
  margin-top: 8px;
  font-weight: 800;
  letter-spacing: -3.5px;
  white-space: nowrap;
}

.hero-tagline {
  margin: 22px 0 0;
  color: #e2e3e7;
  font-size: clamp(17px, 1.8vw, 25px);
  font-weight: 300;
  letter-spacing: .3px;
}

.hero-description {
  max-width: 440px;
  margin: 20px 0 0;
  color: #a8adb8;
  font-size: 13px;
  line-height: 1.9;
}

/* BUTTONS */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-btn {
  min-height: 46px;
  padding: 0 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 3px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  transition:
    background .3s ease,
    color .3s ease,
    border-color .3s ease,
    transform .3s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
}

.hero-btn-red {
  color: white;
  background: var(--hero-red);
  box-shadow: 0 8px 28px rgba(227,30,38,.15);
}

.hero-btn-red:hover {
  background: #b90e18;
  color: white;
}

.hero-btn-outline {
  color: white;
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.025);
}

.hero-btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,.08);
  color: white;
}

.hero-caption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 65px;
  color: #777e8a;
  font-size: 9px;
  letter-spacing: 2px;
}

.caption-line {
  width: 35px;
  height: 1px;
  background: var(--hero-red);
}

/* RIGHT VISUAL */

.hero-visual {
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: 1.12 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-glow {
  position: absolute;
  width: 76%;
  height: 48%;
  top: 34%;
  left: 13%;
  border-radius: 50%;
  background: rgba(121, 137, 160, .13);
  filter: blur(75px);
  pointer-events: none;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(35px) scale(.96);
  transition:
    opacity .8s ease,
    transform 1s cubic-bezier(.2,.7,.2,1),
    visibility .8s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 35px 35px rgba(0,0,0,.55));
  user-select: none;
  -webkit-user-drag: none;
  animation: carFloat 5s ease-in-out infinite;
}

@keyframes carFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SLIDE NUMBER */

.hero-image-number {
  position: absolute;
  z-index: 5;
  right: 10px;
  top: 25%;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 2px;
}

#heroCurrent {
  color: white;
  font-size: 19px;
}

.number-divider {
  width: 32px;
  height: 1px;
  background: #777e8a;
}

.hero-image-number span:last-child {
  color: #777e8a;
}

/* CAROUSEL CONTROLS */

.hero-carousel-controls {
  position: absolute;
  z-index: 10;
  right: 10px;
  bottom: 11%;
  display: flex;
  align-items: center;
  gap: 17px;
}

.hero-arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.23);
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,.035);
  cursor: pointer;
  transition: .25s ease;
}

.hero-arrow:hover {
  background: var(--hero-red);
  border-color: var(--hero-red);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dot {
  width: 17px;
  height: 3px;
  padding: 0;
  border: 0;
  background: #545963;
  cursor: pointer;
  transition: width .3s ease, background .3s ease;
}

.hero-dot.active {
  width: 30px;
  background: var(--hero-red);
}

/* IMAGE LABEL */

.hero-image-label {
  position: absolute;
  bottom: 2%;
  left: 5%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a4a9b3;
  font-size: 9px;
  letter-spacing: 2px;
}

.label-dot {
  width: 6px;
  height: 6px;
  background: var(--hero-red);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(227,30,38,.7);
}

/* BOTTOM BAR */

.hero-bottom {
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 24px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #7d8490;
  font-size: 9px;
  letter-spacing: 1.5px;
}

.hero-scroll-text {
  display: flex;
  align-items: center;
  gap: 10px;
}

.scroll-mouse {
  width: 14px;
  height: 21px;
  border: 1px solid #777e8a;
  border-radius: 8px;
  position: relative;
}

.scroll-mouse::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 5px;
  width: 2px;
  height: 5px;
  background: white;
  animation: scrollMove 1.3s infinite;
}

@keyframes scrollMove {
  0%, 100% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(5px); opacity: .2; }
}

/* TABLET */

@media (max-width: 900px) {
  .hero {
    min-height: 680px;
    height: auto;
    padding: 100px 0 90px;
  }

  .hero-container {
    width: 88%;
    grid-template-columns: .9fr 1.1fr;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 6vw, 62px);
  }

  .hero-description {
    font-size: 12px;
  }

  .hero-caption {
    margin-top: 38px;
  }

  .hero-carousel-controls {
    right: 0;
    gap: 10px;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .hero {
    min-height: 850px;
    height: auto;
    max-height: none;
    padding: 95px 0 70px;
  }

  .hero-topline {
    top: 25px;
    left: 6%;
    right: 6%;
    font-size: 9px;
    letter-spacing: 2px;
  }

  .hero-edition {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .hero-container {
    width: 88%;
    margin: -40px auto 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hero-copy {
    padding: 0;
  }

  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 4px;
  }

  .hero-copy h1 {
    margin-top: 18px;
    font-size: clamp(48px, 13vw, 68px);
    letter-spacing: -2px;
  }

  .hero-copy h1 strong {
    letter-spacing: -2.5px;
  }

  .hero-tagline {
    margin-top: 15px;
    font-size: 19px;
  }

  .hero-description {
    margin-top: 12px;
    max-width: 420px;
    font-size: 12px;
    line-height: 1.8;
  }

  .hero-actions {
    margin-top: 20px;
    gap: 8px;
  }

  .hero-btn {
    min-height: 42px;
    padding: 0 13px;
    font-size: 10px;
  }

  .hero-caption {
    display: none;
  }

  .hero-visual {
    width: 115%;
    margin: 5px 0 0 -7.5%;
    aspect-ratio: 1.08 / 1;
  }

  /* =====================================
   COLOR SELECTOR
===================================== */

.color-selector {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);

  z-index: 20;

  display: flex;
  align-items: center;
  gap: 5px;

  padding: 5px;

  background: rgba(10, 12, 15, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);

  border-radius: 999px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 10px 35px rgba(0, 0, 0, .25),
    inset 0 1px 0 rgba(255,255,255,.06);
}


/* BUTTON */

.color-btn {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-width: 82px;
  height: 34px;

  padding: 0 13px;

  border: 0;
  border-radius: 999px;

  background: transparent;

  color: rgba(255,255,255,.58);

  font-family: inherit;
  font-size: 9px;
  font-weight: 600;

  letter-spacing: 1.6px;

  cursor: pointer;

  transition:
    color .3s ease,
    background .3s ease,
    box-shadow .3s ease,
    transform .3s ease;
}


/* HOVER */

.color-btn:hover {
  color: #fff;
}


/* ACTIVE */

.color-btn.active {
  color: #111;

  background: rgba(255,255,255,.96);

  box-shadow:
    0 4px 15px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.8);
}


/* COLOR DOT */

.color-dot {
  width: 9px;
  height: 9px;

  display: inline-block;

  border-radius: 50%;

  flex-shrink: 0;

  transition: .3s ease;
}


/* WHITE DOT */

.color-dot.white {
  background: #fff;

  border: 1px solid #aaa;

  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.06);
}


/* BLACK DOT */

.color-dot.black {
  background: #111;

  border: 1px solid #555;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08);
}


/* ACTIVE DOT */

.color-btn.active .color-dot.white {
  border-color: #999;
}

.color-btn.active .color-dot.black {
  border-color: #222;
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 600px) {

  .color-selector {
    top: 3%;
    padding: 4px;
  }

  .color-btn {
    min-width: 74px;
    height: 31px;

    padding: 0 11px;

    font-size: 8px;
    letter-spacing: 1.3px;
  }

  .color-dot {
    width: 8px;
    height: 8px;
  }

}

  .hero-image-number {
    top: 12%;
    right: 5%;
  }

  .hero-carousel-controls {
    bottom: 5%;
    right: 5%;
  }

  .hero-image-label {
    bottom: -1%;
    left: 8%;
    font-size: 8px;
  }

  .hero-bottom {
    left: 6%;
    right: 6%;
    bottom: 18px;
    font-size: 8px;
  }

  .hero-bottom > span:last-child {
    display: none;
  }
}

/* AKSESIBILITAS: HENTIKAN ANIMASI JIKA DIMINTA */

@media (prefers-reduced-motion: reduce) {
  .hero *,
  .hero *::before,
  .hero *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@keyframes scrollLine { 50% { opacity: .2; transform: translateY(7px); } }

.section { padding: 90px 0; }
.section-soft { background: var(--soft); }
.section h2, .promo-section h2, .final-cta h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(31px, 4vw, 47px);
  line-height: 1.1;
  margin: 0 0 16px;
}
.section p { color: var(--muted); line-height: 1.75; font-size: 14px; }
.image-frame {
  position: relative;
  overflow: hidden;
  background: #ddd;
}
.image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 70px rgba(0,0,0,.08);
  pointer-events: none;
}
.image-frame img {
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform .6s;
}
.image-frame:hover img { transform: scale(1.03); }
.text-link, .card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red);
  font-weight: 700;
  font-size: 12px;
}
.text-link:hover, .card-link:hover { color: var(--red-dark); }

.mini-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 35px;
}
.mini-points > div {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}
.mini-points i { color: var(--red); font-size: 20px; }
.mini-points b, .mini-points small { display: block; }
.mini-points b { font-size: 11px; }
.mini-points small { color: var(--muted); font-size: 9px; margin-top: 2px; }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 32px;
}
.section-heading h2 { margin-bottom: 7px; }
.section-heading p { margin: 0; }
.centered { text-align: center; display: block; max-width: 760px; margin: 0 auto 42px; }
.centered p { max-width: 600px; margin: auto; }
.outline-link {
  border: 1px solid #cfcfcf;
  color: #222;
  padding: 10px 15px;
  font-size: 11px;
  gap: 10px;
  white-space: nowrap;
}
.outline-link:hover { border-color: var(--red); color: var(--red); }

.car-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  height: 100%;
  transition: .3s;
  overflow: hidden;
}
.car-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(0,0,0,.1);
}
.car-image { overflow: hidden; background: #eee; }
.car-image img {
  aspect-ratio: 1.65/1;
  object-fit: cover;
  transition: .5s;
}
.car-card:hover .car-image img { transform: scale(1.05); }
.car-body { padding: 22px; }
.car-kicker { font-size: 8px; letter-spacing: .18em; color: var(--red); font-weight: 700; }
.car-body h3 { font-family: "Playfair Display", serif; margin: 7px 0 6px; font-size: 22px; }
.car-body p { margin-bottom: 16px; font-size: 12px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}
.feature {
  text-align: center;
  padding: 25px 14px;
  border-right: 1px solid #e5e5e5;
}
.feature:last-child { border-right: 0; }
.feature-icon {
  width: 45px; height: 45px;
  margin: 0 auto 13px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid; place-items: center;
  font-size: 19px;
}
.feature h3 { font-size: 11px; margin: 0 0 7px; }
.feature p { font-size: 9px; line-height: 1.55; margin: 0; }

.spec-table {
  border: 1px solid #ddd;
  background: #fff;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 20px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 12px;
}
.spec-row:last-child { border-bottom: 0; }
.spec-row span { color: #555; }
.spec-row span i { width: 22px; color: var(--red); }
.spec-row b { font-weight: 600; text-align: right; }

.gallery-controls { display: flex; gap: 8px; }
.gallery-btn {
  width: 40px; height: 40px;
  border: 1px solid #ccc;
  background: #fff;
  transition: .25s;
}
.gallery-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.gallery-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 5px;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  flex: 0 0 calc(16.666% - 10px);
  overflow: hidden;
}
.gallery-item img {
  aspect-ratio: 1.25;
  object-fit: cover;
  transition: .45s;
}
.gallery-item:hover img { transform: none; }

.promo-section {
  position: relative;
  padding: 85px 0;
  color: #fff;
  overflow: hidden;
}
.promo-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(4,8,11,.96), rgba(4,8,11,.65)),
    url("../assets/images/promo/promo-alphard.jpg") center/cover;
}
.promo-section p { color: rgba(255,255,255,.72); max-width: 570px; }
.promo-benefits {
  margin-left: auto;
  max-width: 410px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px 22px;
  backdrop-filter: blur(5px);
}
.promo-benefits > div {
  display: flex; align-items: center; gap: 15px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.promo-benefits > div:last-child { border: 0; }
.promo-benefits i { color: var(--red); font-size: 22px; }
.promo-benefits b, .promo-benefits small { display: block; }
.promo-benefits b { font-size: 12px; }
.promo-benefits small { color: #aaa; font-size: 9px; margin-top: 3px; }

.service-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.service-list > div {
  padding: 18px 10px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.service-list i { color: var(--red); font-size: 20px; margin-bottom: 4px; }
.service-list b { font-size: 10px; }
.service-list small { color: var(--muted); font-size: 9px; }

.service-image img { aspect-ratio: 1.55; }

.testimonial {
  background: #fff;
  border: 1px solid #e3e3e3;
  padding: 25px;
  height: 100%;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #20252a;
  color: #fff;
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
  float: left;
  margin-right: 12px;
}
.testimonial h3 { font-size: 12px; margin: 3px 0 2px; }
.testimonial small { color: var(--muted); font-size: 9px; }
.testimonial p { clear: both; padding-top: 22px; font-size: 12px; margin-bottom: 13px; }
.stars { color: #d5a13b; letter-spacing: 2px; font-size: 12px; }

.custom-accordion .accordion-item {
  border: 0;
  border-bottom: 1px solid #ddd;
  border-radius: 0 !important;
}
.custom-accordion .accordion-button {
  box-shadow: none !important;
  font-size: 12px;
  font-weight: 600;
  padding: 17px 3px;
}
.custom-accordion .accordion-button:not(.collapsed) {
  background: #fff;
  color: var(--red);
}
.custom-accordion .accordion-body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  padding: 0 3px 17px;
}
.faq-contact {
  background: var(--soft);
  text-align: center;
  padding: 45px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.faq-contact > i { font-size: 34px; color: var(--red); margin-bottom: 12px; }
.faq-contact h3 { font-family: "Playfair Display", serif; font-size: 27px; }
.faq-contact p { max-width: 350px; }

.final-cta {
  position: relative;
  padding: 85px 0;
  color: #fff;
  overflow: hidden;
}
.final-cta-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(5,9,12,.7), rgba(5,9,12,.75)),
    url("../assets/images/hero-alphard.jpg") center/cover;
}
.final-cta h2 { font-size: clamp(35px, 5vw, 55px); }
.final-cta p { color: rgba(255,255,255,.8); }

.footer {
  background: #080c10;
  color: #fff;
  padding: 45px 0 20px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 35px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand p { color: #aaa; font-family: "Playfair Display", serif; font-style: italic; margin-top: 8px; }
.footer-contact span, .footer-social span { display: block; color: #888; font-size: 9px; margin-bottom: 5px; }
.footer-contact a { color: #fff; font-size: 12px; }
.footer-social div { display: flex; gap: 15px; }
.footer-social a { color: #fff; font-size: 16px; }
.footer-website { text-align: right; }
.footer-website a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; text-decoration: none; letter-spacing: .02em; transition: color .2s ease; }
.footer-website a i { font-size: 16px; }
.footer-website a:hover { color: #d71920; }
.footer-bottom {
  display: flex; justify-content: space-between;
  color: #777; font-size: 8px;
  padding-top: 18px;
}

.floating-wa {
  position: fixed;
  right: 23px; bottom: 23px;
  width: 55px; height: 55px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 26px;
  box-shadow: 0 8px 25px rgba(0,0,0,.25);
  z-index: 990;
  transition: .25s;
}
.floating-wa:hover { transform: translateY(-4px) scale(1.05); color: #fff; }
.back-top {
  position: fixed;
  right: 23px; bottom: 90px;
  width: 38px; height: 38px;
  border: 0; background: #171b20; color: #fff;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: .25s;
  z-index: 990;
}
.back-top.show { opacity: 1; visibility: visible; }

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(8,11,14,.98);
    padding: 15px;
    margin-top: 10px;
  }
  .nav-link::after { display: none; }
  .hero { min-height: 720px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .feature:nth-child(3) { border-right: 0; }
  .feature:nth-child(-n+3) { border-bottom: 1px solid #e5e5e5; }
  .gallery-item { flex-basis: 30%; }
}

@media (max-width: 767px) {
  .section { padding: 65px 0; }
  .hero { min-height: 680px; background-position: 63% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.35)); }
  .hero-copy { padding-top: 0px; }
  .hero-description { font-size: 12px; }
  .hero-tagline { font-size: 22px; }
  .mini-points { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { border-right: 1px solid #e5e5e5; }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-child(-n+4) { border-bottom: 1px solid #e5e5e5; }
  .gallery-item { flex-basis: 70%; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .floating-wa { right: 15px; bottom: 15px; }
  .back-top { right: 15px; bottom: 78px; }
}

/* =====================================
   COLOR SELECTOR - DESKTOP
===================================== */

.color-selector {
  position: absolute;
  top: 6%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;

  display: flex;
  align-items: center;
  gap: 5px;

  padding: 5px;

  background: rgba(10, 12, 15, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  box-shadow:
    0 10px 35px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.06);
}

.color-btn {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-width: 82px;
  height: 34px;
  padding: 0 13px;

  border: 0;
  border-radius: 999px;

  background: transparent;
  color: rgba(255,255,255,.58);

  font-family: inherit;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;

  cursor: pointer;

  transition:
    color .3s ease,
    background .3s ease,
    box-shadow .3s ease,
    transform .3s ease;
}

.color-btn:hover {
  color: #fff;
}

.color-btn.active {
  color: #111;
  background: rgba(255,255,255,.96);

  box-shadow:
    0 4px 15px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.8);
}

.color-dot {
  width: 9px;
  height: 9px;

  display: inline-block;
  flex-shrink: 0;

  border-radius: 50%;

  transition: .3s ease;
}

.color-dot.white {
  background: #fff;
  border: 1px solid #aaa;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.color-dot.black {
  background: #111;
  border: 1px solid #555;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}


/* =====================================
   CTA MOBILE - JARAK BAWAH
===================================== */

@media (max-width: 600px) {

  /* Tombol PUTIH / HITAM tetap di atas mobil */
  .color-selector {
    top: 3%;
  }

  /* Jarak bawah CTA */
  .hero-actions {
    margin-top: 20px;
    margin-bottom: 28px;
  }

  .color-btn {
    min-width: 74px;
    height: 31px;
    padding: 0 11px;
    font-size: 8px;
    letter-spacing: 1.3px;
  }

  .color-dot {
    width: 8px;
    height: 8px;
  }
}

.toyota-logo img {
    width: 30px;
    max-height: 28px;
    height: auto;
    object-fit: contain;
}

.btn-katalog {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;

    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;

    color: #fff;
    background: rgba(255,255,255,.08);

    text-decoration: none;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;

    backdrop-filter: blur(10px);

    transition: .3s ease;
}

.btn-katalog:hover {
    color: #fff;
    background: #eb0a1e;
    border-color: #eb0a1e;
    transform: translateY(-2px);
}

.car-type-badges {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center;
  width: 100%;
  margin: 14px 0 0;
  gap: 6px; /* jarak antar button */
}

.type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1;
}

/* BENSIN */
.type-badge.gasoline {
  color: #2f9e44;
  background: rgba(47, 158, 68, 0.10);
  border: 1px solid rgba(47, 158, 68, 0.25);
}

/* HYBRID */
.type-badge.hybrid {
  color: #1971c2;
  background: rgba(25, 113, 194, 0.10);
  border: 1px solid rgba(25, 113, 194, 0.25);
}

.type-badge i {
  font-size: 10px;
}

.gallery-category {
  margin-top: 45px;
}

.gallery-category-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 18px;
}

.gallery-category-label {
  display: block;
  margin-bottom: 5px;

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #999;
}

.gallery-category-heading h3 {
  margin: 0 0 5px;

  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-category-heading p {
  margin: 0;

  font-size: 11px;
  color: #777;
}

.gallery-category .gallery-track {
  margin-bottom: 15px;
}

@media (max-width: 767px) {

  .gallery-category {
    margin-top: 35px;
  }

  .gallery-category-heading {
    align-items: flex-start;
  }

  .gallery-category-heading h3 {
    font-size: 20px;
  }

  .gallery-category-heading p {
    max-width: 260px;
    line-height: 1.5;
  }
}

/* =========================================
   TESTIMONIAL CAROUSEL
========================================= */

.testimonial-carousel {
  position: relative;
  width: 100%;
  max-width: 1180px;
  margin: 55px auto 0;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.7s cubic-bezier(.22, .61, .36, 1);
  touch-action: pan-y;
}

.testimonial-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 50px;
  align-items: center;
  padding: 10px 70px 65px;
}


/* FOTO */

.testimonial-photo {
  position: relative;
  height: 480px;
  overflow: hidden;
  border-radius: 24px;
  background: #eee;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s ease;
}

.testimonial-slide:hover .testimonial-photo img {
  transform: scale(1.035);
}


/* BADGE */

.testimonial-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;

  padding: 9px 15px;

  background: rgba(0, 0, 0, .72);
  color: #fff;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;

  border-radius: 50px;
  backdrop-filter: blur(10px);
}


/* CONTENT */

.testimonial-content {
  padding-right: 20px;
}

.testimonial-label {
  display: inline-block;
  margin-bottom: 15px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  color: #b18a42;
}

.testimonial-content h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  color: #151515;
}

.testimonial-role {
  margin: 8px 0 28px;

  font-size: 14px;
  color: #777;
}

.testimonial-content blockquote {
  margin: 0;

  font-size: 18px;
  line-height: 1.8;
  color: #444;

  font-weight: 400;
}

.testimonial-line {
  width: 55px;
  height: 2px;
  background: #b18a42;

  margin: 30px 0 16px;
}

.testimonial-date {
  font-size: 12px;
  color: #888;
  letter-spacing: .5px;
}


/* ARROWS */

.testimonial-prev,
.testimonial-next {
  position: absolute;
  top: 43%;

  width: 46px;
  height: 46px;

  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 50%;

  background: rgba(255, 255, 255, .95);

  color: #222;
  font-size: 18px;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all .25s ease;

  z-index: 5;
}

.testimonial-prev {
  left: 8px;
}

.testimonial-next {
  right: 8px;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: #111;
  color: #fff;
  transform: scale(1.08);
}


/* DOTS */

.testimonial-dots {
  position: absolute;

  bottom: 12px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  gap: 8px;
}

.testimonial-dots button {
  width: 7px;
  height: 7px;

  padding: 0;
  border: 0;

  border-radius: 50%;

  background: #ccc;

  cursor: pointer;

  transition: all .3s ease;
}

.testimonial-dots button.active {
  width: 25px;
  border-radius: 10px;
  background: #b18a42;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .testimonial-slide {
    grid-template-columns: 1fr;
    gap: 28px;

    padding: 5px 45px 60px;
  }

  .testimonial-photo {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    background: #eee;
  }

  .testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #eee;
  }

  .testimonial-content {
    padding: 0 5px;
  }

  .testimonial-content h3 {
    font-size: 25px;
  }

  .testimonial-content blockquote {
    font-size: 15px;
    line-height: 1.7;
  }

  .testimonial-prev,
  .testimonial-next {
    width: 38px;
    height: 38px;

    font-size: 15px;
  }

  .testimonial-prev {
    left: 3px;
  }

  .testimonial-next {
    right: 3px;
  }
}

/* =========================================
   TESTIMONIAL IMAGE - MOBILE FIX
   Menampilkan foto utuh tanpa crop
========================================= */

@media (max-width: 576px) {

  .testimonial-carousel {
    margin-top: 35px;
  }

  .testimonial-photo {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    min-height: 0;
  }

  .testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .testimonial-badge {
    left: 14px;
    bottom: 14px;
    padding: 7px 11px;
    font-size: 8px;
  }

}

/* =====================================================
   ALPHARD VARIANT DETAIL MODAL
===================================================== */

.variant-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  padding: 24px;
  overflow: hidden;
}

.variant-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.variant-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.variant-modal-box {
  position: relative;
  z-index: 2;

  width: min(1180px, calc(100vw - 48px));
  height: min(90vh, 900px);

  margin: 0 auto;

  display: block;

  background: #fff;
  border-radius: 22px;

  overflow-x: hidden;
  overflow-y: auto;

  box-shadow: 0 30px 80px rgba(0, 0, 0, .30);

  animation: variantModalIn .3s ease;
}

@keyframes variantModalIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* =====================================================
   CLOSE
===================================================== */

.variant-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 30;

  width: 42px;
  height: 42px;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, .94);
  color: #222;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  box-shadow: 0 5px 18px rgba(0, 0, 0, .12);

  transition: .25s ease;
}

.variant-modal-close:hover {
  background: #111;
  color: #fff;
  transform: rotate(90deg);
}


/* =====================================================
   HERO
===================================================== */

.variant-modal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);

  min-height: 390px;

  background: linear-gradient(135deg, #f7f7f7, #fff);
}

.variant-modal-image {
  min-width: 0;
  min-height: 390px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 42px 50px;

  background:
    radial-gradient(
      circle at center,
      #fff 0%,
      #f4f5f6 65%,
      #e9eaec 100%
    );

  overflow: hidden;
}

.variant-modal-image img {
  display: block;

  width: 100%;
  max-width: 620px;
  max-height: 330px;

  height: auto;

  object-fit: contain;
}


.variant-modal-content {
  min-width: 0;

  padding: 55px 55px 45px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  overflow: hidden;
}

.variant-modal-content .car-kicker {
  margin-bottom: 10px;
}

.variant-modal-content h2 {
  margin: 0;

  max-width: 100%;

  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.05;
  letter-spacing: -1px;

  color: #111;

  overflow-wrap: normal;
  word-break: normal;
}

.modal-description {
  max-width: 500px;

  margin: 16px 0 24px;

  color: #666;

  font-size: 14px;
  line-height: 1.7;
}

.modal-price-label {
  margin: 0;

  font-size: 11px;
  color: #888;

  text-transform: uppercase;
  letter-spacing: 1px;
}

.modal-price {
  margin-top: 4px;

  font-size: 26px;
  font-weight: 700;

  color: #111;
}


/* =====================================================
   ENGINE SWITCH
===================================================== */

.modal-engine-switch {
  display: flex;
  gap: 8px;

  margin-top: 24px;

  max-width: 310px;
}

.engine-option {
  flex: 1;

  min-width: 0;
  min-height: 40px;

  border: 1px solid #ddd;
  border-radius: 999px;

  padding: 10px 16px;

  background: #fff;
  color: #222;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  font-size: 10px;
  font-weight: 600;

  transition: .25s ease;
}

.engine-option:hover {
  border-color: #111;
}

.engine-option.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.engine-option.hybrid.active {
  background: #1971c2;
  border-color: #1971c2;
}


/* =====================================================
   MODEL + COLOR SWITCH
   Tambahan kecil untuk pilihan di dalam modal existing.
===================================================== */

.modal-appearance-options {
  margin-top: 14px;
}

.modal-appearance-group + .modal-appearance-group {
  margin-top: 10px;
}

.modal-appearance-label {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 600;
  color: #777;
}

.modal-appearance-switch {
  display: flex;
  gap: 6px;
  max-width: 310px;
}

.modal-appearance-option {
  flex: 1;
  min-width: 0;
  min-height: 34px;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  color: #222;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  transition: .25s ease;
}

.modal-appearance-option:hover {
  border-color: #111;
}

.modal-appearance-option.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

.modal-model-info {
  display: none;
  margin: 8px 0 0;
  color: #777;
  font-size: 9px;
  line-height: 1.5;
}

.modal-model-info.show {
  display: block;
}


/* =====================================================
   QUICK SPECS
===================================================== */

.modal-quick-specs {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;

  background: #fff;
}

.modal-spec-item {
  min-width: 0;
  min-height: 100px;

  padding: 18px 24px;

  display: flex;
  align-items: center;

  gap: 13px;

  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;

  box-sizing: border-box;
}

.modal-spec-item:nth-child(3n) {
  border-right: 0;
}

.modal-spec-item:nth-child(n + 4) {
  border-bottom: 0;
}

.modal-spec-item > i {
  flex: 0 0 34px;

  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 9px;

  background: #f5f5f5;
  color: #a67c00;

  font-size: 15px;
}

.modal-spec-item div {
  min-width: 0;

  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-spec-item span {
  display: block;

  font-size: 10px;
  line-height: 1.35;

  color: #888;

  white-space: normal;
  overflow-wrap: normal;
}

.modal-spec-item strong {
  display: block;

  font-size: 13px;
  line-height: 1.4;

  color: #222;

  white-space: normal;
  overflow-wrap: anywhere;
}


/* =====================================================
   DETAIL NAV
===================================================== */

.modal-detail-nav {
  position: sticky;
  top: 0;
  z-index: 15;

  display: flex;
  align-items: center;

  gap: 4px;

  padding: 10px 30px;

  background: rgba(255, 255, 255, .97);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid #eee;

  overflow-x: auto;
  scrollbar-width: thin;
}

.modal-detail-nav::-webkit-scrollbar {
  height: 3px;
}

.modal-detail-nav::-webkit-scrollbar-thumb {
  background: #ccc;
}

.detail-nav-item {
  flex: 0 0 auto;

  border: 0;
  border-radius: 8px;

  padding: 10px 16px;

  background: transparent;
  color: #666;

  cursor: pointer;

  font-family: inherit;
  font-size: 12px;
  font-weight: 600;

  white-space: nowrap;

  transition: .25s ease;
}

.detail-nav-item:hover {
  color: #111;
  background: #f7f7f7;
}

.detail-nav-item.active {
  color: #111;
  background: #f1f1f1;
}


/* =====================================================
   TAB CONTENT
===================================================== */

.modal-tab-content {
  display: none;

  width: 100%;
  max-width: 100%;

  padding: 45px 50px;

  box-sizing: border-box;
}

.modal-tab-content.active {
  display: block;
}

.detail-section-heading {
  margin-bottom: 28px;
}

.detail-section-heading span {
  display: block;

  margin-bottom: 7px;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;

  color: #a67c00;
}

.detail-section-heading h3 {
  margin: 0 0 8px;

  font-size: 28px;
  line-height: 1.2;
}

.detail-section-heading p {
  max-width: 650px;

  margin: 0;

  color: #777;

  font-size: 13px;
  line-height: 1.7;
}


/* =====================================================
   SPECIFICATION CONTENT
===================================================== */

#modalSpecification {
  display: none;
}

#modalSpecification.active {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 28px;
}

#modalSpecification .detail-section-heading {
  grid-column: 1 / -1;

  margin-bottom: 0;
}

.spec-group {
  min-width: 0;

  margin: 0;
  padding: 22px 24px;

  border: 1px solid #e8e8e8;
  border-radius: 14px;

  background: #fff;
}

.spec-group h4 {
  margin: 0;

  padding-bottom: 13px;

  border-bottom: 2px solid #111;

  font-size: 17px;
  line-height: 1.3;
}

.spec-table {
  width: 100%;
}

.spec-row {
  min-width: 0;

  display: grid;

  grid-template-columns: minmax(120px, 1fr) minmax(140px, 1.25fr);

  align-items: center;

  gap: 18px;

  padding: 13px 0;

  border-bottom: 1px solid #eee;
}

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

.spec-row span {
  min-width: 0;

  color: #777;

  font-size: 12px;
  line-height: 1.45;
}

.spec-row strong {
  min-width: 0;

  color: #222;

  font-size: 12px;
  line-height: 1.45;

  text-align: right;

  overflow-wrap: anywhere;
}

#modalSpecification .spec-group:last-child {
  grid-column: 1 / -1;
}


/* =====================================================
   FEATURES / COMFORT / SAFETY / GALLERY
===================================================== */

.feature-grid,
.comfort-grid,
.safety-list {
  min-width: 0;
}

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

.feature-card {
  min-width: 0;

  padding: 22px;

  border: 1px solid #eee;
  border-radius: 14px;

  display: flex;
  gap: 16px;

  transition: .25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
}

.feature-card > i {
  flex: 0 0 auto;
  font-size: 26px;
  color: #a67c00;
}

.feature-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
}

.feature-card p {
  margin: 0;

  color: #777;

  font-size: 13px;
  line-height: 1.6;
}

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

.comfort-card {
  min-width: 0;

  overflow: hidden;

  border: 1px solid #eee;
  border-radius: 16px;

  padding: 22px;
}

.comfort-card img {
  width: 100%;
  height: 230px;

  object-fit: cover;

  border-radius: 12px;

  margin-bottom: 18px;
}

.comfort-card > i {
  display: block;

  margin-bottom: 12px;

  font-size: 28px;
  color: #a67c00;
}

.comfort-card h4 {
  margin: 0 0 8px;
}

.comfort-card p {
  margin: 0;

  color: #777;

  line-height: 1.6;
}

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

.safety-item {
  min-width: 0;

  padding: 16px;

  border: 1px solid #eee;
  border-radius: 12px;

  display: flex;
  align-items: center;
  gap: 12px;
}

.safety-item i {
  flex: 0 0 auto;
  color: #a67c00;
}

.gallery-main {
  margin-bottom: 15px;
}

.gallery-main img {
  width: 100%;
  height: 430px;

  object-fit: cover;

  border-radius: 16px;
}

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

.gallery-thumbs button {
  min-width: 0;

  border: 0;
  padding: 0;

  background: transparent;

  cursor: pointer;
}

.gallery-thumbs img {
  width: 100%;
  height: 100px;

  object-fit: cover;

  border-radius: 10px;
}


/* =====================================================
   BOTTOM CTA
===================================================== */

.modal-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 22px 40px;

  background: #111;
  color: #fff;
}

.modal-bottom-cta span {
  display: block;

  margin-bottom: 5px;

  color: #aaa;

  font-size: 12px;
}

.modal-bottom-cta strong {
  font-size: 15px;
}

.btn-whatsapp {
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  padding: 12px 22px;

  border-radius: 999px;

  background: #fff;
  color: #111;

  font-weight: 700;

  transition: .25s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
}


/* =====================================================
   MODAL RESPONSIVE
===================================================== */

@media (max-width: 1100px) and (min-width: 768px) {

  .variant-modal {
    padding: 18px;
  }

  .variant-modal-box {
    width: calc(100vw - 36px);
    height: 92vh;
  }

  .variant-modal-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .variant-modal-image {
    min-height: 340px;
    padding: 30px;
  }

  .variant-modal-content {
    padding: 40px 35px;
  }

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

  .modal-tab-content {
    padding: 35px;
  }

  #modalSpecification.active {
    gap: 20px;
  }

}


@media (max-width: 767px) {

  .variant-modal {
    padding: 10px;
  }

  .variant-modal-box {
    width: 100%;
    height: 94vh;

    border-radius: 16px;
  }

  .variant-modal-hero {
    grid-template-columns: 1fr;
  }

  .variant-modal-image {
    min-height: 220px;
    padding: 22px 25px 10px;
  }

  .variant-modal-image img {
    max-width: 350px;
    max-height: 220px;
  }

  .variant-modal-content {
    padding: 24px 22px 25px;
  }

  .variant-modal-content h2 {
    font-size: 29px;
  }

  .modal-description {
    font-size: 13px;
    line-height: 1.6;
  }

  .modal-price {
    font-size: 21px;
  }

  .modal-engine-switch {
    max-width: none;
    margin-top: 20px;
  }

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

  .modal-spec-item {
    min-height: 82px;
    padding: 14px 15px;
  }

  .modal-spec-item:nth-child(3n) {
    border-right: 1px solid #eee;
  }

  .modal-spec-item:nth-child(2n) {
    border-right: 0;
  }

  .modal-spec-item:nth-child(n + 4) {
    border-bottom: 1px solid #eee;
  }

  .modal-spec-item:nth-child(n + 5) {
    border-bottom: 0;
  }

  .modal-spec-item > i {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .modal-spec-item span {
    font-size: 9px;
  }

  .modal-spec-item strong {
    font-size: 11px;
  }

  .modal-detail-nav {
    padding: 9px 12px;
  }

  .detail-nav-item {
    padding: 9px 12px;
    font-size: 11px;
  }

  .modal-tab-content {
    padding: 32px 20px;
  }

  #modalSpecification.active {
    display: block;
  }

  #modalSpecification .detail-section-heading {
    margin-bottom: 25px;
  }

  .spec-group {
    margin-bottom: 18px;
    padding: 18px;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 11px 0;
  }

  .spec-row strong {
    text-align: left;
  }

  .feature-grid,
  .comfort-grid,
  .safety-list {
    grid-template-columns: 1fr;
  }

  .gallery-main img {
    height: 280px;
  }

  .gallery-thumbs img {
    height: 70px;
  }

  .modal-bottom-cta {
    flex-direction: column;
    align-items: stretch;

    padding: 20px;
  }

  .btn-whatsapp {
    width: 100%;
  }

}


@media (max-width: 380px) {

  .variant-modal-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .variant-modal-content h2 {
    font-size: 26px;
  }

  .modal-tab-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .modal-spec-item {
    padding: 12px;
    gap: 9px;
  }

}


/* =====================================================
   END VARIANT DETAIL MODAL
===================================================== */

body.modal-open,
body.gallery-lightbox-open {
  overflow: hidden;
}

/* =====================================================
   VARIANT COMPARISON
===================================================== */

.comparison-section {
  background: #f7f7f5;
}

.comparison-selector {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.comparison-option {
  position: relative;

  min-width: 0;

  padding: 0;

  border: 1px solid #ddd;
  border-radius: 14px;

  background: #fff;

  text-align: left;

  cursor: pointer;

  overflow: hidden;

  transition: transform .25s ease,
              border-color .25s ease,
              box-shadow .25s ease;
}

.comparison-option:hover {
  transform: translateY(-3px);
  border-color: #aaa;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
}

.comparison-option.active {
  border-color: var(--red);
  box-shadow:
    0 0 0 1px var(--red),
    0 8px 22px rgba(235, 10, 30, .10);
}

.comparison-option-image {
  position: relative;

  background:
    radial-gradient(
      circle at center,
      #fff 0%,
      #f1f2f3 70%,
      #e7e8e9 100%
    );
}

.comparison-option-image img {
  width: 100%;
  height: 150px;

  object-fit: contain;

  transition: transform .35s ease;
}

.comparison-option:hover .comparison-option-image img {
  transform: scale(1.035);
}

.comparison-option-content {
  padding: 14px 15px 16px;
}

.comparison-option-kicker {
  display: block;

  margin-bottom: 4px;

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.4px;

  color: var(--red);

  text-transform: uppercase;
}

.comparison-option-title {
  margin: 0;

  font-family: "Playfair Display", serif;

  font-size: 18px;
  line-height: 1.2;

  color: #111;
}

.comparison-option.active .comparison-option-title {
  color: var(--red);
}

.comparison-option-price {
  margin-top: 5px;

  font-size: 10px;
  color: #777;
}

.comparison-check {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;

  width: 27px;
  height: 27px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #fff;
  border: 1px solid #ccc;

  color: transparent;
  font-size: 12px;

  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);

  transition: .25s ease;
}

.comparison-option.active .comparison-check {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}


/* =====================================================
   TOOLBAR
===================================================== */

.comparison-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-bottom: 15px;
  padding: 13px 16px;

  background: #fff;

  border: 1px solid #e3e3e3;
  border-radius: 11px;
}

.comparison-count {
  font-size: 11px;
  color: #666;
}

.comparison-clear {
  border: 0;

  padding: 5px 0;

  background: transparent;
  color: #777;

  font-family: inherit;

  font-size: 10px;
  font-weight: 600;

  cursor: pointer;

  transition: .25s ease;
}

.comparison-clear:hover {
  color: var(--red);
}


/* =====================================================
   EMPTY
===================================================== */

.comparison-empty {
  padding: 50px 25px;

  text-align: center;

  background: #fff;

  border: 1px solid #e3e3e3;
  border-radius: 16px;
}

.comparison-empty i {
  display: block;

  margin-bottom: 13px;

  font-size: 34px;
  color: #aaa;
}

.comparison-empty h3 {
  margin: 0 0 7px;

  font-family: "Playfair Display", serif;

  font-size: 23px;
}

.comparison-empty p {
  margin: 0;

  font-size: 12px;
  color: #777;
}


/* =====================================================
   TABLE
===================================================== */

.comparison-wrapper {
  width: 100%;

  overflow-x: auto;

  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;

  background: #fff;

  box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
}

.comparison-table {
  width: 100%;
  min-width: 850px;

  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 15px 18px;

  border-bottom: 1px solid rgba(0, 0, 0, .07);

  font-size: 11px;
  line-height: 1.5;

  vertical-align: middle;
}

.comparison-table thead th {
  background: #111;
  color: #fff;

  font-weight: 600;

  text-align: center;
}

.comparison-table thead th:first-child {
  width: 180px;
  min-width: 160px;

  text-align: left;
}

.comparison-table tbody th {
  background: #f8f8f8;

  color: #333;

  text-align: left;

  font-weight: 600;
}

.comparison-table tbody td {
  color: #555;
  text-align: center;
}

.comparison-table tbody tr:hover {
  background: rgba(0, 0, 0, .025);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}


/* =====================================================
   TABLE CAR HEADER
===================================================== */

.compare-car-head {
  position: relative;

  min-width: 190px;
}

.compare-car-head > div {
  position: relative;

  min-height: 150px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.compare-car-head img {
  width: 145px;
  height: 82px;

  margin: 0 auto 8px;

  object-fit: contain;
}

.compare-car-name {
  display: block;

  margin-bottom: 6px;

  font-family: "Playfair Display", serif;

  font-size: 17px;

  color: #fff;
}

.compare-car-type {
  display: inline-flex;

  align-items: center;
  gap: 5px;

  padding: 5px 9px;

  border-radius: 999px;

  font-size: 8px;
  font-weight: 600;
}

.compare-car-type.gasoline {
  background: rgba(47, 158, 68, .15);
  color: #5bd477;
}

.compare-car-type.hybrid {
  background: rgba(25, 113, 194, .15);
  color: #65a9e8;
}

.compare-remove {
  position: absolute;

  top: 4px;
  right: 4px;
  z-index: 2;

  width: 25px;
  height: 25px;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .75);

  display: grid;
  place-items: center;

  cursor: pointer;

  transition: .25s ease;
}

.compare-remove:hover {
  background: var(--red);
  color: #fff;
}


/* =====================================================
   COMPARISON RESPONSIVE
===================================================== */

@media (max-width: 991px) {

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

  .comparison-option-image img {
    height: 125px;
  }

}


@media (max-width: 576px) {

  .comparison-selector {
    gap: 9px;
  }

  .comparison-option {
    border-radius: 11px;
  }

  .comparison-option-image img {
    height: 82px;
  }

  .comparison-option-content {
    padding: 9px 10px 11px;
  }

  .comparison-option-kicker {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .comparison-option-title {
    font-size: 14px;
  }

  .comparison-option-price {
    display: none;
  }

  .comparison-check {
    top: 7px;
    right: 7px;

    width: 22px;
    height: 22px;

    font-size: 10px;
  }

  .comparison-toolbar {
    padding: 10px 12px;
  }

  .comparison-count {
    font-size: 10px;
  }

  .comparison-clear {
    font-size: 9px;
  }

  .comparison-wrapper {
    border-radius: 11px;
  }

  .comparison-table {
    min-width: 760px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 13px 12px;
    font-size: 10px;
  }

  .compare-car-head {
    min-width: 165px;
  }

  .compare-car-head > div {
    min-height: 125px;
  }

  .compare-car-head img {
    width: 115px;
    height: 65px;
  }

  .compare-car-name {
    font-size: 15px;
  }

}


@media (max-width: 380px) {

  .comparison-selector {
    gap: 7px;
  }

  .comparison-option-image img {
    height: 70px;
  }

  .comparison-option-content {
    padding: 8px;
  }

  .comparison-option-title {
    font-size: 13px;
  }

  .comparison-option-kicker {
    font-size: 6px;
  }

}


/* =====================================================
   GALLERY LIGHTBOX
   Hanya untuk gambar Exterior & Interior pada section Gallery.
===================================================== */
.gallery-item img {
  cursor: zoom-in;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 35px 70px;
  background: rgba(5, 8, 10, .94);
}

.gallery-lightbox.active {
  display: flex;
}

.gallery-lightbox-content {
  position: relative;
  width: min(1100px, 92vw);
  height: min(760px, 86vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox-content img {
  width: auto;
  max-width: 100%;
  max-height: calc(100% - 35px);
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 25px 70px rgba(0,0,0,.45);
}

.gallery-lightbox-caption {
  margin-top: 12px;
  color: rgba(255,255,255,.8);
  font-size: 11px;
  letter-spacing: .04em;
  text-align: center;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: .2s ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  background: #fff;
  color: #111;
  transform: translateY(-1px);
}

.gallery-lightbox-close {
  top: 24px;
  right: 24px;
}

.gallery-lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  transform: translateY(-50%) scale(1.03);
}

@media (max-width: 767px) {
  .gallery-lightbox {
    padding: 25px 18px;
  }

  .gallery-lightbox-content {
    width: 100%;
    height: 78vh;
  }

  .gallery-lightbox-content img {
    max-height: calc(100% - 30px);
    border-radius: 10px;
  }

  .gallery-lightbox-close,
  .gallery-lightbox-nav {
    width: 38px;
    height: 38px;
  }

  .gallery-lightbox-close {
    top: 14px;
    right: 14px;
  }

  .gallery-lightbox-prev {
    left: 10px;
  }

  .gallery-lightbox-next {
    right: 10px;
  }
}

/* Tombol Bensin aktif menggunakan aksen hijau yang sudah ada di website. */
.engine-option.gasoline.active {
  background: #2f9e44;
  border-color: #2f9e44;
  color: #fff;
}

/* =====================================================
   POLISH: FEATURE GRID + RESPONSIVE FOOTER
   Scoped overrides; existing content and behavior unchanged.
===================================================== */
#features .feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
}

#features .feature {
  min-width: 0;
  height: 100%;
  padding: clamp(20px, 2.2vw, 30px) clamp(14px, 1.8vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 0;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  text-align: center;
}

#features .feature:nth-child(3n) { border-right: 0; }
#features .feature:nth-last-child(-n + 3) { border-bottom: 0; }
#features .feature-icon { flex: 0 0 45px; }
#features .feature h3 {
  width: 100%;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
#features .feature p {
  width: 100%;
  max-width: 28ch;
  margin-inline: auto;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.footer { width: 100%; min-width: 0; }
.footer > .container { min-width: 0; }
.footer-top {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(18px, 3vw, 42px);
  row-gap: 24px;
}
.footer-brand, .footer-contact, .footer-website { min-width: 0; }
.footer-brand .brand { max-width: 100%; flex-wrap: wrap; }
.footer-contact a,
.footer-website a,
.footer-bottom span {
  overflow-wrap: anywhere;
  word-break: normal;
}
.footer-website a { max-width: 100%; }
.footer-bottom { gap: 12px 24px; line-height: 1.6; }

@media (max-width: 991px) {
  #features .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #features .feature:nth-child(3n) { border-right: 1px solid #e5e5e5; }
  #features .feature:nth-child(2n) { border-right: 0; }
  #features .feature:nth-last-child(-n + 3) { border-bottom: 1px solid #e5e5e5; }
  #features .feature:nth-last-child(-n + 2) { border-bottom: 0; }
  .footer-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .footer-website { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 767px) {
  #features .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #features .feature { padding: 22px 14px; }
  #features .feature h3 { font-size: 12px; }
  #features .feature p { font-size: 11px; }
  .footer { padding: 34px 0 18px; }
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 25px;
  }
  .footer-website { grid-column: auto; text-align: left; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .footer-bottom span { max-width: 100%; }
}

@media (max-width: 420px) {
  #features .feature { padding: 18px 10px; }
  #features .feature-icon { width: 40px; height: 40px; flex-basis: 40px; font-size: 17px; }
  #features .feature h3 { font-size: 11px; }
  #features .feature p { font-size: 10px; }
  .footer .brand { gap: 7px; }
  .footer-website a { gap: 7px; font-size: 12px; }
}
