/* Essex Auto Tints — design preview
   Palette sampled from img/hero-squeegee.jpg:
   dark glass ~#040e11, wet near-black ~#24353c,
   droplet cyan highlights ~#19b6c9 / #55b3bd / #3b8e9c.
   Teal UI values are those highlights, lifted slightly for contrast.

   LOGO SWAP
   ---------
   The header, hero and footer all paint var(--logo) via .logo-mark.
   img/logo.png is the official designer logo (dark lockup, transparent
   background), cropped from Final Logo Files-05.jpg in the May 2026
   brand zip. The old “Window Tints • PPF • Vinyl Wraps” tagline is left
   off because those services are no longer offered. The full lockup is
   kept at brand-assets/logo-official-dark-full.png.
*/
:root {
  --logo: url("../img/logo.png");
  --logo-aspect: 2.6943; /* 1525 / 566 */
  --teal: #1cb8c9;
  --teal-deep: #0e6e7c;
  --teal-soft: #7ad4de;
  --bg: #050d10;
  --bg-2: #0b161b;
  --bg-3: #122228;
  --ink: #f3f7f8;
  --muted: #9aabb0;
  --line: rgba(243, 247, 248, 0.12);
  --btn-ink: #041114;
  --max: 1140px;
  --header-h: 84px;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "Poppins", system-ui, sans-serif;
  --hero: image-set(
    url("../img/hero-squeegee.webp") type("image/webp"),
    url("../img/hero-squeegee.jpg") type("image/jpeg")
  );
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-soft); }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  background: var(--ink); color: var(--bg);
  padding: 0.5rem 1rem; border-radius: 8px; z-index: 200;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Logo (single swap point: --logo) ---------- */
.logo-mark {
  display: block;
  width: 100%;
  aspect-ratio: var(--logo-aspect);
  background-image: var(--logo);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left center;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(5, 13, 16, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; gap: 1.25rem;
}
.logo {
  display: flex; align-items: center;
  flex: 0 0 auto;
  width: min(230px, 56vw);
}
.logo:hover { opacity: 0.92; }

/* Homepage: transparent overlay header; logo lives large in the hero until scroll */
body.home .site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
body.home .site-header.is-scrolled,
body.home .site-header.has-open-nav {
  position: fixed;
  background: rgba(5, 13, 16, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
body.home .site-header:not(.is-scrolled):not(.has-open-nav) .logo {
  visibility: hidden;
  pointer-events: none;
}

/* Keep nav legible over the bright hex lights in the hero */
body.home .site-header:not(.is-scrolled):not(.has-open-nav)::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 8.5rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
  z-index: 0;
}
body.home .site-header .header-inner {
  position: relative;
  z-index: 1;
}
body.home .site-header:not(.is-scrolled):not(.has-open-nav) .nav a,
body.home .site-header:not(.is-scrolled):not(.has-open-nav) .header-phone {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9), 0 0 14px rgba(0, 0, 0, 0.65);
}
body.home .site-header:not(.is-scrolled):not(.has-open-nav) .social-icon,
body.home .site-header:not(.is-scrolled):not(.has-open-nav) .nav-toggle span {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.55));
}
body.home .hero-logo {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}

.nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 0.15rem 1.15rem;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--teal);
}

