/* ─────────────────────────────────────────────
   OBSIDIAN AUTO DETAILING — design system
   Black luxury · obsidian black · chrome / platinum
   ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #0A0B0D;   /* obsidian black */
  --surface:    #101216;   /* card / alt section */
  --surface-2:  #15181D;   /* elevated */
  --steel:      #0E1115;   /* cool deep section */
  --platinum:   #F2F4F6;   /* primary text */
  --silver:     #C7CDD3;   /* light accent */
  --chrome:     #AEB6BD;   /* mid accent */
  --chrome-soft:#DEE3E7;   /* bright chrome (fills / hover) */
  --muted:      rgba(242,244,246,0.60);
  --dim:        rgba(242,244,246,0.40);
  --line:       rgba(242,244,246,0.12);
  --line-soft:  rgba(242,244,246,0.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "SF Mono", ui-monospace, "Cascadia Code", monospace;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--platinum);
  font-family: var(--font); line-height: 1.5;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 84px; display: flex; align-items: center; gap: 28px;
  padding: 0 32px;
  background: transparent;
  transition: background .45s ease, backdrop-filter .45s ease, border-color .45s ease;
  border-bottom: 0.5px solid transparent;
}
nav.scrolled {
  background: rgba(10,11,13,0.74);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom: 0.5px solid var(--line);
}
.nav-logo { text-decoration: none; flex-shrink: 0; display: inline-flex; align-items: center; font-size: 20px; font-weight: 700; letter-spacing: 0.22em; color: var(--platinum); }
.nav-logo img { height: 40px; width: auto; display: block; }
.foot-brand .nav-logo img { height: 72px; }
.wm { display: flex; flex-direction: column; line-height: 1; }
.wm-main { font-size: 21px; font-weight: 700; letter-spacing: 0.26em; color: var(--platinum); padding-left: 0.26em; }
.wm-sub { font-size: 8.5px; font-weight: 500; letter-spacing: 0.42em; color: var(--chrome); margin-top: 5px; padding-left: 0.42em; }
.nav-links { list-style: none; display: flex; gap: 30px; margin-left: auto; }
.nav-links a { font-size: 13px; color: rgba(242,244,246,0.74); text-decoration: none; letter-spacing: 0.04em; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--platinum); }
.nav-cta {
  flex-shrink: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  padding: 10px 22px; border-radius: 980px; text-decoration: none;
  background: var(--chrome-soft); color: #0c0d0f;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.nav-cta:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(222,227,231,0.18); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; }
.nav-burger span { width: 22px; height: 1.5px; background: var(--platinum); display: block; }

/* ─── HERO (wheel-lock scrub · clean footage, no veil) ─── */
.hero-wrap { height: 100svh; position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 30%, rgba(120,150,180,0.10) 0%, transparent 60%),
    linear-gradient(to bottom, #0C0E11 0%, #060708 100%); }
.hero-sticky { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #060708; }
.hero-poster-overlay { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; opacity: 1; transition: opacity .35s linear; }
.hero-progress { position: absolute; bottom: 0; left: 0; height: 2px; width: 0%; z-index: 10;
  background: linear-gradient(90deg, transparent, var(--chrome-soft), transparent); transition: width .06s linear; }
.hero-content {
  position: relative; z-index: 5; text-align: center; padding: 0 24px; max-width: 940px;
  display: flex; flex-direction: column; align-items: center;
  transition: opacity .05s, transform .05s; text-shadow: 0 2px 30px rgba(0,0,0,0.55);
}
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.30em; text-transform: uppercase; color: var(--chrome); }
.hero-content h1 {
  font-family: var(--display); font-size: clamp(54px, 10vw, 140px); font-weight: 400; letter-spacing: -0.005em; line-height: 0.96;
  margin: 20px 0 0; color: #fff;
}
.hero-content h1 em { font-style: italic; color: var(--silver); }
.hero-content .lead { font-size: clamp(16px, 2.2vw, 21px); color: rgba(242,244,246,0.74); max-width: 560px; margin: 22px auto 0; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }

/* ─── BUTTONS ─── */
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600;
  padding: 14px 30px; border-radius: 980px; text-decoration: none; transition: all .22s; cursor: pointer; border: none; white-space: nowrap; letter-spacing: 0.01em; }
.btn-fill { background: var(--chrome-soft); color: #0c0d0f; }
.btn-fill:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(222,227,231,0.20); }
.btn-ghost { background: transparent; color: var(--silver); border: 1px solid rgba(199,205,211,0.45); }
.btn-ghost:hover { background: var(--chrome-soft); border-color: var(--chrome-soft); color: #0c0d0f; transform: translateY(-1px); }

/* ─── SECTIONS ─── */
.section { padding: clamp(84px, 13vh, 168px) 24px; position: relative; }
.section--panel { background: var(--surface); }
.section--steel { background:
  radial-gradient(120% 120% at 50% 0%, rgba(120,150,180,0.08), transparent 60%), var(--steel); }
.wrap { max-width: 1120px; margin: 0 auto; }
.measure { max-width: 720px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.display { font-family: var(--display); font-size: clamp(38px, 6vw, 86px); font-weight: 400; letter-spacing: -0.005em; line-height: 1.0; color: var(--platinum); }
.display em { font-style: italic; color: var(--silver); }
.lead { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.7; color: var(--muted); }
.section-head { margin-bottom: 56px; }

/* feature row: text + media */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature.reverse .feature-media { order: -1; }
.feature-copy h2 { margin: 14px 0 18px; }
.feature-copy .lead { margin-bottom: 26px; }

.media {
  position: relative; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 16%, rgba(150,165,180,0.18), transparent 60%),
    linear-gradient(155deg, #1A1E24 0%, #0A0B0D 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
}
.media.wide { aspect-ratio: 16/10; }
.feature-media .media { aspect-ratio: 3 / 2; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-tag { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* service / cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface-2); border: 0.5px solid var(--line); border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover { border-color: rgba(199,205,211,0.4); transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.55); }
.card .media { border-radius: 0; box-shadow: none; aspect-ratio: 4/3; }
.card-body { padding: 28px 30px 32px; }
.card-body .price { float: right; font-family: var(--display); font-size: 24px; color: var(--silver); }
.card-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--platinum); }
.card-body p { font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.card-body ul { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.card-body li { font-size: 13.5px; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.card-body li::before { content: '—'; color: var(--chrome); flex-shrink: 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery .media { aspect-ratio: 4/3; border-radius: 14px; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line);
  border: 0.5px solid var(--line); border-radius: 20px; overflow: hidden; }
.fact { background: var(--surface); padding: 44px 28px; text-align: center; }
.fact-n { font-family: var(--display); font-size: clamp(40px,5vw,64px); font-weight: 400; letter-spacing: -0.01em; color: var(--silver); display: block; line-height: 1; }
.fact-l { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* process steps */
.steps { display: flex; flex-direction: column; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: 28px; padding: 30px 0; border-bottom: 0.5px solid var(--line); }
.step:last-child { border-bottom: none; }
.step-n { font-family: var(--display); font-size: 40px; color: var(--chrome); line-height: 1; }
.step h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.65; max-width: 620px; }

/* booking / cta panel */
.cta-inner { background:
    radial-gradient(120% 130% at 50% 0%, rgba(120,150,180,0.12), transparent 60%), var(--surface-2);
  border: 0.5px solid var(--line); border-radius: 28px; padding: clamp(56px,8vw,96px) 32px; text-align: center;
  box-shadow: 0 40px 90px rgba(0,0,0,0.5); }

/* ─── PAGE HERO (interior pages) ─── */
.page-hero { padding: 168px 24px 64px; text-align: center; border-bottom: 0.5px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% 0%, rgba(120,150,180,0.10), transparent 60%); pointer-events: none; }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--display); font-size: clamp(44px, 8vw, 104px); font-weight: 400; letter-spacing: -0.01em; line-height: 1; margin: 16px 0 0; }
.page-hero h1 em { font-style: italic; color: var(--silver); }
.page-hero .lead { margin: 22px auto 0; max-width: 600px; }

/* contact details */
.loc-meta { list-style: none; margin: 26px 0 0; display: flex; flex-direction: column; gap: 18px; }
.loc-meta li { display: flex; gap: 18px; align-items: baseline; }
.loc-meta .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--chrome); min-width: 92px; flex-shrink: 0; }
.loc-meta .v { font-size: 15.5px; color: var(--platinum); }

