/* J&B Towing - Kalama, WA - Design system */
:root {
  --color-black: #1a1a1a;
  --color-dark: #2d2d2d;
  --color-white: #ffffff;
  --color-offwhite: #f5f5f5;
  --color-gray: #454545;
  --color-gray-light: #e0e0e0;
  --color-gray-dark: #3a3a3a;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --header-height: 112px;
  --header-padding-top: 1rem;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
  /* Spacing scale (4px base) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-black);
  background: var(--color-offwhite);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* Anchor scroll offset for fixed header */
[id] { scroll-margin-top: calc(var(--header-height) + 0.5rem); }

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--color-white);
  color: var(--color-black);
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid var(--color-black);
  transition: top var(--transition);
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--color-black); outline-offset: 2px; }

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (min-width: 768px) {
  .container { padding-left: var(--space-8); padding-right: var(--space-8); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.1s;
}
.btn:focus-visible { outline: 2px solid var(--color-black); outline-offset: 2px; }
.btn-primary {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
.btn-primary:hover { background: var(--color-gray-light); border-color: var(--color-gray-light); }
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }
.btn-dark {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}
.btn-dark:hover { background: var(--color-dark); border-color: var(--color-dark); }
.btn-lg { min-height: 56px; padding: var(--space-4) var(--space-6); font-size: 1.25rem; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  color: var(--color-white);
  height: var(--header-height);
  padding-top: var(--header-padding-top);
  box-sizing: border-box;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.header.is-scrolled {
  background: var(--color-black);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(100% - var(--header-padding-top));
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-right: var(--space-6);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.logo-icon {
  height: 96px;
  width: auto;
  flex-shrink: 0;
  display: block;
  filter: brightness(0) invert(1);
}
@media (max-width: 480px) {
  .logo-icon { height: 64px; }
}
.nav-list {
  display: flex;
  gap: var(--space-8);
  flex-wrap: nowrap;
}
.nav-list a {
  color: var(--color-white);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  padding: var(--space-1) 0;
  white-space: nowrap;
}
.nav-list a:hover { color: var(--color-white); opacity: 0.9; }
.header-cta {
  flex-shrink: 0;
  margin-left: var(--space-6);
  min-height: 40px;
  padding: var(--space-2) var(--space-4);
  font-size: 0.9375rem;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  color: var(--color-white);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav CTA - hidden on desktop */
.nav-cta { display: none; }

/* Close button - hidden until menu is open on mobile */
.menu-close {
  display: none;
  position: absolute;
  top: calc(var(--header-height) + var(--space-3));
  right: calc(var(--space-6) + env(safe-area-inset-right, 0));
  width: 48px;
  height: 48px;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-white);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  cursor: pointer;
  z-index: 10;
  align-items: center;
  justify-content: center;
}
.menu-close span { display: block; }
.menu-close:hover,
.menu-close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
}

/* Nav logo - shown at top of mobile menu only */
.nav-logo {
  display: none;
}
.nav-logo-icon {
  height: 72px;
  width: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 900px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav.is-open .menu-close {
    display: flex;
  }
  .nav.is-open .nav-logo {
    display: block;
    margin-bottom: var(--space-8);
    text-align: center;
  }
  .nav.is-open .nav-logo:focus-visible { outline: 2px solid var(--color-white); outline-offset: 4px; }

  /* Full-screen mobile menu */
  .nav.is-open {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--color-black);
    padding: var(--header-height) var(--space-6) var(--space-8);
    padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0));
    padding-bottom: calc(var(--space-8) + env(safe-area-inset-bottom, 0));
    padding-left: calc(var(--space-6) + env(safe-area-inset-left, 0));
    padding-right: calc(var(--space-6) + env(safe-area-inset-right, 0));
    box-sizing: border-box;
    z-index: 999;
    overflow-y: auto;
  }
  .nav.is-open .nav-list {
    flex-direction: column;
    gap: 0;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 320px;
  }
  .nav.is-open .nav-list a {
    display: block;
    width: 100%;
    padding: var(--space-5) var(--space-4);
    font-size: 1.25rem;
    font-weight: 600;
    border-bottom: 1px solid var(--color-dark);
    color: var(--color-white);
  }
  .nav.is-open .nav-list li:first-child a { border-top: 1px solid var(--color-dark); }
  .nav.is-open .nav-cta {
    display: inline-flex;
    margin-top: var(--space-8);
    min-height: 56px;
    padding: var(--space-4) var(--space-6);
    font-size: 1.125rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  padding-top: var(--header-height);
  color: var(--color-white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-black) url('hero.png') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-8) 0;
  margin-bottom: auto;
  margin-top: var(--space-10);
}
@media (max-width: 900px) {
  .hero-content.container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}
