/* =====================================================================
   PRIME RIDES — Jackson, MS
   Shared stylesheet. One design system across all pages.
   Naming: every class is prefixed .pr-  |  Colors come from :root tokens.
   Breakpoints: 980px (tablet), 680px (mobile).
   ===================================================================== */

/* ----------------------------- TOKENS ------------------------------ */
:root {
  /* Brand palette — gold on black, from the Prime Rides logo */
  --pr-black:       #0b0b0d;
  --pr-ink:         #121216;
  --pr-ink-2:       #1a1a20;
  --pr-line:        #2a2a32;
  --pr-gold:        #e6b422;
  --pr-gold-bright: #ffc83d;
  --pr-gold-deep:   #b8860b;
  --pr-white:       #f7f7f5;
  --pr-muted:       #a6a6b0;
  --pr-muted-2:     #6e6e78;

  /* Gradients */
  --pr-gold-grad: linear-gradient(135deg, #ffe082 0%, #e6b422 45%, #b8860b 100%);
  --pr-dark-grad: linear-gradient(180deg, #15151a 0%, #0b0b0d 100%);

  /* Type */
  --pr-font-body:    "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --pr-font-display: "Playfair Display", Georgia, serif;
  --pr-font-script:  "Allura", cursive;

  /* Shape & motion */
  --pr-radius:    16px;
  --pr-radius-sm: 10px;
  --pr-shadow:    0 18px 50px rgba(0, 0, 0, 0.45);
  --pr-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.35);
  --pr-ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --pr-maxw:      1200px;
}

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

body {
  margin: 0;
  font-family: var(--pr-font-body);
  color: var(--pr-white);
  background: var(--pr-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .4em; line-height: 1.15; font-weight: 600; }

/* Accessibility floor */
:focus-visible {
  outline: 2px solid var(--pr-gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----------------------------- LAYOUT ------------------------------ */
.pr-wrap {
  width: 100%;
  max-width: var(--pr-maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.pr-section { padding: 88px 0; }
.pr-section--tight { padding: 56px 0; }

.pr-eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--pr-gold);
  font-weight: 600;
  margin-bottom: 14px;
}

.pr-h2 {
  font-family: var(--pr-font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
}
.pr-h2 .pr-accent { color: var(--pr-gold); font-style: italic; }

.pr-lead {
  color: var(--pr-muted);
  font-size: 1.05rem;
  max-width: 620px;
}

.pr-section-head { text-align: center; margin-bottom: 52px; }
.pr-section-head .pr-lead { margin: 0 auto; }

/* Gold gradient text */
.pr-gold-text {
  background: var(--pr-gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ----------------------------- BUTTONS ----------------------------- */
.pr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--pr-ease), box-shadow .25s var(--pr-ease),
              background .25s var(--pr-ease), color .25s var(--pr-ease);
  white-space: nowrap;
}
.pr-btn:hover { transform: translateY(-2px); }

.pr-btn--gold {
  background: var(--pr-gold-grad);
  color: #1a1405;
  box-shadow: 0 10px 28px rgba(230, 180, 34, .28);
}
.pr-btn--gold:hover { box-shadow: 0 16px 36px rgba(230, 180, 34, .42); }

.pr-btn--ghost {
  background: transparent;
  color: var(--pr-white);
  border-color: var(--pr-line);
}
.pr-btn--ghost:hover { border-color: var(--pr-gold); color: var(--pr-gold); }

.pr-btn--block { width: 100%; justify-content: center; }

/* ----------------------------- NAVBAR ------------------------------ */
.pr-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 11, 13, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pr-line);
}
.pr-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 94px;
}
.pr-nav__brand { display: flex; align-items: center; gap: 12px; }
.pr-nav__logo { height: 95px; width: auto; border-radius: 10px; }
.pr-nav__brand-text {
  font-family: var(--pr-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .02em;
}
.pr-nav__brand-text span { color: var(--pr-gold); }

.pr-nav__links { display: flex; align-items: center; gap: 30px; }
.pr-nav__link {
  font-size: .95rem;
  font-weight: 500;
  color: var(--pr-muted);
  position: relative;
  padding: 6px 0;
  transition: color .2s var(--pr-ease);
}
.pr-nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--pr-gold-grad);
  transition: width .25s var(--pr-ease);
}
.pr-nav__link:hover,
.pr-nav__link.is-active { color: var(--pr-white); }
.pr-nav__link:hover::after,
.pr-nav__link.is-active::after { width: 100%; }

.pr-nav__cta { margin-left: 8px; }

/* Dropdown menu (Our Cars) */
.pr-nav__item { position: relative; display: inline-flex; align-items: center; }
.pr-has-drop > .pr-nav__link { display: inline-flex; align-items: center; gap: 6px; }
.pr-caret { width: 13px; height: 13px; transition: transform .25s var(--pr-ease); }
.pr-has-drop:hover .pr-caret { transform: rotate(180deg); }
.pr-has-drop::after {               /* invisible bridge so hover doesn't drop */
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 22px;
}
.pr-dropdown {
  position: absolute;
  top: calc(100% + 20px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 264px;
  background: var(--pr-ink);
  border: 1px solid var(--pr-line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: var(--pr-shadow);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--pr-ease), transform .2s var(--pr-ease);
  z-index: 200;
}
.pr-has-drop:hover .pr-dropdown,
.pr-has-drop:focus-within .pr-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.pr-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--pr-muted);
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s var(--pr-ease), color .15s var(--pr-ease);
}
.pr-dropdown a:hover { background: var(--pr-ink-2); color: var(--pr-gold); }

