/* Hydraulic Hero - styles.css
   MOBILE-FIRST. Loaded after critical inline CSS in <head>.
   Default styles target small phones (≤360px); media queries scale up.
*/

/* ---------- Tokens ---------- */
:root {
  --orange: #d94f1e;
  --orange-dark: #b53d12;
  --orange-darker: #8a2d08;
  --green: #1e7a4d;
  --green-dark: #155a39;
  --ink: #0f1720;
  --ink-2: #1f2a36;
  --gray-1: #3a4452;
  --gray-2: #5b6776;
  --gray-3: #8b95a3;
  --gray-4: #c7cdd5;
  --gray-5: #e7eaee;
  --gray-6: #f4f6f8;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 32, 0.08);
  --shadow-md: 0 4px 14px rgba(15, 23, 32, 0.10);
  --shadow-lg: 0 12px 32px rgba(15, 23, 32, 0.14);
  --radius: 10px;
  --radius-lg: 14px;
  --container: 1180px;
  --header-h: 60px;
  --sticky-bar-h: 76px;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--orange-dark); text-decoration: none; word-break: break-word; }
a:hover { text-decoration: underline; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 12px 16px;
  z-index: 9999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; outline: 3px solid var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.section { padding: 44px 0; }
.section-tight { padding: 28px 0; }
.section-alt { background: var(--gray-6); }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }

@media (min-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 64px 0; }
  .section-tight { padding: 40px 0; }
}

/* ---------- Typography (mobile-first) ---------- */
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.85rem, 8vw, 3.4rem); }
h2 { font-size: clamp(1.45rem, 6vw, 2.3rem); margin-bottom: 12px; }
h3 { font-size: clamp(1.08rem, 4.5vw, 1.25rem); }
p  { margin: 0 0 14px; color: var(--gray-1); }
.lead { font-size: clamp(1rem, 3.6vw, 1.15rem); color: var(--gray-1); }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--orange-dark);
  margin: 0 0 10px;
}
.section-head { text-align: center; max-width: 760px; margin: 0 auto 28px; padding: 0 4px; }
@media (min-width: 768px) { .section-head { margin-bottom: 36px; } }

/* ---------- Buttons (mobile-first, big tap targets) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
  line-height: 1.2;
  text-align: center;
  -webkit-tap-highlight-color: rgba(217,79,30,0.2);
}
/* Phone numbers in CTA buttons should never break mid-number */
.btn .num { white-space: nowrap; display: inline-block; }
.btn:active { transform: translateY(1px); }
.btn-call {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(217, 79, 30, 0.30);
}
.btn-call:hover { background: var(--orange-dark); color: var(--white); text-decoration: none; }
.btn-text {
  background: var(--ink);
  color: var(--white);
}
.btn-text:hover { background: var(--ink-2); color: var(--white); text-decoration: none; }
.btn-call-lg, .btn-text-lg {
  font-size: 1.08rem;
  padding: 16px 24px;
  min-height: 60px;
  width: 100%;
}

/* ---- Glowing alternating CTA buttons ----
   On large primary CTAs only (.btn-call-lg / .btn-text-lg). The call
   button pulses orange, the text button pulses green, and they're
   half a cycle out of phase so attention alternates between them.
   Disabled for prefers-reduced-motion. */
