/* Quantum Car Studio — SEO/GEO UI Extensions (extends exact original theme) */
:root {
  --q-ink-950: #08080a;
  --q-ink-900: #111115;
  --q-ink-850: #16161c;
  --q-brand: #bf1a2c;
  --q-brand-bright: #e02240;
  --q-line: rgba(255, 255, 255, 0.10);
  --q-line-strong: rgba(255, 255, 255, 0.18);
  --q-titanium: #d4d4dc;
  --q-muted: #9ca3af;
}

html { scroll-behavior: smooth; }
body { padding-bottom: 4.5rem; }
@media (min-width: 768px) { body { padding-bottom: 0; } }

/* Header scroll & dropdown states */
.site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--q-line);
}
.nav-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 0.5rem);
  min-width: 290px;
  border-radius: 0.75rem;
  border: 1px solid var(--q-line-strong);
  background: rgba(14, 14, 18, 0.98);
  backdrop-filter: blur(16px);
  padding: 0.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 60;
}
.nav-dropdown.is-open,
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 0.5rem;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(8, 8, 10, 0.98);
  backdrop-filter: blur(16px);
  overflow-y: auto;
  padding: 5.25rem 1.25rem 6rem;
  display: none;
}
.mobile-drawer.is-open { display: block; }

/* GEO Direct Answer / TL;DR Box */
.geo-tldr {
  border: 1px solid rgba(224, 34, 64, 0.35);
  border-left: 3px solid var(--q-brand-bright);
  background: linear-gradient(135deg, rgba(191, 26, 44, 0.12) 0%, rgba(17, 17, 21, 0.85) 100%);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
}
.geo-tldr-label {
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fca5a5;
  margin-bottom: 0.5rem;
}

