:root {
  --black: #050505;
  --near-black: #0d0d0d;
  --panel: #151515;
  --panel-soft: #1e1e1e;
  --gold: #d7b45f;
  --gold-bright: #f3d37a;
  --cream: #f6f0e2;
  --muted: #b8b2a4;
  --line: rgba(243, 211, 122, 0.22);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

.simple-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.78)),
    url("assets/bmw-front-driver-side.jpg") center / cover;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden-field {
  display: none;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section-pad {
  padding: 92px 0;
}

section[id] {
  scroll-margin-top: 92px;
}

.section-label,
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 770px;
  font-size: clamp(2.65rem, 8vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.65rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  padding: 12px max(20px, calc((100vw - var(--max)) / 2));
  color: var(--cream);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.55) 80%, rgba(5, 5, 5, 0));
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.scrolled,
.site-header.nav-active {
  background: rgba(5, 5, 5, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  width: 128px;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.site-nav a,
.footer-links a {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--gold-bright);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(243, 211, 122, 0.55);
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 850;
}

.header-book {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #171004;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
}

.nav-toggle span:not(.screen-reader) {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media {
  background-image: url("assets/bmw-front-driver-side.jpg");
  background-size: cover;
  background-position: 58% center;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.93) 0%, rgba(0, 0, 0, 0.78) 42%, rgba(0, 0, 0, 0.36) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.82));
}

.hero-content {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 54px;
}

.hero-logo {
  width: min(230px, 48vw);
  margin: 0 0 24px;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.55));
}

.hero-copy {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(246, 240, 226, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #171004;
}

.button.secondary {
  border-color: rgba(246, 240, 226, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-stats span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.46);
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 760;
}

.intro {
  border-top: 1px solid var(--line);
  background: var(--near-black);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 42px;
  align-items: end;
}

.intro-grid p:last-child {
  font-size: 1.12rem;
}

.booking-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(243, 211, 122, 0.12), rgba(13, 13, 13, 0.98) 42%);
  padding: 24px 0;
}

.booking-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.booking-grid article,
.trust-grid article,
.faq-list details {
  border: 1px solid rgba(246, 240, 226, 0.1);
  border-radius: 8px;
  background: rgba(21, 21, 21, 0.92);
}

.booking-grid article {
  padding: 18px;
}

.booking-grid span {
  color: var(--gold-bright);
  font-weight: 950;
}

.booking-grid strong {
  display: block;
  margin: 4px 0 6px;
  font-size: 1.02rem;
}

.booking-grid p {
  font-size: 0.93rem;
}

.booking-grid .button {
  min-height: 100%;
  padding: 18px;
  text-align: center;
}

.services {
  background: var(--black);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.7fr);
  gap: 32px;
  align-items: end;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(246, 240, 226, 0.1);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.service-card.featured {
  background: linear-gradient(160deg, rgba(243, 211, 122, 0.19), rgba(21, 21, 21, 0.98) 48%);
  border-color: rgba(243, 211, 122, 0.45);
}

.service-badge {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(243, 211, 122, 0.14);
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.service-topline {
  display: flex;
  min-height: 66px;
  flex-direction: column;
  gap: 8px;
}

.service-topline span {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(243, 211, 122, 0.34);
  color: var(--gold-bright);
  font-weight: 900;
}

.service-card p {
  flex: 1;
}

.service-card .service-badge {
  flex: none;
}

.price-note {
  flex: none;
  margin-top: -8px;
  color: var(--gold-bright);
  font-size: 0.92rem;
  font-weight: 850;
}

.service-card a {
  display: inline-flex;
  width: fit-content;
  min-height: 42px;
  align-items: center;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid rgba(243, 211, 122, 0.42);
  border-radius: 6px;
  color: var(--gold-bright);
  font-weight: 900;
  text-decoration: none;
}

.service-card a:hover {
  background: rgba(243, 211, 122, 0.08);
}

.trust {
  background: var(--black);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.trust-grid article {
  padding: 24px;
  box-shadow: var(--shadow);
}

.trust-grid h3 {
  margin-bottom: 12px;
}

.maintenance {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.82)),
    url("assets/maserati-passenger.jpg") center / cover;
}

.maintenance-grid,
.compare-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
}

.maintenance-grid h2,
.compare-grid h2,
.faq-grid h2 {
  margin-bottom: 16px;
}

.inline-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.gallery {
  background: var(--near-black);
}

.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 24px;
}

.gallery-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(243, 211, 122, 0.32);
  border-radius: 999px;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.88rem;
  font-weight: 850;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(246, 240, 226, 0.12);
  border-radius: 8px;
  background: var(--panel);
  color: var(--cream);
  cursor: pointer;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(243, 211, 122, 0.34);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.66);
  font-weight: 850;
}

.before-after {
  background: var(--black);
}

.compare {
  --position: 50%;
  display: grid;
  gap: 16px;
}

.compare-images {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(246, 240, 226, 0.14);
  border-radius: 8px;
  background: #000;
  box-shadow: var(--shadow);
}

.compare-images > img,
.compare-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.compare-images::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 2px;
  background: var(--gold-bright);
  transform: translateX(-1px);
  box-shadow: 0 0 18px rgba(243, 211, 122, 0.5);
}

