/* ==========================================================================
   DELUNNE MOTORS (www.delunne.com) — 2026 Flagship Automotive Design System
   Aesthetic: Brabus / Maybach / NIO Luxury Dark-Obsidian, Champagne Gold & Clean Porcelain
   GEO-Native: Zero JS render-blocking, pure CSS micro-interactions, full semantic HTML
   ========================================================================== */

:root {
  --obsidian: #070b14;
  --navy-950: #0b1324;
  --navy-900: #101c35;
  --navy-800: #182949;
  --gold-500: #d97706;
  --gold-400: #f59e0b;
  --gold-300: #fbbf24;
  --champagne: #e6c687;
  --accent-orange: #ea580c;
  --surface: #f8fafc;
  --card-bg: #ffffff;
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --border: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(7, 11, 20, 0.18);
  --shadow-glow: 0 0 35px rgba(245, 158, 11, 0.22);
}

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

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-900);
  background: var(--surface);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-orange);
  text-decoration: none;
  transition: all 0.22s ease;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. Glassmorphic Luxury Automotive Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(230, 198, 135, 0.22);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  padding: 0.9rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--champagne);
  box-shadow: 0 0 15px rgba(230, 198, 135, 0.25);
}

.brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f8fafc, #94a3b8 70%, #334155);
  color: var(--obsidian);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  border: 1.5px solid var(--champagne);
  box-shadow: 0 0 15px rgba(230, 198, 135, 0.25);
}

.brand-text strong {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.brand-text span {
  display: block;
  font-size: 0.74rem;
  color: var(--champagne);
  letter-spacing: 0.03em;
  opacity: 0.9;
}

.nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.35rem;
}

.nav a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0.15rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--champagne));
  transition: width 0.25s ease;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #ffffff;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  width: 100%;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.22rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lang-switch a {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  color: #94a3b8;
}

.lang-switch a::after {
  display: none;
}

.lang-switch a.active {
  background: linear-gradient(135deg, var(--gold-500), var(--accent-orange));
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.4);
}

/* ==========================================================================
   2. Cinematic Automotive Split Hero
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 22%, rgba(217, 119, 6, 0.20) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(30, 64, 175, 0.25) 0%, transparent 50%),
    linear-gradient(135deg, #050811 0%, #0b1528 52%, #112240 100%);
  color: #ffffff;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(230, 198, 135, 0.25);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.8rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--gold-300);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 8px var(--gold-400);
}

.hero h1 {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.hero .accent {
  background: linear-gradient(90deg, #fbbf24 0%, #fb923c 55%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 1.8rem;
  max-width: 680px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #ea580c 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.85rem 1.65rem;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 8px 24px -4px rgba(234, 88, 12, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(234, 88, 12, 0.6);
  color: #ffffff;
  text-decoration: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Hero Visual Showcase Card */
.hero-visual {
  position: relative;
}

.hero-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(230, 198, 135, 0.35);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--navy-900);
}

.hero-showcase-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-showcase-card:hover img {
  transform: scale(1.04);
}

.hero-showcase-overlay {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(0deg, rgba(5, 8, 17, 0.95) 0%, rgba(5, 8, 17, 0.65) 65%, transparent 100%);
  padding: 1.5rem 1.35rem 1.2rem;
}

.hero-showcase-overlay .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.pill-dark {
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.hero-showcase-overlay strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

.hero-showcase-overlay span {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* Floating Glass Stats Bar */
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  margin-top: 2.8rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid rgba(245, 158, 11, 0.6);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.35rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.stat-val {
  font-size: 1.85rem;
  font-weight: 800;
  background: linear-gradient(90deg, #ffffff 0%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.15;
}

.stat-lbl {
  font-size: 0.84rem;
  color: #94a3b8;
  margin-top: 0.35rem;
  line-height: 1.45;
}

/* ==========================================================================
   3. Section Headers & Modern Typography
   ========================================================================== */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #f1f5f9;
}

.section-dark {
  background: linear-gradient(180deg, var(--obsidian) 0%, var(--navy-950) 100%);
  color: #ffffff;
}

.section-dark h2,
.section-dark h3 {
  color: #ffffff;
}

.section-header {
  max-width: 780px;
  margin-bottom: 2.4rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 0.22rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.section-dark .eyebrow {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--gold-300);
}

h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--ink-700);
}