.pr-nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.pr-nav__toggle span {
  display: block;
  width: 26px; height: 2px;
  margin: 5px 0;
  background: var(--pr-white);
  transition: transform .3s var(--pr-ease), opacity .3s var(--pr-ease);
}
.pr-nav.is-open .pr-nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pr-nav.is-open .pr-nav__toggle span:nth-child(2) { opacity: 0; }
.pr-nav.is-open .pr-nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------- HERO -------------------------------- */
.pr-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 3;     /* matches the 1080x648 photos → cover shows the full car */
  min-height: 540px;
  max-height: 110vh;        /* keep the banner from getting too tall — car fills it nicely */
  display: flex;
  align-items: center;
  overflow: hidden;
}
.pr-hero__slides { position: absolute; inset: 0; }
.pr-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--pr-ease);
  background-size: cover;
  background-position: center;
}
.pr-hero__slide.is-active { opacity: 1; }
.pr-hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 120% at 50% 45%, rgba(11,11,13,.26) 0%, rgba(11,11,13,.52) 100%),
    linear-gradient(180deg, rgba(11,11,13,.2) 0%, rgba(11,11,13,.48) 100%);
}
.pr-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.pr-hero__sub { margin-left: auto; margin-right: auto; }
.pr-hero__inner .pr-hero__actions,
.pr-hero__inner .pr-hero__stats,
.pr-hero__inner .pr-hero__dots { justify-content: center; }
.pr-hero__title {
  font-family: var(--pr-font-display);
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
  white-space: nowrap;   /* keep the headline on one line */
}
.pr-hero__sub {
  font-size: 1.15rem;
  color: #ccccda;
  /* color: var(--pr-muted); */
  margin-bottom: 32px;
  max-width: 520px;
}
.pr-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.pr-hero__stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 46px;
}
.pr-hero__stats .pr-stat {
  padding-right: 34px;
  margin-right: 34px;
  border-right: 1px solid var(--pr-line);
}
.pr-hero__stats .pr-stat:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.pr-stat__num {
  font-family: var(--pr-font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pr-gold);
  line-height: 1;
}
.pr-stat__label {
  font-size: .82rem;
  color: #ccccda;
  /* color: var(--pr-muted); */
  letter-spacing: .04em;
}

.pr-hero__dots {
  position: relative;
  z-index: 3;
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.pr-hero__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: background .25s, width .25s;
}
.pr-hero__dot.is-active { background: var(--pr-gold); width: 26px; border-radius: 6px; }

