* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

:root {
  --navbar-height: 90px;
}

body {
  background: #0b0b0b;
  color: white;
  display: flow-root;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--navbar-height);
  padding: 0 50px;
  background: rgba(0,0,0,0.8);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

/* MENU */
.menu {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.menu a, .no-click {
  color: white;
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  color: black;
  list-style: none;
  display: none;
  flex-direction: column;
  min-width: 200px;
  padding-top: 10px;
}

.dropdown-menu li {
  padding: 10px;
}

.dropdown-menu li a {
  color: black;
}

.dropdown:hover .dropdown-menu {
  display: flex;
}

.hamburger {
  display: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

/* HERO */
/* HERO SLIDER */
.hero-slider {
  position: relative;
  margin-top: var(--navbar-height);
  height: calc(100vh - var(--navbar-height));
  overflow: hidden;
}

.hero-slider-track {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.6s ease;
}

.hero-slide {
  width: 50%;
  height: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-arrow:hover {
  background: white;
  color: #0b0b0b;
}

.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: 0.25s;
}

.hero-dot.active {
  background: white;
}

@media (max-width: 600px) {
  .hero-slider {
    height: auto;
    aspect-ratio: 941 / 1671;
    margin-top: var(--navbar-height);
    overflow: hidden;
  }

  .hero-slider-track {
    height: 100%;
  }

  .hero-slide:nth-child(1) {
    background-image: url('../assets/img/hero-denza-banner-mobile.png') !important;
  }

  .hero-slide:nth-child(2) {
    background-image: url('../assets/img/banner-homepage-mobile.png') !important;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }

  .hero-arrow.prev { left: 14px; }
  .hero-arrow.next { right: 14px; }
}

/* ABOUT / DEALER INTRO */
.about-dealer {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 100px 8%;
  background: #0b0b0b;
}

.about-image {
  flex: 1;
  min-width: 280px;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.about-text p {
  color: #ccc;
  line-height: 1.7;
  font-size: 16px;
}

/* MODEL SHOWCASE */
.model-showcase {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.model-showcase-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.model-showcase-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.model-showcase-content h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
}

.model-showcase-content p {
  font-size: 16px;
  color: #eee;
  margin-bottom: 30px;
}

.model-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 28px;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  background: transparent;
  transition: 0.3s;
}

.btn:hover {
  background: white;
  color: #0b0b0b;
}

/* D9 GALLERY */
.model-gallery {
  background: #0b0b0b;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: brightness(0.55);
}

.gallery-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: white;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  pointer-events: none;
}

/* PRODUCT INTRO (D9) */
.product-intro {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 100px 8%;
  background: #0b0b0b;
}

.product-intro-text {
  flex: 1;
  min-width: 280px;
}

.product-intro-text h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 20px;
}

.product-intro-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 15px;
}

.product-intro-image {
  flex: 1;
  min-width: 280px;
}

.product-intro-image img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

/* TESTIMONIALS */
.testimonials {
  position: relative;
  background-color: #0b0b0b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 8%;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.testimonial-slider {
  position: relative;
  z-index: 2;
  max-width: 720px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial-viewport {
  overflow: hidden;
  flex: 1;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  background: white;
  color: #0b0b0b;
  border-radius: 8px;
  padding: 50px 60px;
  text-align: center;
}

.testimonial-slide h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
}

.testimonial-slide hr {
  width: 60px;
  border: none;
  border-top: 2px solid #0b0b0b;
  margin: 0 auto 24px;
}

.testimonial-slide p {
  font-style: italic;
  color: #333;
  line-height: 1.8;
  margin-bottom: 24px;
  font-size: 15px;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
}

.testimonial-author span {
  font-size: 13px;
  color: #777;
}

.testimonial-arrow {
  flex-shrink: 0;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  font-size: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-arrow:hover {
  background: white;
  color: #0b0b0b;
}

/* PRODUCT CTA */
.product-cta {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 100px 8% 100px;
  background: #0b0b0b;
}

.product-cta-image {
  flex: 1;
  min-width: 280px;
}

.product-cta-image img {
  width: 100%;
  min-height: 280px;
  border-radius: 8px;
  display: block;
  background: #1a1a1a;
  object-fit: cover;
}

.product-cta-text {
  flex: 1;
  min-width: 280px;
}

.product-cta-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-cta-text p {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 28px;
  font-size: 15px;
}

.btn-dark-lg {
  display: inline-block;
  padding: 14px 32px;
  background: #0b0b0b;
  border: 1px solid white;
  color: white;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  transition: 0.3s;
}

.btn-dark-lg:hover {
  background: white;
  color: #0b0b0b;
}

/* TEST DRIVE PAGE */
.testdrive {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 20px 80px;
}

.testdrive-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.3) 100%);
}

.testdrive-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 44px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.testdrive-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1px;
  color: #25D366;
  font-weight: 600;
  margin-bottom: 10px;
}

.testdrive-card h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.testdrive-card > p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 30px;
}

.testdrive-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.td-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.td-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.td-field label {
  font-size: 13px;
  font-weight: 500;
  color: #eee;
}

.td-field input,
.td-field select {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  transition: 0.25s;
}

.td-field select {
  cursor: pointer;
}

.td-field select option {
  background: #1a1a1a;
  color: white;
}

.td-field input::placeholder {
  color: #999;
}