.header-phone {
  color: var(--ink) !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-bottom: 0 !important;
  padding: 0.4rem 0.7rem !important;
  border-radius: 999px;
  background: transparent;
}
.header-phone:hover { background: rgba(243, 247, 248, 0.08); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: var(--ink); margin: 4px auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: inherit; font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--teal);
  color: var(--btn-ink) !important;
}
.btn-primary:hover { background: var(--teal-soft); color: var(--btn-ink) !important; }
.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: rgba(243, 247, 248, 0.75);
}
.btn-ghost:hover { border-color: #fff; background: rgba(243, 247, 248, 0.08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-icon { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; display: block; }
.btn-call {
  background: transparent;
  color: var(--ink) !important;
  border-color: rgba(243, 247, 248, 0.75);
}
.btn-call:hover { border-color: #fff; background: rgba(243, 247, 248, 0.08); }
.btn-whatsapp {
  background: #25D366;
  color: #053b1a !important;
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  color: #053b1a !important;
}
.btn-row--call { margin-top: 1.25rem; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 2.2rem) 0 5rem;
  background: var(--bg);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 84% 48%;
  max-width: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(5, 13, 16, 0.92) 0%,
    rgba(5, 13, 16, 0.82) 22%,
    rgba(5, 13, 16, 0.55) 40%,
    rgba(5, 13, 16, 0.18) 62%,
    rgba(5, 13, 16, 0.08) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(32.5rem, calc(100% - 2.5rem));
  max-width: 32.5rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
}
.hero-logo {
  width: min(460px, 100%);
  margin: 0 0 1.35rem;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.8rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 1rem;
  max-width: 13em;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero h1 .h1-rest { display: block; }
.hero .lede {
  font-size: 1.12rem;
  color: #c5d4d8;
  max-width: 34rem;
  margin: 0 0 1.8rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.5);
}
.hero .lede strong { color: var(--ink); font-weight: 600; }

/* ---------- Trust bar ---------- */
.trust-band {
  position: relative;
  z-index: 2;
  margin-top: -2.25rem;
  padding-bottom: 1rem;
}
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  margin: 0;
  box-shadow: var(--shadow);
}
.trust li {
  list-style: none;
  background: var(--bg-2);
  padding: 1.15rem 1.2rem 1.25rem;
  margin: 0;
}
.trust h3 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
  font-weight: 700;
}
.trust p { margin: 0; color: var(--muted); font-size: 0.86rem; line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; position: relative; }
.section-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin: 0 0 0.5rem;
}
.section-kicker::before {
  content: "";
  display: inline-block;
  width: 0.7rem;
  height: 1rem;
  margin-right: 0.45rem;
  vertical-align: -0.18rem;
  background: url("../img/droplet.svg") center / contain no-repeat;
}
.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 1rem;
}
.section .intro {
  color: var(--muted);
  max-width: 42rem;
  margin: 0 0 2rem;
}
.section.alt { background: var(--bg-2); }
.section.alt::after {
  content: "";
  position: absolute;
  right: 6%;
  top: 2.2rem;
  width: 22px;
  height: 32px;
  background: url("../img/droplet.svg") center / contain no-repeat;
  opacity: 0.45;
  pointer-events: none;
}
.prose { max-width: 42rem; }
.prose h2, .prose h3 { letter-spacing: -0.02em; }
.prose h3 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.prose p { margin: 0 0 1rem; color: var(--muted); }
.prose p strong, .prose li strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { color: var(--muted); padding-left: 1.2rem; }
.prose li { margin: 0 0 0.45rem; }
.prose li::marker { color: var(--teal); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 0.6rem;
  overflow: hidden;
}
.card:has(.card-media) { padding: 0; gap: 0; }
.card-media picture, .card-media img { display: block; width: 100%; }
.card-media img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  height: auto;
}
.card-body {
  padding: 1.6rem 1.5rem 1.7rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  flex: 1;
}
.card h3 { margin: 0; font-size: 1.35rem; }
.card p { margin: 0; color: var(--muted); }
.card .btn { margin-top: auto; align-self: flex-start; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.feature {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem;
}
.feature h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.steps { counter-reset: step; display: grid; gap: 1rem; }
.steps li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}
.steps { margin: 0; padding: 0; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  width: 2.2rem; height: 2.2rem;
  border-radius: 999px;
  background: var(--teal);
  color: var(--btn-ink);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  margin-top: 0.15rem;
}
.steps h3 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); }

/* Testimonials */
.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.quote {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.3rem;
}
.quote p { margin: 0 0 0.8rem; }
.quote cite {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--teal-soft);
}

/* Legal callout */
.callout {
  border-left: 4px solid var(--teal);
  background: var(--bg-2);
  padding: 1.1rem 1.2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.callout h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.callout p { margin: 0; color: var(--muted); }

.placeholder-note {
  border: 1px dashed rgba(28, 184, 201, 0.45);
  background: rgba(28, 184, 201, 0.07);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.placeholder-note strong { color: var(--ink); }

/* Gallery */
.gallery-block { margin: 0 0 2.5rem; }
.gallery-block h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.gallery-grid--pair {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 0.9rem;
}
.gallery-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 220px));
  max-width: 700px;
}
.gallery-item,
.photo-row figure,
.work-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.gallery-item picture,
.gallery-item img,
.photo-row picture,
.photo-row img,
.work-photo picture,
.work-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.gallery-item img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin: 0 0 2.25rem;
}
.photo-row img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}
.work-photo {
  max-width: 28rem;
  margin: 1.5rem 0 2rem;
}

/* Forms */
form { display: grid; gap: 0.9rem; }
label { font-weight: 600; font-size: 0.9rem; display: grid; gap: 0.35rem; }
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 3px rgba(28, 184, 201, 0.25);
}
textarea { min-height: 8rem; resize: vertical; }
.form-help { font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.form-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.6rem 1.5rem;
}
.form-status {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  background: rgba(28, 184, 201, 0.12);
  border: 1px solid var(--teal);
  color: var(--ink);
}
.form-status.show { display: block; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
}
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { margin: 0 0 1rem; }
.contact-list span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-soft);
  margin-bottom: 0.15rem;
}

