/* ========================================
   HDdragon Holdings · Corporate Website
   Palette: Deep Navy + Warm Gold + Ivory
   ======================================== */

:root {
  --navy-900: #061133;
  --navy-700: #0a1a4a;
  --navy-500: #1a2a5c;
  --gold-500: #b88940;
  --gold-300: #d9b36a;
  --gold-100: #f3e7cc;
  --ivory: #faf7f0;
  --stone: #e8e2d4;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: rgba(10, 26, 74, 0.08);
  --shadow-sm: 0 2px 10px rgba(10, 26, 74, 0.06);
  --shadow-md: 0 10px 40px rgba(10, 26, 74, 0.08);
  --shadow-lg: 0 20px 60px rgba(10, 26, 74, 0.12);
  --radius: 4px;
  --radius-lg: 8px;
  --font-serif: "Noto Serif SC", "Cormorant Garamond", serif;
  --font-display: "Cormorant Garamond", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

.gold { color: var(--gold-500); }

/* ================ NAV ================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: all 0.4s ease;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  height: 110px;
  width: auto;
  max-width: 380px;
  display: block;
  margin-top: 4px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(10, 26, 74, 0.05);
  border: 1px solid rgba(10, 26, 74, 0.12);
  border-radius: 999px;
  padding: 3px;
}
.lang-btn {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy-600);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}
.lang-btn:hover {
  color: var(--navy-800);
  background: rgba(10, 26, 74, 0.08);
}
.lang-btn.active {
  background: var(--navy-700);
  color: #fff;
  box-shadow: 0 2px 6px rgba(10, 26, 74, 0.25);
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-700);
  letter-spacing: 1.5px;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--gold-500);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold-500); }
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; width: 28px; height: 20px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-700); transition: 0.3s; }

/* ================ HERO ================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(184, 137, 64, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(26, 42, 92, 0.6) 0%, transparent 60%),
    linear-gradient(135deg, #061133 0%, #0a1a4a 50%, #1a2a5c 100%);
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0, transparent 80px, rgba(184,137,64,0.04) 80px, rgba(184,137,64,0.04) 81px),
    repeating-linear-gradient(90deg, transparent 0, transparent 80px, rgba(184,137,64,0.04) 80px, rgba(184,137,64,0.04) 81px);
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%, rgba(6, 17, 51, 0) 0%, rgba(6, 17, 51, 0.7) 80%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 140px 32px 80px;
  width: 100%;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(217, 179, 106, 0.35);
  border-radius: 50px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold-300);
  margin-bottom: 40px;
  background: rgba(184, 137, 64, 0.06);
  animation: fadeUp 1s ease 0.1s both;
}
.hero-tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 12px var(--gold-300);
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 28px;
}
.hero-title .line {
  display: block;
  animation: fadeUp 1.2s ease 0.2s both;
}
.hero-title .line.gold {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 4px;
  font-size: 0.55em;
  margin-top: 14px;
  color: var(--gold-300);
  animation-delay: 0.4s;
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
  color: rgba(255,255,255,0.82);
  margin-bottom: 44px;
  letter-spacing: 1.5px;
  animation: fadeUp 1.2s ease 0.5s both;
}
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  animation: fadeUp 1.2s ease 0.65s both;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 3px;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold-500);
  color: #fff;
  border: 1px solid var(--gold-500);
}
.btn-primary:hover {
  background: var(--gold-300);
  border-color: var(--gold-300);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(184, 137, 64, 0.35);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--gold-300);
  color: var(--gold-300);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  animation: fadeUp 1.2s ease 0.8s both;
}
.stat { min-width: 140px; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 600;
  color: var(--gold-300);
  line-height: 1;
  letter-spacing: 1px;
}
.stat-num + .stat-label { margin-top: 8px; }
.stat-label {
  font-size: 12px;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.7);
  margin-top: 6px;
}
.stat-line {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.18);
}

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 4px;
  animation: fadeUp 1.5s ease 1.2s both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--gold-300));
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: -50%; left: 0;
  width: 100%; height: 50%;
  background: var(--gold-300);
  animation: scrollMove 1.8s ease-in-out infinite;
}
@keyframes scrollMove {
  0% { top: -50%; } 100% { top: 100%; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================ SECTION HEAD ================ */
section { padding: 120px 0; position: relative; }

.section-head {
  margin-bottom: 72px;
  max-width: 780px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-index {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold-500);
  margin-bottom: 18px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: 2px;
  line-height: 1.2;
}
.section-divider {
  height: 1px;
  width: 80px;
  background: linear-gradient(to right, var(--gold-500), transparent);
  margin-top: 24px;
}
.section-head.center .section-divider {
  margin-left: auto;
  margin-right: auto;
}
.section-sub {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 1px;
}

/* Light-mode head for dark sections */
.section-head.light .section-title { color: #fff; }
.section-head.light .section-index { color: var(--gold-300); }
.section-head.light .section-divider { background: linear-gradient(to right, var(--gold-300), transparent); }

/* ================ ABOUT ================ */
.about { background: var(--ivory); }
.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-text p {
  font-size: 16px;
  color: #2b2b2b;
  margin-bottom: 22px;
  line-height: 2;
}
.about-text p.lead {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy-700);
  font-weight: 500;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  line-height: 1.9;
}
.about-text strong { color: var(--gold-500); font-weight: 600; }

.about-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 120px;
}
.about-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 32px 28px;
  border-left: 3px solid var(--gold-500);
  transition: all 0.3s ease;
}
.about-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--navy-700);
}
.card-num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--gold-500);
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.about-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ================ BRANDS ================ */
.brands {
  background:
    linear-gradient(180deg, #fff 0%, var(--ivory) 100%);
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.brand-card {
  background: #fff;
  padding: 56px 40px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: all 0.4s ease;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(180deg, rgba(184,137,64,0.08), transparent);
  transition: height 0.5s ease;
}
.brand-card:hover {
  background: var(--ivory);
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: var(--shadow-md);
}
.brand-card:hover::before { height: 100%; }

.brand-image {
  max-height: 90px;
  width: auto;
  max-width: 180px;
  margin: 0 auto 24px;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
  filter: grayscale(0) contrast(1.02);
}
.brand-card:hover .brand-image {
  transform: scale(1.05);
}
.brand-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
  letter-spacing: 1px;
}
.brand-sub {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}
.brand-line {
  height: 1px;
  width: 36px;
  background: var(--gold-500);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.brand-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}
.brand-wide {
  grid-column: span 3;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  min-height: 260px;
  color: #fff;
  padding: 60px 40px;
}
.brand-wide .brand-image {
  filter: brightness(1.1) contrast(1.05);
  max-height: 110px;
  max-width: 240px;
  margin-bottom: 28px;
}
.brand-wide .brand-title { color: var(--gold-300); font-size: 26px; letter-spacing: 2px; }
.brand-wide .brand-sub { color: rgba(255,255,255,0.7); }
.brand-wide .brand-line { background: var(--gold-300); }
.brand-wide p { color: rgba(255,255,255,0.85); font-size: 14.5px; }
.brand-wide:hover { background: linear-gradient(135deg, var(--navy-500), var(--navy-700)); }

/* ================ GALLERY / CAROUSEL ================ */
.gallery {
  padding: 120px 0;
  background: var(--ivory);
}

.carousel {
  position: relative;
}

.carousel-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(10, 26, 74, 0.35);
  background: #0a1a4a;
}

