/* Prestige 365 Auto Sales — Shared Site Stylesheet */
/* ==========================================================================
   Prestige 365 Auto Sales — OPTION B: ROSSO / GRAND TOURING EDITORIAL ARCHITECTURE
   ========================================================================== */
:root {
  --bg: #f2eee7;
  --text: #17191d;
  --muted: #65676b;
  --accent: #e6332a;
  --accent2: #ff5a46;
  --line: rgba(23, 25, 29, .14);
  --panel: #ffffff;
  --panel2: #e6e0d7;
  --stone: #d8d1c7;
  --dark: #17191d;
  --dark2: #20242b;
  --max: 1320px;
}

/* Optional Live Theme Variant: Cobalt / Acid Volt (Option A from studio file) */
body.theme-cobalt {
  --bg: #f5f3ed;
  --text: #15182b;
  --muted: #626779;
  --accent: #3157ff;
  --accent2: #d6ff36;
  --line: rgba(18, 23, 43, .14);
  --panel: #ffffff;
  --panel2: #e8e9e3;
  --stone: #dfe2f2;
  --dark: #111630;
  --dark2: #192042;
}

/* Optional Live Theme Variant: Obsidian / Liquid Champagne */
body.theme-atelier {
  --bg: #f4f1ea;
  --text: #141518;
  --muted: #66635b;
  --accent: #b8863b;
  --accent2: #d9a95b;
  --line: rgba(20, 21, 24, .14);
  --panel: #ffffff;
  --panel2: #e8e2d5;
  --stone: #ddd5c5;
  --dark: #121317;
  --dark2: #1c1e24;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color .4s ease, color .4s ease;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

/* Top Split Architectural Line */
.topline {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0 max(22%, 250px), var(--dark) max(22%, 250px) 100%);
}

/* Sticky Editorial Header */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 238, 231, .93);
  border-bottom: 1px solid rgba(23, 25, 29, .09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font: 800 23px Manrope, sans-serif;
  letter-spacing: .15em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.wordmark span { color: var(--accent); }
.navlinks {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #34363a;
}
.navlinks a {
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.navlinks a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.navlinks a:hover, .navlinks a.active { color: var(--accent); }
.navlinks a:hover:after, .navlinks a.active:after { width: 100%; }

.navright {
  display: flex;
  align-items: center;
  gap: 12px;
}
.palette-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(23, 25, 29, .06);
  border: 1px solid rgba(23, 25, 29, .12);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text);
}
.palette-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(230, 51, 42, .18);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn:hover {
  background: #bf211b;
  border-color: #bf211b;
  transform: translateY(-3px);
}
.btn.outline {
  background: transparent;
  border-color: rgba(23, 25, 29, .3);
  color: var(--text);
  box-shadow: none;
}
.btn.outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.menu {
  display: none;
  background: none;
  color: var(--text);
  border: 0;
  font-size: 25px;
}
.mobilemenu {
  display: none;
  padding: 0 24px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.mobilemenu.open { display: block; }
.mobilemenu a {
  display: block;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

footer {
  background: #111317;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 65px 0 32px;
}
.footgrid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 35px;
}
.footgrid .wordmark { color: #fff; }
.footgrid p, .footgrid a, .footgrid button.footbtn {
  font-size: 12px;
  color: #aeb2b9;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
}
.footgrid a:hover, .footgrid button.footbtn:hover { color: #fff; }
.footgrid h4 {
  font: 800 11px Manrope, sans-serif;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #fff;
  margin: 0 0 14px;
}
.footlinks {
  display: grid;
  gap: 9px;
}
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 42px;
  padding-top: 22px;
  color: #7f848d;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}


/* Shared Designer CTA Buttons */
.cta-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 999px;
  font: 800 14px/1 'Manrope', sans-serif;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.cta-hero-btn.primary {
  background: linear-gradient(135deg, var(--accent, #e00008) 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 113, 227, .42), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.cta-hero-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0, 113, 227, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.cta-hero-btn.secondary {
  background: #ffffff;
  color: #0f1115 !important;
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}
.cta-hero-btn.secondary span { color: #0f1115 !important; }
.cta-hero-btn.secondary:hover {
  transform: translateY(-2px);
  background: #f5f5f7;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .3);
}
.cta-hero-btn .btn-arrow {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .20);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}
.cta-hero-btn.secondary .btn-arrow {
  background: rgba(15, 17, 21, .10);
  color: #0f1115 !important;
}


/* Desktop Brand Logos (Header & Footer) */
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  height: 46px;
  width: auto;
  max-width: 210px;
  display: block;
  object-fit: contain;
}
.brand-logo-footer {
  height: 64px;
  width: auto;
  max-width: 245px;
  display: block;
  object-fit: contain;
  margin-bottom: 14px;
}

@media(max-width: 950px) {
  .navlinks, .navright .btn { display: none; }
  .menu { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; font-size: 22px; }
  .footgrid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 650px) {
  .nav { height: 70px; gap: 8px; }
  .brand-logo { height: 38px; max-width: 155px; }
  .brand-logo-footer { height: 52px; max-width: 200px; }
  footer { padding: 48px 0 28px; }
  .footgrid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footgrid > div:first-child { grid-column: 1 / -1; }
}


.copyright {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.nspd-credit {
  margin-left: auto;
  text-align: right;
  color: #aeb2b9;
  font-weight: 600;
  white-space: nowrap;
}


.foot-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin: 12px 0 14px;
  font-size: 12px;
  color: #d0d3dc;
}
.foot-contact-line span {
  white-space: nowrap;
}


/* Footer Bottom Bar & Right-Aligned Credit */
footer { padding: 54px 0 26px !important; }
.foot-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  font-size: 12px;
  color: #d0d3dc;
}
.foot-contact-line span { white-space: nowrap; }
.foot-bottom-bar {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 35px;
  align-items: center;
  margin-top: 26px;
}
.foot-bottom-bar .foot-contact-line {
  grid-column: 1 / 3;
  margin: 0 !important;
}
.foot-cta-right {
  grid-column: 4;
  justify-self: start;
  margin: 0 !important;
}
footer .copyright {
  margin-top: 24px !important;
  padding-top: 20px !important;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}
.nspd-credit {
  margin-left: auto;
  text-align: right;
  color: #aeb2b9;
  font-weight: 600;
  white-space: nowrap;
}
@media (max-width: 950px) {
  .foot-bottom-bar {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .foot-bottom-bar .foot-contact-line,
  .foot-cta-right {
    grid-column: 1;
    justify-self: start;
  }
}


.home-reel-video video, .reel-video-wrap video {
  object-fit: contain !important;
  background: #07090d !important;
}


.bl-line-link {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  border-bottom: 1px solid var(--accent, #e00008);
  padding: 12px 0;
  color: var(--text, #0f1115);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 15px;
}
.bl-line-link span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent, #e00008);
  color: #fff;
  font-size: 13px;
  transition: transform .3s ease;
}
.bl-line-link:hover span { transform: translate(3px, -3px); }


/* Mobile Sticky Quick-Action Bar */
.mobile-quick-bar {
  display: none;
}
@media (max-width: 650px) {
  body { padding-bottom: 72px; }
  .mobile-quick-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(13, 15, 20, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
  .mqb-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    font: 800 12px/1 'Manrope', sans-serif;
    text-decoration: none;
  }
  .mqb-deal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent, #e00008) 0%, #2563eb 100%);
    color: #fff;
    font: 800 12px/1 'Manrope', sans-serif;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
  }
}