@keyframes glow-call {
  0%, 100% {
    box-shadow:
      0 6px 16px rgba(217, 79, 30, 0.30),
      0 0 0 0 rgba(217, 79, 30, 0.55);
  }
  50% {
    box-shadow:
      0 8px 22px rgba(217, 79, 30, 0.55),
      0 0 0 8px rgba(217, 79, 30, 0.00),
      0 0 18px 4px rgba(255, 122, 64, 0.45);
  }
}
@keyframes glow-text {
  0%, 100% {
    box-shadow:
      0 6px 16px rgba(30, 122, 77, 0.30),
      0 0 0 0 rgba(74, 222, 128, 0.55);
  }
  50% {
    box-shadow:
      0 8px 22px rgba(30, 122, 77, 0.55),
      0 0 0 8px rgba(74, 222, 128, 0.00),
      0 0 18px 4px rgba(74, 222, 128, 0.50);
  }
}
.btn-call.btn-call-lg {
  animation: glow-call 2.4s ease-in-out infinite;
}
.btn-text.btn-call-lg,
.btn-text.btn-text-lg,
.bar-text {
  animation: glow-text 2.4s ease-in-out infinite;
  animation-delay: 1.2s; /* alternates with the orange button */
}
.bar-call {
  animation: glow-call 2.4s ease-in-out infinite;
}
/* Pause glow on hover so the box-shadow change isn't fighting the pulse */
.btn-call.btn-call-lg:hover,
.btn-text.btn-call-lg:hover,
.btn-text.btn-text-lg:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .btn-call.btn-call-lg,
  .btn-text.btn-call-lg,
  .btn-text.btn-text-lg,
  .bar-call, .bar-text { animation: none !important; }
}
.btn-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: var(--gray-4);
}
.btn-secondary:hover { background: var(--gray-6); color: var(--ink); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
  width: 100%;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; }
.btn-block { width: 100%; }

@media (min-width: 560px) {
  .btn-call-lg, .btn-text-lg { width: auto; padding: 16px 28px; font-size: 1.15rem; }
  .btn-ghost { width: auto; }
}

/* ---------- Header (compact mobile) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--gray-5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: var(--header-h);
  gap: 8px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0;
  min-width: 0;
  flex-shrink: 1;
  flex-grow: 1;        /* take up available space on the left */
  order: 1;
  margin-right: 8px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
  flex: 1 1 auto;
}
.brand-name {
  display: block;
  font-size: clamp(0.95rem, 4.6vw, 1.35rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
.brand-hydraulic { color: var(--ink); }
.brand-hero { color: var(--orange); }
.brand-leaf { font-size: 0.9em; }
.brand-tagline {
  display: block;
  font-size: clamp(0.62rem, 2.4vw, 0.74rem);
  font-weight: 700;
  color: var(--orange-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}
/* Hide legacy span; kept in some pages we may not have rewired */
.brand-text { display: none; }
.brand:hover { text-decoration: none; }
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--gray-4);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  order: 3;  /* always last on mobile = far right */
}
.nav-toggle:focus-visible { outline: 3px solid var(--orange); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform .2s ease;
}
.nav-toggle span::before { content: ""; position: absolute; top: -7px; left: 0; width: 22px; }
.nav-toggle span::after  { content: ""; position: absolute; top: 7px;  left: 0; width: 22px; }
.site-nav {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--gray-5);
  padding: 8px 16px 16px;
  box-shadow: var(--shadow-md);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding: 14px 4px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--gray-5);
  font-size: 1.05rem;
  min-height: 48px;
}
.site-nav a:hover { color: var(--orange-dark); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  order: 2;  /* between brand and hamburger */
}
.header-cta-btn,
.header-cta .btn-call {
  padding: 10px 14px;
  font-size: 0.95rem;
  font-weight: 800;
  min-height: 44px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(217, 79, 30, 0.30);
  gap: 6px;
  white-space: nowrap;
}
/* On phones the button shows "📞 Call" always — the icon alone was
   unclear (per user feedback). Full phone number appears on larger
   screens. */
.header-cta-label { display: inline; font-weight: 800; }
.header-cta-number { display: none; }

/* Phone number visible from ≥640px (room for it) */
@media (min-width: 640px) {
  .header-cta-number { display: inline; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.2rem; }
  .brand-tagline { font-size: 0.7rem; }
  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    max-height: none;
    overflow: visible;
    order: 2;
    margin-right: 16px;
  }
  .site-nav ul { display: flex; gap: 18px; }
  .site-nav a { border: 0; padding: 8px 4px; font-size: 0.98rem; }
  .header-cta { order: 3; }
  .brand { flex-grow: 0; margin-right: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: stretch;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.15) 80%, rgba(0,0,0,0) 100%);
}