.compare-label {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 6px 10px;
  border: 1px solid rgba(243, 211, 122, 0.34);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--cream);
  font-weight: 900;
}

.compare-label.before {
  left: 12px;
}

.compare-label.after {
  right: 12px;
}

.compare input[type="range"] {
  width: 100%;
  accent-color: var(--gold-bright);
}

.process {
  background: var(--black);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.process-grid article {
  padding: 26px;
  border-top: 2px solid var(--gold);
  background: var(--panel);
}

.process-grid span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--gold-bright);
  font-size: 1.8rem;
  font-weight: 950;
}

.process-grid h3 {
  margin-bottom: 12px;
}

.service-area {
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.86)),
    url("assets/bmw-trunk.jpg");
  background-size: cover;
  background-position: center;
}

.area-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 42px;
  align-items: center;
}

.area-grid h2 {
  margin-bottom: 16px;
}

.area-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 15, 15, 0.72);
}

.area-panel span {
  display: block;
  color: var(--gold-bright);
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.9;
  font-weight: 950;
}

.area-panel p {
  margin-top: 18px;
  color: var(--cream);
  font-weight: 760;
}

.contact {
  background: var(--near-black);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-actions .button {
  min-width: 160px;
}

.contact-links a {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  color: var(--cream);
  text-decoration: none;
  font-weight: 850;
}

.contact-links a:hover {
  color: var(--gold-bright);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(246, 240, 226, 0.12);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--cream);
  font-weight: 850;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(246, 240, 226, 0.15);
  border-radius: 6px;
  padding: 11px 12px;
  background: #090909;
  color: var(--cream);
  outline: none;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(243, 211, 122, 0.14);
}

.quote-form input[aria-invalid="true"],
.quote-form select[aria-invalid="true"],
.quote-form textarea[aria-invalid="true"] {
  border-color: #d85c4a;
}

.form-wide {
  grid-column: 1 / -1;
}

.form-message {
  min-height: 0;
  color: var(--gold-bright);
  font-size: 0.92rem;
  font-weight: 750;
}

.form-message.error {
  color: #ffb3a8;
}

.form-success {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(243, 211, 122, 0.36);
  border-radius: 8px;
  background: rgba(243, 211, 122, 0.1);
}

.form-success[hidden] {
  display: none;
}

.form-success strong {
  color: var(--cream);
  font-size: 1.05rem;
}

.form-success .button {
  width: fit-content;
}

.form-note {
  grid-column: 1 / -1;
  font-size: 0.9rem;
}

.faq {
  background: var(--near-black);
}

.faq-grid {
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 18px;
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  color: var(--cream);
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  padding: 0 0 18px;
}

.thanks-page {
  width: min(680px, 100%);
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 13, 13, 0.9);
  box-shadow: var(--shadow);
}

.thanks-logo {
  display: block;
  width: 150px;
  margin-bottom: 24px;
}

.thanks-page h1 {
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 8vw, 4.5rem);
}

.thanks-page p:not(.section-label) {
  max-width: 560px;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #030303;
}

.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
}

.footer-grid img {
  width: 82px;
}

.footer-grid strong {
  display: block;
  font-size: 1.08rem;
}

.footer-grid p {
  margin-top: 2px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.mobile-action-bar {
  display: none;
}

.lightbox {
  width: min(980px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #080808;
  color: var(--cream);
  box-shadow: var(--shadow);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}

.lightbox p {
  padding: 14px 18px 18px;
  color: var(--cream);
  font-weight: 800;
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(246, 240, 226, 0.3);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--cream);
  cursor: pointer;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions {
    order: 2;
    justify-self: end;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
    justify-self: end;
  }

  .site-nav {
    position: fixed;
    inset: 82px 0 auto 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 5, 5, 0.98);
  }

  .site-header.nav-active .site-nav {
    display: grid;
  }

  .site-nav a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(246, 240, 226, 0.08);
    font-size: 1.05rem;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 12px;
  }

  .intro-grid,
  .split-heading,
  .area-grid,
  .contact-grid,
  .maintenance-grid,
  .compare-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .booking-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }
}

@media (max-width: 700px) {
  .section-pad {
    padding: 68px 0;
  }

  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .site-header {
    min-height: 72px;
    gap: 8px;
    padding: 8px 14px;
  }

  .brand {
    width: 86px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 9px;
    font-size: 0.78rem;
  }

  .header-actions {
    gap: 6px;
  }

  .site-nav {
    inset: 72px 0 auto 0;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: min(var(--max), calc(100% - 28px));
    padding: 118px 0 40px;
  }

  .hero-logo {
    width: min(180px, 58vw);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats span {
    width: 100%;
  }

  .service-grid,
  .process-grid,
  .booking-grid,
  .trust-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid img {
    width: 74px;
  }

  body {
    padding-bottom: 72px;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 30;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid rgba(243, 211, 122, 0.45);
    border-radius: 8px;
    background: rgba(5, 5, 5, 0.96);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(16px);
  }

  .mobile-action-bar a {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(243, 211, 122, 0.22);
    color: var(--gold-bright);
    font-size: 0.92rem;
    font-weight: 950;
    text-decoration: none;
  }

  .mobile-action-bar a:last-child {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
