/* ==========================================================
   NJ LUXRIDE — Design System
   Ink & Champagne: night-road black, engraved gold, editorial serif
   Display: Cormorant Garamond · UI/Body: Jost
   Signature: gold "route line" with diamond terminal
   ========================================================== */

:root {
  --ink: #0a0a0c;
  --graphite: #121216;
  --smoke: #1a1a20;
  --border: #2a2a32;
  --border-soft: #222229;
  --gold: #c9a45c;
  --gold-bright: #e6c98a;
  --gold-dim: rgba(201, 164, 92, 0.35);
  --bone: #f3f1ec;
  --stone: #b3afa6;
  --stone-dim: #83807a;
  --radius: 4px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--ink);
  color: var(--bone);
  line-height: 1.7;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--gold); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold-bright); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--bone);
  letter-spacing: 0.005em;
}

h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }

main section { padding: 96px 0; }
main section.band { background: var(--graphite); }

/* ============ Signature: route line ============ */
.route-line {
  width: 74px;
  height: 1px;
  background: var(--gold);
  position: relative;
  margin: 0 auto 26px;
}
.route-line::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -3.5px;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
}
.route-line::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -2px;
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
}
.route-line.route-left { margin: 0 0 26px; }

/* ============ Eyebrow ============ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow-rule {
  width: 34px;
  height: 1px;
  background: var(--gold);
  position: relative;
  flex-shrink: 0;
}
.eyebrow-rule::after {
  content: "";
  position: absolute;
  right: -4px;
  top: -2.5px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}
.section-head { text-align: center; max-width: 780px; margin: 0 auto 60px; }
.section-head .eyebrow { justify-content: center; }
.section-head p { color: var(--stone); margin-top: 16px; font-size: 1.05rem; }

/* ============ Top bar ============ */
.topbar {
  background: linear-gradient(90deg, #a5813f, var(--gold) 40%, #dfc084);
  color: #171204;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar-tag { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; }
.topbar a { color: #171204; font-weight: 700; }
.topbar-dim { opacity: 0.75; font-weight: 500; }

/* ============ Header / Nav ============ */
.site-header {
  background: rgba(10, 10, 12, 0.92);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5); }
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  max-width: 1280px;
  margin: 0 auto;
}
.logo { display: block; flex-shrink: 0; }
.logo img {
  width: 208px;
  height: auto;
  transition: width 0.35s var(--ease);
}
.site-header.scrolled .logo img { width: 156px; }

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}
nav.main-nav a {
  color: var(--bone);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
}
nav.main-nav a:not(.btn-quote)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}
nav.main-nav a:not(.btn-quote):hover::after,
nav.main-nav a.active:not(.btn-quote)::after { transform: scaleX(1); transform-origin: left; }
nav.main-nav a:hover, nav.main-nav a.active { color: var(--gold-bright); }

.btn-quote {
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  padding: 11px 24px;
  font-weight: 600 !important;
  transition: all 0.3s var(--ease);
}
.btn-quote:hover { background: var(--gold); color: #171204 !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 12px 11px;
  border-radius: var(--radius);
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--bone); transition: 0.3s var(--ease); }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  text-align: center;
  cursor: pointer;
}
.btn-lg { padding: 17px 42px; font-size: 0.86rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(135deg, #b8924c, var(--gold) 55%, #d9b877);
  color: #171204;
  box-shadow: 0 6px 24px rgba(201, 164, 92, 0.22);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #c9a45c, var(--gold-bright));
  color: #171204;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 164, 92, 0.32);
}
.btn-outline { border-color: rgba(243, 241, 236, 0.5); color: var(--bone); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-bright); }

.cta-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.center-row { justify-content: center; }

.text-link {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 3px;
}
.text-link::after { content: " →"; }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center 30%;
  padding: 110px 0;
}
.hero-compact { min-height: 620px; padding: 90px 0; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 10, 12, 0.55), rgba(10, 10, 12, 0.15) 40%, rgba(10, 10, 12, 0.82) 100%),
    linear-gradient(to right, rgba(10, 10, 12, 0.88) 0%, rgba(10, 10, 12, 0.45) 55%, rgba(10, 10, 12, 0.12) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 720px; }