/* ---- Mobile hero: stacked layout ----
   On mobile we show the full image (object-fit: contain so nothing
   important gets cropped) at the top, then the headline + CTAs sit
   in a dark panel directly underneath. No gradient overlay on the
   image — the dark hero background already separates image and copy.
*/
@media (max-width: 767px) {
  .hero {
    display: block;
    min-height: 0;
    background: var(--ink);
  }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    background: #000;
  }
  .hero-media img {
    width: 100%;
    height: auto;
    max-height: 56vh;
    object-fit: contain;
    object-position: center center;
  }
  .hero-media::after { display: none; }
  .hero-inner {
    padding: 22px 0 28px;
    max-width: none;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 36px 0 28px;
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .hero-inner { padding: 72px 0 64px; } }

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 8vw, 3.5rem);
  margin-bottom: 14px;
}
.hero h1 .accent { color: var(--orange); }
.hero-sub {
  color: rgba(255,255,255,0.94);
  font-size: clamp(1rem, 3.6vw, 1.3rem);
  margin-bottom: 22px;
  max-width: 620px;
}
.hero-ctas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
@media (min-width: 560px) {
  .hero-ctas { grid-template-columns: auto auto; justify-content: start; }
}
.hero-fast-text {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-left: 4px solid var(--orange);
  padding: 12px 14px;
  border-radius: 10px;
  color: #fff;
  font-size: 0.96rem;
  margin-bottom: 18px;
  max-width: 520px;
  line-height: 1.4;
}
.hero-fast-text strong { color: #fff; }
.hero-fast-text .pulse {
  width: 10px; height: 10px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}
.hero-trustline {
  color: rgba(255,255,255,0.88);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}
.hero-trustline .dot { color: var(--orange); }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--gray-6);
  border-top: 1px solid var(--gray-5);
  border-bottom: 1px solid var(--gray-5);
  padding: 18px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 12px;
  text-align: center;
}
.trust-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-weight: 600;
  color: var(--ink-2);
  font-size: 0.86rem;
  line-height: 1.25;
}
.trust-item .ti-num {
  font-size: 1.5rem; font-weight: 800; color: var(--orange-dark); line-height: 1;
}
@media (min-width: 700px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 14px 18px; }
  .trust-item { font-size: 0.95rem; }
  .trust-item .ti-num { font-size: 1.7rem; }
}

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 980px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-5);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gray-4); }
.service-icon {
  width: 52px; height: 52px;
  background: rgba(217,79,30,0.10);
  border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
}
.service-icon img, .service-icon svg { width: 30px; height: 30px; }
.service-card h3 { margin: 2px 0 4px; }
.service-card p { margin: 0; color: var(--gray-2); font-size: 0.96rem; }
.service-card img.service-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 6px;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  text-align: center;
  padding: 20px 16px;
  background: var(--white);
  border: 1px solid var(--gray-5);
  border-radius: var(--radius-lg);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 8px;
}
.step-icon { width: 56px; height: 56px; margin: 0 auto 8px; }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: 0.94rem; color: var(--gray-2); margin: 0; }

/* ---------- Industries ---------- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 480px) { .industries-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .industries-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (min-width: 980px) { .industries-grid { grid-template-columns: repeat(7, 1fr); } }
.industry {
  background: var(--white);
  border: 1px solid var(--gray-5);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
}
.industry img { width: 44px; height: 44px; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.05fr 0.95fr; gap: 32px; } }
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.about-photos .ap-main { grid-column: 1 / -1; }
.about-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
}
.checklist { list-style: none; padding: 0; margin: 16px 0 0; }
.checklist li {
  display: flex; gap: 10px;
  padding: 7px 0;
  font-weight: 500;
  color: var(--ink-2);
  font-size: 0.96rem;
  line-height: 1.45;
}
.checklist li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- Service area ---------- */
.service-area-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
@media (min-width: 900px) { .service-area-wrap { grid-template-columns: 1.1fr 0.9fr; gap: 32px; } }
.service-area-wrap img { border-radius: var(--radius-lg); width: 100%; }