/* ----------------------------- CAR CARDS --------------------------- */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pr-card {
  background: var(--pr-ink);
  border: 1px solid var(--pr-line);
  border-radius: var(--pr-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--pr-ease), border-color .35s var(--pr-ease),
              box-shadow .35s var(--pr-ease);
}
.pr-card:hover {
  transform: translateY(-6px);
  border-color: rgba(230,180,34,.5);
  box-shadow: var(--pr-shadow);
}
.pr-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #000;
  overflow: hidden;
}
.pr-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--pr-ease);
}
.pr-card:hover .pr-card__media img { transform: scale(1.06); }
.pr-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(11,11,13,.78);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(230,180,34,.45);
  color: var(--pr-gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.pr-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pr-card__name {
  font-family: var(--pr-font-display);
  font-size: 1.35rem;
  font-weight: 700;
}
.pr-card__year { color: var(--pr-gold); font-weight: 600; font-size: .9rem; }
.pr-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 16px 0 22px;
  color: var(--pr-muted);
  font-size: .85rem;
}
.pr-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.pr-card__meta svg { width: 15px; height: 15px; color: var(--pr-gold); flex: none; }
.pr-card__foot { margin-top: auto; }

/* ----------------------------- FEATURES / WHY-US ------------------- */
.pr-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pr-feature {
  background: var(--pr-dark-grad);
  border: 1px solid var(--pr-line);
  border-radius: var(--pr-radius);
  padding: 36px 30px;
  transition: transform .35s var(--pr-ease), border-color .35s var(--pr-ease);
}
.pr-feature:hover { transform: translateY(-5px); border-color: rgba(230,180,34,.45); }
.pr-feature__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(230,180,34,.12);
  border: 1px solid rgba(230,180,34,.3);
  margin-bottom: 20px;
}
.pr-feature__icon svg { width: 26px; height: 26px; color: var(--pr-gold); }
.pr-feature h3 { font-family: var(--pr-font-display); font-size: 1.3rem; }
.pr-feature p { color: var(--pr-muted); margin: 0; font-size: .96rem; }

/* ----------------------------- HOW IT WORKS ------------------------ */
.pr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pr-step { text-align: center; padding: 0 10px; position: relative; }
.pr-step__num {
  font-family: var(--pr-font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--pr-gold);
  margin-bottom: 10px;
}
.pr-step h3 { font-size: 1.15rem; }
.pr-step p { color: var(--pr-muted); font-size: .92rem; margin: 0; }

/* ----------------------------- CTA BAND ---------------------------- */
.pr-cta {
  position: relative;
  border-radius: 24px;
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(120% 160% at 50% -20%, rgba(230,180,34,.18), transparent 60%),
    var(--pr-dark-grad);
  border: 1px solid var(--pr-line);
}
.pr-cta h2 {
  font-family: var(--pr-font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}
.pr-cta p { color: var(--pr-muted); max-width: 520px; margin: 0 auto 28px; }
.pr-cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ----------------------------- FOOTER ------------------------------ */
.pr-footer {
  background: #08080a;
  border-top: 1px solid var(--pr-line);
  padding: 64px 0 28px;
}
.pr-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}
.pr-footer__logo { height: 112px; width: auto; border-radius: 12px; margin-bottom: 18px; }
.pr-footer__about { color: var(--pr-muted); font-size: .92rem; max-width: 340px; }
.pr-footer h4 {
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pr-gold);
  margin-bottom: 18px;
}
.pr-footer__list li { margin-bottom: 12px; }
.pr-footer__list a, .pr-footer__list span { color: var(--pr-muted); font-size: .92rem; transition: color .2s; }
.pr-footer__list a:hover { color: var(--pr-gold); }

.pr-socials { display: flex; gap: 12px; margin-top: 6px; }
.pr-social {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--pr-ink);
  border: 1px solid var(--pr-line);
  transition: transform .25s var(--pr-ease), border-color .25s, background .25s;
}
.pr-social:hover { transform: translateY(-3px); border-color: var(--pr-gold); background: rgba(230,180,34,.1); }
.pr-social svg { width: 19px; height: 19px; color: var(--pr-white); }
.pr-social:hover svg { color: var(--pr-gold); }

