/* ==========================================================================
   VENUS CARS Official Website Stylesheet
   Mobile-First | Clean White Base + Deep Navy + VENUS Orange/Amber Accent
   ========================================================================== */

:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --navy: #0d1321;
  --navy-soft: #162036;
  --navy-border: #24304a;
  --ink: #0f172a;
  --ink-secondary: #475569;
  --ink-muted: #64748b;
  --line: #e2e8f0;
  --line-strong: #cbd5e1;

  --accent: #ea580c;
  --accent-hover: #c2410c;
  --accent-soft: #fff7ed;
  --accent-border: #fed7aa;
  --amber: #f59e0b;

  --emerald: #059669;
  --emerald-bg: #ecfdf5;
  --emerald-border: #a7f3d0;

  --blue: #2563eb;
  --blue-bg: #eff6ff;
  --blue-border: #bfdbfe;

  --sold: #334155;
  --sold-bg: #f1f5f9;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(13, 19, 33, 0.14);

  --font-sans: "Outfit", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1160px;
  --header-h: 64px;
  --mobile-bar-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font-family: inherit;
}

.num {
  font-variant-numeric: tabular-nums;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo {
  height: 22px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 480px) {
  .brand-logo {
    height: 28px;
  }
}

.brand-divider {
  width: 1px;
  height: 22px;
  background: var(--line-strong);
  flex-shrink: 0;
}

.brand-sub {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-sub-title {
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--navy);
}

.brand-sub-ja {
  font-size: 9.5px;
  color: var(--ink-muted);
  font-weight: 600;
}

@media (min-width: 480px) {
  .brand-sub-title {
    font-size: 14px;
  }
  .brand-sub-ja {
    font-size: 10px;
  }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-secondary);
}

.header-nav a:hover {
  color: var(--accent);
}

@media (min-width: 900px) {
  .header-nav {
    display: flex;
  }
}

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: #fff;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.18s ease, transform 0.18s ease;
}

@media (min-width: 480px) {
  .header-tel {
    gap: 8px;
    padding: 8px 13px;
    font-size: 13px;
  }
}

.header-tel:hover {
  background: var(--navy-soft);
}

.header-tel-hours {
  display: none;
  font-size: 11px;
  font-weight: 500;
  color: #cbd5e1;
}

@media (min-width: 640px) {
  .header-tel-hours {
    display: inline;
  }
}

/* --------------------------------------------------------------------------
   Hero (Compact, High-Trust, Mobile-First)
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(145deg, #0b1120 0%, #131d35 60%, #1c2640 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 28px 0 26px;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.22) 0%, rgba(234, 88, 12, 0) 70%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero {
    padding: 46px 0 42px;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.35fr 0.65fr;
    align-items: center;
    gap: 32px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fdba74;
  background: rgba(234, 88, 12, 0.14);
  border: 1px solid rgba(251, 146, 60, 0.35);
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 5.8vw, 38px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.hero-title .accent {
  color: #fb923c;
}

.hero-desc {
  margin: 0 0 18px;
  font-size: 14px;
  color: #cbd5e1;
  max-width: 600px;
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 15px;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  padding: 12px 14px;
}

.stat-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}

.stat-value {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-top: 2px;
}

.stat-value span {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  margin-left: 2px;
}

.stat-sub {
  font-size: 11px;
  color: #cbd5e1;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}

.btn-navy:hover {
  background: var(--navy-soft);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--navy);
  background: var(--surface-muted);
}

.btn-lg {
  padding: 15px 22px;
  font-size: 15px;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Section Shell
   -------------------------------------------------------------------------- */
.section {
  padding: 32px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 52px 0;
  }
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 24px;
  }
}

.section-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0;
  font-size: clamp(21px, 4.4vw, 28px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
}

.section-lead {
  margin: 0;
  font-size: 14px;
  color: var(--ink-secondary);
}

/* --------------------------------------------------------------------------
   Filter & Sort Toolbar
   -------------------------------------------------------------------------- */
.inventory-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .inventory-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
  }
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--ink-secondary);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.filter-tab.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.filter-tab .tab-count {
  font-size: 11px;
  background: rgba(15, 23, 42, 0.08);
  padding: 1px 7px;
  border-radius: 999px;
}

.filter-tab.is-active .tab-count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.sort-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-muted);
  font-weight: 600;
}

