/* ============================================
   Shared base styles for Mini Chairs Atelier content pages
   Brand: Blue + Orange
   ============================================ */

:root {
  --navy-900: #0a2f6b;
  --navy-800: #0f3f8a;
  --navy-700: #154ca3;
  --navy-600: #1c5cc2;
  --blue-500: #2f7fe0;
  --amber-500: #ff7a1e;
  --amber-600: #e8650a;
  --teal-500: #1c8c7c;
  --green-600: #1f8a4c;
  --red-600: #c0392b;
  --gray-50: #f7f8fa;
  --gray-100: #eef1f5;
  --gray-200: #e2e6ec;
  --gray-400: #9aa4b2;
  --gray-600: #5b6472;
  --gray-800: #2b323c;
  --white: #ffffff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(11, 31, 56, 0.08);
  --shadow-md: 0 6px 20px rgba(11, 31, 56, 0.12);
  --shadow-lg: 0 16px 40px rgba(11, 31, 56, 0.18);
  --max-width: 1180px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: var(--blue-500); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 12px; color: var(--navy-900); }
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 14px; }
.lede { font-size: 1.15rem; color: var(--gray-600); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--amber-600);
  margin-bottom: 8px;
  display: block;
}
.center { text-align: center; }
.section { padding: 64px 0; }
.section-alt { background: var(--gray-50); }
.section-navy { background: var(--navy-900); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .lede { color: #c7d2e0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-amber { background: var(--amber-500); color: var(--navy-900); }
.btn-amber:hover { background: var(--amber-600); box-shadow: var(--shadow-md); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy-800); border-color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy-900); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.link-btn {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--blue-500); font-size: 0.85rem; font-weight: 700;
  text-decoration: underline; text-align: left;
}
.link-btn:hover { color: var(--navy-800); }
.checkbox-row {
  display: flex; align-items: flex-start; gap: 8px; cursor: pointer;
  font-size: 0.85rem; color: var(--gray-600); margin-bottom: 8px;
}
.checkbox-row input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; }
.inline-box {
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  padding: 14px; background: var(--gray-50);
}

/* ---------- Top utility bar + Nav ---------- */
.topbar {
  background: var(--navy-900);
  color: #c7d2e0;
  font-size: 0.82rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 6px 24px; }
.topbar a { color: #c7d2e0; }
.topbar-links a { margin-left: 18px; }

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy-900);
}
.brand .mark {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  display: flex; align-items: center; justify-content: center;
  color: var(--amber-500);
  font-weight: 900;
}
/* Real logo mark (public/img/logo-icon.png) — replaces the plain "V" badge
   in the nav, where the white icon background blends into the white bar. */
.brand-icon { height: 38px; width: auto; display: block; }
/* Footer sits on a dark background, so it uses the pre-composited white
   app-icon tile (public/img/logo-badge-white.png) instead — same icon, but
   already given its own white rounded card by the designer so it reads as
   a clean badge rather than a plain white rectangle. */
.brand-icon-dark { height: 44px; width: auto; display: block; border-radius: 10px; }

/* Full "white background" lockup (icon + wordmark + tagline + feature strip),
   shown as a small white card inside the dark footer. */
.footer-logo-card {
  background: #fff;
  border-radius: var(--radius-md, 12px);
  padding: 14px 18px;
  display: inline-block;
  margin-bottom: 14px;
}
.footer-logo-card img { display: block; width: 220px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-links a { color: var(--navy-800); font-weight: 600; font-size: 0.94rem; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1.2rem;
  line-height: 1;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--navy-800);
}