@media (min-width: 768px) {
  .hero-content { padding: var(--space-12) 0; margin-top: var(--space-12); }
}
.hero-band {
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding: var(--space-6) 0;
  position: relative;
  z-index: 1;
}
.hero-band .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-band { padding: var(--space-6) 0; }
}
.hero-title {
  margin: 0 0 var(--space-3);
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.hero-intro {
  margin: 0 0 var(--space-3);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  opacity: 0.95;
}
.hero-subtitle {
  margin: 0 0 var(--space-6);
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.95;
}
.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}
.hero-features {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  cursor: default;
}
.hero-feature-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + var(--space-2));
  transform: translateX(-50%);
  padding: var(--space-2) var(--space-3);
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
  pointer-events: none;
  z-index: 10;
}
.hero-feature-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border: 6px solid transparent;
  border-top-color: var(--color-black);
}
.hero-feature:hover .hero-feature-tooltip,
.hero-feature:focus .hero-feature-tooltip,
.hero-feature:focus-within .hero-feature-tooltip {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 600px) {
  .hero-feature-tooltip { white-space: normal; max-width: 200px; }
}
@media (max-width: 480px) {
  .hero-content.container { padding-left: var(--space-4); padding-right: var(--space-4); }
  .hero-title { font-size: clamp(1.75rem, 6vw, 2.5rem); }
  .hero-subtitle, .hero-intro { font-size: 1.0625rem; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
}
.hero-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  flex-shrink: 0;
}
.hero-feature:nth-child(1) .hero-feature-icon { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") center/60% no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E") center/60% no-repeat; }
.hero-feature:nth-child(2) .hero-feature-icon { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") center/60% no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E") center/60% no-repeat; }
.hero-feature:nth-child(3) .hero-feature-icon { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/60% no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0118 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center/60% no-repeat; }
.hero-feature:nth-child(4) .hero-feature-icon { mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E") center/60% no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E") center/60% no-repeat; }
.hero-service-area {
  margin: var(--space-6) 0 0;
  font-size: 1rem;
  line-height: 1.5;
  opacity: 0.95;
  width: 100%;
}
.hero-service-area strong { color: var(--color-white); font-weight: 700; }

/* Sections */
.section {
  padding: var(--space-10) 0;
}
@media (min-width: 768px) {
  .section { padding: var(--space-12) 0; }
}
/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-height) + var(--space-8));
  padding-bottom: var(--space-10);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero-dark .page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
}
.page-hero-title {
  margin: 0 0 var(--space-4);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-white);
}
.page-hero-text {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .page-hero { padding-top: calc(var(--header-height) + var(--space-10)); padding-bottom: var(--space-12); }
}
@media (max-width: 480px) {
  .page-hero-title { font-size: clamp(1.5rem, 5vw, 2.25rem); }
  .page-hero-text { font-size: 1.0625rem; }
}
.section-light { background: var(--color-offwhite); }
.section-dark { background: var(--color-dark); color: var(--color-white); }
.about-summary {
  background: var(--color-black);
  color: var(--color-white);
  padding-top: var(--space-10);
  padding-bottom: var(--space-10);
  position: relative;
  overflow: hidden;
}
.about-summary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-white), transparent);
  opacity: 0.4;
}
@media (min-width: 768px) {
  .about-summary { padding-top: var(--space-12); padding-bottom: var(--space-12); }
}
.about-summary-inner { position: relative; z-index: 1; }
.about-summary-title {
  color: var(--color-white);
  margin-bottom: var(--space-5);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}
