/* ============================================================
   True Quality Plumbing — Core Stylesheet
   Palette + type derived from the company truck wrap.
   ============================================================ */

:root {
  /* Color — pulled from the truck */
  --iron-navy: #1B2A3D;      /* truck panel background */
  --iron-navy-deep: #121D2B; /* darker sections */
  --signal-red: #C8332A;     /* truck accent red — emergency/CTA only */
  --signal-red-dark: #A82A22;
  --steel: #5C6B78;          /* secondary text */
  --steel-light: #8A97A2;
  --bone: #F5F3EE;           /* warm off-white background */
  --bone-dark: #E7E3DA;
  --torch: #E8811C;          /* hose/cable orange — hover only */
  --white: #FFFFFF;
  --hairline: rgba(27, 42, 61, 0.12);

  /* Type */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Space Mono", "Courier New", monospace;

  /* Scale */
  --step-xs: 0.8rem;
  --step-sm: 0.95rem;
  --step-base: 1.05rem;
  --step-md: 1.25rem;
  --step-lg: 1.6rem;
  --step-xl: 2.4rem;
  --step-2xl: 3.4rem;
  --step-3xl: 4.6rem;

  /* Spacing + structure */
  --wrap: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 4px;
  --shadow: 0 6px 24px rgba(18, 29, 43, 0.10);
  --shadow-lg: 0 14px 44px rgba(18, 29, 43, 0.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: var(--step-base);
  line-height: 1.6;
  color: var(--iron-navy);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h1 { font-size: var(--step-2xl); }
h2 { font-size: var(--step-xl); }
h3 { font-size: var(--step-lg); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.eyebrow {
  font-family: var(--mono);
  font-size: var(--step-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--signal-red);
  font-weight: 700;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--display);
  font-size: var(--step-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-call {
  background: var(--signal-red);
  color: var(--white);
}
.btn-call:hover { background: var(--torch); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-dark {
  background: var(--iron-navy);
  color: var(--white);
}
.btn-dark:hover { background: var(--torch); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--hairline);
  box-shadow: 0 2px 10px rgba(18,29,43,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.7rem 0;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--iron-navy);
  display: grid; place-items: center;
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.brand-text { line-height: 1.05; }
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  text-transform: uppercase;
  color: var(--iron-navy);
}
.brand-license {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--steel);
}
.main-nav ul { display: flex; gap: 1.4rem; align-items: center; }
.main-nav a {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--iron-navy);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--signal-red);
  border-bottom-color: var(--signal-red);
}
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--iron-navy);
  white-space: nowrap;
}
.header-phone span { color: var(--signal-red); }

/* Language toggle — real links, not JS swap */
.lang-toggle {
  display: flex;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-toggle a {
  padding: 0.3rem 0.55rem;
  color: var(--steel);
  background: var(--white);
}
.lang-toggle a[aria-current="true"] {
  background: var(--iron-navy);
  color: var(--white);
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.4rem; }
.nav-toggle span {
  display: block; width: 26px; height: 3px;
  background: var(--iron-navy); margin: 5px 0;
  transition: 0.2s;
}

/* ============================================================
   HERO — styled as the truck's rear panel
   ============================================================ */
.hero {
  background: var(--iron-navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  /* subtle diagonal pinstripe echoing the truck panel */
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255,255,255,0.03) 0px,
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 11px
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.hero-eyebrow {
  color: var(--torch);
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: var(--step-3xl);
  margin-bottom: 1rem;
}
.hero h1 .accent { color: var(--signal-red); }
.hero-sub {
  font-size: var(--step-md);
  color: rgba(245,243,238,0.85);
  max-width: 46ch;
  margin-bottom: 1.75rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 1.5rem; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: var(--step-sm);
  color: rgba(245,243,238,0.75);
}
.hero-trust li { display: flex; align-items: center; gap: 0.4rem; }
.hero-trust strong { color: var(--white); }

/* Service panel card — the signature element */
.service-panel {
  background: var(--iron-navy-deep);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}
.service-panel-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 0.75rem; margin-bottom: 0.9rem;
}
.service-panel-head .label {
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.15em; color: var(--steel-light); text-transform: uppercase;
}
.service-panel-head .lic {
  font-family: var(--mono); font-size: 0.7rem; color: var(--steel-light);
}
.service-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; }
.service-panel li {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--white);
  padding-left: 1rem;
  position: relative;
}
.service-panel li::before {
  content: ""; position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; background: var(--signal-red); border-radius: 1px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: clamp(2.75rem, 6vw, 5rem) 0; }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0.5rem 0 0.75rem; }