/* ---------- Google Maps embed ---------- */
.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-5);
  background: var(--gray-6);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 700px) {
  .map-embed { aspect-ratio: 5 / 4; }
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-embed .map-open {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: var(--white);
  color: var(--orange-dark);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  border: 1px solid var(--gray-5);
}
.map-embed .map-open:hover { background: var(--gray-6); text-decoration: none; }
.area-block { margin-bottom: 14px; }
.area-block h3 { font-size: 1rem; color: var(--orange-dark); margin-bottom: 6px; }
.area-block p { margin: 0; color: var(--gray-2); font-size: 0.95rem; line-height: 1.5; }

/* ---------- Action shots ---------- */
.action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px) { .action-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .action-grid { grid-template-columns: repeat(3, 1fr); } }
.action-grid figure { margin: 0; }
.action-grid img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.action-grid figcaption { font-size: 0.88rem; color: var(--gray-2); padding-top: 8px; }

/* ---------- Spec tables ----------
   Desktop/tablet: classic data table.
   Mobile: each row collapses into a card with label : value pairs
   (no more horizontal scrolling). Cells expose their column header
   via a data-label attribute on each <td>, which the CSS surfaces.
*/
.spec-table-wrap { margin: 12px 0 24px; }

table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: var(--white);
  border: 1px solid var(--gray-5);
  border-radius: var(--radius);
  overflow: hidden;
}
table.spec th, table.spec td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--gray-5);
  vertical-align: top;
}
table.spec th { background: var(--gray-6); font-weight: 700; color: var(--ink); white-space: nowrap; }
table.spec tr:last-child td { border-bottom: 0; }

/* Mobile: stack rows into cards */
@media (max-width: 767px) {
  table.spec, table.spec thead, table.spec tbody,
  table.spec tr, table.spec th, table.spec td {
    display: block;
    width: 100%;
  }
  table.spec {
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 0.93rem;
  }
  table.spec thead { display: none; }
  table.spec tbody { display: flex; flex-direction: column; gap: 10px; }
  table.spec tr {
    background: var(--white);
    border: 1px solid var(--gray-5);
    border-radius: var(--radius);
    padding: 6px 0;
    box-shadow: var(--shadow-sm);
  }
  table.spec td {
    border: 0;
    padding: 6px 14px;
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 10px;
    align-items: baseline;
    line-height: 1.4;
  }
  table.spec td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--orange-dark);
  }
  /* First cell of each row becomes the "card title" */
  table.spec td:first-child {
    background: var(--gray-6);
    margin: -6px 0 4px;
    padding: 8px 14px;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
    grid-template-columns: 1fr;
    font-weight: 700;
    color: var(--ink);
    font-size: 1.02rem;
  }
  table.spec td:first-child::before {
    content: attr(data-label);
    color: var(--orange-dark);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
  }
  table.spec tr:last-child { margin-bottom: 0; }
  /* Hint text under the heading */
  .spec-table-wrap::before {
    content: "Tap any row to see all details.";
    display: block;
    font-size: 0.82rem;
    color: var(--gray-3);
    margin: 0 0 10px;
    text-align: center;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-list details {
  background: var(--white);
  border: 1px solid var(--gray-5);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 32px;
  padding: 4px 0;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--orange);
  flex-shrink: 0;
  line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: 10px 0 0; color: var(--gray-1); font-size: 0.96rem; }

