/* Site stylesheet (Option A: black + gold) for index.html, consent.html and legal/privacy-policy.html.
   style.css is the old navy theme and is no longer linked by any page. */

:root {
  --black: #0B0B0C;
  --dark: #141416;
  --card: #1E1E22;
  --chip: #26262B;
  --line: #2A2A2E;
  --gold: #FFC400;
  --gold-hover: #FFD84D;
  --red: #C8101C;
  --white: #FFFFFF;
  --text: #F5F2EA;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--black); }

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  margin: 0;
}
h1, h2 { font-weight: 700; text-transform: uppercase; }
h3 { font-weight: 500; }

p { margin: 0; }
a { color: var(--gold); }
a:hover { color: var(--gold-hover); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.container {
  max-width: 1160px;
  margin: 0 auto;
}

.section { padding: 80px 24px; }
.section--dark { background: var(--dark); }

.section-label {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.section h2 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 40px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  padding: 16px 30px;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
}
.btn:hover { background: var(--gold-hover); color: var(--black); }
.btn--block { display: block; }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: #26262B; color: var(--white); }
.btn--white { background: var(--white); color: #111111; }
.btn--white:hover { background: #F0F0F0; color: #111111; }

/* NAV */
.nav {
  background: var(--black);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
}
.nav-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
/* Text wordmark: logo-light.png's "Headlight Restoration" line is ~8px tall at 72px and hard to read on black */
.wordmark { font-family: 'Oswald', sans-serif; text-transform: uppercase; }
.wordmark span { display: block; }
.wordmark-name {
  font-weight: 700;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: 1px;
  color: var(--gold);
}
.wordmark-sub {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 2px;
  color: var(--white);
}
.nav-cta { font-size: 17px; padding: 12px 22px; }

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--black);
  padding: 88px 24px;
}
.beam {
  position: absolute;
  inset: 0;
  background: rgba(255, 196, 0, 0.09);
  clip-path: polygon(100% 8%, 100% 92%, 0 100%, 0 42%);
}
.beam--inner {
  background: rgba(255, 196, 0, 0.08);
  clip-path: polygon(100% 28%, 100% 72%, 0 86%, 0 58%);
}
.hero-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hero-text { flex: 1 1 420px; min-width: 0; }
.hero h1 {
  margin-bottom: 20px;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 1.05;
}
.hero-sub {
  margin-bottom: 28px;
  font-size: 20px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.hero-number { font-weight: 600; font-size: 18px; color: var(--white); }

.hero-media { flex: 1.2 1 460px; min-width: 0; position: relative; }
.hero-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 688 / 464;
  object-fit: cover;
  background: var(--card);
  border: 3px solid var(--gold);
  border-radius: 6px;
}
.media-tag {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  padding: 2px 8px;
}

/* BEFORE & AFTER */
.results { padding: 0 24px 72px; }
.results-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.results-heading { flex: 1 1 300px; min-width: 0; }
.results h2 { font-size: 44px; line-height: 1.15; }
.results-photo { flex: 2 1 460px; min-width: 0; position: relative; }
.results-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.ba-tag {
  position: absolute;
  top: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  text-transform: uppercase;
  padding: 4px 12px;
}
.ba-tag--before { left: 12px; background: var(--black); color: var(--white); }
.ba-tag--after { left: calc(50% + 12px); background: var(--gold); color: var(--black); }

/* WHY US */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}
.why-card {
  background: var(--card);
  border-radius: 6px;
  padding: 28px;
}
.why-card svg { display: block; }
.why-card h3 { margin: 14px 0 8px; font-size: 24px; }

/* HOW IT WORKS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 32px;
}
.step-number {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
}
.step h3 { margin: 12px 0 8px; font-size: 24px; }

/* SERVICE AREA */
.area-section h2 { margin-bottom: 12px; }
.area-sub { margin-bottom: 24px; }
.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-tag {
  background: var(--chip);
  color: var(--white);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius);
}
.area-note { margin-top: 24px; }