.section-head p { color: var(--steel); font-size: var(--step-md); }

/* Service grid — echoes truck's two-column service list, upgraded to cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  border-top: 3px solid var(--iron-navy);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-top-color: var(--signal-red);
}
.service-card h3 { font-size: var(--step-md); margin-bottom: 0.5rem; }
.service-card p { color: var(--steel); font-size: var(--step-sm); margin-bottom: 0.9rem; }
.service-card .more {
  font-family: var(--display); text-transform: uppercase;
  font-weight: 600; font-size: 0.95rem; color: var(--signal-red);
  letter-spacing: 0.03em;
}
.service-card .more::after { content: " →"; }

/* Trust bar */
.trust-bar {
  background: var(--bone-dark);
  border-block: 1px solid var(--hairline);
}
.trust-bar .wrap {
  display: flex; flex-wrap: wrap; justify-content: space-around; gap: 1.5rem;
  text-align: center;
}
.trust-stat { display: flex; flex-direction: column; }
.trust-stat .num {
  font-family: var(--display); font-weight: 700;
  font-size: var(--step-xl); color: var(--iron-navy); line-height: 1;
}
.trust-stat .lbl {
  font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--steel); margin-top: 0.4rem;
}

/* Reviews — real HTML, indexable, star rating near CTA */
.reviews { background: var(--iron-navy); color: var(--white); }
.reviews .section-head p { color: rgba(245,243,238,0.8); }
.review-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem; margin-bottom: 2.5rem;
}
.review-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.stars { color: var(--torch); letter-spacing: 2px; margin-bottom: 0.75rem; }
.review-card p { color: rgba(245,243,238,0.9); font-size: var(--step-sm); margin-bottom: 1rem; }
.review-meta { font-family: var(--mono); font-size: 0.72rem; color: var(--steel-light); }
.review-meta strong { color: var(--white); display: block; font-family: var(--body); font-size: var(--step-sm); }

/* CTA strip — the truck panel reused */
.cta-strip {
  background: var(--signal-red);
  color: var(--white);
  text-align: center;
}
.cta-strip h2 { margin-bottom: 0.75rem; }
.cta-strip p { margin-bottom: 1.75rem; font-size: var(--step-md); opacity: 0.95; }
.cta-strip .btn-dark { background: var(--iron-navy); }
.cta-strip .btn-dark:hover { background: var(--iron-navy-deep); }

/* Offer strip — hidden by default, flip on for promos */
.offer-strip {
  background: var(--torch);
  color: var(--iron-navy-deep);
  text-align: center;
  padding: 0.6rem 1rem;
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: var(--step-sm);
}
.offer-strip[hidden] { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--iron-navy-deep);
  color: rgba(245,243,238,0.75);
  padding-top: clamp(2.5rem, 5vw, 4rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col h4 {
  color: var(--white); font-size: var(--step-md);
  margin-bottom: 1rem; letter-spacing: 0.04em;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a:hover { color: var(--torch); }
.footer-brand .brand-name { color: var(--white); font-size: 1.5rem; }
.footer-license {
  font-family: var(--mono); font-size: 0.78rem;
  color: var(--steel-light); margin-top: 0.75rem;
}
.footer-contact-item { display: flex; gap: 0.5rem; margin-bottom: 0.6rem; font-size: var(--step-sm); }
.footer-contact-item .k { color: var(--steel-light); font-family: var(--mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; min-width: 58px; padding-top: 0.15rem;}
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.8rem; color: var(--steel-light);
}

/* ============================================================
   STICKY MOBILE CALL BAR — the #1 conversion element
   ============================================================ */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--signal-red);
  box-shadow: 0 -4px 20px rgba(18,29,43,0.25);
}
.mobile-call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.95rem;
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(80vw, 320px);
    background: var(--white);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow-lg);
  }
  .main-nav[data-open="true"] { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .main-nav a { font-size: 1.3rem; }
  .nav-toggle { display: block; z-index: 70; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  .service-panel ul { grid-template-columns: 1fr; }
  .mobile-call-bar { display: block; }
  body { padding-bottom: 60px; } /* room for sticky bar */
  .trust-bar .wrap { gap: 1.25rem 2rem; }
}

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

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--torch);
  outline-offset: 2px;
}