/* form */
.form { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; text-align: left; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form input, .form textarea, .form select { width: 100%; background: var(--surface-2); border: 0.5px solid var(--line); border-radius: 12px;
  padding: 14px 16px; color: var(--platinum); font-family: var(--font); font-size: 15px; resize: vertical; }
.form input::placeholder, .form textarea::placeholder { color: var(--dim); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: rgba(199,205,211,0.5); }
.form button { justify-self: center; margin-top: 6px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(18px); will-change: opacity, transform;
  transition: opacity 1.1s cubic-bezier(.22,.61,.36,1), transform 1.1s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; } .reveal.d3 { transition-delay: .36s; }
.media img.imgfade { opacity: 0; transition: opacity .7s ease; }
.media img.imgfade.loaded { opacity: 1; }

/* ─── BRAND FOOTER ─── */
.site-footer { background: var(--surface); border-top: 0.5px solid var(--line); padding: 72px 32px 40px; }
.foot-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); font-size: 13.5px; margin-top: 16px; max-width: 280px; line-height: 1.6; }
.foot-col h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 11px; transition: color .2s; }
.foot-col a:hover { color: var(--platinum); }
.foot-copy { max-width: 1120px; margin: 48px auto 0; padding-top: 22px; border-top: 0.5px solid var(--line);
  font-size: 12px; color: var(--dim); text-align: center; }

