/* Full Spectrum Auto Detail — shared stylesheet for all pages */
:root {
  --deep: #061f2a;
  --dark: #073d53;
  --blue: #0c5270;
  --lime: #a1d119;
  --text: #f2f7f9;
  --muted: #c3d5dc;
  --radius: 10px;
  --footer-surface: #ffffff;
  --footer-border: #d7e2e7;
}

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

body {
  background: var(--deep);
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

h1, h2, h3, .logo-text { font-family: "Space Grotesk", Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: min(100% - 3rem, 1200px); margin-inline: auto; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--lime);
  color: var(--deep);
  font-weight: 700;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: filter 0.15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(242, 247, 249, 0.4);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); filter: none; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--dark);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { height: 64px; width: auto; }
.footer-logo { height: 64px; width: auto; }
.brand img { height: 64px; width: auto; }
.logo-text { font-size: 1.1rem; font-weight: 700; line-height: 1.15; }
.logo-text span { display: block; font-size: 0.7rem; font-weight: 500; color: var(--muted); letter-spacing: 0.12em; }
.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a {
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius);
  color: var(--deep);
  font-weight: 500;
}
.main-nav a:hover { background: #e9f0ec; }
.main-nav a.active { color: var(--lime); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--deep);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem;
}
.site-header .mobile-nav { display: none; flex-direction: column; gap: 0.25rem; padding-bottom: 1.25rem; }
.mobile-nav a { padding: 0.7rem 0.5rem; border-radius: var(--radius); font-weight: 500; color: var(--deep); }
.mobile-nav a:hover { background: #e9f0ec; }
.mobile-nav .btn { justify-content: center; margin-top: 0.5rem; }
.site-header .mobile-nav.open { display: flex; }

/* Hero (home) */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(6, 31, 42, 0.96) 0%, rgba(6, 31, 42, 0.82) 30%, rgba(6, 31, 42, 0.16) 75%);
}
.hero-content { padding: 4rem 0; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 3.8rem); font-weight: 700; line-height: 1.08; margin-top: 1.5rem; max-width: 36rem; }
.hero h1 .accent { color: var(--lime); }
.hero p.lead { margin-top: 1.5rem; max-width: 28rem; font-size: 1.15rem; }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-strip {
  border-top: 1px solid rgba(242, 247, 249, 0.2);
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.hero-strip a { color: var(--lime); display: inline-flex; align-items: center; gap: 0.4rem; }

/* Page intro */
.page-intro { padding: 3.5rem 0 3rem; }
.page-intro h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.15; margin-top: 1rem; max-width: 48rem; }
.page-intro p { margin-top: 1.25rem; max-width: 42rem; font-size: 1.1rem; color: var(--muted); }

/* Sections */
.section { padding: 4rem 0; }
.section-bordered { border-top: 1px solid var(--dark); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: 2.25rem; }
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 700; margin-top: 0.75rem; }

/* Service cards */
.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: #ffffff;
  border: 1px solid #d7e2e7;
  color: var(--deep);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2.25rem; }