.pr-footer__bottom {
  border-top: 1px solid var(--pr-line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.pr-footer__copy { color: var(--pr-muted-2); font-size: .85rem; }
.pr-credit {
  font-family: var(--pr-font-body);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--pr-gold);
}
.pr-credit a { color: var(--pr-gold); }

/* ----------------------------- PAGE HEADER (inner pages) ----------- */
.pr-pagehead {
  position: relative;
  padding: 72px 0 56px;
  text-align: center;
  background:
    radial-gradient(100% 120% at 50% 0%, rgba(230,180,34,.12), transparent 55%),
    var(--pr-dark-grad);
  border-bottom: 1px solid var(--pr-line);
}
/* Page header with a car photo in the background
   (set background-image inline per page; overlay is drawn in ::before) */
.pr-pagehead--photo {
  padding: 104px 0 84px;
  overflow: hidden;
  background-color: var(--pr-black);
  /* background-image is set inline per page; it feeds ::before and ::after via inherit */
  background-size: 0 0;
}
/* Blurred copy of the photo fills the whole banner (no dark side bars) */
.pr-pagehead--photo::before {
  content: "";
  position: absolute;
  inset: -50px;
  z-index: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(30px) brightness(.4) saturate(1.15);
}
/* The car fills the full width of the banner */
.pr-pagehead--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(.82);
}
.pr-pagehead--photo > .pr-wrap { position: relative; z-index: 2; }
.pr-pagehead--photo h1,
.pr-pagehead--photo p,
.pr-pagehead--photo .pr-breadcrumb {
  text-shadow: 0 2px 16px rgba(0,0,0,.8), 0 1px 3px rgba(0,0,0,.7);
}
.pr-pagehead h1 {
  font-family: var(--pr-font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
.pr-pagehead p { color: var(--pr-muted); max-width: 560px; margin: 8px auto 0; }
.pr-breadcrumb { color: var(--pr-muted-2); font-size: .85rem; margin-bottom: 14px; }
.pr-breadcrumb a:hover { color: var(--pr-gold); }

/* ----------------------------- FILTERS (cars.html) ----------------- */
.pr-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 44px;
}
.pr-filter {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--pr-line);
  background: transparent;
  color: var(--pr-muted);
  font-family: inherit;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s var(--pr-ease);
}
.pr-filter:hover { color: var(--pr-white); border-color: var(--pr-gold); }
.pr-filter.is-active {
  background: var(--pr-gold-grad);
  color: #1a1405;
  border-color: transparent;
  font-weight: 600;
}

/* ----------------------------- CAR DETAIL (car.html) --------------- */
.pr-detail { display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; align-items: start; }
.pr-detail-lower {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 20px;
  padding-top: 36px;
  border-top: 1px solid var(--pr-line);
}
.pr-detail__media {
  border-radius: var(--pr-radius);
  overflow: hidden;
  border: 1px solid var(--pr-line);
  background: #000;
  position: sticky;
  top: 100px;
}
.pr-detail__media img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.pr-detail__cat { color: var(--pr-gold); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.pr-detail__title { font-family: var(--pr-font-display); font-size: clamp(2rem, 4vw, 2.8rem); }
.pr-detail__blurb { color: var(--pr-muted); margin: 18px 0 28px; }

.pr-specgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
.pr-spec {
  background: var(--pr-ink);
  border: 1px solid var(--pr-line);
  border-radius: var(--pr-radius-sm);
  padding: 16px;
  text-align: center;
}
.pr-spec svg { width: 22px; height: 22px; color: var(--pr-gold); margin-bottom: 8px; }
.pr-spec__val { font-weight: 600; font-size: 1.02rem; }
.pr-spec__key { color: var(--pr-muted); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }

.pr-featlist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 8px 0 34px; }
.pr-featlist li { display: flex; align-items: center; gap: 10px; color: var(--pr-white); font-size: .94rem; }
.pr-featlist svg { width: 18px; height: 18px; color: var(--pr-gold); flex: none; }