.sort-select {
  flex: 1;
  min-width: 170px;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Vehicle Cards (CarSensor-Familiar Modern Card UI)
   -------------------------------------------------------------------------- */
.vehicle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

.vehicle-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vehicle-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.vehicle-card.is-sold {
  background: #fafbfc;
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vehicle-card:hover .card-media img {
  transform: scale(1.03);
}

.vehicle-card.is-sold .card-media img {
  filter: saturate(0.75) brightness(0.92);
}

.card-badges-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.status-badge--available {
  background: var(--emerald);
  color: #fff;
}

.status-badge--available::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a7f3d0;
}

.status-badge--negotiating {
  background: #d97706;
  color: #fff;
}

.status-badge--sold {
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.photo-count-pill {
  background: rgba(13, 19, 33, 0.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.card-highlight-pill {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(13, 19, 33, 0.88);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.55);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

.sold-stamp {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 19, 33, 0.26);
  pointer-events: none;
}

.sold-stamp span {
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(13, 19, 33, 0.78);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.14em;
  padding: 6px 18px;
  border-radius: 10px;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

@media (min-width: 768px) {
  .card-body {
    padding: 18px 20px 20px;
  }
}

.card-maker {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.card-title {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.32;
}

.card-grade {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-secondary);
  margin-top: 2px;
}

.card-headline {
  margin: 0;
  font-size: 13px;
  color: var(--ink-secondary);
  background: var(--surface-muted);
  border-left: 3px solid var(--accent);
  padding: 6px 10px;
  border-radius: 0 8px 8px 0;
}

.vehicle-card.is-sold .card-headline {
  border-left-color: var(--sold);
}

/* Price Strip (CarSensor-style clear hierarchy) */
.price-panel {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  padding: 11px 12px;
  align-items: center;
}

.vehicle-card.is-sold .price-panel {
  background: var(--sold-bg);
  border-color: var(--line);
}

.price-total-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.vehicle-card.is-sold .price-total-label {
  color: var(--sold);
}

.price-total-val {
  font-size: 27px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.vehicle-card.is-sold .price-total-val {
  color: var(--sold);
}

.price-total-val small {
  font-size: 13px;
  font-weight: 700;
  margin-left: 2px;
}

.price-sub-col {
  border-left: 1px solid rgba(234, 88, 12, 0.18);
  padding-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.vehicle-card.is-sold .price-sub-col {
  border-left-color: var(--line-strong);
}

.price-sub-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-secondary);
  white-space: nowrap;
}

.price-sub-row strong {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 800;
  white-space: nowrap;
}

.price-monthly strong {
  color: var(--navy);
}

/* Spec 4-cell grid */
.spec-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.spec-mini-item {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 7px 6px;
  text-align: center;
}

.spec-mini-label {
  font-size: 10px;
  color: var(--ink-muted);
  font-weight: 600;
}

.spec-mini-val {
  font-size: 12px;
  font-weight: 800;
  color: var(--ink);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Equipment tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  font-size: 11px;
  font-weight: 700;
  color: var(--navy-soft);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 3px 9px;
  border-radius: 6px;
}

.tag-pill--accent {
  background: #fef3c7;
  border-color: #fde68a;
  color: #92400e;
}

.card-footer {
  margin-top: auto;
  padding-top: 4px;
  display: flex;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   Features & Custom Paint Spotlight
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy);
  color: #fb923c;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.feature-card p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
}

.spotlight-card {
  margin-top: 22px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 860px) {
  .spotlight-card {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-content {
  padding: 22px 20px 24px;
}

@media (min-width: 768px) {
  .spotlight-content {
    padding: 32px;
  }
}

.spotlight-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: #0d1321;
  background: var(--amber);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.spotlight-content h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.35;
}

.spotlight-content p {
  margin: 0 0 16px;
  font-size: 14px;
  color: #cbd5e1;
}

.spotlight-points {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: #e2e8f0;
}

.spotlight-points li::before {
  content: "✓";
  color: var(--amber);
  font-weight: 900;
  margin-right: 8px;
}

/* --------------------------------------------------------------------------
   VENUS MATCH Flow Banner
   -------------------------------------------------------------------------- */
.match-banner {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 60%, #eff6ff 100%);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .match-banner {
    padding: 30px 32px;
  }
}

.flow-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

@media (min-width: 768px) {
  .flow-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.flow-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.flow-step-no {
  font-size: 11px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.flow-step h4 {
  margin: 4px 0 4px;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
}

.flow-step p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-secondary);
}

/* --------------------------------------------------------------------------
   Store Info & Access
   -------------------------------------------------------------------------- */
.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 860px) {
  .store-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
  }
}

.store-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.info-dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.info-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 10px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.info-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-row dt {
  color: var(--ink-muted);
  font-weight: 700;
}

.info-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
}

.info-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.visit-notice {
  margin-top: 16px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13px;
  color: #78350f;
}

.visit-notice strong {
  display: block;
  margin-bottom: 2px;
  color: #92400e;
}

.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.map-frame {
  width: 100%;
  min-height: 280px;
  flex: 1;
  border: 0;
}