/* Luxury Comparison Tables */
.q-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--q-line);
  border-radius: 0.85rem;
  background: rgba(17, 17, 21, 0.85);
}
.q-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.q-table thead th {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-family: var(--font-display), system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--q-line-strong);
  white-space: nowrap;
}
.q-table tbody td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--q-line);
  color: var(--q-titanium);
  vertical-align: top;
  line-height: 1.55;
}
.q-table tbody tr:last-child td { border-bottom: none; }
.q-table tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
.q-table td strong { color: #ffffff; }

/* Prose styling for deep service & guide pages */
.q-prose h2 {
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}
.q-prose h3 {
  font-family: var(--font-display), system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #f4f4f6;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}
.q-prose p {
  color: var(--q-titanium);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.q-prose ul, .q-prose ol {
  margin: 0.75rem 0 1.25rem 1.25rem;
  color: var(--q-titanium);
  line-height: 1.7;
}
.q-prose ul { list-style: disc; }
.q-prose ol { list-style: decimal; }
.q-prose li { margin-bottom: 0.45rem; }
.q-prose strong { color: #ffffff; }
.q-prose a {
  color: #fca5a5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.q-prose a:hover { color: #ffffff; }

/* FAQ Accordion */
.faq-item {
  border: 1px solid var(--q-line);
  border-radius: 0.75rem;
  background: rgba(17, 17, 21, 0.72);
  transition: border-color 0.2s ease;
}
.faq-item[data-open="true"] {
  border-color: rgba(224, 34, 64, 0.45);
}
.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 0;
  color: #ffffff;
}
.faq-icon {
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--q-brand-bright);
}
.faq-item[data-open="true"] .faq-icon { transform: rotate(180deg); }
.faq-panel {
  display: none;
  padding: 0 1.25rem 1.15rem;
  color: var(--q-titanium);
  font-size: 0.94rem;
  line-height: 1.7;
}
.faq-item[data-open="true"] .faq-panel { display: block; }

/* Filter chips */
.filter-chip {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--q-line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--q-titanium);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-chip:hover { border-color: rgba(255, 255, 255, 0.35); color: #ffffff; }
.filter-chip.is-active {
  background: var(--q-brand);
  border-color: var(--q-brand-bright);
  color: #ffffff;
}

/* Luxury & Region Chips */
.q-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--q-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--q-titanium);
  font-size: 0.78rem;
  font-weight: 600;
}
.q-badge-brand {
  border-color: rgba(224, 34, 64, 0.4);
  background: rgba(191, 26, 44, 0.15);
  color: #fca5a5;
}

/* Card hover elevation */
.q-card {
  border: 1px solid var(--q-line);
  border-radius: 0.9rem;
  background: rgba(17, 17, 21, 0.78);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.q-card:hover {
  border-color: rgba(224, 34, 64, 0.45);
  transform: translateY(-2px);
}

/* Video showcase ready container (for upcoming studio videos) */
.q-media-ratio {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  background: #111115;
}
.q-media-ratio img,
.q-media-ratio video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox modal & gallery zoom */
[data-lightbox] {
  cursor: zoom-in;
}
.q-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 8, 0.94);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
}
.q-lightbox.is-open {
  display: flex;
}
.q-lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 1060px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.q-lightbox-topbar {
  width: 100%;
  max-width: 820px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}
.q-lightbox-counter {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
}
.q-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.q-lightbox-img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75);
}
.q-lightbox-caption {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--q-titanium);
  max-width: 720px;
}
.q-lightbox-close {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.q-lightbox-close:hover {
  background: var(--q-brand);
  border-color: var(--q-brand-bright);
}
.q-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(12, 12, 16, 0.82);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.q-lightbox-nav:hover {
  background: var(--q-brand);
  border-color: var(--q-brand-bright);
}
.q-lightbox-prev { left: 0.5rem; }
.q-lightbox-next { right: 0.5rem; }
@media (min-width: 768px) {
  .q-lightbox-prev { left: 1.5rem; }
  .q-lightbox-next { right: 1.5rem; }
}
.q-car-crop {
  object-fit: cover;
  object-position: 50% 72%;
}
.h-auto { height: auto; }
.max-w-sm { max-width: 24rem; }
.max-w-3xl { max-width: 48rem; }
.opacity-25 { opacity: 0.25; }
.pt-10 { padding-top: 2.5rem; }

/* ==================== Complete Utility Supplement (0 Missing Tailwind Classes) ==================== */
.z-10 { z-index: 10; }
.w-fit { width: fit-content; }
.max-w-none { max-width: none; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.min-h-\[75vh\] { min-height: 75vh; }
.min-h-\[86vh\] { min-height: 86vh; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.aspect-\[4\/3\] { aspect-ratio: 4 / 3; }

.p-3\.5 { padding: 0.875rem; }
.p-8 { padding: 2rem; }
.px-3\.5 { padding-left: 0.875rem; padding-right: 0.875rem; }
.py-7 { padding-top: 1.75rem; padding-bottom: 1.75rem; }
.pt-3\.5 { padding-top: 0.875rem; }
.pt-5 { padding-top: 1.25rem; }
.pt-20 { padding-top: 5rem; }
.pt-28 { padding-top: 7rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-14 { padding-bottom: 3.5rem; }

.my-6 { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.mt-2\.5 { margin-top: 0.625rem; }
.mt-14 { margin-top: 3.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

.gap-x-6 { column-gap: 1.5rem; }
.gap-y-2 { row-gap: 0.5rem; }
.items-end { align-items: flex-end; }

.text-6xl { font-size: 3.75rem; line-height: 1; }
.leading-\[1\.08\] { line-height: 1.08; }
.leading-snug { line-height: 1.375; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-widest { letter-spacing: 0.1em; }
.underline { text-decoration-line: underline; text-underline-offset: 3px; }
.text-red-200 { color: #fecaca; }
.text-white\/30 { color: rgba(255, 255, 255, 0.3); }
.placeholder-muted::placeholder { color: #9ca3af; }

.opacity-20 { opacity: 0.2; }
.opacity-35 { opacity: 0.35; }
.bg-brand\/10 { background-color: rgba(191, 26, 44, 0.10); }
.bg-ink-900\/50 { background-color: rgba(17, 17, 21, 0.50); }
.bg-ink-900\/75 { background-color: rgba(17, 17, 21, 0.75); }
.bg-ink-950\/60 { background-color: rgba(8, 8, 10, 0.60); }
.bg-ink-950\/70 { background-color: rgba(8, 8, 10, 0.70); }
.border-brand\/40 { border-color: rgba(191, 26, 44, 0.40); }
.border-brand\/50 { border-color: rgba(191, 26, 44, 0.50); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.10); }
.shadow-brand\/25 { --tw-shadow-color: rgba(191, 26, 44, 0.25); box-shadow: 0 10px 25px -5px rgba(191, 26, 44, 0.25); }

.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-brand\/20 { --tw-gradient-from: rgba(191, 26, 44, 0.20) var(--tw-gradient-from-position); --tw-gradient-to: rgba(191, 26, 44, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.via-ink-900 { --tw-gradient-to: rgba(17, 17, 21, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), #111115 var(--tw-gradient-via-position), var(--tw-gradient-to); }
.via-ink-950\/85 { --tw-gradient-to: rgba(8, 8, 10, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), rgba(8, 8, 10, 0.85) var(--tw-gradient-via-position), var(--tw-gradient-to); }
.via-ink-950\/90 { --tw-gradient-to: rgba(8, 8, 10, 0) var(--tw-gradient-to-position); --tw-gradient-stops: var(--tw-gradient-from), rgba(8, 8, 10, 0.90) var(--tw-gradient-via-position), var(--tw-gradient-to); }
.to-ink-950\/55 { --tw-gradient-to: rgba(8, 8, 10, 0.55) var(--tw-gradient-to-position); }

.duration-500 { transition-duration: 500ms; }
.hover\:scale-105:hover { transform: scale(1.05); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.hover\:text-brand-bright:hover { color: #e02240; }
.focus\:border-brand-bright:focus { border-color: #e02240; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-brand:focus { box-shadow: 0 0 0 2px rgba(191, 26, 44, 0.45); }

@media (min-width: 640px) {
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:h-96 { height: 24rem; }
  .sm\:items-end { align-items: flex-end; }
  .sm\:p-5 { padding: 1.25rem; }
  .sm\:p-12 { padding: 3rem; }
  .sm\:pt-32 { padding-top: 8rem; }
  .sm\:pb-20 { padding-bottom: 5rem; }
  .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:text-base { font-size: 1rem; line-height: 1.625; }
}
@media (min-width: 768px) {
  .md\:items-center { align-items: center; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-5 { grid-column: span 5 / span 5; }
  .lg\:col-span-7 { grid-column: span 7 / span 7; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:sticky { position: sticky; }
  .lg\:top-24 { top: 6rem; }
}
@media (min-width: 1280px) {
  .xl\:flex { display: flex; }
  .xl\:gap-1 { gap: 0.25rem; }
}