/* ----------------------------- FORMS ------------------------------- */
.pr-formcard {
  background: var(--pr-dark-grad);
  border: 1px solid var(--pr-line);
  border-radius: var(--pr-radius);
  padding: 36px;
}
.pr-formcard h3 { font-family: var(--pr-font-display); font-size: 1.5rem; }
.pr-formcard > p { color: var(--pr-muted); font-size: .93rem; margin-top: 0; }

.pr-field { margin-bottom: 18px; }
.pr-field label {
  display: block;
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--pr-white);
}
.pr-field label .pr-req { color: var(--pr-gold); }
.pr-input, .pr-textarea, .pr-select {
  width: 100%;
  padding: 13px 16px;
  background: var(--pr-black);
  border: 1px solid var(--pr-line);
  border-radius: var(--pr-radius-sm);
  color: var(--pr-white);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .2s var(--pr-ease), box-shadow .2s var(--pr-ease);
}
.pr-input:focus, .pr-textarea:focus, .pr-select:focus {
  outline: none;
  border-color: var(--pr-gold);
  box-shadow: 0 0 0 3px rgba(230,180,34,.15);
}
.pr-textarea { resize: vertical; min-height: 110px; }
.pr-input::placeholder, .pr-textarea::placeholder { color: var(--pr-muted-2); }
.pr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Date fields: `color-scheme: dark` makes the browser render the native calendar
   icon light (and the date-picker dropdown dark) instead of black-on-black.
   Do NOT add an invert() filter here — it would flip the icon back to black. */
.pr-input[type="date"] { color-scheme: dark; }
.pr-input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .9;
  cursor: pointer;
}
.pr-input[type="date"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }

.pr-form-note { color: var(--pr-muted-2); font-size: .82rem; margin-top: 14px; text-align: center; }
.pr-form-success {
  display: none;
  background: rgba(230,180,34,.1);
  border: 1px solid rgba(230,180,34,.4);
  border-radius: var(--pr-radius-sm);
  padding: 18px 20px;
  color: var(--pr-white);
  font-size: .95rem;
  margin-bottom: 18px;
}
.pr-form-success.is-visible { display: block; }
.pr-form-success strong { color: var(--pr-gold); }

/* ----------------------------- CONTACT ----------------------------- */
.pr-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.pr-contact__cards { display: grid; gap: 16px; margin-bottom: 28px; }
.pr-contactcard {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--pr-ink);
  border: 1px solid var(--pr-line);
  border-radius: var(--pr-radius-sm);
  padding: 20px 22px;
  transition: border-color .25s var(--pr-ease), transform .25s var(--pr-ease);
}
.pr-contactcard:hover { border-color: rgba(230,180,34,.45); transform: translateX(4px); }
.pr-contactcard__icon {
  width: 46px; height: 46px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(230,180,34,.12);
  border: 1px solid rgba(230,180,34,.3);
}
.pr-contactcard__icon svg { width: 22px; height: 22px; color: var(--pr-gold); }
.pr-contactcard__k { font-size: .78rem; color: var(--pr-muted); text-transform: uppercase; letter-spacing: .08em; }
.pr-contactcard__v { font-weight: 600; font-size: 1.02rem; word-break: break-word; }
.pr-map {
  border-radius: var(--pr-radius);
  overflow: hidden;
  border: 1px solid var(--pr-line);
  height: 280px;
}
.pr-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ----------------------------- ABOUT ------------------------------- */
.pr-about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pr-about__img {
  border-radius: var(--pr-radius);
  overflow: hidden;
  border: 1px solid var(--pr-line);
  box-shadow: var(--pr-shadow);
}
.pr-about__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pr-statband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.pr-statcard {
  text-align: center;
  padding: 28px 16px;
  background: var(--pr-ink);
  border: 1px solid var(--pr-line);
  border-radius: var(--pr-radius);
}
.pr-statcard__num { font-family: var(--pr-font-display); font-size: 2.2rem; font-weight: 700; color: var(--pr-gold); }
.pr-statcard__label { color: var(--pr-muted); font-size: .85rem; }

/* ----------------------------- UTILS ------------------------------- */
.pr-center { text-align: center; }
.pr-mt-40 { margin-top: 40px; }
.pr-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--pr-ease), transform .7s var(--pr-ease); }
.pr-reveal.is-in { opacity: 1; transform: none; }