.policy {
  font-size: 0.95rem;
  color: var(--muted);
}
.policy h3 { color: var(--ink); font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
.policy p { margin: 0 0 0.7rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #03090b;
  padding: 3rem 0 2rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.site-footer h2, .site-footer h3 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
  color: var(--teal);
}
.site-footer p, .site-footer li { color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.35rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-logo { width: min(280px, 100%); margin-bottom: 0.8rem; }
.legal {
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  color: var(--muted);
  font-size: 0.82rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem;
  justify-content: space-between;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(28, 184, 201, 0.12), rgba(5, 13, 16, 0.2) 55%, rgba(28, 184, 201, 0.08)),
    var(--bg-2);
  border-block: 1px solid var(--line);
  padding: 3rem 0;
  text-align: center;
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  background: url("../img/droplet.svg") center / contain no-repeat;
  opacity: 0.4;
  pointer-events: none;
}
.cta-band::before { left: 8%; top: 1.4rem; width: 20px; height: 28px; }
.cta-band::after { right: 10%; bottom: 1.2rem; width: 14px; height: 20px; opacity: 0.28; }
.cta-band h2 { margin: 0 0 0.5rem; position: relative; }
.cta-band p { color: var(--muted); margin: 0 0 1.3rem; position: relative; }
.cta-band .btn-row { justify-content: center; position: relative; }

/* Inner-page header band: darkened crop of the hero photo */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 3.2rem 0 2.6rem;
  background: var(--bg);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero) 80% 42% / cover no-repeat;
  opacity: 0.38;
  filter: saturate(0.9);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 13, 16, 0.92) 0%,
    rgba(5, 13, 16, 0.8) 42%,
    rgba(5, 13, 16, 0.55) 100%
  );
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 0.75rem;
}
.page-hero p { color: #c5d4d8; margin: 0; max-width: 40rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .trust, .feature-grid, .two-col, .quotes, .gallery-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: #03090b;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1.25rem 1.2rem;
    gap: 0;
  }
  .nav.open { display: flex; }
  .nav a, .header-phone {
    padding: 0.75rem 0 !important;
    border-bottom: 1px solid var(--line) !important;
    border-radius: 0;
  }
  .header-phone { background: none; }
  .trust, .feature-grid, .two-col, .quotes, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; flex: 1 1 100%; }
  .wrap { width: min(var(--max), calc(100% - 1.5rem)); }
  .logo { width: min(210px, 64vw); }

  .hero {
    min-height: 100svh;
    justify-content: flex-start;
    padding: calc(var(--header-h) + 0.8rem) 0 0;
  }
  .hero-inner { max-width: none; padding-bottom: 0.5rem; }
  .hero-logo { width: min(100%, 300px); margin-bottom: 0.85rem; }
  .hero h1 {
    max-width: none;
    font-size: 1.55rem;
    letter-spacing: -0.03em;
  }
  .hero .lede { margin-bottom: 1.15rem; }
  .hero-inner {
    width: min(var(--max), calc(100% - 1.5rem));
    margin-left: auto;
    margin-right: auto;
    max-width: none;
    padding: 0.1rem 0 0.4rem;
  }
  .hero-media img {
    /* Keep the gloved hand and squeegee visible below the copy */
    object-position: 94% 82%;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(5, 13, 16, 0.97) 0%,
      rgba(5, 13, 16, 0.94) 36%,
      rgba(5, 13, 16, 0.82) 48%,
      rgba(5, 13, 16, 0.28) 62%,
      rgba(5, 13, 16, 0.32) 100%
    );
  }
  /* Leave the lower part of the hero clear so the hand stays visible under the text */
  .hero-visual-space {
    display: block;
    flex: 1 0 auto;
    min-height: min(68vw, 380px);
    pointer-events: none;
  }
  .trust-band { margin-top: -1.25rem; }
}

.hero-visual-space { display: none; }

@media (max-width: 760px) {
  .hero-visual-space { display: block; }
}

/* WordPress admin bar: keep the sticky/fixed/absolute header below it */
body.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* Social links (inline SVG icons, no icon library) */
.social-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.social-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
  display: block;
}
.social-list--footer .social-link { color: var(--ink); }
.social-list--footer .social-link:hover { color: var(--teal); }
.social-list--contact {
  margin: 0.15rem 0 0;
}
.social-list--contact .social-link { color: var(--ink); }
.social-list--contact .social-link:hover { color: var(--teal); }