.td-field input:focus,
.td-field select:focus {
  border-color: #25D366;
  background: rgba(255,255,255,0.12);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  padding: 14px 20px;
  background: #25D366;
  border: none;
  border-radius: 8px;
  color: #0b0b0b;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}

.btn-whatsapp i {
  font-size: 18px;
}

.btn-whatsapp:hover {
  background: #1fb257;
  transform: translateY(-2px);
}

.testdrive-note {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

@media (max-width: 560px) {
  .testdrive-card {
    padding: 32px 24px;
  }

  .td-row {
    grid-template-columns: 1fr;
  }
}

/* PRICELIST */
.pricelist {
  background: #f5f5f5;
  color: #0b0b0b;
  padding: 100px 8%;
  text-align: center;
}

.pricelist-header h2 {
  font-size: 32px;
  font-weight: 700;
}

.pricelist-header p {
  color: #555;
  margin-top: 6px;
  margin-bottom: 50px;
}

.pricelist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.price-card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.price-card img {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 20px;
  display: block;
}

.price-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.variant-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.variant-tab {
  flex: 0 0 auto;
  padding: 8px 16px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.3;
  color: #333;
  transition: 0.2s;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 380px) {
  .variant-tab {
    white-space: normal;
    max-width: 100%;
  }
}

.variant-tab.active {
  background: #0b0b0b;
  color: white;
  border-color: #0b0b0b;
}

.price-card hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 10px 0 20px;
}

.price-amount {
  font-size: 26px;
  font-weight: 700;
}

.price-otr {
  font-size: 12px;
  color: #888;
  margin: 6px 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-list {
  text-align: left;
  border-top: 1px solid #eee;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.spec-row span {
  color: #777;
}

.spec-row strong {
  font-weight: 600;
}

.spec-row--wrap {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.spec-row--wrap strong {
  text-align: left;
}

.price-card--contact {
  justify-content: space-between;
}

.price-contact {
  padding: 20px 0 0;
  color: #555;
  font-size: 14px;
}

.price-contact .btn-dark {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 24px;
  background: #0b0b0b;
  color: white;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.price-contact .btn-dark:hover {
  background: #333;
}

/* FOOTER */
.footer {
  background: linear-gradient(to right, #0a0a0a, #1a1a1a);
  color: white;
  padding: 50px 8%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-left {
  flex: 1;
  min-width: 200px;
}

.footer-logo {
  width: 150px;
  margin-bottom: 20px;
}

/* ICONS */
.icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.icons a {
  width: 45px;
  height: 45px;
  background: #1a1a1a;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.icons a i {
  color: white;
  font-size: 20px;
}

.icons a:hover {
  transform: translateY(-3px);
}

.icons a:hover .fa-instagram {
  color: #E1306C;
}

.icons a:hover .fa-whatsapp {
  color: #25D366;
}

/* FOOTER COLUMNS */
.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #00bfff;
}

.footer-col p {
  margin-top: 10px;
  font-size: 14px;
  color: #ccc;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-dealer,
  .product-intro,
  .product-cta {
    flex-direction: column;
    text-align: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 280px;
  }

  .testimonial-slide {
    padding: 40px 24px;
  }

  /* Hide slider arrows on mobile — too cramped, card gets squeezed */
  .testimonial-arrow {
    display: none;
  }

  .testimonial-slider {
    gap: 0;
  }

  .testimonials {
    padding: 70px 6%;
  }

  /* NAVBAR -> HAMBURGER MENU */
  .navbar {
    padding: 0 20px;
  }

  .navbar .icons {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(0, 0, 0, 0.97);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .menu.active {
    max-height: 80vh;
    overflow-y: auto;
    padding: 10px 0 24px;
  }

  .menu li {
    width: 100%;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dropdown-menu {
    position: static;
    display: none;
    background: transparent;
    min-width: 0;
    padding-left: 12px;
    margin-top: 10px;
  }

  .dropdown-menu li {
    padding: 8px 0;
    border-bottom: none;
  }

  .dropdown-menu li a {
    color: #ccc;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .footer-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px 20px;
  }

  .footer-left {
    grid-column: 1 / -1 !important;
    text-align: center;
  }

  .footer-col {
    min-width: 0;
    flex: none;
  }

  .footer-logo {
    width: 170px;
    margin: 0 auto 20px;
  }

  .footer-left .icons {
    display: flex;
    justify-content: center;
  }

  .footer-left .icons a {
    width: 52px;
    height: 52px;
  }

  .footer-left .icons a i {
    font-size: 22px;
  }

  .model-showcase-content h2 {
    font-size: 30px;
  }
}

.footer-location {
  grid-column: 1 / -1 !important;
}

/* ===== GALLERY PAGE ===== */

/* Highlight active nav link */
.menu .active-link {
  color: #4da3ff;
}

/* HERO */
.gallery-hero {
  position: relative;
  margin-top: var(--navbar-height);
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #0b0b0b url('../assets/img/showroom.webp') center/cover no-repeat;
  padding: 60px 20px;
}

.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.55) 0%, rgba(11,11,11,0.9) 100%);
}

.gallery-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.gallery-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: #4da3ff;
  font-weight: 600;
  margin-bottom: 14px;
}

.gallery-hero-content h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 14px;
}

.gallery-hero-content p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.7;
}

/* SECTION WRAPPER */
.gallery-section {
  background: #0b0b0b;
  padding: 90px 8%;
}

.gallery-section--light {
  background: #111111;
}

.gallery-section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
}

.gallery-section-header h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.gallery-section-header p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
}

/* ACHIEVEMENTS - reuses .gallery-item / .gallery-label from style.css */
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.achievement-grid .gallery-item {
  height: 460px;
  border-radius: 8px;
}

.achievement-grid .gallery-item img {
  object-position: top center;
}

/* CUSTOMER GRID */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.customer-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: #1a1a1a;
}

.customer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.customer-photo:not(.placeholder):hover img {
  transform: scale(1.06);
}

/* Placeholder state until real photos are added */
.customer-photo.placeholder img {
  opacity: 0;
}

.placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 10px;
  color: #666;
}

.placeholder-overlay i {
  font-size: 22px;
}

.placeholder-overlay span {
  font-size: 12px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* GALLERY CTA */
.gallery-cta {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, #0a1120 0%, #14284d 55%, #0a1120 100%);
  padding: 100px 8%;
  overflow: hidden;
}

.gallery-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77,163,255,0.18) 0%, rgba(77,163,255,0) 70%);
  pointer-events: none;
}

.gallery-cta > * {
  position: relative;
  z-index: 1;
}

.gallery-cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
}

.gallery-cta p {
  color: #ccc;
  font-size: 15px;
  margin-bottom: 30px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .achievement-grid {
    grid-template-columns: 1fr;
  }
  .achievement-grid .gallery-item {
    height: auto;
    background: #000;
  }
  .achievement-grid .gallery-item img {
    height: auto;
    max-height: 80vh;
    object-fit: contain;
  }
  .achievement-grid .gallery-label {
    position: static;
    display: block;
    padding: 14px 4px 4px;
    text-shadow: none;
  }
  .customer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-hero-content h1 {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .customer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-section {
    padding: 60px 6%;
  }
}

/* ===== DENZA D9 PAGE ===== */

/* HERO */
.d9-hero {
  position: relative;
  margin-top: var(--navbar-height);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
}

.d9-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.35) 0%, rgba(11,11,11,0.85) 100%);
}

.d9-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.d9-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: #ccc;
  font-weight: 600;
  margin-bottom: 14px;
}

.d9-hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 14px;
}

.d9-hero-content p {
  color: #ddd;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.d9-hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* SECTION HEADER (shared look w/ gallery page) */
.gallery-section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
}

.gallery-section-header h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}

.gallery-section-header p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
}

/* COLOR PICKER */
.d9-color-section {
  position: relative;
  background: #0b0b0b;
  padding: 90px 6% 0;
}

/* kartu abu-abu gelap yang "mengambang" di atas bg hitam */
.d9-color-card {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(160deg, #1b1e26 0%, #14161c 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 60px 50px 50px;
  overflow: hidden;
  text-align: center;
}

.d9-color-card .gallery-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.d9-color-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.d9-color-stage {
  position: relative;
  flex: 1 1 58%;
  max-width: 620px;
}

.d9-color-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  filter: drop-shadow(0 30px 28px rgba(0,0,0,0.6));
  transition: opacity 0.3s ease;
}