/* ============================================================
   INTERIOR PAGES
   ============================================================ */
.page-hero {
  background: var(--iron-navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 11px);
  pointer-events: none;
}
.page-hero .wrap { position: relative; z-index: 1; padding: clamp(2.25rem,5vw,3.75rem) 0; }
.breadcrumb { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--steel-light); text-transform: uppercase; margin-bottom: 0.9rem; }
.breadcrumb a:hover { color: var(--torch); }
.page-hero h1 { font-size: var(--step-2xl); margin-bottom: 0.75rem; max-width: 22ch; }
.page-hero h1 .accent { color: var(--signal-red); }
.page-hero .lede { font-size: var(--step-md); color: rgba(245,243,238,0.85); max-width: 55ch; margin-bottom: 1.5rem; }
.page-hero .hero-ctas { margin-bottom: 0; }

/* Content layout: main + sticky sidebar */
.content-layout { display: grid; grid-template-columns: 1fr 340px; gap: clamp(1.5rem,4vw,3rem); align-items: start; }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: var(--step-lg); margin-top: 2rem; }
.prose h3 { font-size: var(--step-md); margin-top: 1.5rem; }
.prose p, .prose li { color: var(--iron-navy); }
.prose ul.checks { display: grid; gap: 0.6rem; }
.prose ul.checks li { padding-left: 1.75rem; position: relative; }
.prose ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--signal-red); font-weight: 700; }
.prose .sub { color: var(--steel); }

/* Sticky sidebar contact card */
.sidebar-card { position: sticky; top: 90px; background: var(--iron-navy); color: var(--white); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-lg); }
.sidebar-card h3 { font-size: var(--step-md); margin-bottom: 0.5rem; }
.sidebar-card p { color: rgba(245,243,238,0.8); font-size: var(--step-sm); margin-bottom: 1.25rem; }
.sidebar-card .big-phone { display:block; font-family: var(--display); font-weight:700; font-size: 2rem; color: var(--white); margin-bottom: 1rem; letter-spacing: 0.01em; }
.sidebar-card .big-phone span { color: var(--torch); }
.sidebar-card .btn { width: 100%; justify-content: center; }
.sidebar-card .lic-note { font-family: var(--mono); font-size: 0.68rem; color: var(--steel-light); margin-top: 1.25rem; text-align:center; letter-spacing: 0.06em; }

/* Related services chips */
.related-services { display:flex; flex-wrap:wrap; gap:0.6rem; margin-top: 1rem; }
.related-services a { font-family: var(--display); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.02em; padding: 0.4rem 0.9rem; border: 1px solid var(--hairline); border-radius: 999px; color: var(--iron-navy); transition: 0.15s; }
.related-services a:hover { background: var(--iron-navy); color: var(--white); border-color: var(--iron-navy); }

/* FAQ */
.faq details { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 0 1.25rem; margin-bottom: 0.75rem; background: var(--white); }
.faq summary { font-family: var(--display); text-transform: uppercase; font-size: var(--step-md); letter-spacing: 0.02em; cursor: pointer; padding: 1.1rem 0; list-style: none; display:flex; justify-content: space-between; align-items:center; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--signal-red); }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--hairline); }
.faq details p { padding: 1.1rem 0; color: var(--steel); }

@media (max-width: 860px) {
  .content-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
}

/* ---------- Contact form ---------- */
.contact-form { display: grid; gap: 1rem; max-width: 520px; margin-top: 1.25rem; }
.contact-form .field { display: flex; flex-direction: column; gap: 0.35rem; }
.contact-form label { font-family: var(--display); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.03em; color: var(--iron-navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--body); font-size: var(--step-base);
  padding: 0.7rem 0.85rem; border: 1px solid var(--hairline); border-radius: var(--radius);
  background: var(--white); color: var(--iron-navy);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--signal-red); box-shadow: 0 0 0 3px rgba(200,51,42,0.12);
}
.contact-form button { justify-self: start; margin-top: 0.5rem; }

/* ============================================================
   MOTION LAYER — refined. All respects prefers-reduced-motion.
   ============================================================ */

/* Scroll reveal: elements start slightly down + transparent, ease in when seen */
/* Progressive enhancement: content is visible by default.
   Only when JS adds .js to <html> do we hide-then-reveal. No JS = no hiding. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Stagger children when a container reveals */