/* Two-column block (Mission / Vision) + readable prose */
.pr-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pr-prose { max-width: 820px; margin: 0 auto; }
.pr-prose p { color: var(--pr-muted); margin: 0 0 18px; font-size: 1.02rem; }
.pr-prose p:last-child { margin-bottom: 0; }
@media (max-width: 680px) { .pr-duo { grid-template-columns: 1fr; } }

/* Business hours block */
.pr-hours {
  background: var(--pr-ink);
  border: 1px solid var(--pr-line);
  border-radius: var(--pr-radius-sm);
  padding: 22px 24px;
}
.pr-hours h3 { font-family: var(--pr-font-display); font-size: 1.15rem; margin-bottom: 12px; }
.pr-hours__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-top: 1px solid var(--pr-line);
  color: var(--pr-muted); font-size: .92rem;
}
.pr-hours__row:first-of-type { border-top: 0; }
.pr-hours__row b { color: var(--pr-white); font-weight: 600; white-space: nowrap; }

/* ----------------------------- LEGAL / POLICIES -------------------- */
.pr-legal { max-width: 880px; margin: 0 auto; }
.pr-legal__item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-top: 1px solid var(--pr-line);
}
.pr-legal__item:first-of-type { border-top: 0; padding-top: 0; }
.pr-legal__num {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--pr-font-display);
  font-size: 1.4rem; font-weight: 700;
  color: var(--pr-gold);
  background: rgba(230, 180, 34, .1);
  border: 1px solid rgba(230, 180, 34, .3);
}
.pr-legal__body h2 { font-family: var(--pr-font-display); font-size: 1.35rem; margin-bottom: 8px; }
.pr-legal__body p { color: var(--pr-muted); margin: 0 0 10px; }
.pr-legal__list { display: grid; gap: 9px; margin: 8px 0 0; }
.pr-legal__list li { display: flex; gap: 12px; color: var(--pr-muted); }
.pr-legal__list li::before {
  content: ""; flex: none;
  width: 7px; height: 7px; margin-top: 9px;
  border-radius: 50%; background: var(--pr-gold);
}
.pr-legal__contact {
  margin-top: 14px; padding: 20px 22px;
  background: var(--pr-ink);
  border: 1px solid var(--pr-line);
  border-radius: var(--pr-radius-sm);
  line-height: 1.9;
}
.pr-legal__contact a { color: var(--pr-gold); }
@media (max-width: 680px) {
  .pr-legal__item { grid-template-columns: 1fr; gap: 12px; }
}

/* ============================ RESPONSIVE =========================== */
@media (max-width: 980px) {
  .pr-section { padding: 64px 0; }

  /* Hero: release the 5/3 aspect-ratio so the box grows to fit its content
     (otherwise the short aspect-height clips the text on small screens) */
  .pr-hero {
    min-height: auto;
    aspect-ratio: auto;
    max-height: none;
    padding: 72px 0 64px;
  }
  .pr-hero__inner { max-width: 100%; }
  .pr-hero__title { font-size: clamp(1.9rem, 6.5vw, 2.8rem); white-space: normal; }
  .pr-hero__slide::after {
    background: linear-gradient(180deg, rgba(11,11,13,.5) 0%, rgba(11,11,13,.52) 100%);
  }
  .pr-grid { grid-template-columns: repeat(2, 1fr); }
  .pr-features { grid-template-columns: 1fr; }
  .pr-steps { grid-template-columns: 1fr; gap: 36px; }
  .pr-detail { grid-template-columns: 1fr; gap: 32px; }
  .pr-detail-lower { grid-template-columns: 1fr; gap: 32px; margin-top: 8px; padding-top: 28px; }
  .pr-detail__media { position: static; }
  .pr-contact { grid-template-columns: 1fr; }
  .pr-about { grid-template-columns: 1fr; gap: 32px; }
  .pr-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .pr-statband { grid-template-columns: repeat(2, 1fr); }

  /* Mobile nav */
  .pr-nav__toggle { display: block; }
  .pr-nav__links {
    position: fixed;
    inset: 94px 0 auto 0;
    max-height: calc(100vh - 94px);
    max-height: calc(100dvh - 94px); /* dynamic viewport height on mobile browsers */
    overflow-y: auto;                /* scroll to reach every tab */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--pr-ink);
    border-bottom: 1px solid var(--pr-line);
    padding: 12px 24px 40px;
    transform: translateY(-130%);
    transition: transform .35s var(--pr-ease);
  }
  .pr-nav.is-open .pr-nav__links { transform: translateY(0); }
  .pr-nav__link { padding: 14px 0; border-bottom: 1px solid var(--pr-line); }
  .pr-nav__cta { margin: 14px 0 0; }
  .pr-nav__cta .pr-btn { width: 100%; justify-content: center; }

  /* Dropdown becomes an inline expanded list inside the mobile menu */
  .pr-nav__item { display: block; width: 100%; }
  .pr-has-drop::after { display: none; }
  .pr-caret { display: none; }
  .pr-dropdown {
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; background: transparent; border: 0; box-shadow: none;
    padding: 2px 0 6px 14px;
  }
  .pr-dropdown a { padding: 10px 0; font-size: .88rem; }
}