/* efek pantulan lantai di bawah mobil */
.d9-color-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  width: 78%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 72%);
  filter: blur(3px);
}

.d9-color-info {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

#d9-color-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.d9-color-swatches {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.d9-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}

.d9-swatch:hover {
  transform: scale(1.1);
}

.d9-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}

@media (max-width: 900px) {
  .d9-color-body {
    flex-direction: column;
    text-align: center;
  }
  .d9-color-stage {
    max-width: 460px;
  }
  .d9-color-info {
    align-items: center;
  }
  .d9-color-swatches {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .d9-color-section {
    padding: 60px 5% 0;
  }
  .d9-color-card {
    padding: 40px 24px 36px;
    border-radius: 18px;
  }
  .d9-color-stage {
    max-width: 320px;
  }
  .d9-swatch {
    width: 36px;
    height: 36px;
  }
}
/* FEATURE ROWS (interior) - reuse product-intro layout pattern */
.d9-feature {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 90px 8%;
  background: #0b0b0b;
}

.d9-feature--reverse {
  flex-direction: row-reverse;
  background: #111111;
}

.d9-feature-image {
  flex: 1;
  min-width: 280px;
}

.d9-feature-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.d9-feature-text {
  flex: 1;
  min-width: 280px;
}

.d9-feature-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}

.d9-feature-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 15px;
}

/* LIFESTYLE GALLERY - reuse .model-gallery / .gallery-grid / .gallery-item from style.css */
.d9-lifestyle {
  padding: 90px 8% 50px;
}

.d9-lifestyle .gallery-section-header {
  margin-bottom: 40px;
}

/* COMING SOON */
.d9-comingsoon {
  background: #0b0b0b;
  padding: 90px 8%;
}

.comingsoon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.comingsoon-card {
  position: relative;
  height: 340px;
  border-radius: 10px;
  overflow: hidden;
  background: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comingsoon-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) brightness(0.75);
}

.comingsoon-card--placeholder {
  border: 1px dashed rgba(255,255,255,0.2);
}

.comingsoon-placeholder-content i {
  font-size: 46px;
  color: #444;
}

.comingsoon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.95);
  color: #0b0b0b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
}

.comingsoon-caption {
  position: absolute;
  bottom: 16px;
  left: 20px;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* TEST DRIVE CTA - reuse .gallery-cta (blue gradient) */
.gallery-cta {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, #0a1120 0%, #14284d 55%, #0a1120 100%);
  padding: 100px 8%;
  overflow: hidden;
}

.gallery-cta::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(77,163,255,0.18) 0%, rgba(77,163,255,0) 70%);
  pointer-events: none;
}

.gallery-cta > * {
  position: relative;
  z-index: 1;
}

.gallery-cta h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
}

.gallery-cta p {
  color: #ccc;
  font-size: 15px;
  margin-bottom: 30px;
}

.gallery-cta .btn-dark-lg {
  background: #202020;
  border-color: #202020;
  color: #e3e6ec;
  font-weight: 600;
}

.gallery-cta .btn-dark-lg:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #0a1120;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .d9-hero-content h1 {
    font-size: 36px;
  }
  .d9-feature,
  .d9-feature--reverse {
    flex-direction: column;
    text-align: center;
  }
  .comingsoon-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== BYD ATTO 1 PAGE ===== */
/* Mengikuti pola denza-d9.css: reuse .gallery-section-header, .model-gallery,
   .gallery-grid, .gallery-item, .gallery-cta, .btn, .btn-dark-lg dari style.css */

/* HERO */
.atto1-hero {
  position: relative;
  margin-top: var(--navbar-height);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
}

.atto1-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.25) 0%, rgba(11,11,11,0.85) 100%);
}

.atto1-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.atto1-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: #d4f000;
  font-weight: 600;
  margin-bottom: 14px;
}

.atto1-hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 14px;
}

.atto1-hero-content p {
  color: #ddd;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.atto1-hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* COLOR SHOWCASE (single confirmed color for now — see note in HTML) */
.atto1-color-section {
  position: relative;
  background: #0b0b0b;
  padding: 90px 6% 0;
}

.atto1-color-card {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(160deg, #1b1e26 0%, #14161c 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 60px 50px 50px;
  overflow: hidden;
  text-align: center;
}

.atto1-color-card .gallery-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.atto1-color-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.atto1-color-stage {
  position: relative;
  flex: 1 1 58%;
  max-width: 620px;
}

.atto1-color-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  filter: drop-shadow(0 30px 28px rgba(0,0,0,0.6));
}

.atto1-color-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
  width: 78%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 72%);
  filter: blur(3px);
}

.atto1-color-info {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

#atto1-color-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.atto1-color-swatches {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.atto1-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}

.atto1-swatch:hover {
  transform: scale(1.1);
}

.atto1-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}

.atto1-swatch.disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.atto1-swatch.disabled:hover {
  transform: none;
}

.atto1-color-note {
  font-size: 12px;
  color: #777;
  max-width: 260px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .atto1-color-body {
    flex-direction: column;
    text-align: center;
  }
  .atto1-color-stage {
    max-width: 460px;
  }
  .atto1-color-info {
    align-items: center;
  }
  .atto1-color-swatches {
    justify-content: center;
  }
  .atto1-color-note {
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .atto1-color-section {
    padding: 60px 5% 0;
  }
  .atto1-color-card {
    padding: 40px 24px 36px;
    border-radius: 18px;
  }
  .atto1-color-stage {
    max-width: 320px;
  }
  .atto1-swatch {
    width: 36px;
    height: 36px;
  }
}

/* FEATURE ROWS (interior) */
.atto1-feature {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 90px 8%;
  background: #0b0b0b;
}

.atto1-feature--reverse {
  flex-direction: row-reverse;
  background: #111111;
}

.atto1-feature-image {
  flex: 1;
  min-width: 280px;
}

.atto1-feature-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.atto1-feature-text {
  flex: 1;
  min-width: 280px;
}

.atto1-feature-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}

.atto1-feature-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 15px;
}

/* LIFESTYLE GALLERY - reuse .model-gallery / .gallery-grid / .gallery-item */
.atto1-lifestyle {
  padding: 90px 8% 50px;
}

.atto1-lifestyle .gallery-section-header {
  margin-bottom: 40px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .atto1-hero-content h1 {
    font-size: 36px;
  }
  .atto1-feature,
  .atto1-feature--reverse {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== BYD ATTO 3 PAGE ===== */
/* Mengikuti pola atto-1.css: reuse .gallery-section-header, .model-gallery,
   .gallery-grid, .gallery-item, .gallery-cta, .btn, .btn-dark-lg dari style.css */

/* HERO */
.atto3-hero {
  position: relative;
  margin-top: var(--navbar-height);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
}

.atto3-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,11,0.25) 0%, rgba(11,11,11,0.9) 100%);
}

