/* ═══════════════════════════════════════════════════════════
   NexCruise — structural layout (never changes between themes)
   ═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { padding-bottom: 56px; }
img  { max-width: 100%; }

/* ── Header ─────────────────────────────────────────────── */
#site-header { position: sticky; top: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 16px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.logo svg { flex-shrink: 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn-orange, .btn-teal {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; text-decoration: none; width: 100%;
  transition: opacity .15s, transform .1s;
}
.btn-orange:active, .btn-teal:active { transform: scale(0.98); }
.btn-orange.sm, .btn-teal.sm { width: auto; }

/* ── Hero ────────────────────────────────────────────────── */
.hero-img { width: 100%; overflow: hidden; }
.hero-img img { width: 100%; display: block; }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }

/* ── Benefits ────────────────────────────────────────────── */
.benefit-cards { display: flex; flex-direction: column; gap: 14px; }

/* ── Compatibility ───────────────────────────────────────── */
.brand-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.brand-btn  { display: flex; flex-direction: column; align-items: center; gap: 4px; cursor: pointer; }
.brand-mono { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.model-list { display: flex; flex-direction: column; gap: 8px; }
.model-btn  { width: 100%; text-align: left; cursor: pointer; font-family: inherit; }
.back-btn   { display: flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; padding: 0; margin-bottom: 16px; font-family: inherit; }
.result-body     { padding: 16px; }
.result-features { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.result-feature  { display: flex; align-items: center; gap: 8px; }
.result-video    { overflow: hidden; margin-bottom: 14px; position: relative; }
.result-video img { width: 100%; display: block; }
.play-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.play-circle  { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }

/* ── Social proof ────────────────────────────────────────── */
.testimonials    { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.testimonial-meta { display: flex; align-items: center; gap: 10px; }
.avatar          { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 50%; }
.video-strip     { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 28px; }
.video-strip::-webkit-scrollbar { display: none; }
.vid-thumb       { flex-shrink: 0; width: 120px; overflow: hidden; position: relative; }
.vid-thumb img   { width: 100%; aspect-ratio: 9/16; object-fit: cover; display: block; }
.vid-overlay     { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.aha-dost-form   { display: flex; flex-direction: column; gap: 10px; }
.aha-dost-form input { width: 100%; outline: none; font-family: inherit; }
.rabbithole      { display: flex; flex-direction: column; gap: 10px; }
.rabbithole a    { display: flex; align-items: center; justify-content: space-between; text-decoration: none; }

/* ── Installation ────────────────────────────────────────── */
.install-steps  { margin-bottom: 28px; }
.install-step   { display: flex; gap: 16px; padding-bottom: 24px; }
.install-step:last-child { padding-bottom: 0; }
.step-col       { display: flex; flex-direction: column; align-items: center; }
.step-num       { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }
.step-line      { width: 2px; flex: 1; margin-top: 4px; }
.install-step:last-child .step-line { display: none; }
.step-body      { padding-top: 6px; flex: 1; }
.step-body.step-row { display: flex; align-items: center; gap: 14px; }
.step-text      { flex: 1; }
.step-img       { width: 30%; flex-shrink: 0; display: block; }
.install-sub    { font-size: 12px; margin-top: 4px; margin-bottom: 20px; line-height: 1.5; }
.reassurance-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.install-video-inner { position: relative; }
.install-video-card img { width: 100%; display: block; }

/* ── Compare CTA (below compare table in #variants) ─────── */
.compare-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.ct-buttons-row td { padding-top: 14px; padding-bottom: 6px; vertical-align: top; }
.ct-col-btns { display: flex; flex-direction: column; gap: 8px; padding: 0 4px; }

/* ── Compare Table ───────────────────────────────────────── */
.compare-table-wrap { width: 100%; overflow-x: auto; margin-bottom: 8px; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th,
.compare-table td { padding: 11px 10px; text-align: center; vertical-align: middle; border-bottom: 1px solid rgba(0,0,0,0.07); }
.compare-table thead tr { border-bottom: 2px solid rgba(0,0,0,0.10); }
.compare-table th.ct-feature-col,
.compare-table td:first-child { text-align: left; width: 48%; font-size: 13px; font-weight: 600; }
.compare-table thead th { vertical-align: bottom; padding-bottom: 14px; }
.compare-table tbody tr:nth-child(odd) { background: rgba(0,0,0,0.025); }
.ct-head { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.ct-name { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.6; }
.ct-price { font-size: 14px; font-weight: 700; }
.ct-featured .ct-name { opacity: 1; }
.ct-yes { font-size: 17px; line-height: 1; color: #22c55e; }
.ct-no  { font-size: 17px; line-height: 1; color: rgba(180,0,0,0.40); }

/* ── Variants ────────────────────────────────────────────── */
.variant-cards { display: flex; flex-direction: column; gap: 16px; margin-bottom: 28px; }
.variant-label { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.variant-features { list-style: none; }
.variant-features li { display: flex; align-items: flex-start; gap: 8px; }

/* ── Savings ─────────────────────────────────────────────── */
.savings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.input-group  { display: flex; flex-direction: column; gap: 6px; }
.input-field  { width: 100%; outline: none; font-family: inherit; }
.fuel-toggle  { display: flex; gap: 8px; }
.fuel-btn     { flex: 1; cursor: pointer; font-family: inherit; }
.result-line  { display: flex; justify-content: space-between; align-items: center; }

/* ── Social Feed ─────────────────────────────────────────── */
#social { padding: 40px 0 48px; }
#social .sec-head,
#social .feed-context,
#social .feed-hint,
#social .rabbithole { padding-left: 20px; padding-right: 20px; }
.feed-context   { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.feed-outer     { position: relative; }
.feed-nav       { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
                  width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer;
                  display: flex; align-items: center; justify-content: center;
                  font-size: 18px; line-height: 1; transition: opacity .15s; }
.feed-nav--prev { left: 4px; }
.feed-nav--next { right: 4px; }
.feed-nav[disabled] { opacity: 0.25; pointer-events: none; }
.feed-track     { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 20px 16px; cursor: grab; }
.feed-track::-webkit-scrollbar { display: none; }
.feed-track:active { cursor: grabbing; }
.feed-card      { flex-shrink: 0; width: 220px; scroll-snap-align: start; border-radius: 16px; overflow: hidden; cursor: pointer; transition: transform .2s; }
.feed-card:hover { transform: translateY(-2px); }
.feed-card--testimonial { width: 360px; display: flex; flex-direction: column; }
.feed-card--testimonial .feed-card-body { padding: 10px 12px 10px; gap: 4px; }
.feed-card--testimonial .feed-card-quote { font-size: 12px; }
.feed-card--video       { width: 300px; height: 300px; display: flex; flex-direction: column; }
.feed-card-thumb        { position: relative; flex-shrink: 0; }
.feed-card-thumb img    { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.feed-card-play         { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.feed-card-duration     { position: absolute; bottom: 6px; right: 8px; font-size: 10px; font-weight: 700; border-radius: 4px; padding: 2px 5px; }
.feed-card-body         { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.feed-card-badge        { display: inline-block; font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 9999px; padding: 2px 8px; align-self: flex-start; }
.feed-card-quote        { font-size: 13px; font-style: italic; line-height: 1.55; flex: 1; }
.feed-card-meta         { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.feed-card-avatar       { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 11px; font-weight: 700; }
.feed-card-author       { font-size: 11px; font-weight: 700; }
.feed-card-car          { font-size: 10px; }
.feed-card-cta          { font-size: 11px; font-weight: 600; margin-top: auto; }
.feed-card-title        { font-size: 12px; font-weight: 600; line-height: 1.4; flex: 1; }
.feed-card-views        { font-size: 10px; }
.feed-edge              { position: absolute; top: 0; bottom: 16px; width: 52px; pointer-events: none; z-index: 2; }
.feed-edge--left        { left: 0; }
.feed-edge--right       { right: 0; }
.feed-hint              { font-size: 11px; text-align: center; margin-top: 2px; margin-bottom: 20px; }

/* ── Compat Proof Strip ──────────────────────────────────── */
.compat-result-proof    { display: flex; gap: 10px; margin-bottom: 16px; margin-top: 14px; }
.compat-proof-item      { flex: 1; border-radius: 12px; overflow: hidden; position: relative; cursor: pointer; }
.compat-proof-item--video { aspect-ratio: 16/9; }
.compat-proof-item--video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.compat-proof-item--quote { display: flex; flex-direction: column; justify-content: space-between; padding: 12px; }
.compat-proof-quote     { font-size: 11px; font-style: italic; line-height: 1.5; flex: 1; }
.compat-proof-byline    { font-size: 10px; font-weight: 600; margin-top: 6px; }
.compat-proof-hint      { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 6px; }

/* ── Content Overlay ─────────────────────────────────────── */
.content-overlay        { position: fixed; inset: 0; z-index: 600; display: flex; align-items: center; justify-content: center; padding: 20px; }
.content-overlay[hidden]{ display: none; }
.content-overlay-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); }
.content-overlay-panel  { position: relative; width: min(480px, 92vw); max-height: 88vh; overflow-y: auto; border-radius: 20px; z-index: 1; }
.overlay-close          { position: sticky; top: 12px; float: right; margin: 12px 12px 0 0; width: 32px; height: 32px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; z-index: 2; }
.overlay-body           { padding: 48px 20px 8px; clear: both; }
.overlay-video-wrap     { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; margin-bottom: 14px; }
.overlay-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.overlay-hero-quote     { font-size: 18px; font-style: italic; font-weight: 600; line-height: 1.5; margin-bottom: 14px; }
.overlay-summary        { font-size: 13px; line-height: 1.7; margin-bottom: 14px; }
.overlay-verbatim       { margin-top: 16px; border-top: 1px solid rgba(0,0,0,0.08); padding-top: 14px; }
.overlay-verbatim p     { font-size: 13px; line-height: 1.75; margin-bottom: 10px; }
.overlay-car-chip       { display: inline-block; font-size: 11px; font-weight: 600; border-radius: 9999px; padding: 4px 12px; margin-bottom: 10px; }
.overlay-source-badge   { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.overlay-video-title    { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.overlay-meta           { font-size: 11px; }
.overlay-footer         { padding: 12px 20px 32px; display: flex; flex-direction: column; gap: 10px; }
.overlay-source-btn     { width: auto; align-self: flex-start; }
.overlay-confirm        { padding: 14px; border-radius: 12px; }
.overlay-confirm[hidden]{ display: none; }
.overlay-confirm-text   { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.overlay-confirm-btns   { display: flex; gap: 8px; }
.overlay-confirm-stay   { flex: 1; }
.overlay-confirm-leave  { flex: 1; border: none; cursor: pointer; border-radius: 9999px; font-family: inherit; font-size: 13px; font-weight: 600; padding: 0 16px; height: 38px; }

/* ── Speak to a Customer (static preloader skeleton) ────── */
#speak          { padding: 40px 20px 52px; }
.speak-card     { border-radius: 16px; padding: 20px 18px; margin-bottom: 20px; }
.speak-desc     { line-height: 1.65; margin-bottom: 20px; }
.speak-label    { display: block; margin-bottom: 8px; }
.speak-select   { width: 100%; outline: none; font-family: inherit; margin-bottom: 14px; border-radius: 10px; padding: 14px 16px; }
.speak-connect-btn { width: 100%; border: none; font-family: inherit; border-radius: 10px; padding: 14px 16px; }
.speak-results  { display: flex; flex-direction: column; gap: 12px; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-q    { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: transparent; border: none; cursor: pointer; text-align: left; font-family: inherit; }
.chevron  { flex-shrink: 0; transition: transform .22s; }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-a    { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-cta  { margin-top: 28px; }

/* ── Founders ────────────────────────────────────────────── */
.founder-blocks { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.founder-block  { display: flex; gap: 16px; align-items: flex-start; }
.founder-photo  { flex-shrink: 0; width: 88px; height: 112px; overflow: hidden; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.founder-info   { flex: 1; }
.story-video-inner { position: relative; }
.story-video img   { width: 100%; display: block; }

/* ── Purchase ────────────────────────────────────────────── */
.purchase-cards  { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.reassurance-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.reassurance-item { display: flex; align-items: flex-start; gap: 10px; }
.reassurance-item .icon { flex-shrink: 0; line-height: 1.4; }
.trust-chips     { display: flex; flex-wrap: wrap; gap: 8px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer-contact a { display: block; }
.footer-divider   { height: 1px; }
.footer-links     { display: flex; flex-wrap: wrap; }

/* ── Sticky bar ──────────────────────────────────────────── */
#sticky-bar {
  position: fixed; bottom: 0; left: 0; right: 0; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; z-index: 100;
  transform: translateY(100%);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
#sticky-bar.visible { transform: translateY(0); }