/* PRICE */
.price-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.price-heading { flex: 1 1 380px; min-width: 0; }
.price-heading h2 { margin-bottom: 0; }
.price-card {
  flex: 1 1 460px;
  min-width: 0;
  background: var(--card);
  border: 2px solid var(--gold);
  border-radius: 6px;
  padding: 36px;
}
.price {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
}
.price-card h3 { margin: 12px 0 4px; font-size: 28px; }
.price-desc { margin-bottom: 18px; }
.price-list { margin: 0 0 18px; padding-left: 20px; }
.price-list li::marker { color: var(--gold); }
.price-payment { margin-bottom: 22px; font-weight: 700; color: var(--white); }

/* DISCOUNT BAND */
.discount {
  background: var(--red);
  color: var(--white);
  padding: 36px 24px;
}
.discount-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 36px;
  align-items: center;
  justify-content: space-between;
}
.discount-amount {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(60px, 9vw, 88px);
  line-height: 1;
  text-transform: uppercase;
}
.discount-text { flex: 1 1 320px; min-width: 0; }
.discount h2 {
  margin: 0 0 4px;
  font-size: 32px;
  line-height: 1.2;
}
.discount-note { font-size: 18px; font-weight: 600; }
.discount a:focus-visible { outline-color: var(--white); }

/* FINAL CTA */
.cta-final {
  background: var(--gold);
  color: var(--black);
  padding: 72px 24px;
  text-align: center;
}
.cta-final h2 {
  margin: 0 0 10px;
  font-size: 44px;
  line-height: 1.15;
  color: var(--black);
}
.cta-final p { font-size: 19px; }
.cta-final .btn { margin-top: 24px; }
.cta-final a:focus-visible { outline-color: var(--black); }
.cta-number { margin-top: 16px; font-weight: 700; font-size: 20px; }

/* FOOTER */
.footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding: 40px 24px;
  text-align: center;
  font-size: 15px;
}
.footer-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 100%;
  margin: 0 auto 16px;
}
.footer p { margin-bottom: 8px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
}
.footer .footer-copy { margin: 8px 0 0; }

/* LEGAL PAGES (consent.html, legal/privacy-policy.html): colors and fonts only, sizes as before */
.legal-page h1,
.section.legal-page h2 { text-transform: none; }
.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section.legal-page h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 2rem 0 0.75rem;
}
.legal-page p,
.legal-page ul { margin: 0 0 1rem; line-height: 1.7; }
.legal-page ul { padding-left: 1.5rem; }
.legal-page strong { color: var(--white); }
.legal-page a { text-decoration: underline; }

/* PHONES */
@media (max-width: 600px) {
  .nav { padding: 12px 16px; }
  .wordmark-name { font-size: 32px; }
  .wordmark-sub { font-size: 14px; line-height: 1.4; letter-spacing: 1.5px; }
  .nav-cta { font-size: 15px; padding: 10px 14px; }
  .section { padding: 56px 16px; }
  .section h2,
  .results h2,
  .cta-final h2 { font-size: 34px; }
  .section h2 { margin-bottom: 28px; }
  .area-section h2 { margin-bottom: 12px; }
  .price-heading h2 { margin-bottom: 0; }
  .hero { padding: 56px 16px; }
  .hero-inner { gap: 36px; }
  .hero-sub { font-size: 18px; }
  .results { padding: 0 16px 56px; }
  .results-inner { gap: 20px; }
  .ba-tag { font-size: 14px; padding: 3px 10px; top: 8px; }
  .ba-tag--before { left: 8px; }
  .ba-tag--after { left: calc(50% + 8px); }
  .price-inner { gap: 28px; }
  .price-card { padding: 24px; }
  .price { font-size: 60px; }
  .discount { padding: 32px 16px; }
  .discount h2 { font-size: 26px; }
  .cta-final { padding: 56px 16px; }
  .footer { padding: 32px 16px; }
  .footer-logo { height: 56px; }
}