@media (max-width: 940px) {
  .navbar .wrap { position: relative; flex-wrap: wrap; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: none;
    padding: 18px 24px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-block; order: 2; }
  .nav-cta { order: 3; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 15% 20%, rgba(255,122,30,0.20), transparent 40%),
    linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 64px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { color: var(--white); font-size: 2.7rem; }
.hero .lede { color: #d7e0ee; }

.vin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  color: var(--gray-800);
}
.vin-card .tag {
  display: inline-block;
  background: var(--amber-500);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.vin-input-row { display: flex; gap: 10px; margin: 10px 0 6px; }
.vin-input-row input {
  flex: 1;
  padding: 14px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vin-input-row input:focus { outline: none; border-color: var(--blue-500); }
.vin-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--gray-600); margin-bottom: 14px; }
.vin-price-note { font-size: 0.85rem; color: var(--gray-600); margin-top: 10px; }
.vin-error { color: var(--red-600); font-size: 0.85rem; margin-top: 8px; display: none; }
.vin-divider { text-align: center; color: var(--gray-400); font-size: 0.8rem; margin: 14px 0; position: relative; }

/* Rotating vehicle showcase */
.carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 26px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.carousel-stage { position: relative; height: 190px; display: flex; align-items: center; justify-content: center; }
.carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.carousel-slide.active { opacity: 1; transform: scale(1); }
.carousel-caption { margin-top: 18px; text-align: center; }
.carousel-caption .vname { font-size: 1.15rem; font-weight: 800; color: var(--white); }
.carousel-caption .vsub { font-size: 0.85rem; color: #c7d2e0; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.carousel-dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.3); transition: background 0.3s ease; cursor: pointer; }
.carousel-dots span.active { background: var(--amber-500); }

.car-svg { width: 180px; height: auto; }

/* Value-comparison carousel (light section, so dots need a dark-friendly base) */
.value-compare-stage { transition: opacity 0.18s ease; }
.value-compare-dots span { background: var(--gray-200); }
.value-compare-dots span.active { background: var(--amber-500); }
.vc-vehicle-heading { color: var(--navy-900); margin: 0 0 14px; transition: opacity 0.18s ease; }
/* Normalized to a shared 640x320 (2:1) canvas at export time, so every
   vehicle photo renders at the same scale — no per-photo sizing needed. */
.vc-car-photo { width: 100%; max-width: 220px; height: auto; display: block; margin: 10px auto; }

/* ---------- Feature grid ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px 20px;
}
.feature-card .icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.feature-card ul { margin: 0; padding-left: 18px; color: var(--gray-600); font-size: 0.92rem; }
.feature-card li { margin-bottom: 4px; }

/* ---------- Pricing ---------- */
.price-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  position: relative;
}
.price-card.featured { border-color: var(--amber-500); box-shadow: var(--shadow-md); }
.price-card .badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--amber-500); color: var(--navy-900);
  font-size: 0.72rem; font-weight: 800; padding: 5px 14px; border-radius: 999px;
}
.price-card .amount { font-size: 2.6rem; font-weight: 800; color: var(--navy-900); margin: 10px 0 0; }
.price-card .amount span { font-size: 1rem; font-weight: 600; color: var(--gray-600); }
.price-card .desc { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 18px; }
.price-card ul { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; }
.price-card li { padding: 7px 0; border-bottom: 1px dashed var(--gray-200); font-size: 0.94rem; }
.price-card li:before { content: "✓ "; color: var(--green-600); font-weight: 800; }