@media (max-width: 680px) {
  .pr-wrap { padding: 0 18px; }
  .pr-grid { grid-template-columns: 1fr; }

  /* Hero on phones: the car photo is a prominent banner (near-full car, only slight
     side crop). The eyebrow + headline overlap its lower edge so the text sits ON the
     car, while the longer copy, buttons and stats sit just below on the dark panel.
     Clean and premium — not the whole block crammed over the photo. */
  .pr-hero {
    display: block;
    min-height: 0;
    padding: 0 0 46px;
    background: var(--pr-black);
    overflow: hidden;
  }
  .pr-hero__slides {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;      /* shows almost the whole car, minimal side crop */
    margin: 0;
  }
  .pr-hero__slide { background-position: center; }
  .pr-hero__slide::after {
    background: linear-gradient(180deg,
      rgba(11,11,13,.12) 0%, rgba(11,11,13,.04) 38%,
      rgba(11,11,13,.5) 72%, var(--pr-black) 100%);
  }
  .pr-hero__inner {
    position: relative;
    margin-top: -104px;       /* lift eyebrow + headline onto the car's lower edge */
    padding: 0;
  }
  .pr-hero__inner .pr-eyebrow { font-size: .66rem; letter-spacing: .12em; }
  .pr-hero__title { margin-bottom: 16px; }
  .pr-hero__stats { margin-top: 26px; justify-content: center; }
  .pr-hero__stats .pr-stat { padding-right: 18px; margin-right: 18px; }
  .pr-hero__dots { display: none; }   /* hide the 12 dots on phones (slider still auto-rotates) */
  .pr-field-row { grid-template-columns: 1fr; }
  .pr-featlist { grid-template-columns: 1fr; }
  .pr-footer__grid { grid-template-columns: 1fr; }
  .pr-statband { grid-template-columns: 1fr 1fr; }
  .pr-cta { padding: 44px 24px; }
  .pr-specgrid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .pr-hero__slide { transform: none !important; }
  .pr-reveal { opacity: 1; transform: none; }
}

/* ============================ CARD HEAD / TRIM ==================== */
.pr-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pr-card__trim { color: var(--pr-muted); font-size: .82rem; margin: 2px 0 0; }

/* ============================ VEHICLE FEATURES ================== */
.pr-vf { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 44px; margin: 8px 0 34px; }
.pr-vf__col { display: flex; flex-direction: column; }
.pr-vf h4 {
  font-family: var(--pr-font-body);
  font-size: .98rem; font-weight: 600; color: var(--pr-white);
  margin: 22px 0 12px;
}
.pr-vf__col > h4:first-child { margin-top: 0; }
.pr-vf ul { display: grid; gap: 11px; margin: 0 0 6px; }
.pr-vf li {
  position: relative; padding-left: 18px;
  color: var(--pr-muted); font-size: .94rem; line-height: 1.4;
}
.pr-vf li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--pr-gold);
}
@media (max-width: 680px) { .pr-vf { grid-template-columns: 1fr; gap: 0 0; } }