.js [data-reveal-group] > * { opacity: 0; transform: translateY(16px); transition: opacity 0.55s cubic-bezier(0.16,1,0.3,1), transform 0.55s cubic-bezier(0.16,1,0.3,1); }
.js [data-reveal-group].is-visible > * { opacity: 1; transform: none; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.06s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.12s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.18s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.24s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.30s; }

/* Header: tightens after scroll */
.site-header { transition: padding 0.25s ease, box-shadow 0.25s ease, background 0.25s ease; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(18,29,43,0.12); }
.site-header.scrolled .header-inner { padding-top: 0.4rem; padding-bottom: 0.4rem; }
.site-header.scrolled .brand-mark { width: 40px; height: 40px; font-size: 1rem; transition: 0.25s; }
.brand-mark { transition: 0.25s; }

/* Photo hero */
.hero {
  background-color: var(--iron-navy);
  background-size: cover;
  background-position: center;
}
.hero.has-photo::before {
  content: "";
  position: absolute; inset: 0;
  /* Navy gradient overlay keeps text readable over any photo */
  background:
    linear-gradient(105deg, rgba(18,29,43,0.94) 0%, rgba(18,29,43,0.82) 45%, rgba(18,29,43,0.55) 100%);
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }

/* Photo placeholder shown until a real image is set */
.hero-photo-note {
  position: absolute; inset: 0; z-index: 0;
  display: grid; place-items: center;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 12px),
    linear-gradient(135deg, #1f3350 0%, var(--iron-navy) 100%);
  color: rgba(245,243,238,0.28);
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase;
  text-align: center; padding: 2rem;
}

/* Service card: refined hover with animated accent line */
.service-card { position: relative; overflow: hidden; }
.service-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--signal-red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card .more { transition: gap 0.2s, color 0.2s; }
.service-card:hover .more { color: var(--torch); }

/* Call button: gentle attention pulse (respects reduced motion) */
@keyframes soft-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,51,42,0.0); }
  50% { box-shadow: 0 0 0 6px rgba(200,51,42,0.12); }
}
.btn-call { animation: soft-pulse 2.8s ease-in-out infinite; }
.btn-call:hover { animation: none; }