.atto3-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.atto3-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: #3fa9f5;
  font-weight: 600;
  margin-bottom: 14px;
}

.atto3-hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 14px;
}

.atto3-hero-content p {
  color: #ddd;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.atto3-hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* COLOR SHOWCASE */
.atto3-color-section {
  position: relative;
  background: #0b0b0b;
  padding: 90px 6% 0;
}

.atto3-color-card {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(160deg, #1b1e26 0%, #14161c 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px;
  padding: 60px 50px 50px;
  overflow: hidden;
  text-align: center;
}

.atto3-color-card .gallery-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.atto3-color-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.atto3-color-stage {
  position: relative;
  flex: 1 1 58%;
  max-width: 620px;
  border-radius: 16px;
  overflow: hidden;
}

.atto3-color-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  border-radius: 16px;
  filter: drop-shadow(0 30px 28px rgba(0,0,0,0.6));
  transition: opacity 0.3s ease;
}

.atto3-color-info {
  flex: 0 0 auto;
  max-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

#atto3-color-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.atto3-color-swatches {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.atto3-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
}

.atto3-swatch:hover {
  transform: scale(1.1);
}

.atto3-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}

.atto3-swatch.disabled {
  cursor: not-allowed;
  opacity: 0.35;
}

.atto3-swatch.disabled:hover {
  transform: none;
}

.atto3-color-note {
  font-size: 12px;
  color: #777;
  max-width: 260px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .atto3-color-body {
    flex-direction: column;
    text-align: center;
  }
  .atto3-color-stage {
    max-width: 460px;
  }
  .atto3-color-info {
    align-items: center;
  }
  .atto3-color-swatches {
    justify-content: center;
  }
  .atto3-color-note {
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .atto3-color-section {
    padding: 60px 5% 0;
  }
  .atto3-color-card {
    padding: 40px 24px 36px;
    border-radius: 18px;
  }
  .atto3-color-stage {
    max-width: 320px;
  }
  .atto3-swatch {
    width: 36px;
    height: 36px;
  }
}

/* FEATURE ROWS */
.atto3-feature {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 90px 8%;
  background: #0b0b0b;
}

.atto3-feature--reverse {
  flex-direction: row-reverse;
  background: #111111;
}

.atto3-feature-image {
  flex: 1;
  min-width: 280px;
}

.atto3-feature-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.atto3-feature-text {
  flex: 1;
  min-width: 280px;
}

.atto3-feature-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}

.atto3-feature-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 15px;
}

/* INTERIOR / EXTERIOR TABBED GALLERY */
.atto3-ie-gallery {
  padding: 90px 8% 50px;
}

.atto3-ie-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.atto3-ie-tab {
  padding: 10px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #ccc;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.atto3-ie-tab:hover {
  border-color: #fff;
  color: #fff;
}

.atto3-ie-tab.active {
  background: #fff;
  color: #0b0b0b;
  border-color: #fff;
  font-weight: 600;
}

.atto3-ie-panel {
  display: none;
}

.atto3-ie-panel.active {
  display: grid;
}

@media (max-width: 600px) {
  .atto3-ie-gallery {
    padding: 60px 5% 30px;
  }
  .atto3-ie-tabs {
    gap: 10px;
  }
  .atto3-ie-tab {
    padding: 8px 20px;
    font-size: 12px;
  }
}

/* LIFESTYLE GALLERY - reuse .model-gallery / .gallery-grid / .gallery-item */
.atto3-lifestyle {
  padding: 90px 8% 50px;
}

.atto3-lifestyle .gallery-section-header {
  margin-bottom: 40px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .atto3-hero-content h1 {
    font-size: 36px;
  }
  .atto3-feature,
  .atto3-feature--reverse {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== BYD M6 PAGE ===== */
/* Mengikuti pola atto-3.css: reuse .gallery-section-header, .model-gallery,
   .gallery-grid, .gallery-item, .gallery-cta, .btn, .btn-dark-lg dari style.css */

/* HERO
   Foto rumah + laut: langit biru ada di bagian atas, mobil di tengah-bawah.
   Teks ditaruh di atas (di area langit) supaya tidak menutupi mobil. */
.m6-hero {
  position: relative;
  margin-top: var(--navbar-height);
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  background-color: #0e3674;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: clamp(70px, 12vh, 130px) 20px 60px;
}

.m6-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 20, 45, 0.55) 0%,
    rgba(8, 20, 45, 0.12) 45%,
    rgba(11, 11, 11, 0.5) 100%
  );
}

.m6-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.m6-hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 14px;
}

.m6-hero-content p {
  color: #eef2f8;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.m6-hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  text-shadow: none;
}

/* COLOR SHOWCASE
   Gambar warna M6 sudah berupa cutout transparan (WebP + alpha), jadi mobil
   tampil langsung di atas kartu gelap, tanpa panel latar. Efek bayangan dan
   pantulan lantai dibuat lewat CSS (mengikuti pola halaman D9). */
.m6-color-section {
  position: relative;
  background: #0b0b0b;
  padding: 90px 6% 0;
}

.m6-color-card {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(160deg, #1b1e26 0%, #14161c 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 60px 50px 50px;
  overflow: hidden;
  text-align: center;
}

.m6-color-card .gallery-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.m6-color-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.m6-color-stage {
  position: relative;
  flex: 1 1 58%;
  max-width: 620px;
}

/* cahaya lembut di belakang mobil, supaya Cosmos Black dan Ink Stone Blue
   tetap terpisah dari kartu yang gelap */
.m6-color-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18% -8% -6%;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}

/* pantulan lantai di bawah mobil */
.m6-color-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -2%;
  transform: translateX(-50%);
  width: 84%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 72%);
  filter: blur(3px);
  pointer-events: none;
}

.m6-color-stage img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 24px rgba(0, 0, 0, 0.6));
  transition: opacity 0.3s ease;
}

.m6-color-info {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

#m6-color-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.m6-color-swatches {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.m6-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.m6-swatch:hover {
  transform: scale(1.1);
}

.m6-swatch:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: 4px;
}

.m6-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .m6-color-stage img,
  .m6-swatch {
    transition: none;
  }
}

@media (max-width: 900px) {
  .m6-color-body {
    flex-direction: column;
    text-align: center;
  }
  .m6-color-stage {
    width: 100%;
    max-width: 520px;
  }
  .m6-color-info {
    align-items: center;
  }
  .m6-color-swatches {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .m6-color-section {
    padding: 60px 5% 0;
  }
  .m6-color-card {
    padding: 40px 24px 36px;
    border-radius: 18px;
  }
  .m6-swatch {
    width: 36px;
    height: 36px;
  }
}

/* FEATURE ROWS */
.m6-feature {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 90px 8%;
  background: #0b0b0b;
}

.m6-feature--reverse {
  flex-direction: row-reverse;
  background: #111111;
}

.m6-feature-image {
  flex: 1;
  min-width: 280px;
}

.m6-feature-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.m6-feature-text {
  flex: 1;
  min-width: 280px;
}

.m6-feature-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}