/* ---------- Contact / Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-5);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .contact-card { padding: 28px; } }
.contact-card.dark { background: var(--ink); color: var(--white); border: 0; }
.contact-card.dark h2, .contact-card.dark h3, .contact-card.dark p, .contact-card.dark li { color: var(--white); }
.contact-card .big-phone {
  display: block;
  font-size: clamp(1.7rem, 8vw, 2.6rem);
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.01em;
  margin: 6px 0 12px;
  line-height: 1.1;
}
.contact-card .or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.contact-card .or-divider::before,
.contact-card .or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.contact-card .or-divider span { padding: 0 12px; }
.text-photo-pill {
  display: block;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.35);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 8px;
  line-height: 1.4;
}
.text-photo-pill strong { color: #4ade80; }

form.dispatch label {
  display: block;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-2);
  margin: 12px 0 6px;
}
form.dispatch input[type="text"],
form.dispatch input[type="tel"],
form.dispatch input[type="email"],
form.dispatch select,
form.dispatch textarea {
  width: 100%;
  padding: 14px 14px;
  font-size: 16px; /* prevent iOS zoom */
  font-family: inherit;
  border: 1px solid var(--gray-4);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  min-height: 52px;
  -webkit-appearance: none;
  appearance: none;
}
form.dispatch textarea { min-height: 110px; resize: vertical; }
form.dispatch input:focus, form.dispatch select:focus, form.dispatch textarea:focus {
  border-color: var(--orange);
  outline: 3px solid rgba(217,79,30,0.2);
}
.form-row-check {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 14px 0;
}
.form-row-check input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.form-row-check label { margin: 0; line-height: 1.4; }
.form-helper { font-size: 0.85rem; color: var(--gray-2); margin-top: 10px; line-height: 1.45; }
.botcheck { position: absolute; left: -9999px; }

/* ---------- Mobile sticky CALL + TEXT bar ---------- */
.mobile-call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--ink);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.28);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-call-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 64px;
  padding: 10px 6px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.1;
}
.mobile-call-bar a:hover { text-decoration: none; }
.mobile-call-bar a:active { filter: brightness(0.92); }
.mobile-call-bar .bar-call { background: var(--orange); }
.mobile-call-bar .bar-text { background: var(--green); }
.mobile-call-bar .bar-icon { font-size: 1.15rem; line-height: 1; margin-bottom: 2px; }
.mobile-call-bar .bar-title { font-size: 0.98rem; font-weight: 800; letter-spacing: 0.01em; }
.mobile-call-bar .bar-sub { font-size: 0.72rem; font-weight: 600; opacity: 0.95; letter-spacing: 0.02em; }

@media (min-width: 768px) { .mobile-call-bar { display: none; } }
@media (max-width: 767px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0)); }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--gray-4);
  padding: 40px 0 24px;
  font-size: 0.92rem;
}
.site-footer h3 { color: var(--white); font-size: 0.98rem; margin-bottom: 10px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer a { color: var(--gray-4); }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 4px 0; line-height: 1.45; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 24px; padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--gray-3);
}
.footer-call-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}
.footer-call-row .btn { flex: 1 1 auto; min-width: 0; }
@media (min-width: 600px) { .footer-call-row .btn { flex: 0 0 auto; } }
.social-icons { display: flex; gap: 8px; }
.social-icons a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
}