/* Frosted service panel */
.service-panel {
  background: linear-gradient(160deg, rgba(30,46,66,0.85), rgba(18,29,43,0.92));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Animated counters keep their space so layout doesn't jump */
.trust-stat .num { font-variant-numeric: tabular-nums; }

/* Smooth accordion (FAQ) */
.faq details { overflow: hidden; }
.faq details > *:not(summary) {
  animation: faq-open 0.3s cubic-bezier(0.16,1,0.3,1);
}
@keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Floating request-service button (desktop only; mobile keeps the call bar) */
.fab {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 55;
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--iron-navy); color: var(--white);
  font-family: var(--display); text-transform: uppercase; letter-spacing: 0.03em;
  font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.3rem; border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transform: translateY(120%); opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), opacity 0.4s, background 0.2s;
}
.fab.show { transform: none; opacity: 1; }
.fab:hover { background: var(--signal-red); }
@media (max-width: 620px) { .fab { display: none; } }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  .btn-call { animation: none; }
  .fab { transition: opacity 0.2s; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.skip-link {
  position: absolute;
  left: 0.75rem; top: -100px;
  z-index: 200;
  background: var(--iron-navy);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 0.75rem; outline: 3px solid var(--torch); outline-offset: 2px; }

/* main gets no visual change, just a target */
main:focus { outline: none; }

/* Ensure focus is always visible, even on dark/frosted surfaces */
.hero a:focus-visible, .service-panel a:focus-visible,
.reviews a:focus-visible, .cta-strip a:focus-visible,
.sidebar-card a:focus-visible, .site-footer a:focus-visible,
.mobile-call-bar a:focus-visible, .fab:focus-visible {
  outline: 3px solid var(--torch);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Language toggle: clearer current-state indication */
.lang-toggle a[aria-current="true"]::after {
  content: " (current)";
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Screen-reader-only utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* When mobile menu open, dim + lock background */
body.nav-open { overflow: hidden; }
.nav-scrim {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(18,29,43,0.5);
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }

/* Contrast fix: review-meta text on review cards needs to clear AA (4.5:1) */
.review-meta { color: #9BA7B2; }

/* Services hub — cluster blocks */
.cluster-block { margin-bottom: 3rem; }
.cluster-block:last-child { margin-bottom: 0; }
.cluster-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--hairline); }
.cluster-head h2 { font-size: var(--step-lg); }
.cluster-hub-link { font-family: var(--display); text-transform: uppercase; font-size: 0.95rem; letter-spacing: 0.02em; color: var(--signal-red); font-weight: 600; }
.cluster-hub-link:hover { color: var(--torch); }

/* Hero team photo: refined overlay so text stays readable over a landscape crew shot.
   Stronger on the left (behind the copy), lighter on the right (lets faces show). */
.hero.has-photo::before {
  background:
    linear-gradient(100deg,
      rgba(18,29,43,0.95) 0%,
      rgba(18,29,43,0.88) 38%,
      rgba(18,29,43,0.62) 68%,
      rgba(18,29,43,0.45) 100%);
}
/* On mobile the copy stacks full-width, so darken more evenly for legibility */
@media (max-width: 900px) {
  .hero.has-photo::before {
    background: linear-gradient(180deg, rgba(18,29,43,0.90) 0%, rgba(18,29,43,0.82) 100%);
  }
}

/* Real logo in header — replaces the old TQP text disc */
.brand-logo {
  width: 48px; height: 48px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.site-header.scrolled .brand-logo { width: 42px; height: 42px; transition: 0.25s; }
.brand-logo { transition: 0.25s; }

/* Footer logo — light backing disc so the logo's dark center stays visible on navy */
.footer-logo {
  width: 72px; height: 72px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 6px;
  margin-bottom: 0.9rem;
  display: block;
}

/* ============================================================
   HERO WITHOUT SERVICE PANEL — photo-forward layout
   Copy sits in the left ~55%, photo (crew + van) breathes on the right.
   ============================================================ */
.hero-inner:not(:has(.service-panel)) {
  grid-template-columns: minmax(0, 1fr);
  min-height: 560px;
  align-content: center;
}
.hero-inner:not(:has(.service-panel)) .hero-copy {
  max-width: 640px;
}
/* Rebalance the overlay: strong on the left behind the copy, clears by ~60%
   so the crew standing center-right stays fully visible. */
.hero.has-photo::before {
  background:
    linear-gradient(95deg,
      rgba(18,29,43,0.94) 0%,
      rgba(18,29,43,0.86) 30%,
      rgba(18,29,43,0.55) 52%,
      rgba(18,29,43,0.18) 70%,
      rgba(18,29,43,0.10) 100%);
}
/* Push the photo focal point slightly right so the van logo + crew sit in the open area */
.hero.has-photo { background-position: center right; }

@media (max-width: 900px) {
  .hero-inner:not(:has(.service-panel)) { min-height: 480px; }
  /* On mobile the text overlays the whole photo, so darken evenly for legibility */
  .hero.has-photo::before {
    background: linear-gradient(180deg, rgba(18,29,43,0.86) 0%, rgba(18,29,43,0.78) 55%, rgba(18,29,43,0.72) 100%);
  }
  .hero.has-photo { background-position: center; }
}


/* ============================================================
   MOBILE HERO — photo as a banner on TOP, content stacked below on navy.
   Cohesive, no floating image, no awkward gaps.
   ============================================================ */
.hero-photo-mobile { display: none; }

@media (max-width: 760px) {
  /* Kill the full-bleed background photo; the banner img replaces it */
  .hero.has-photo { background-image: none !important; }
  .hero.has-photo::before { display: none; }

  /* Stack the hero: photo banner first (via order), then the copy */
  .hero.has-photo .hero-inner,
  .hero .hero-inner {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 0;          /* photo goes flush to the top */
    padding-bottom: clamp(1.75rem, 6vw, 2.5rem);
  }

  /* Photo banner: full-bleed, sits at the very top of the hero */
  .hero-photo-mobile {
    display: block;
    order: -1;               /* force it above the copy */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-bottom: clamp(1.5rem, 5vw, 2rem);
    height: 230px;
    object-fit: cover;
    object-position: center 42%;   /* frames crew + van */
  }

  .hero-copy { max-width: 100%; padding-top: 0; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.3rem); margin-top: 0; }
}

/* Homepage "What We Do" — balanced 3-column grid (3×2 for the 6 service cards) */
.service-grid--home {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 820px) {
  .service-grid--home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .service-grid--home { grid-template-columns: 1fr; }
}