.m6-feature-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 15px;
}

/* INTERIOR / EXTERIOR TABBED GALLERY */
.m6-ie-gallery {
  padding: 90px 8% 90px;
}

.m6-ie-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.m6-ie-tab {
  padding: 10px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ccc;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.m6-ie-tab:hover {
  border-color: #fff;
  color: #fff;
}

.m6-ie-tab:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: 3px;
}

.m6-ie-tab.active {
  background: #fff;
  color: #0b0b0b;
  border-color: #fff;
  font-weight: 600;
}

.m6-ie-panel {
  display: none;
}

.m6-ie-panel.active {
  display: grid;
}

/* Panel Exterior hanya berisi 2 foto -> 2 kolom di desktop
   (di tablet/mobile tetap 1 kolom dari aturan .gallery-grid di style.css) */
@media (min-width: 901px) {
  .m6-ie-panel--two {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Foto studio M6 cukup terang -> beri gradient gelap tipis di bawah
   supaya label putih tetap terbaca */
.m6-ie-panel .gallery-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}

.m6-ie-panel .gallery-label {
  z-index: 2;
}

/* Atur titik fokus crop foto (kolom 3 lebih sempit dari fotonya) */
.m6-ie-panel .gallery-item img.m6-focus-right {
  object-position: 62% center;
}

@media (max-width: 600px) {
  .m6-ie-gallery {
    padding: 60px 5% 60px;
  }
  .m6-ie-tabs {
    gap: 10px;
  }
  .m6-ie-tab {
    padding: 8px 20px;
    font-size: 12px;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .m6-hero-content h1 {
    font-size: 36px;
  }
  .m6-feature,
  .m6-feature--reverse {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .m6-hero {
    background-size: 200% auto;
    background-position: 46% 100%;
    padding-top: 60px;
  }
}

.m6dm-hero {
  position: relative;
  margin-top: var(--navbar-height);
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  background-color: #86bad4;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: clamp(70px, 12vh, 130px) 20px 60px;
}

.m6dm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 20, 45, 0.6) 0%,
    rgba(8, 20, 45, 0.15) 45%,
    rgba(11, 11, 11, 0.45) 100%
  );
}

.m6dm-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.m6dm-hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 14px;
}

.m6dm-hero-content p {
  color: #eef2f8;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.m6dm-hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  text-shadow: none;
}

/* FEATURE ROWS */
.m6dm-feature {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 90px 8%;
  background: #0b0b0b;
}

.m6dm-feature--reverse {
  flex-direction: row-reverse;
  background: #111111;
}

.m6dm-feature-image {
  flex: 1;
  min-width: 280px;
}

.m6dm-feature-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.m6dm-feature-text {
  flex: 1;
  min-width: 280px;
}

.m6dm-feature-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}

.m6dm-feature-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 15px;
}

.m6dm-modes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
  padding: 0;
}

.m6dm-mode {
  padding: 16px 18px;
  background: #16181e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top-width: 3px;
  border-radius: 10px;
  text-align: left;
}

.m6dm-mode--charge {
  border-top-color: #3fa9f5;
}

.m6dm-mode--fuel {
  border-top-color: #e0483a;
}

.m6dm-mode strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.m6dm-mode span {
  display: block;
  color: #aaa;
  font-size: 13px;
  line-height: 1.6;
}

/* INTERIOR / EXTERIOR TABBED GALLERY */
.m6dm-ie-gallery {
  padding: 90px 8% 90px;
}

.m6dm-ie-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.m6dm-ie-tab {
  padding: 10px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ccc;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.m6dm-ie-tab:hover {
  border-color: #fff;
  color: #fff;
}

.m6dm-ie-tab:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: 3px;
}

.m6dm-ie-tab.active {
  background: #fff;
  color: #0b0b0b;
  border-color: #fff;
  font-weight: 600;
}

.m6dm-ie-panel {
  display: none;
}

.m6dm-ie-panel.active {
  display: grid;
}

@media (min-width: 901px) {
  .m6dm-ie-panel--two {
    grid-template-columns: repeat(2, 1fr);
  }
}

.m6dm-ie-panel .gallery-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}

.m6dm-ie-panel .gallery-label {
  z-index: 2;
}

@media (max-width: 600px) {
  .m6dm-ie-gallery {
    padding: 60px 5% 60px;
  }
  .m6dm-ie-tabs {
    gap: 10px;
  }
  .m6dm-ie-tab {
    padding: 8px 20px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .m6dm-ie-tab {
    transition: none;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .m6dm-hero-content h1 {
    font-size: 36px;
  }
  .m6dm-feature,
  .m6dm-feature--reverse {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {

  .m6dm-hero {
    background-size: 190% auto;
    background-position: 52% 100%;
    padding-top: 60px;
  }

  .m6dm-modes {
    grid-template-columns: 1fr;
  }
}

/* ===== BYD SEAL PAGE ===== */
/* Mengikuti pola atto-3.css dan m6.css: reuse .gallery-section-header, .model-gallery,
   .gallery-grid, .gallery-item, .gallery-label, .gallery-cta, .btn, .btn-dark-lg dari style.css.
   Semua class khusus halaman ini memakai prefix "seal-" agar tidak bentrok dengan halaman lain. */

/* HERO
   Foto jalan pesisir: mobil ada di sisi kiri, laut dan langit di sisi kanan.
   Teks ditaruh di sisi kanan supaya tidak menutupi mobil. */
.seal-hero {
  position: relative;
  margin-top: var(--navbar-height);
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  background-color: #2b3f52;
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: clamp(70px, 14vh, 150px) 8% 60px;
}

.seal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 16, 30, 0.5) 0%,
    rgba(8, 16, 30, 0.1) 45%,
    rgba(11, 11, 11, 0.55) 100%
  );
}

.seal-hero-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  text-align: left;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.seal-hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 14px;
}

.seal-hero-content p {
  color: #eef2f8;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.seal-hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  text-shadow: none;
}

/* COLOR SHOWCASE
   Gambar warna sudah berupa cutout transparan (WebP + alpha), jadi mobil tampil
   langsung di atas kartu gelap tanpa panel latar. Bayangan dan pantulan lantai
   dibuat lewat CSS (pola yang sama dengan halaman D9 dan M6). */
.seal-color-section {
  position: relative;
  background: #0b0b0b;
  padding: 90px 6% 0;
}