.about-summary-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-white);
  margin: var(--space-3) auto 0;
  border-radius: 2px;
}
.about-summary-text {
  margin: 0 auto;
  max-width: 65ch;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}
.section-title {
  margin: 0 0 var(--space-4);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.section-title-center { text-align: center; }
.section-text {
  margin: 0 0 var(--space-5);
  font-size: 1.0625rem;
  color: var(--color-gray);
  max-width: 55ch;
  line-height: 1.65;
}
.section-text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  max-width: 68ch;
}
.section-text-light { color: rgba(255,255,255,0.9); }
.section-title-light { color: var(--color-white); }

.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.section-split-reverse .section-content { order: 2; }
.section-split-reverse .section-image { order: 1; }
.section-image { line-height: 0; }
.section-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  width: 100%;
}
/* Section-split: comfortable reading width in content column */
.section-split .section-text {
  max-width: 58ch;
}
.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.check-list li {
  position: relative;
  padding-left: 2.25rem;
  line-height: 1.5;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 20px;
  height: 20px;
  background: var(--color-black);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}

@media (max-width: 768px) {
  .section-split, .section-split-reverse {
    grid-template-columns: 1fr;
  }
  .section-split-reverse .section-content, .section-split-reverse .section-image { order: unset; }
}

/* Quote strip */
.quote-strip {
  position: relative;
  padding: var(--space-10) 0;
  color: var(--color-white);
  overflow: hidden;
}
@media (min-width: 768px) {
  .quote-strip { padding: var(--space-12) 0; }
}
.quote-strip-bg {
  position: absolute;
  inset: 0;
  background: var(--color-dark) url('semi-tow.png') center/cover no-repeat;
}
.quote-strip-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
}
.quote-strip-solid .quote-strip-bg {
  background: var(--color-black);
}
.quote-strip-solid .quote-strip-bg::after {
  display: none;
}
.quote-strip-inner { position: relative; z-index: 1; }
.quote-strip-content {
  text-align: center;
  max-width: 65ch;
  margin: 0 auto;
}
.quote-strip-text p {
  margin: 0;
  font-size: 1.625rem;
  font-weight: 500;
  line-height: 1.5;
}
.quote-strip-call {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quote-strip-call:hover { opacity: 0.9; }
@media (min-width: 768px) {
  .quote-strip-text p { font-size: 1.875rem; }
}

.check-list-centered { max-width: 60ch; margin-left: auto; margin-right: auto; }

/* Vehicle list block (heavy duty towing page): tighter spacing and clearer hierarchy */
.section-vehicle-list .section-title { margin-bottom: var(--space-5); }
.section-vehicle-list-intro { margin-bottom: var(--space-6); }
.section-vehicle-list-items {
  margin-top: 0;
  margin-bottom: var(--space-8);
  gap: var(--space-4);
  padding-left: 0;
  align-items: center;
}
.section-vehicle-list-items li {
  width: fit-content;
  padding-left: 2.25rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.section-vehicle-list-outro { margin-top: 0; margin-bottom: 0; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: start;
}
@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: stretch;
  }
}
.contact-block .section-title { margin-top: 0; }
.contact-details { margin: var(--space-5) 0; }
.contact-phone { margin: 0 0 var(--space-2); font-size: 1.5rem; font-weight: 700; }
.contact-phone a { color: var(--color-black); }
.contact-address { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--color-gray); }
.contact-map-wrap {
  min-height: 280px;
}
@media (min-width: 768px) {
  .contact-map-wrap {
    min-height: 400px;
  }
}
.contact-map {
  width: 100%;
  height: 320px;
  min-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-gray-light);
  touch-action: pan-x pan-y;
}
@media (min-width: 768px) {
  .contact-map {
    height: 100%;
    min-height: 400px;
  }
}