.hero-kicker {
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 22px;
  padding-bottom: 20px;
  position: relative;
}
.hero-kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 74px;
  height: 1px;
  background: var(--gold);
}
.hero h1 { margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.7); }
.hero .hero-sub {
  font-size: 0.95rem;
  color: var(--gold-bright);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero p.lead { color: var(--stone); font-size: 1.08rem; margin-bottom: 34px; max-width: 580px; }
.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 40px; }

.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--stone);
}
.trust-signals span { display: flex; align-items: center; gap: 9px; }
.trust-signals span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Hero load sequence */
@media (prefers-reduced-motion: no-preference) {
  .stagger-1, .stagger-2, .stagger-3, .stagger-4, .stagger-5, .stagger-6 {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.9s var(--ease) forwards;
  }
  .stagger-1 { animation-delay: 0.05s; }
  .stagger-2 { animation-delay: 0.18s; }
  .stagger-3 { animation-delay: 0.32s; }
  .stagger-4 { animation-delay: 0.46s; }
  .stagger-5 { animation-delay: 0.6s; }
  .stagger-6 { animation-delay: 0.76s; }
  @keyframes rise { to { opacity: 1; transform: none; } }

  .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============ Page banner (interior pages) ============ */
.page-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 90px 0 70px;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.62), rgba(10, 10, 12, 0.78));
}
.page-banner .container { position: relative; z-index: 2; max-width: 900px; }
.page-banner h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.page-banner p { color: var(--stone); margin-top: 18px; font-size: 1.02rem; }

/* ============ Frames (images) ============ */
.frame {
  position: relative;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201, 164, 92, 0.28);
  border-radius: 2px;
  pointer-events: none;
}
.frame img { border-radius: var(--radius); width: 100%; object-fit: cover; }

/* ============ Cards / grids ============ */
.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.narrow-grid { max-width: 900px; margin: 0 auto; }

.card {
  background: var(--smoke);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--gold-dim); box-shadow: var(--shadow); color: inherit; }
.card-media { overflow: hidden; }
.card-media img {
  height: 225px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 28px 26px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-bottom: 12px; }
.card-body p { color: var(--stone); font-size: 0.94rem; flex: 1; }
.card-link {
  margin-top: 20px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  align-self: flex-start;
  padding-bottom: 4px;
}
.card-link::after { content: " →"; }
.card-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.card:hover .card-link::before { transform: scaleX(1); transform-origin: left; }
.card:hover .card-link { color: var(--gold-bright); }