.seal-color-card {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(160deg, #1b1e26 0%, #14161c 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 60px 50px 50px;
  overflow: hidden;
  text-align: center;
}

.seal-color-card .gallery-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.seal-color-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.seal-color-stage {
  position: relative;
  flex: 1 1 62%;
  max-width: 720px;
}

/* cahaya lembut di belakang mobil, supaya Cosmos Black tetap terpisah dari kartu gelap */
.seal-color-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18% -8% -6%;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 65%);
  pointer-events: none;
}

/* pantulan lantai di bawah mobil */
.seal-color-stage::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: -2%;
  transform: translateX(-50%);
  width: 84%;
  height: 22px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 72%);
  filter: blur(3px);
  pointer-events: none;
}

.seal-color-stage img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 24px rgba(0, 0, 0, 0.6));
  transition: opacity 0.3s ease;
}

.seal-color-info {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

#seal-color-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.seal-color-swatches {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.seal-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.seal-swatch:hover {
  transform: scale(1.1);
}

.seal-swatch:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: 4px;
}

.seal-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .seal-color-stage img,
  .seal-swatch,
  .seal-ie-tab {
    transition: none;
  }
}

@media (max-width: 900px) {
  .seal-color-body {
    flex-direction: column;
    text-align: center;
  }
  .seal-color-stage {
    width: 100%;
    max-width: 560px;
  }
  .seal-color-info {
    align-items: center;
  }
  .seal-color-swatches {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .seal-color-section {
    padding: 60px 5% 0;
  }
  .seal-color-card {
    padding: 40px 24px 36px;
    border-radius: 18px;
  }
  .seal-swatch {
    width: 36px;
    height: 36px;
  }
}

/* FEATURE ROWS */
.seal-feature {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 90px 8%;
  background: #0b0b0b;
}

.seal-feature--reverse {
  flex-direction: row-reverse;
  background: #111111;
}

.seal-feature-image {
  flex: 1;
  min-width: 280px;
}

.seal-feature-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.seal-feature-text {
  flex: 1;
  min-width: 280px;
}

.seal-feature-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}

.seal-feature-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 15px;
}

/* INTERIOR / EXTERIOR TABBED GALLERY */
.seal-ie-gallery {
  padding: 90px 8% 90px;
}

.seal-ie-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.seal-ie-tab {
  padding: 10px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ccc;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.seal-ie-tab:hover {
  border-color: #fff;
  color: #fff;
}

.seal-ie-tab:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: 3px;
}

.seal-ie-tab.active {
  background: #fff;
  color: #0b0b0b;
  border-color: #fff;
  font-weight: 600;
}

.seal-ie-panel {
  display: none;
}

.seal-ie-panel.active {
  display: grid;
}

/* Panel Exterior hanya berisi 2 foto -> 2 kolom di desktop
   (di tablet/mobile tetap 1 kolom dari aturan .gallery-grid di style.css) */
@media (min-width: 901px) {
  .seal-ie-panel--two {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Gradient gelap tipis di bawah foto supaya label putih selalu terbaca */
.seal-ie-panel .gallery-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}

.seal-ie-panel .gallery-label {
  z-index: 2;
}

@media (max-width: 600px) {
  .seal-ie-gallery {
    padding: 60px 5% 60px;
  }
  .seal-ie-tabs {
    gap: 10px;
  }
  .seal-ie-tab {
    padding: 8px 20px;
    font-size: 12px;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .seal-hero {
    justify-content: center;
    padding: 70px 22px 60px;
  }
  .seal-hero-content {
    text-align: center;
  }
  .seal-hero-content h1 {
    font-size: 36px;
  }
  .seal-hero-cta {
    justify-content: center;
  }
  .seal-feature,
  .seal-feature--reverse {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  /* Mobil di foto hero ada di sisi kiri -> geser fokus background ke kiri */
  .seal-hero {
    min-height: 640px;
    background-position: 32% 100%;
  }
}
/* ===== BYD SEALION 7 PAGE ===== */
/* Mengikuti pola seal.css / m6.css: reuse .gallery-section-header, .model-gallery,
   .gallery-grid, .gallery-item, .gallery-label, .gallery-cta, .btn, .btn-dark-lg,
   .btn-dark, .navbar, .footer dari style.css.
   Semua class khusus halaman ini memakai prefix "sealion7-" agar tidak bentrok
   dengan halaman BYD SEAL (prefix "seal-") maupun halaman lain. */

/* HERO
   Foto jalan pesisir dengan bukit hijau: mobil ada di tengah-kanan, jalan
   memanjang ke kanan bawah. Teks ditaruh di kiri-atas supaya tidak menutupi mobil. */
.sealion7-hero {
  position: relative;
  margin-top: var(--navbar-height);
  min-height: 90vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  background-color: #16324a;
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
  padding: clamp(70px, 14vh, 150px) 8% 60px;
}

.sealion7-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 16, 30, 0.72) 0%,
    rgba(8, 16, 30, 0.35) 42%,
    rgba(11, 11, 11, 0.15) 70%,
    rgba(11, 11, 11, 0.55) 100%
  );
}

.sealion7-hero-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.sealion7-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  color: #4da3ff;
  font-weight: 600;
  margin-bottom: 14px;
}

.sealion7-hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 14px;
}

.sealion7-hero-content p {
  color: #eef2f8;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.sealion7-hero-cta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  text-shadow: none;
}

.sealion7-color-section {
  position: relative;
  background: #0b0b0b;
  padding: 90px 6% 0;
}

.sealion7-color-card {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(160deg, #1b1e26 0%, #14161c 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 60px 50px 50px;
  overflow: hidden;
  text-align: center;
}

.sealion7-color-card .gallery-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.sealion7-color-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.sealion7-color-stage {
  position: relative;
  flex: 1 1 60%;
  max-width: 660px;
  border-radius: 16px;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
}

.sealion7-color-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  border-radius: 16px;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.6));
  transition: opacity 0.3s ease;
}

.sealion7-color-info {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

#sealion7-color-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.sealion7-color-swatches {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.sealion7-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.sealion7-swatch:hover {
  transform: scale(1.1);
}

.sealion7-swatch:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: 4px;
}

.sealion7-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .sealion7-color-stage img,
  .sealion7-swatch,
  .sealion7-ie-tab {
    transition: none;
  }
}

@media (max-width: 900px) {
  .sealion7-color-body {
    flex-direction: column;
    text-align: center;
  }
  .sealion7-color-stage {
    width: 100%;
    max-width: 520px;
  }
  .sealion7-color-info {
    align-items: center;
  }
  .sealion7-color-swatches {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .sealion7-color-section {
    padding: 60px 5% 0;
  }
  .sealion7-color-card {
    padding: 40px 24px 36px;
    border-radius: 18px;
  }
  .sealion7-swatch {
    width: 36px;
    height: 36px;
  }
}

/* FEATURE ROWS */
.sealion7-feature {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 90px 8%;
  background: #0b0b0b;
}

.sealion7-feature--reverse {
  flex-direction: row-reverse;
  background: #111111;
}

.sealion7-feature-image {
  flex: 1;
  min-width: 280px;
}

.sealion7-feature-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.sealion7-feature-text {
  flex: 1;
  min-width: 280px;
}

.sealion7-feature-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}