/* ─── PUBLICOVER MEDIA CREDIT ─── */
.pm-credit { background: #060708; border-top: 0.5px solid var(--line); padding: 26px 28px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.pm-credit .back-link { font-size: 12px; letter-spacing: 0.06em; color: rgba(255,255,255,0.95); text-decoration: none; transition: color .2s; }
.pm-credit .back-link:hover { color: #fff; }
.pm-credit .pm-logo-link { display: flex; align-items: center; justify-content: center; }
.pm-credit .pm-logo-link img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.pm-credit > div:last-child { text-align: right; }

/* ─── MOBILE MENU ─── */
.mobile-menu { position: fixed; inset: 0; z-index: 300; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transform: translateY(-100%); opacity: 0; visibility: hidden;
  transition: transform .42s cubic-bezier(.16,1,.3,1), opacity .42s ease, visibility .42s; }
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a { font-family: var(--display); font-size: 34px; font-weight: 400; letter-spacing: -0.01em; color: var(--platinum); text-decoration: none; padding: 11px; }
.mobile-menu a:hover { color: var(--silver); }
.mobile-menu .mm-cta { font-family: var(--font); margin-top: 20px; font-size: 15px; font-weight: 600; padding: 13px 30px; border-radius: 980px; background: var(--chrome-soft); color: #0c0d0f; }
.mobile-menu-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: var(--platinum); font-size: 34px; line-height: 1; cursor: pointer; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-media { order: 0; }
  .duo, .tri { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 10px; justify-items: center; text-align: center; }
  /* center all section text on mobile */
  .feature-copy { text-align: center; }
  .card-body { text-align: center; }
  .card-body .price { float: none; display: block; margin-bottom: 4px; }
  .card-body ul { align-items: center; }
  .card-body li { justify-content: center; }
  .loc-meta { align-items: center; }
  .loc-meta li { flex-direction: column; align-items: center; gap: 4px; }
  .loc-meta .k { min-width: 0; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 30px 18px; text-align: center; justify-items: center; }
  .foot-brand { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; }
  .foot-brand p { max-width: 420px; }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