/* Services: no side padding so heading and intro text go edge to edge */
#services .container {
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 600px) {
  #services .container { padding-left: var(--space-4); padding-right: var(--space-4); }
}
#services .section-text.section-text-center {
  max-width: none;
}
/* Interior pages: wider intro text for sections with section-title-center */
.section-wide .container {
  padding-left: 0;
  padding-right: 0;
}
@media (max-width: 600px) {
  .section-wide .container { padding-left: var(--space-4); padding-right: var(--space-4); }
}
.section-wide .section-text.section-text-center {
  max-width: none;
}

/* Services grid */
/* Services: masonry layout so cards pack tightly (no large white space) */
.services-grid {
  margin-top: var(--space-8);
  column-count: 2;
  column-gap: var(--space-5);
  column-fill: balance;
}
@media (max-width: 600px) {
  .services-grid { column-count: 1; column-fill: auto; }
}
.service-card {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: var(--space-5);
  display: inline-block;
  width: 100%;
  vertical-align: top;
  min-width: 0;
  background: var(--color-white);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.service-card-highlight {
  background: var(--color-gray-light);
  border: 2px solid var(--color-gray);
}
.service-card-highlight .service-card-title { color: var(--color-black); }
.service-card-highlight p { color: var(--color-black); opacity: 0.9; }
.service-card-icon {
  position: relative;
  width: 48px;
  height: 48px;
  background: var(--color-black);
  border-radius: var(--radius);
  margin-bottom: var(--space-4);
  display: block;
}
.service-card-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-white);
  mask-size: 60%;
  mask-position: center;
  mask-repeat: no-repeat;
  -webkit-mask-size: 60%;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
}
/* Roadside Assistance - wrench */
.services-grid .service-card:nth-child(1) .service-card-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}
/* 24/7 Road Service - phone */
.services-grid .service-card:nth-child(2) .service-card-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 01-2.18 2 19.79 19.79 0 01-8.63-3.07 19.5 19.5 0 01-6-6 19.79 19.79 0 01-3.07-8.67A2 2 0 014.11 2h3a2 2 0 012 1.72 12.84 12.84 0 00.7 2.81 2 2 0 01-.45 2.11L8.09 9.91a16 16 0 006 6l1.27-1.27a2 2 0 012.11-.45 12.84 12.84 0 002.81.7A2 2 0 0122 16.92z'/%3E%3C/svg%3E");
}
/* Car Towing Service - car */
.services-grid .service-card:nth-child(3) .service-card-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 16H9m10 0h3v-3a2 2 0 00-2-2h-2.28a2 2 0 00-1.91 1.4l-.74 2.2a2 2 0 01-1.91 1.4H8.24a2 2 0 01-1.91-1.4l-.74-2.2A2 2 0 004.28 11H2a2 2 0 00-2 2v3h3'/%3E%3Cpath d='M16 11h2a2 2 0 012 2v3h-4v-5z'/%3E%3Cpath d='M5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 16H9m10 0h3v-3a2 2 0 00-2-2h-2.28a2 2 0 00-1.91 1.4l-.74 2.2a2 2 0 01-1.91 1.4H8.24a2 2 0 01-1.91-1.4l-.74-2.2A2 2 0 004.28 11H2a2 2 0 00-2 2v3h3'/%3E%3Cpath d='M16 11h2a2 2 0 012 2v3h-4v-5z'/%3E%3Cpath d='M5 11l1.5-4.5h11L19 11H5z'/%3E%3C/svg%3E");
}
/* Heavy Duty Towing - truck */
.services-grid .service-card:nth-child(4) .service-card-icon::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M1 3h15v13H1V3z'/%3E%3Cpath d='M16 8h4l3 3v5h-7V8z'/%3E%3Cpath d='M5.5 19h2v-2h-2v2zm11 0h2v-2h-2v2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M1 3h15v13H1V3z'/%3E%3Cpath d='M16 8h4l3 3v5h-7V8z'/%3E%3Cpath d='M5.5 19h2v-2h-2v2zm11 0h2v-2h-2v2z'/%3E%3C/svg%3E");
}
.service-card-title {
  margin: 0 0 var(--space-2);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.service-card p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.6;
}
.service-card .btn { margin-top: var(--space-4); }