.sealion7-feature-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 15px;
}

/* INTERIOR / EXTERIOR TABBED GALLERY */
.sealion7-ie-gallery {
  padding: 90px 8% 90px;
}

.sealion7-ie-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.sealion7-ie-tab {
  padding: 10px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ccc;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.sealion7-ie-tab:hover {
  border-color: #fff;
  color: #fff;
}

.sealion7-ie-tab:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: 3px;
}

.sealion7-ie-tab.active {
  background: #fff;
  color: #0b0b0b;
  border-color: #fff;
  font-weight: 600;
}

.sealion7-ie-panel {
  display: none;
}

.sealion7-ie-panel.active {
  display: grid;
}

/* Gradient gelap tipis di bawah foto supaya label putih selalu terbaca */
.sealion7-ie-panel .gallery-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}

.sealion7-ie-panel .gallery-label {
  z-index: 2;
}

@media (max-width: 600px) {
  .sealion7-ie-gallery {
    padding: 60px 5% 60px;
  }
  .sealion7-ie-tabs {
    gap: 10px;
  }
  .sealion7-ie-tab {
    padding: 8px 20px;
    font-size: 12px;
  }
}

.sealion7-lifestyle {
  padding: 90px 8% 50px;
}

.sealion7-lifestyle .gallery-section-header {
  margin-bottom: 40px;
}

.sealion7-lifestyle-grid {
  grid-template-columns: repeat(3, 1fr);
}

.sealion7-lifestyle-grid .gallery-item {
  height: 340px;
}

/* Gradient tipis di bawah supaya label tetap kontras pada foto terang */
.sealion7-lifestyle-grid .gallery-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 1;
}

.sealion7-lifestyle-grid .gallery-label {
  z-index: 2;
}

@media (max-width: 900px) {
  .sealion7-lifestyle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* foto ke-3 melebar penuh supaya tidak sendirian di setengah baris */
  .sealion7-lifestyle-grid .gallery-item:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .sealion7-lifestyle-grid {
    grid-template-columns: 1fr;
  }
  .sealion7-lifestyle-grid .gallery-item {
    height: 280px;
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .sealion7-hero {
    justify-content: center;
    padding: 70px 22px 60px;
  }
  .sealion7-hero-content {
    text-align: center;
    max-width: 100%;
  }
  .sealion7-hero-content h1 {
    font-size: 36px;
  }
  .sealion7-hero-cta {
    justify-content: center;
  }
  .sealion7-feature,
  .sealion7-feature--reverse {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .sealion7-hero {
    min-height: 640px;
    background-position: 62% 100%;
  }
}

/* ===== BYD DOLPHIN PAGE ===== */

/* HERO */
.dolphin-hero {
  position: relative;
  margin-top: var(--navbar-height);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px;
}

.dolphin-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.25) 0%, rgba(11, 11, 11, 0.9) 100%);
}

.dolphin-hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.dolphin-hero-content h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 14px;
}

.dolphin-hero-content p {
  color: #ddd;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 34px;
}

.dolphin-hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* COLOR SHOWCASE */
.dolphin-color-section {
  position: relative;
  background: #0b0b0b;
  padding: 90px 6% 0;
}

.dolphin-color-card {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(160deg, #1b1e26 0%, #14161c 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  padding: 60px 50px 50px;
  overflow: hidden;
  text-align: center;
}

.dolphin-color-card .gallery-section-header {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
}

.dolphin-color-body {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.dolphin-color-stage {
  position: relative;
  flex: 1 1 58%;
  max-width: 620px;
  border-radius: 16px;
  overflow: hidden;
}

.dolphin-color-stage img {
  position: relative;
  z-index: 2;
  width: 100%;
  display: block;
  border-radius: 16px;
  filter: drop-shadow(0 30px 28px rgba(0, 0, 0, 0.6));
  transition: opacity 0.3s ease;
}

.dolphin-color-info {
  flex: 0 0 auto;
  max-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

#dolphin-color-name {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.dolphin-color-swatches {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .dolphin-color-swatches {
    max-width: 208px;   
    margin: 0 auto;
  }
}

.dolphin-swatch {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--swatch-color);
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.dolphin-swatch:hover {
  transform: scale(1.1);
}

.dolphin-swatch:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: 4px;
}

.dolphin-swatch.active {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .dolphin-color-stage img,
  .dolphin-swatch,
  .dolphin-ie-tab {
    transition: none;
  }
}

@media (max-width: 900px) {
  .dolphin-color-body {
    flex-direction: column;
    text-align: center;
  }
  .dolphin-color-stage {
    width: 100%;
    max-width: 460px;
  }
  .dolphin-color-info {
    align-items: center;
    max-width: 100%;
  }
  .dolphin-color-swatches {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .dolphin-color-section {
    padding: 60px 5% 0;
  }
  .dolphin-color-card {
    padding: 40px 24px 36px;
    border-radius: 18px;
  }
  .dolphin-swatch {
    width: 36px;
    height: 36px;
  }
}

/* FEATURE ROWS */
.dolphin-feature {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 90px 8%;
  background: #0b0b0b;
}

.dolphin-feature--reverse {
  flex-direction: row-reverse;
  background: #111111;
}

.dolphin-feature-image {
  flex: 1;
  min-width: 280px;
}

.dolphin-feature-image img {
  width: 100%;
  border-radius: 10px;
  display: block;
}

.dolphin-feature-text {
  flex: 1;
  min-width: 280px;
}

.dolphin-feature-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}

.dolphin-feature-text p {
  color: #ccc;
  line-height: 1.8;
  font-size: 15px;
}

/* INTERIOR / EXTERIOR TABBED GALLERY */
.dolphin-ie-gallery {
  padding: 90px 8% 50px;
}