.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 6s ease;
}

.carousel-slide.active img {
  transform: scale(1.08);
}

.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 26, 74, 0.75) 0%,
    rgba(10, 26, 74, 0.15) 40%,
    rgba(10, 26, 74, 0.05) 60%,
    rgba(10, 26, 74, 0.85) 100%
  );
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
}

.carousel-btn:hover {
  background: var(--gold-500);
  border-color: var(--gold-500);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 48px 60px;
  z-index: 5;
  color: #fff;
}

.caption-brand {
  font-size: 12px;
  letter-spacing: 4px;
  color: var(--gold-300);
  margin-bottom: 14px;
  text-transform: uppercase;
}

.caption-name {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.carousel-count {
  position: absolute;
  top: 28px;
  right: 40px;
  z-index: 5;
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-count .sep {
  color: var(--gold-300);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.carousel-dots button {
  width: 28px;
  height: 3px;
  background: rgba(10, 26, 74, 0.2);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.carousel-dots button:hover {
  background: var(--gold-300);
}

.carousel-dots button.active {
  background: var(--gold-500);
  width: 48px;
  height: 4px;
}

/* ================ STORES ================ */
.stores {
  background:
    linear-gradient(180deg, var(--ivory) 0%, #fff 100%);
}
.stores-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.stores-filter {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.filter-group { flex: 1; min-width: 200px; }
.filter-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold-500);
  margin-bottom: 12px;
  font-weight: 500;
}
.chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  padding: 8px 18px;
  font-size: 13px;
  color: var(--navy-700);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 50px;
  letter-spacing: 1px;
  transition: all 0.25s ease;
}
.chip:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
}
.chip.active {
  background: var(--navy-700);
  color: #fff;
  border-color: var(--navy-700);
}

.map-wrap {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  min-height: 600px;
}
.map {
  height: 680px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #e8e2d4;
  z-index: 1;
}
.store-list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.store-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--navy-700);
  letter-spacing: 1.5px;
  background: var(--ivory);
}
.store-list-head .count { color: var(--gold-500); font-family: var(--font-display); font-size: 15px; }
.store-list-body {
  flex: 1;
  overflow-y: auto;
  max-height: 608px;
}
.store-list-body::-webkit-scrollbar { width: 6px; }
.store-list-body::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 3px; }