/* ---------- Utility ---------- */
.center-cta {
  text-align: center;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.center-cta .btn { width: 100%; max-width: 360px; }
@media (min-width: 560px) {
  .center-cta { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .center-cta .btn { width: auto; max-width: none; }
}
.muted { color: var(--gray-2); }
.divider { height: 1px; background: var(--gray-5); margin: 24px 0; }
.cols-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 780px) { .cols-2 { grid-template-columns: 1fr 1fr; } }

/* ---------- "Text us a photo" highlight block ---------- */
.text-photo-banner {
  background: linear-gradient(135deg, #0f3a25 0%, #1e7a4d 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  margin: 0 auto;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.text-photo-banner > *:not(.doodle) { position: relative; z-index: 2; }
.text-photo-banner .doodle { z-index: 0; }
.contact-card.dark { position: relative; overflow: hidden; }
.contact-card.dark > *:not(.doodle) { position: relative; z-index: 2; }
.contact-card.dark .doodle { z-index: 0; }
.hero { overflow: hidden; }
@media (min-width: 600px) {
  .text-photo-banner { flex-direction: row; align-items: center; padding: 24px 28px; gap: 22px; }
}
.text-photo-banner .tp-icon {
  font-size: 2.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.text-photo-banner .tp-body { flex: 1; min-width: 0; }
.text-photo-banner h3 { color: #fff; margin: 0 0 6px; font-size: 1.15rem; line-height: 1.25; }
.text-photo-banner p { color: rgba(255,255,255,0.92); margin: 0; font-size: 0.96rem; line-height: 1.45; }
.text-photo-banner .btn {
  background: #fff;
  color: var(--green-dark);
  flex-shrink: 0;
  width: 100%;
}
@media (min-width: 600px) { .text-photo-banner .btn { width: auto; } }
.text-photo-banner .btn:hover { background: var(--gray-6); color: var(--green-dark); }

/* ---------- Policy / Text pages ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.2rem, 4.5vw, 1.4rem); margin-top: 26px; }
.prose h3 { font-size: 1.1rem; margin-top: 18px; }
.prose p, .prose li { color: var(--gray-1); font-size: 1rem; line-height: 1.6; }
.prose ul, .prose ol { padding-left: 20px; }
.prose ul li, .prose ol li { margin-bottom: 6px; }
.prose a { word-break: break-word; overflow-wrap: anywhere; }

/* ---------- 404 / thank-you ---------- */
.page-404 {
  text-align: center;
  padding: 48px 8px;
  max-width: 640px;
  margin: 0 auto;
}
@media (min-width: 768px) { .page-404 { padding: 80px 16px; } }
.page-404 .big404 {
  font-size: clamp(4.5rem, 18vw, 9rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.page-404 .btn { width: 100%; max-width: 360px; margin: 6px 0; }
@media (min-width: 560px) { .page-404 .btn { width: auto; max-width: none; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .hero-fast-text .pulse { animation: none !important; }
}

/* ---------- Inline image fallback styling ---------- */
img[alt]:not([alt=""]) {
  font-size: 0.85rem;
  color: var(--gray-2);
}

/* ---------- Doodles (subtle background sketches) ----------
   Hand-drawn SVG hydraulic equipment, tools, coffee mugs, etc.
   Placed via absolute positioning inside sections that already
   have position:relative. pointer-events:none so they never
   intercept clicks.
*/
.section, .hero, .trust-strip, .site-footer, .contact-card {
  position: relative;
}
.section > .container, .hero > .container, .trust-strip > .container,
.site-footer > .container, .contact-card > *:not(.doodle) { position: relative; z-index: 2; }

.doodle {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  color: var(--ink);
  opacity: 0.11;
  width: 180px;
  height: auto;
}
/* On the dark hero / footer / dark cards, invert the dark sketch to a
   white sketch. (color: doesn't cascade into an <img>-loaded SVG, so
   we use filter: invert which flips the rendered black strokes to
   white while keeping the transparent background.) */
.hero .doodle, .site-footer .doodle, .contact-card.dark .doodle,
.section-dark .doodle, .text-photo-banner .doodle {
  filter: invert(1);
  opacity: 0.16;
}
/* When sitting on the alt-gray section background, bump slightly */
.section-alt .doodle { opacity: 0.12; }

/* Size variants */
.doodle-sm  { width: 110px; }
.doodle-md  { width: 180px; }
.doodle-lg  { width: 240px; }
.doodle-xl  { width: 300px; }

/* Position presets */
.doodle-tl { top: 12px;   left: 12px; }
.doodle-tr { top: 12px;   right: 12px; }
.doodle-bl { bottom: 12px; left: 12px; }
.doodle-br { bottom: 12px; right: 12px; }
.doodle-cl { top: 50%; left: -20px; transform: translateY(-50%); }
.doodle-cr { top: 50%; right: -20px; transform: translateY(-50%); }
/* Extra positions for denser scatters */
.doodle-tc  { top: 16px; left: 50%; transform: translateX(-50%); }
.doodle-bc  { bottom: 16px; left: 50%; transform: translateX(-50%); }
.doodle-tml { top: 25%; left: -20px; }
.doodle-tmr { top: 25%; right: -20px; }
.doodle-bml { bottom: 25%; left: -20px; }
.doodle-bmr { bottom: 25%; right: -20px; }
/* Quarter-positioning */
.doodle-q1 { top: 8%;  left: 8%; }
.doodle-q2 { top: 8%;  right: 8%; }
.doodle-q3 { bottom: 8%; left: 8%; }
.doodle-q4 { bottom: 8%; right: 8%; }
.doodle-q5 { top: 30%; left: 38%; }
.doodle-q6 { top: 60%; right: 4%; }
.doodle-q7 { bottom: 30%; left: 2%; }
.doodle-q8 { top: 45%; right: 30%; }

/* Rotation utility */
.doodle-rot-neg-10 { transform: rotate(-10deg); }
.doodle-rot-neg-20 { transform: rotate(-20deg); }
.doodle-rot-pos-10 { transform: rotate(10deg); }
.doodle-rot-pos-20 { transform: rotate(20deg); }
.doodle-flip { transform: scaleX(-1); }

/* Combine rotation with center positioning by overriding translate */
.doodle-cl.doodle-rot-pos-10 { transform: translateY(-50%) rotate(10deg); }
.doodle-cr.doodle-rot-neg-10 { transform: translateY(-50%) rotate(-10deg); }
.doodle-tc.doodle-rot-neg-10 { transform: translateX(-50%) rotate(-10deg); }
.doodle-tc.doodle-rot-pos-10 { transform: translateX(-50%) rotate(10deg); }
.doodle-bc.doodle-rot-neg-10 { transform: translateX(-50%) rotate(-10deg); }
.doodle-bc.doodle-rot-pos-10 { transform: translateX(-50%) rotate(10deg); }

/* When a section opts into "doodle-dense", keep them visible but
   slightly back off so the scatter reads as texture not foreground. */
.doodle-dense .doodle { opacity: 0.09; }
.section-alt.doodle-dense .doodle { opacity: 0.10; }
.section-dark.doodle-dense .doodle { opacity: 0.13; }
.site-footer.doodle-dense .doodle { opacity: 0.13; }

/* Phones: keep doodles but make them smaller and slightly fainter */
@media (max-width: 767px) {
  .doodle { width: 90px; opacity: 0.09; }
  .doodle-lg, .doodle-xl { width: 120px; }
  .hero .doodle, .site-footer .doodle, .contact-card.dark .doodle,
  .section-dark .doodle, .text-photo-banner .doodle { opacity: 0.14; }
  .section-alt .doodle { opacity: 0.10; }
}
/* On the smallest phones, hide a subset of the densest scatters
   (q5-q8 are the "free scatter" slots) so things stay readable */
@media (max-width: 419px) {
  .doodle.doodle-q5, .doodle.doodle-q6,
  .doodle.doodle-q7, .doodle.doodle-q8,
  .doodle.doodle-tml, .doodle.doodle-tmr,
  .doodle.doodle-bml, .doodle.doodle-bmr { display: none; }
}
/* Big sections on desktop can show bigger doodles */
@media (min-width: 1100px) {
  .doodle-xl { width: 320px; }
  .doodle-lg { width: 260px; }
}

/* prefers-reduced-motion handled separately; not animated */