/* ---------- Cards / misc ---------- */
.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 24px; }
.tag-pill { display: inline-block; background: var(--gray-100); color: var(--navy-800); font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--navy-800); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.96rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue-500); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.82rem; color: var(--gray-600); }
.success-box { background: #eafaf0; border: 1px solid #b7e6c6; color: #1f6b3f; padding: 14px 16px; border-radius: var(--radius-sm); margin-top: 14px; display: none; }

/* ---------- Table (sample report) ---------- */
.report-doc { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.report-head { background: var(--navy-900); color: var(--white); padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.report-body { padding: 28px; }
.report-section { margin-bottom: 26px; }
.report-section h4 { border-bottom: 2px solid var(--gray-100); padding-bottom: 8px; }
.report-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: 0.94rem; }
.status-clear { color: var(--green-600); font-weight: 700; }
.status-warn { color: var(--amber-600); font-weight: 700; }
.watermark { text-align:center; color: var(--gray-400); font-size: 0.78rem; padding: 14px; background: var(--gray-50); }

/* ---------- Recalls ---------- */
.recall-item { border-left: 4px solid var(--amber-500); background: var(--gray-50); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: 12px; }
.recall-item h4 { margin: 0 0 6px; font-size: 1rem; }
.recall-item p { margin: 0; font-size: 0.9rem; color: var(--gray-600); }

/* ---------- Footer ---------- */
footer { background: var(--navy-900); color: #c7d2e0; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; margin-bottom: 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
footer h5 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 9px; font-size: 0.9rem; }
footer a { color: #c7d2e0; }
footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.8rem; color: #8ea0bb; }

/* ---------- Utility ---------- */
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(0,0,0,0.15); border-top-color: var(--navy-900);
  animation: spin 0.7s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.stack { display: flex; flex-direction: column; gap: 10px; }
.pill-group { display: flex; gap: 10px; flex-wrap: wrap; }
.qty-control { display: flex; align-items: center; gap: 10px; }
.qty-control button { width: 34px; height: 34px; border-radius: 8px; border: 2px solid var(--gray-200); background: var(--white); font-size: 1.1rem; cursor: pointer; }
.option-card { border: 2px solid var(--gray-200); border-radius: var(--radius-md); padding: 16px; cursor: pointer; text-align: center; }
.option-card.selected { border-color: var(--amber-500); background: #fff8ec; }
.total-bar { display: flex; justify-content: space-between; align-items: center; padding: 18px; background: var(--gray-50); border-radius: var(--radius-md); margin: 18px 0; font-weight: 700; }

/* ---------- VIN / Plate search tabs ---------- */
.search-tabs { display: flex; gap: 4px; margin-bottom: 14px; background: var(--gray-100); border-radius: var(--radius-sm); padding: 4px; }
.search-tab { flex: 1; text-align: center; padding: 9px 10px; border-radius: 5px; font-weight: 700; font-size: 0.88rem; cursor: pointer; color: var(--gray-600); }
.search-tab.active { background: var(--white); color: var(--navy-900); box-shadow: var(--shadow-sm); }
.search-pane { display: none; }
.search-pane.active { display: block; }
.scan-btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: none;
  color: var(--blue-500); font-weight: 700; font-size: 0.85rem; cursor: pointer; padding: 6px 0;
}
.scan-modal-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(10,20,40,0.7); z-index: 300;
  align-items: center; justify-content: center; padding: 20px;
}
.scan-modal-backdrop.open { display: flex; }
.scan-modal { background: var(--white); border-radius: var(--radius-lg); padding: 20px; max-width: 420px; width: 100%; text-align: center; }
.scan-modal video { width: 100%; border-radius: var(--radius-md); background: #000; }
.scan-modal .form-note { margin-top: 10px; }

/* ---------- Trust badges ---------- */
.trust-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.trust-badge { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; color: var(--gray-600); }
.trust-badge .dot { font-size: 1rem; }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-question {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  padding: 18px 4px; font-size: 1rem; font-weight: 700; color: var(--navy-900);
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-question .plus { font-size: 1.3rem; color: var(--amber-500); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-question .plus { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; color: var(--gray-600); font-size: 0.94rem; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 4px 18px; margin: 0; }

/* ---------- Sticky mobile CTA bar ---------- */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
  background: var(--white); border-top: 1px solid var(--gray-200); box-shadow: 0 -6px 20px rgba(10,31,56,0.12);
  padding: 10px 14px; gap: 10px; align-items: center;
}
.sticky-cta.visible { display: flex; }
.sticky-cta input { flex: 1; padding: 11px 12px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 0.95rem; text-transform: uppercase; min-width: 0; }
.sticky-cta .btn { white-space: nowrap; padding: 11px 16px; }
@media (min-width: 941px) { .sticky-cta { display: none !important; } }

/* ---------- Decal logo upload ---------- */
.logo-upload-zone {
  border: 2px dashed var(--gray-200); border-radius: var(--radius-md); padding: 18px;
  text-align: center; cursor: pointer; margin-top: 14px;
}
.logo-upload-zone:hover { border-color: var(--blue-500); }
.logo-upload-zone input[type="file"] { display: none; }
.decal-preview-logo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  max-width: 70%; max-height: 70%; border-radius: 8px;
}
.decal-preview-wrap { position: relative; }

/* ---------- Order lookup ---------- */
.order-card { border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.order-status-badge { font-size: 0.75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }
.order-status-badge.ready { background: #eafaf0; color: #1f8a4c; }
.order-status-badge.processing { background: #fff4e5; color: #e8650a; }