.dolphin-ie-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.dolphin-ie-tab {
  padding: 10px 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #ccc;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}

.dolphin-ie-tab:hover {
  border-color: #fff;
  color: #fff;
}

.dolphin-ie-tab:focus-visible {
  outline: 2px solid #4da3ff;
  outline-offset: 3px;
}

.dolphin-ie-tab.active {
  background: #fff;
  color: #0b0b0b;
  border-color: #fff;
  font-weight: 600;
}

.dolphin-ie-panel {
  display: none;
}

.dolphin-ie-panel.active {
  display: grid;
}

@media (max-width: 600px) {
  .dolphin-ie-gallery {
    padding: 60px 5% 30px;
  }
  .dolphin-ie-tabs {
    gap: 10px;
  }
  .dolphin-ie-tab {
    padding: 8px 20px;
    font-size: 12px;
  }
}

/* LIFESTYLE GALLERY */
.dolphin-lifestyle {
  padding: 90px 8% 50px;
}

.dolphin-lifestyle .gallery-section-header {
  margin-bottom: 40px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .dolphin-hero-content h1 {
    font-size: 36px;
  }
  .dolphin-feature,
  .dolphin-feature--reverse {
    flex-direction: column;
    text-align: center;
  }
}


/* ===== MODEL PAGES: HERO (MOBILE) ===== */
@media (max-width: 600px) {

  /* Gambar + rasio + posisi teks tiap model */
  .d9-hero      { background-image: url('../assets/img/hero-denza-mobile.png')   !important; aspect-ratio: 940 / 1672;  --hero-pt: 15%; }
  .atto1-hero   { background-image: url('../assets/img/hero-atto1-mobile.png')   !important; aspect-ratio: 1024 / 1536; --hero-pt: 7%;  }
  .atto3-hero   { background-image: url('../assets/img/hero-atto3-mobile.png')   !important; aspect-ratio: 939 / 1676;  --hero-pt: 16%; }
  .dolphin-hero { background-image: url('../assets/img/hero-dolphin-mobile.png') !important; aspect-ratio: 941 / 1672;  --hero-pt: 18%; }
  .m6-hero      { background-image: url('../assets/img/hero-m6-mobile.png')      !important; aspect-ratio: 940 / 1672;  --hero-pt: 17%; }
  .m6dm-hero    { background-image: url('../assets/img/hero-m6dm-mobile.png')    !important; aspect-ratio: 1024 / 1536; --hero-pt: 12%; }
  .seal-hero    { background-image: url('../assets/img/hero-seal-mobile.png')    !important; aspect-ratio: 941 / 1672;  --hero-pt: 17%; }
  .sealion7-hero{ background-image: url('../assets/img/hero-sealion-mobile.png') !important; aspect-ratio: 1024 / 1536; --hero-pt: 14%; }

  /* Wadah hero: teks di atas, rata tengah */
  [class$="-hero"]:not(.gallery-hero) {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: auto;
    min-height: 0;
    margin-top: var(--navbar-height);
    padding: var(--hero-pt, 14%) 22px 0;
    overflow: hidden;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Gelap di atas (untuk teks) + fade ke hitam di bawah (menyatu dgn section berikutnya) */
  [class$="-hero-overlay"]:not(.gallery-hero-overlay) {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(180deg,
        rgba(6, 14, 30, 0.6) 0%,
        rgba(6, 14, 30, 0.5) 38%,
        rgba(6, 14, 30, 0) 62%),
      linear-gradient(0deg,
        rgba(11, 11, 11, 0.6) 0%,
        rgba(11, 11, 11, 0) 12%);
  }

  [class$="-hero-content"]:not(.gallery-hero-content) {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  }

  [class$="-hero-eyebrow"]:not(.gallery-hero-eyebrow) {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }

  [class$="-hero-content"]:not(.gallery-hero-content) h1 {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 12px;
  }

  [class$="-hero-content"]:not(.gallery-hero-content) p {
    font-size: 14px;
    line-height: 1.65;
    color: #f1f4f9;
    margin-bottom: 22px;
  }

  /* Dua tombol sebaris, sama lebar */
  [class$="-hero-cta"] {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 10px;
    text-shadow: none;
  }

  [class$="-hero-cta"] a {
    flex: 1 1 0;
    padding: 13px 8px;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
  }

  /* Tombol utama (Test Drive) putih penuh, tombol kedua outline transparan */
  [class$="-hero-cta"] .btn-dark-lg {
    background: #fff;
    color: #0b0b0b;
    border-color: #fff;
    font-weight: 600;
  }

  [class$="-hero-cta"] .btn {
    background: rgba(11, 11, 11, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}

/* ===== HOME: MODEL SHOWCASE (MOBILE) ===== */
@media (max-width: 600px) {
  #d9       { background-image: url('../assets/img/home-denza-mobile.png') !important;   aspect-ratio: 4267 / 7760; }
  #atto1    { background-image: url('../assets/img/home-atto1-mobile.webp') !important;  aspect-ratio: 1 / 2; }
  #atto3    { background-image: url('../assets/img/section-atto3-mobile.webp') !important; aspect-ratio: 1 / 2; }
  #dolphin  { background-image: url('../assets/img/section-dolphin-mobile.webp') !important; aspect-ratio: 1 / 2; }
  #m6       { background-image: url('../assets/img/home-m6-mobile.webp') !important;     aspect-ratio: 1 / 2; }
  #m6dm     { background-image: url('../assets/img/home-m6dm-mobile.jpg') !important;    aspect-ratio: 494 / 619; }
  #seal     { background-image: url('../assets/img/section-seal-mobile.webp') !important; aspect-ratio: 1 / 2; }
  #sealion7 { background-image: url('../assets/img/home-sealion-mobile.png') !important; aspect-ratio: 2 / 3; }

  .model-showcase {
    height: auto;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    background-size: cover;
    background-position: center;
  }

  .model-showcase-overlay {
    background: rgba(0, 0, 0, 0.3);
  }

  .model-showcase-content h2,
  .model-showcase-content p {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  }
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */

/* teks & tombol (judul, deskripsi, CTA) */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* delay berjenjang biar judul, teks, tombol muncul gantian */
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }

/* fade+scale untuk foto (dipakai bareng parallax di beberapa foto) */
.reveal-img {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.9s ease, transform 1s ease;
}
.reveal-img.is-visible {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-img {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ===== PARALLAX: FOTO MOBIL (about, product-intro, product-cta) ===== */
.parallax-wrap {
  overflow: hidden;
}
.parallax-wrap .parallax-img {
  will-change: transform;
  transform: scale(1.15); /* lebih besar dari wrapper supaya tidak ada celah saat bergeser */
}

/* ===== PARALLAX: BACKGROUND MODEL SHOWCASE (hero mobil per model) ===== */
/* background-attachment:fixed dimatikan di mobile lewat media query supaya
   tidak konflik dengan background-image khusus mobile yang sudah ada di style.css */
@media (min-width: 901px) {
  .model-showcase {
    background-attachment: fixed;
  }
}

/* ===== SECTION "DENZA HAKA PONDOK INDAH": GANTI KE TEMA TERANG ===== */
.about-dealer {
  background: linear-gradient(160deg, #ffffff 0%, #f0f0f0 100%);
}

.about-text h2 {
  color: #0b0b0b;
}

.about-text p {
  color: #555;
}

.about-image img {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

/* ===== TOMBOL: ZOOM SAAT HOVER ===== */
.btn,
.btn-dark-lg,
.btn-whatsapp,
.btn-dark {
  transition: transform 0.25s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn:hover,
.btn-dark-lg:hover,
.btn-whatsapp:hover,
.btn-dark:hover {
  transform: scale(1.06);
}