/* ============ Split sections ============ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-top { align-items: start; }
.split .content h2 { margin-bottom: 20px; }
.split .content p { color: var(--stone); margin-bottom: 18px; }
.service-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 16px; }

.checklist { list-style: none; margin: 22px 0; }
.checklist li { padding: 8px 0 8px 32px; position: relative; color: var(--stone); }
.checklist li strong { color: var(--bone); font-weight: 600; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ============ Gold CTA band ============ */
.band-gold {
  background:
    radial-gradient(ellipse at 50% -20%, rgba(201, 164, 92, 0.16), transparent 55%),
    linear-gradient(180deg, #17130a 0%, #100d07 100%);
  border-top: 1px solid rgba(201, 164, 92, 0.4);
  border-bottom: 1px solid rgba(201, 164, 92, 0.4);
  text-align: center;
}
.band-gold h2 { margin-bottom: 16px; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.band-gold p { color: var(--stone); max-width: 720px; margin: 0 auto 32px; }
.band-gold .cta-row { justify-content: center; }
.band-gold .route-line { margin-bottom: 30px; }

/* ============ Area grid ============ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 14px;
}
.area-grid .area {
  background: var(--smoke);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 15px 20px;
  font-size: 0.94rem;
  letter-spacing: 0.03em;
  color: var(--stone);
  display: flex;
  align-items: center;
  gap: 11px;
  transition: border-color 0.3s var(--ease);
}
.area-grid .area:hover { border-color: var(--gold-dim); }
.area-grid .area::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============ FAQ accordion ============ */
.faq-wrap { max-width: 860px; }
.faq-item {
  background: var(--smoke);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item[open], .faq-item:hover { border-color: var(--gold-dim); }
.faq-item summary {
  cursor: pointer;
  padding: 22px 26px;
  font-weight: 500;
  font-size: 1.06rem;
  letter-spacing: 0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--gold);
  font-size: 1.5rem;
  font-weight: 400;
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 26px 24px; color: var(--stone); }

/* ============ Forms ============ */
.form-panel {
  background: var(--smoke);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 42px;
  position: relative;
}
.form-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.form-title { margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--stone);
  margin-bottom: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
input, textarea, select {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.3s var(--ease);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
textarea { min-height: 110px; resize: vertical; }
::placeholder { color: var(--stone-dim); }

.contact-info-list { list-style: none; }
.contact-info-list li { padding: 15px 0; border-bottom: 1px solid var(--border-soft); color: var(--stone); }
.contact-info-list li strong {
  color: var(--gold);
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-info-list a { font-size: 1.1rem; color: var(--bone); }
.contact-info-list a:hover { color: var(--gold-bright); }
.side-note { color: var(--stone); margin-top: 24px; font-size: 0.95rem; }

/* ============ Center hero (thank you / 404) ============ */
.center-hero { min-height: 56vh; display: flex; align-items: center; }
.lead-grey { color: var(--stone); margin: 22px 0 32px; font-size: 1.05rem; }

/* ============ Policy pages ============ */
.policy-section { padding: 80px 0; }
.policy-content { max-width: 820px; }
.policy-content h1 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); margin-bottom: 10px; }
.policy-content h2 { margin: 40px 0 14px; font-size: 1.45rem; }
.policy-content p, .policy-content li { color: var(--stone); margin-bottom: 12px; }
.policy-content ul { padding-left: 24px; }

/* ============ Footer ============ */
footer {
  background: #070709;
  border-top: 1px solid var(--border-soft);
  padding: 72px 0 0;
  font-size: 0.93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 52px;
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-gap { margin-top: 26px; }
.footer-grid p, .footer-grid li { color: var(--stone-dim); }
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 5px 0; }
.footer-grid a { color: var(--stone-dim); }
.footer-grid a:hover { color: var(--gold-bright); }
.footer-logo-img { width: 210px; height: auto; margin-bottom: 18px; border-radius: 3px; }
.payment-icons { margin-top: 16px; font-size: 0.8rem; letter-spacing: 0.08em; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 24px 0;
  text-align: center;
  color: var(--stone-dim);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ============ Sticky mobile call bar ============ */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(90deg, #a5813f, var(--gold) 45%, #dfc084);
  text-align: center;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.45);
}
.mobile-call-bar a {
  display: block;
  padding: 16px;
  color: #171204;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  nav.main-nav ul { gap: 20px; }
  nav.main-nav a { font-size: 0.74rem; letter-spacing: 0.12em; }
  .logo img { width: 170px; }
}

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 74vh; }
}

@media (max-width: 760px) {
  main section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; text-align: center; }
  .topbar-tag { display: none; }

  .logo img { width: 150px; }
  .site-header.scrolled .logo img { width: 132px; }
  .nav-toggle { display: flex; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 12, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 14px 28px 26px;
    backdrop-filter: blur(14px);
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; align-items: flex-start; gap: 2px; }
  nav.main-nav li { width: 100%; }
  nav.main-nav a { display: block; padding: 13px 0; font-size: 0.92rem; }
  nav.main-nav a:not(.btn-quote)::after { display: none; }
  .btn-quote { display: inline-block; margin-top: 12px; text-align: center; }

  .hero { min-height: 78vh; padding: 80px 0; }
  .hero-kicker { letter-spacing: 0.26em; }
  .trust-signals { flex-direction: column; gap: 10px; }

  .mobile-call-bar { display: block; }
  body { padding-bottom: 54px; }
  .form-panel { padding: 28px 22px; }
  .page-banner { min-height: 340px; }
  .frame::after { inset: 10px; }
}