.store-item {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}
.store-item:last-child { border-bottom: none; }
.store-item:hover {
  background: var(--ivory);
  padding-left: 32px;
}
.store-item.active {
  background: linear-gradient(to right, rgba(184, 137, 64, 0.08), transparent);
  border-left: 3px solid var(--gold-500);
  padding-left: 29px;
}
.si-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.si-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.si-meta .tag {
  display: inline-block;
  padding: 2px 10px;
  background: rgba(10, 26, 74, 0.06);
  color: var(--navy-700);
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 1px;
}
.si-meta .tag.gold { background: rgba(184, 137, 64, 0.12); color: var(--gold-500); }
.si-addr {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Custom map marker */
.hd-marker {
  width: 34px;
  height: 34px;
  background: var(--navy-700);
  border: 2px solid var(--gold-500);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 4px 14px rgba(10, 26, 74, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.hd-marker::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  transform: rotate(45deg);
}
.hd-marker.active {
  background: var(--gold-500);
  border-color: var(--navy-700);
  transform: rotate(-45deg) scale(1.2);
  box-shadow: 0 6px 20px rgba(184, 137, 64, 0.6);
}
.hd-marker.active::after { background: var(--navy-700); }

.leaflet-popup-content-wrapper {
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}
.leaflet-popup-content {
  margin: 14px 18px;
  font-family: var(--font-sans);
  min-width: 180px;
}
.popup-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 6px;
  font-size: 15px;
}
.popup-brand {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(184, 137, 64, 0.15);
  color: var(--gold-500);
  border-radius: 2px;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.popup-addr { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* Detail panel */
.store-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}
.detail-close {
  position: absolute;
  top: 16px; right: 20px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 22px;
  border-radius: 50%;
  transition: all 0.2s;
  cursor: pointer;
}
.detail-close:hover {
  background: var(--ivory);
  color: var(--navy-700);
}
.detail-header { padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.detail-brand {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold-500);
  padding: 4px 12px;
  background: rgba(184, 137, 64, 0.08);
  margin-bottom: 14px;
  border-radius: 2px;
}
.detail-header h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--navy-700);
  letter-spacing: 1.5px;
}
.detail-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}
.detail-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(10, 26, 74, 0.06);
  align-items: start;
}
.detail-row:last-child { border-bottom: none; }
.detail-row .label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold-500);
  padding-top: 3px;
}
.detail-row span:last-child {
  font-size: 14px;
  color: #2b2b2b;
  line-height: 1.7;
}
.detail-btn {
  width: 100%;
  padding: 16px;
  letter-spacing: 3px;
}

/* ================ FUTURE ================ */
.future {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(184, 137, 64, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, var(--navy-900), var(--navy-700));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.future::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(217, 179, 106, 0.05) 0, rgba(217, 179, 106, 0.05) 1px, transparent 1px, transparent 120px);
  pointer-events: none;
}
.future-quote {
  max-width: 980px;
  margin: 0 auto 88px;
  text-align: center;
  position: relative;
}
.quote-cn {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 500;
  line-height: 2.1;
  color: rgba(255,255,255,0.92);
  letter-spacing: 2px;
  margin-bottom: 28px;
}
.quote-en {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-300);
  letter-spacing: 2px;
}
.future-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.future-card {
  padding: 44px 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(217, 179, 106, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.future-card::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-300), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.future-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.07);
  border-color: var(--gold-300);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.future-card:hover::before { opacity: 1; }
.fc-icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(217, 179, 106, 0.12);
  border: 1px solid var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-300);
}
.fc-icon svg { width: 28px; height: 28px; }
.future-card h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: 2px;
  color: #fff;
}
.future-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.9;
  letter-spacing: 0.5px;
}

/* ================ FOOTER ================ */
.contact {
  background: #050d25;
  color: rgba(255,255,255,0.72);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-logo {
  height: 110px;
  width: auto;
  max-width: 380px;
  display: block;
  margin: -10px 0 20px -44px;
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}
.footer-col h5 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h5::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 1px;
  background: var(--gold-300);
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold-300); }
.footer-col .muted { font-size: 12px; color: rgba(255,255,255,0.35); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 1.5px;
}

/* ================ RESPONSIVE ================ */
@media (max-width: 960px) {
  section { padding: 80px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-side { position: static; }

  /* Carousel responsive */
  .carousel-viewport { aspect-ratio: 4 / 3; }
  .carousel-caption { padding: 32px 28px; }
  .carousel-btn { width: 44px; height: 44px; }
  .carousel-prev { left: 12px; }
  .carousel-next { right: 12px; }
  .carousel-count { top: 18px; right: 20px; font-size: 14px; }

  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-wide { grid-column: span 2; }
  .map-wrap { grid-template-columns: 1fr; }
  .map { height: 480px; }
  .future-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
  .stat-line { display: none; }
  .hero-content { padding: 120px 24px 60px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-wide { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-stats { gap: 16px; }
  .stat { min-width: 40%; }
  .detail-row { grid-template-columns: 70px 1fr; gap: 12px; }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