.social-list--header {
  flex-direction: row;
  align-items: center;
  gap: 0.15rem;
  margin: 0 0 0 0.15rem;
}
.social-list--header .social-link {
  border-bottom: 0 !important;
  padding: 0.4rem !important;
  border-radius: 999px;
  line-height: 0;
  color: var(--ink);
}
.social-list--header .social-link:hover,
.social-list--header .social-link:focus-visible {
  background: rgba(243, 247, 248, 0.08);
  border-bottom-color: transparent !important;
}
.social-list--header .social-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .gallery-grid--pair { grid-template-columns: 1fr 1fr; }
  .gallery-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
  .photo-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid--pair { grid-template-columns: 1fr; }
  .gallery-grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo-row { grid-template-columns: 1fr; }
  .social-list--header {
    margin: 0.35rem 0 0;
    padding: 0.2rem 0 0.15rem;
    gap: 0.5rem;
    border-top: 1px solid var(--line);
  }
  .social-list--header .social-link {
    flex: 1;
    border-bottom: 0 !important;
    border-radius: 0;
    padding: 0.75rem 0 !important;
    line-height: 1.2;
  }
  .social-list--header .social-label {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    font-size: 0.86rem;
    font-weight: 600;
  }
}

/* Call / WhatsApp: fixed bar at the bottom of the screen, all sizes */
.mobile-action-bar {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  background: rgba(3, 9, 11, 0.94);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mobile-action-bar .btn {
  flex: 1 1 0;
  width: auto;
  max-width: 16rem;
  padding: 0.8rem 0.7rem;
}
/* Keep footer and page content clear of the fixed bar */
body {
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}
body.home .hero {
  padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767px) {
  /* Call + WhatsApp sit as a pair rather than stacking four full-width buttons */
  .btn-row .btn-call,
  .btn-row .btn-whatsapp {
    flex: 1 1 calc(50% - 0.4rem);
    width: auto;
  }
}

/* Google reviews badge */
.google-reviews {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.3;
}
.google-reviews:hover { color: var(--teal); }
.google-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  display: block;
}
.google-reviews-copy {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.45rem;
}
.google-reviews-stars {
  color: #f4b400;
  letter-spacing: 0.06em;
  font-size: 0.95em;
}
.google-reviews-text { color: inherit; }
.google-reviews--home {
  display: flex;
  justify-content: center;
  margin: 0 0 0.85rem;
  padding: 0.7rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.google-reviews--footer {
  margin-top: 1rem;
  font-size: 0.9rem;
}
.site-footer .google-reviews { color: var(--ink); }
.site-footer .google-reviews:hover { color: var(--teal); }

/* Workshop map on the contact page */
.workshop-map {
  margin-top: 1.75rem;
}
.workshop-map iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-3);
}
.workshop-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0 0;
  font-weight: 600;
}
.workshop-map-actions a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 0.1rem;
}
.workshop-map-actions a:hover { color: var(--teal); }


/* Price guide */
.price-table {
  margin: 1.75rem 0 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
}
.price-table-head,
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1.25rem;
  align-items: center;
  padding: 0.95rem 1.2rem;
}
.price-table-head {
  background: rgba(28, 184, 201, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-soft);
}
.price-table-head--3,
.price-row--3 {
  grid-template-columns: 1.2fr 1fr 1fr;
}
.price-row + .price-row {
  border-top: 1px solid var(--line);
}
.price-vehicle {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.price-vehicle strong {
  font-weight: 600;
  color: var(--ink);
}
.price-example {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}
.price-amount {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
}
.price-from {
  display: inline-block;
  margin-right: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: 0.12em;
}
.price-label {
  display: none;
}
.price-footnote {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

@media (min-width: 701px) {
  .price-table-head--3 span:not(:first-child),
  .price-row--3 .price-amount {
    text-align: right;
  }
}

@media (max-width: 700px) {
  .price-table-head--3 {
    display: none;
  }
  .price-row--3 {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .price-row--3 .price-amount {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    text-align: left;
    white-space: normal;
    padding: 0.55rem 0.7rem;
    background: var(--bg-2);
    border-radius: 12px;
    font-size: 1.08rem;
  }
  .price-row--3 .price-label {
    display: inline;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--muted);
  }
}

/* Keep the extra Prices nav item from colliding with the logo on mid-width screens */
@media (max-width: 1120px) and (min-width: 761px) {
  .nav { gap: 0.15rem 0.8rem; }
  .nav a { font-size: 0.8rem; }
  .header-phone { font-size: 0.86rem; padding: 0.35rem 0.45rem !important; }
  .logo { width: min(200px, 42vw); }
}