.service-card-link {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-primary);
}
.service-card-link:hover { text-decoration: underline; }
.service-card-title a { color: inherit; text-decoration: none; }
.service-card-title a:hover { text-decoration: underline; }

/* Testimonials */
.testimonials .section-title-light { margin-bottom: var(--space-2); }
.testimonials .section-text { margin-bottom: var(--space-6); }
.testimonials .section-text.section-text-center { max-width: none; }
/* Testimonials – masonry layout (column-based, matches FAQ) */
.testimonials-grid {
  margin-top: var(--space-6);
  column-count: 2;
  column-gap: var(--space-5);
  column-fill: balance;
}
@media (min-width: 900px) {
  .testimonials-grid { column-count: 3; }
}
@media (max-width: 768px) {
  .testimonials-grid { column-count: 1; column-fill: auto; }
}
.testimonial-card {
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 var(--space-5);
  padding: var(--space-6);
  background: var(--color-white);
  color: var(--color-black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: inline-block;
  width: 100%;
  vertical-align: top;
  min-width: 0;
}
.testimonial-stars {
  color: var(--color-black);
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
}
.testimonial-card p {
  margin: 0 0 var(--space-2);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-black);
}
.testimonial-card footer { font-size: 1rem; color: var(--color-gray); }
.testimonials-yelp-link {
  color: var(--color-white);
  font-weight: 600;
}
.testimonials-yelp-link:hover { text-decoration: underline; opacity: 0.9; }
.testimonials-cta {
  text-align: center;
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.testimonials-cta .btn { min-height: 48px; }
.testimonials-leave-review {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}
.testimonials-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.testimonials-review-btn .review-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonials-review-btn .review-btn-icon i {
  font-size: 1.25rem;
  line-height: 1;
}

/* FAQ – masonry layout (column-based) */
.faq .section-text { margin-bottom: var(--space-6); }
.faq-grid {
  margin-top: var(--space-6);
  column-count: 2;
  column-gap: var(--space-5);
  column-fill: balance;
}
@media (min-width: 900px) {
  .faq-grid { column-count: 3; }
}
@media (max-width: 768px) {
  .faq-grid { column-count: 1; column-fill: auto; }
}
.faq-card {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: var(--space-5);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-width: 0;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}
.faq-card-header {
  padding: var(--space-5) var(--space-5) 0;
}
.faq-card-question {
  margin: 0;
  font-size: 1.275rem; /* ~20% larger than body */
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-black);
}
.faq-card-answer {
  padding: var(--space-4) var(--space-5) var(--space-5);
  margin-top: var(--space-3);
  background: var(--color-offwhite);
  margin-left: var(--space-5);
  margin-right: var(--space-5);
  margin-bottom: var(--space-5);
  border-radius: var(--radius);
}
.faq-card-answer p {
  margin: 0;
  font-size: 1rem;
  color: var(--color-gray);
  line-height: 1.65;
}
.faq-cta {
  text-align: center;
  margin-top: var(--space-8);
  font-size: 1.0625rem;
}
.faq-cta a {
  color: var(--color-gray-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-cta a:hover { color: var(--color-black); }

/* Service area map */
#service-area {
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-light);
}
#service-area .section-text { margin-bottom: var(--space-6); }
.service-area-map {
  width: 100%;
  height: 600px;
  max-height: 75vmin;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--color-gray-light);
  touch-action: pan-x pan-y;
}
@media (max-width: 600px) {
  .service-area-map { min-height: 280px; }
}
.service-area-map .leaflet-control-attribution { font-size: 10px; }