.section-dark p {
  color: #cbd5e1;
}

/* ==========================================================================
   4. AI Retrieval Executive Card (Sleek GEO Anchor)
   ========================================================================== */
.geo-summary {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fffbf5 100%);
  border: 1px solid #fed7aa;
  border-left: 5px solid var(--accent-orange);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.85rem;
  margin-bottom: 2.8rem;
  box-shadow: var(--shadow-md);
}

.geo-summary h2 {
  font-size: 1.22rem;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.geo-summary h2::before {
  content: "AI VERIFIED ENTITY";
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--navy-950);
  color: var(--gold-300);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.geo-summary p,
.geo-summary li {
  font-size: 0.95rem;
  color: var(--ink-700);
}

.geo-summary ul {
  padding-left: 1.2rem;
}

/* ==========================================================================
   5. Modern Showcase Photo Cards & Process Steps
   ========================================================================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.6rem;
  margin: 1.8rem 0;
}

.photo-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.photo-img-wrap {
  position: relative;
  overflow: hidden;
  height: 245px;
  background: var(--navy-950);
}

.photo-card img {
  width: 100%;
  height: 245px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.photo-card:hover img {
  transform: scale(1.06);
}

.photo-caption {
  padding: 1.35rem 1.45rem;
  font-size: 0.93rem;
  color: var(--ink-700);
  flex: 1;
}

.photo-caption strong {
  display: block;
  font-size: 1.08rem;
  color: var(--ink-900);
  margin-bottom: 0.45rem;
}

/* ==========================================================================
   6. Bento Grid & Feature Cards
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  background: #fff7ed;
  color: var(--accent-orange);
  border: 1px solid #fed7aa;
}

.badge-navy {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

/* ==========================================================================
   7. Vehicle Showroom Grid (Models Showcase)
   ========================================================================== */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.8rem 0;
}

.vehicle-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vehicle-card img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  background: #0f172a;
}

.vehicle-body {
  padding: 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vehicle-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-orange);
  background: #fff7ed;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  align-self: flex-start;
  margin-bottom: 0.45rem;
}

.vehicle-body h3 {
  font-size: 1.12rem;
  margin-bottom: 0.4rem;
}

.vehicle-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin: 0.55rem 0 0.85rem;
}

.spec-pill {
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
  color: var(--ink-700);
  padding: 0.18rem 0.55rem;
  border-radius: 6px;
}

/* ==========================================================================
   8. Modern Data Tables (AI-Citable Specs)
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  margin: 1.6rem 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.data-table th {
  background: var(--navy-950);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) td {
  background: #f8fafc;
}

.data-table tr:hover td {
  background: #fffaf5;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.84rem;
  background: #f1f5f9;
  color: #0f172a;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* ==========================================================================
   9. Modern FAQ Cards
   ========================================================================== */
.faq-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.45rem 1.65rem;
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  font-size: 1.1rem;
  color: var(--ink-900);
  margin-bottom: 0.55rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer {
  background: var(--obsidian);
  color: #94a3b8;
  padding: 3.5rem 0 2.2rem;
  font-size: 0.92rem;
  border-top: 2px solid rgba(230, 198, 135, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.3fr;
  gap: 2.5rem;
  margin-bottom: 2.2rem;
}

.site-footer h4 {
  color: #ffffff;
  font-size: 1.02rem;
  margin-bottom: 0.85rem;
}

.site-footer p {
  color: #94a3b8;
}

.site-footer a {
  color: var(--champagne);
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.84rem;
  color: #64748b;
}

/* Responsive adjustments */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