/* ============================ CAR DETAIL GALLERY ================= */
.pr-gallery__main {
  position: relative;
  border-radius: var(--pr-radius);
  overflow: hidden;
  border: 1px solid var(--pr-line);
  background: #000;
  cursor: zoom-in;
}
.pr-gallery__main img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; display: block; }
.pr-gallery__badge {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(8,8,10,.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: .82rem; font-weight: 600;
  padding: 8px 14px; border-radius: 999px;
}
.pr-gallery__badge svg { width: 16px; height: 16px; }
.pr-gallery__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.pr-gallery__thumb {
  aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--pr-line); cursor: pointer; padding: 0; background: #000;
  transition: border-color .2s var(--pr-ease), transform .2s var(--pr-ease);
}
.pr-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pr-gallery__thumb:hover { border-color: var(--pr-gold); transform: translateY(-2px); }
.pr-gallery__thumb.is-more { position: relative; }
.pr-gallery__thumb.is-more::after {
  content: attr(data-more); position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(8,8,10,.62); color: #fff; font-weight: 600; font-size: .95rem;
}

/* ============================ GALLERY PAGE ====================== */
.pr-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pr-gcard {
  background: var(--pr-ink); border: 1px solid var(--pr-line);
  border-radius: var(--pr-radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--pr-shadow-sm);
  transition: transform .35s var(--pr-ease), border-color .35s var(--pr-ease), box-shadow .35s var(--pr-ease);
}
.pr-gcard:hover { transform: translateY(-6px); border-color: rgba(230,180,34,.5); box-shadow: var(--pr-shadow); }
.pr-gcard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #000; cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.pr-gcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--pr-ease); }
.pr-gcard:hover .pr-gcard__media img { transform: scale(1.06); }
.pr-gcard__count {
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(8,8,10,.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18); color: #fff;
  font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
}
.pr-gcard__count svg { width: 15px; height: 15px; }
.pr-gcard__body { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pr-gcard__name { font-family: var(--pr-font-display); font-size: 1.15rem; }
.pr-gcard__sub { color: var(--pr-muted); font-size: .82rem; margin-top: 2px; }

/* ============================ LIGHTBOX ========================== */
.pr-lb {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(4,4,6,.94);
  display: none; align-items: center; justify-content: center;
}
.pr-lb.is-open { display: flex; }
.pr-lb__img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 8px; }
.pr-lb__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff;
  transition: background .2s var(--pr-ease);
}
.pr-lb__btn:hover { background: rgba(230,180,34,.28); }
.pr-lb__btn svg { width: 24px; height: 24px; }
.pr-lb__close { top: 22px; right: 22px; }
.pr-lb__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.pr-lb__next { right: 22px; top: 50%; transform: translateY(-50%); }
.pr-lb__count {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #fff; font-size: .9rem; background: rgba(255,255,255,.1);
  padding: 6px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
}

@media (max-width: 980px) {
  .pr-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .pr-gallery-grid { grid-template-columns: 1fr; }
  .pr-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
  .pr-lb__prev { left: 10px; }
  .pr-lb__next { right: 10px; }
}

/* ============================ COOKIE CONSENT ====================== */
.pr-cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  padding: 16px 22px;
  font-size: .95rem;
  line-height: 1.5;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.12);
}
.pr-cookie a { color: #5cb85c; text-decoration: underline; }
.pr-cookie a:hover { color: #7ec97e; }
.pr-cookie__btn {
  background: #5cb85c;
  color: #fff;
  border: 0;
  padding: 10px 28px;
  border-radius: 4px;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s var(--pr-ease);
}
.pr-cookie__btn:hover { background: #4cae4c; }
@media (max-width: 680px) {
  .pr-cookie { font-size: .88rem; padding: 14px 16px; }
}

/* ============================ STORY TAGLINE ======================= */
.pr-story__tag {
  margin: 34px 0 0;
  text-align: center;
  font-family: var(--pr-font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: .01em;
}