.card-top .icon { width: 96px; height: 96px; border-radius: 50%; }
.card-top .number { font-family: "Space Grotesk", sans-serif; font-size: 0.85rem; color: #5d7683; }
.card .focus { font-size: 0.75rem; color: var(--blue); font-weight: 600; }
.card h3 { font-size: 1.5rem; font-weight: 700; margin-top: 0.5rem; }
.card p.desc { margin: 1rem 0 0; color: #48616d; }
.card .btn { margin-top: auto; display: flex; justify-content: space-between; }
.card .inclusions { margin-top: 1.25rem; margin-bottom: 1.5rem; border-top: 1px solid rgba(6, 31, 42, .1); padding-top: 1.25rem; }
.card .inclusions-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #5d7683; }
.card .inclusions ul { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; }
.card .inclusions li { display: flex; gap: 0.5rem; font-size: 0.875rem; color: rgba(6, 31, 42, .8); }
.card .inclusions li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-top: 0.45rem; }

/* Gallery */
.gallery-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.gallery-grid > figure { min-width: 0; }
.gallery-grid img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gallery-item { display: block; width: 100%; aspect-ratio: 1 / 1; background: none; border: none; padding: 0; cursor: pointer; border-radius: var(--radius); overflow: hidden; }
.gallery-item img { aspect-ratio: 1; width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption, figure figcaption { margin-top: 1rem; display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.9rem; }
figcaption .cat { color: var(--muted); }
figure h2 { font-size: 1.25rem; font-weight: 700; }
figure .sub { color: var(--muted); font-size: 0.9rem; margin-top: 0.25rem; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 31, 42, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox-inner { max-width: 640px; width: 100%; }
.lightbox-inner h2 { margin-bottom: 1rem; }
.lightbox-inner img { max-height: 65vh; width: 100%; object-fit: contain; border-radius: var(--radius); }
.lightbox-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }
.lightbox-controls button {
  background: transparent;
  border: 1px solid rgba(242, 247, 249, 0.4);
  color: var(--text);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 1rem;
}
.lightbox-controls button:hover { background: rgba(255, 255, 255, 0.08); }
.lightbox-close { position: absolute; top: 1.25rem; right: 1.5rem; background: none; border: none; color: var(--text); font-size: 2rem; cursor: pointer; }

/* About */
.about-grid { display: grid; gap: 2.5rem; align-items: center; padding-bottom: 5rem; }
.about-grid img { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: var(--radius); }
.about-grid h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 700; margin-top: 1rem; }
.about-grid p { margin-top: 1.25rem; color: var(--muted); }
.about-grid .btn { margin-top: 2rem; }

/* Booking callout */
.callout { background: #ffffff; color: var(--deep); border-top: 1px solid #d7e2e7; padding: 3.5rem 0; }
.callout .eyebrow { color: var(--blue); }
.callout p { color: #48616d; }
.callout .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.callout h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 700; margin-top: 0.75rem; }
.callout p { margin-top: 1rem; }

/* Booking page */
.scheduler-surface { background: #ffffff; border-radius: var(--radius); overflow: hidden; }
.scheduler-surface iframe { display: block; width: 100%; border: 0; }
.booking-alt { margin-top: 1.25rem; text-align: right; }

/* Footer */
.site-footer { background: var(--footer-surface); color: var(--deep); border-top: 1px solid var(--footer-border); padding: 2.5rem 0; }
.site-footer > div.container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.site-footer .footer-nav { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; }
.site-footer .footer-nav a:hover { color: var(--blue); }
.copyright { margin-top: 2rem; font-size: 0.8rem; color: var(--blue); }
.location { display: flex; align-items: center; gap: 0.5rem; color: var(--blue); font-size: 0.9rem; margin-top: 0.5rem; }

/* Responsive */
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .main-nav { display: none; }
  .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: 480px; }
  .hero-shade { background: linear-gradient(90deg, rgba(6, 31, 42, 0.94), rgba(6, 31, 42, 0.58)); }
}

/* Process steps */
.steps-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; }
.step { background: #ffffff; border: 1px solid #d7e2e7; color: var(--deep); border-radius: var(--radius); padding: 1.5rem; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 50%; background: var(--lime); font-family: "Space Grotesk", sans-serif; font-size: 1.125rem; color: var(--deep); font-weight: 700; }
.step h3 { font-size: 1.25rem; font-weight: 700; margin-top: 1rem; }
.step p { margin-top: 0.75rem; font-size: 0.9rem; color: #48616d; }
.process-booking { display: flex; justify-content: center; margin-top: 2rem; }

.section-sub { margin-top: 1rem; max-width: 36rem; color: var(--muted); }

/* Gallery-only editorial introduction */
.gallery-intro { display: grid; gap: 1.5rem 3rem; align-items: end; padding-block: 3rem 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--blue); }
.gallery-intro h1 { margin-top: 0.75rem; font-size: 2.5rem; font-weight: 700; line-height: 1.1; }
.gallery-intro h1 span { color: var(--lime); }
.gallery-intro-description { max-width: 28rem; font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
@media (min-width: 768px) {
  .gallery-intro { grid-template-columns: 1.15fr 1fr; padding-top: 3.5rem; }
  .gallery-intro h1 { font-size: 3.75rem; }
}

/* Contact page */
.contact-intro { padding: 3rem 0; }
.contact-intro h1 { font-size: 3rem; line-height: 1.1; margin-top: .75rem; }
.contact-intro h1 span { color: var(--lime); }
.contact-intro p:last-child { margin-top: 1.25rem; color: var(--muted); font-size: 1.125rem; }
.contact-surface { background: var(--footer-surface); color: var(--deep); padding: 3rem 0; }
.contact-grid { display: grid; gap: 3rem; }
.contact-grid h2 { font-size: 2rem; line-height: 1.2; margin: 1rem 0 1.25rem; }
.contact-grid p, .contact-booking { color: var(--blue); }
.contact-grid .eyebrow { color: var(--blue); }
.contact-grid img { aspect-ratio: 4/3; object-fit: cover; max-width: 24rem; width: 100%; border-radius: 8px; margin: 2rem 0 1.5rem; }
.contact-form { display: grid; gap: 1.5rem; }
.contact-row { display: grid; gap: 1.5rem; }
.contact-form label { font-size: .875rem; font-weight: 600; }
.contact-form input, .contact-form textarea { display: block; width: 100%; font: inherit; font-weight: 400; color: var(--deep); background: var(--footer-surface); border: 1px solid var(--footer-border); border-radius: 6px; padding: .875rem 1rem; margin-top: .625rem; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--lime); }
.contact-form .contact-honeypot { display: none; }
.contact-preference { border: 0; min-width: 0; }
.contact-preference legend { font-size: .875rem; font-weight: 600; margin-bottom: 1rem; }
.contact-preference > div { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; }
.contact-preference label { display: flex; align-items: center; gap: .5rem; }
.contact-preference input[type="radio"] { width: 1rem; height: 1rem; padding: 0; margin: 0; accent-color: var(--blue); }
.contact-form button { justify-self: start; }
.contact-form button:disabled { opacity: .65; cursor: wait; }
.thank-you { padding-block: 5rem; }
.thank-you h1 { font-size: 2.5rem; margin-block: 1rem; }
.thank-you p { max-width: 36rem; margin-bottom: 2rem; }
@media (min-width: 640px) { .contact-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; } }
.contact-grid.contact-form-focused { max-width: 42rem; grid-template-columns: 1fr; }

/* Add-on services */
.addons { margin-top: 3rem; }
.addons-title { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.6rem, 4vw, 2.25rem); font-weight: 700; margin-top: 0.75rem; }
.addon-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 2rem; }
.addon-card { display: flex; flex-direction: column; border: 1px solid #d7e2e7; border-radius: 0.5rem; background: #ffffff; padding: 1.75rem; color: var(--deep); }
.addon-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.addon-card h3 { font-family: "Space Grotesk", sans-serif; font-size: 1.375rem; font-weight: 700; }
.duration { background: var(--lime); color: var(--deep); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.75rem; font-weight: 700; white-space: nowrap; }
.addon-card > p { margin-top: 1rem; color: #48616d; }
.addon-card .btn { margin-top: 2rem; justify-content: space-between; display: flex; }

.contact-phone a, .location a { color: inherit; }
.contact-phone a { font-weight: 600; text-underline-offset: 4px; }

.privacy-body h2 { margin-top: 2rem; }
.privacy-body h2:first-child { margin-top: 0; }
.privacy-body p { margin-top: 0.75rem; line-height: 1.7; }
.copyright a { color: inherit; text-underline-offset: 4px; }