/* CTA band */
.cta-band {
  position: relative;
  padding: var(--space-10) 0;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-black) url('cowlitz-tow.png') center/cover no-repeat;
  z-index: 0;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1;
}
.cta-band-inner {
  position: relative;
  z-index: 2;
  margin: 0 auto;
}
.cta-band-with-about .cta-band-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-band-with-about .cta-band-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    text-align: left;
  }
  .cta-band-cta { text-align: center; }
}
@media (min-width: 768px) {
  .cta-band { padding: var(--space-12) 0; }
}
.cta-band-with-about { padding-top: var(--space-12); padding-bottom: var(--space-12); }
@media (min-width: 768px) {
  .cta-band-with-about { padding-top: var(--space-12); padding-bottom: var(--space-12); }
}
.cta-band-about {
  max-width: 65ch;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 768px) {
  .cta-band-about { margin: 0; max-width: none; text-align: left; }
}
.cta-band-about-title {
  margin: 0 0 var(--space-4);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-white);
}
.cta-band-about-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-white);
  margin: var(--space-3) 0 0;
  border-radius: 2px;
  opacity: 0.8;
}
@media (min-width: 768px) {
  .cta-band-about-title::after { margin-left: 0; }
}
.cta-band-about-text {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}
.cta-band-cta .cta-band-title { margin-top: 0; }
.cta-band-title {
  margin: 0 0 var(--space-2);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--color-white);
}
.cta-band-text {
  margin: 0 0 var(--space-6);
  font-size: 1.25rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}
.cta-band .btn-dark {
  background: var(--color-white);
  color: var(--color-black);
  border-color: var(--color-white);
}
.cta-band .btn-dark:hover {
  background: var(--color-gray-light);
  border-color: var(--color-gray-light);
  color: var(--color-black);
}

/* Footer */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--space-10) 0 0;
}
@media (min-width: 768px) {
  .footer { padding: var(--space-12) 0 0; }
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-dark);
  align-items: start;
}
.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-logo {
  display: inline-block;
  margin-bottom: var(--space-1);
}
.footer-logo-icon {
  height: 77px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-tagline {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  max-width: 22ch;
}
.footer-call-line {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}
.footer-call-line a {
  color: var(--color-white);
  font-weight: 600;
}
.footer-call-line a:hover { opacity: 0.9; }
.footer-heading {
  margin: 0 0 var(--space-4);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.footer-links a {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  text-decoration: underline;
}
.footer-links a:hover { color: var(--color-white); opacity: 1; }
.footer-address-line {
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
  line-height: 1.5;
}
.footer-col p {
  margin: var(--space-1) 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
.footer-col a { color: var(--color-white); }
.footer-col a:hover { color: var(--color-white); opacity: 0.9; }
.footer-bottom { padding: var(--space-5) 0; }
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  text-decoration: none;
}
.footer-credit:hover,
.footer-credit:focus-visible {
  color: rgba(255,255,255,0.9);
}
.footer-credit-text { flex-shrink: 0; }
.footer-credit-logo {
  height: 37.27px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter 0.2s ease;
}
.footer-credit:hover .footer-credit-logo,
.footer-credit:focus-visible .footer-credit-logo,
.footer-credit:active .footer-credit-logo {
  filter: none;
}

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col-brand { align-items: center; text-align: center; }
  .footer-tagline { max-width: none; }
  .footer-logo { margin-left: auto; margin-right: auto; }
  .footer-links { align-items: center; }
  .footer-bottom-inner { justify-content: center; }
}
@media (max-width: 480px) {
  .footer-logo-icon { height: 56px; width: auto; }
  .container { padding-left: var(--space-4); padding-right: var(--space-4); }
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
  color: var(--color-white);
  border: 2px solid var(--color-black);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.scroll-to-top:hover,
.scroll-to-top:focus-visible {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}
.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top svg {
  width: 24px;
  height: 24px;
  display: block;
}
.scroll-to-top:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}
@media (max-width: 768px) {
  .scroll-to-top {
    bottom: calc(var(--space-5) + env(safe-area-inset-bottom, 0));
    right: calc(var(--space-5) + env(safe-area-inset-right, 0));
  }
}