.map-actions {
  padding: 14px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--surface-muted);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 32px 0 36px;
  margin-top: 24px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-logo-wrap {
  background: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  display: inline-flex;
}

.footer-logo-wrap img {
  height: 20px;
}

.footer-meta {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   Mobile Sticky Bottom Bar
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 0.85fr 1.45fr;
  gap: 8px;
  box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.08);
}

.mobile-sticky-bar .btn {
  padding: 11px 10px;
  font-size: 13px;
  border-radius: 10px;
}

@media (min-width: 900px) {
  .mobile-sticky-bar {
    display: none;
  }
}

/* ==========================================================================
   Vehicle Detail Page (car.html)
   ========================================================================== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-muted);
  padding: 14px 0 12px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "gallery"
    "side"
    "content";
  gap: 18px;
  align-items: start;
}

@media (min-width: 960px) {
  .detail-layout {
    grid-template-columns: 1.25fr 0.75fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "gallery side"
      "content side";
    gap: 24px 26px;
  }
}

.detail-gallery-wrap {
  grid-area: gallery;
  min-width: 0;
}

.detail-content-wrap {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.detail-side-col {
  grid-area: side;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

@media (min-width: 960px) {
  .detail-side-col {
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }
}

/* Gallery */
.gallery-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--navy);
  overflow: hidden;
  touch-action: pan-y;
  cursor: zoom-in;
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b1120;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(13, 19, 33, 0.72);
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}

.gallery-nav:hover {
  background: rgba(13, 19, 33, 0.92);
}

.gallery-nav--prev { left: 10px; }
.gallery-nav--next { right: 10px; }

.gallery-counter {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(13, 19, 33, 0.8);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.gallery-caption-bar {
  background: var(--navy);
  color: #f8fafc;
  padding: 12px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.gallery-caption-text {
  margin: 0;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px;
  background: var(--surface-muted);
  border-top: 1px solid var(--line);
  scrollbar-width: thin;
}

.thumb-btn {
  flex: 0 0 72px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: var(--navy);
  cursor: pointer;
  opacity: 0.68;
  transition: all 0.15s ease;
  position: relative;
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-btn.is-active {
  border-color: var(--accent);
  opacity: 1;
}

.thumb-paint-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: var(--amber);
  color: var(--navy);
  font-size: 9px;
  font-weight: 900;
  padding: 1px 4px;
  border-radius: 4px;
}

/* Summary / CTA Box */
.summary-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 768px) {
  .summary-card {
    padding: 22px;
  }
}

.detail-car-title {
  margin: 4px 0 2px;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.3;
}

.detail-car-grade {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-secondary);
}

.cta-venus-match {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  width: 100%;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  text-align: center;
  box-shadow: 0 10px 24px rgba(234, 88, 12, 0.32);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cta-venus-match:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(234, 88, 12, 0.4);
}

.cta-venus-match-sub {
  font-size: 11.5px;
  font-weight: 600;
  opacity: 0.92;
}

.sold-notice-box {
  background: var(--sold-bg);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
}

.sold-notice-box strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}

.sold-notice-box p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-secondary);
}

.cta-note {
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
  margin: -6px 0 0;
}

/* Detail Panels */
.detail-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .detail-panel {
    padding: 22px 24px;
  }
}

.panel-title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 900;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-title::before {
  content: "";
  width: 4px;
  height: 18px;
  border-radius: 2px;
  background: var(--accent);
}

/* Warranty Plans */
.plan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  background: var(--surface-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.plan-card--featured {
  background: #eff6ff;
  border-color: #93c5fd;
}

.plan-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
}

.plan-card--featured .plan-badge {
  background: var(--blue);
}

.plan-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.plan-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.15;
}

.plan-price small {
  font-size: 12px;
  font-weight: 700;
}

.plan-desc {
  margin: 0;
  font-size: 12px;
  color: var(--ink-secondary);
}

/* Spec Table */
.spec-table {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) {
  .spec-table {
    grid-template-columns: repeat(2, 1fr);
  }
}

.spec-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.spec-row dt {
  background: var(--surface-muted);
  color: var(--ink-muted);
  font-weight: 700;
  padding: 10px 12px;
}

.spec-row dd {
  margin: 0;
  padding: 10px 12px;
  font-weight: 600;
  color: var(--ink);
}

/* Equipment Grid */
.equip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.equip-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 6px 11px;
  border-radius: 8px;
}

.equip-chip::before {
  content: "✓";
  color: var(--emerald);
  font-weight: 900;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 15, 28, 0.94);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 96vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-caption {
  color: #e2e8f0;
  font-size: 14px;
  margin-top: 12px;
  text-align: center;
  max-width: 720px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.empty-state {
  background: var(--surface);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  color: var(--ink-muted);
}
