/* IN N OUT TOWING site styles
   Foundation: Boost My Biz towing-site framework (header, hero, sections, cards, process, coverage, FAQ,
   footer, mobile call bar). Page-specific hero tuning for the source photography removed.
   Brand: dark foundation with IN N OUT red (#FF3130) from the client's existing site.
   Contrast: white on --color-cta-bg (#D91E1E) = 5.1:1; #FF3130 on #050505 = 5.6:1 (WCAG AA).
   IN N OUT-specific components are appended at the end of this file. */

/* Metric-matched fallback for Inter (Arial adjusted to Inter's width and vertical metrics). Text
   then wraps the same way before and after the web font loads, so hero copy and highlights don't
   change height when Inter arrives (measured layout shift up to 0.2 without it). Affects only the
   moment before Inter loads; the final rendering is unchanged. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT");
  size-adjust: 107.06%;
  ascent-override: 90.49%;
  descent-override: 22.56%;
  line-gap-override: 0%;
}

/* Metric-matched stand-in for Barlow Condensed (headings, eyebrows, buttons) while it downloads.
   Without it the fallback (Arial Narrow / Segoe UI) set the hero buttons wider, the second CTA
   wrapped to its own row, and the vertically centred hero jumped ~33px when the web font arrived
   (homepage CLS 0.148 @1366, 0.116 @1440). size-adjust = Barlow width / Arial Bold width, measured
   on the site's own Barlow text per weight; ascent/descent reproduce Barlow's 1.0/0.2em metrics. */
@font-face {
  font-family: "Barlow Condensed Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600;
  size-adjust: 72.74%;
  ascent-override: 137.48%;
  descent-override: 27.5%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Barlow Condensed Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 700;
  /* 4% under the measured average (73.43%): uppercase CTA text runs wider in Arial, and the two
     homepage buttons share a 464px row at >=1200px that the web font fills to within 1px. */
  size-adjust: 70.5%;
  ascent-override: 141.84%;
  descent-override: 28.37%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Barlow Condensed Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 800;
  size-adjust: 75.71%;
  ascent-override: 132.08%;
  descent-override: 26.42%;
  line-gap-override: 0%;
}

:root {
  --color-bg: #050505;
  --color-bg-elevated: #0d0d0d;
  --color-text: #f5f5f5;
  --color-text-muted: #b3b3b3;
  --color-accent: #ff3130;
  --color-accent-hover: #ff6b6a;
  --color-cta-bg: #d91e1e;
  --color-cta-bg-hover: #b81414;
  --color-accent-ink: #ffffff;
  --color-border: rgba(255, 255, 255, 0.12);
  --color-focus: #ff6b6a;
  --font-display: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", "Segoe UI", sans-serif;
  --font-body: "Inter", "Inter Fallback", "Segoe UI", system-ui, sans-serif;
  --page-gutter: clamp(1.1rem, 4vw, 2.5rem);
  --header-height: 4.25rem;
  --max-width: 72rem;
  --radius: 0.4rem;
  --hero-content-max: 28rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body.site {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--page-gutter);
  top: -3rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  background: var(--color-cta-bg);
  color: var(--color-accent-ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 0.75rem;
}

/* ========== Header ========== */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  min-height: var(--header-height);
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-nav-open {
  background: rgba(5, 5, 5, 0.96);
  border-bottom-color: var(--color-border);
  box-shadow: 0 0.65rem 1.5rem rgba(0, 0, 0, 0.28);
}

/* backdrop-filter creates a containing block that would clip the fixed mobile drawer */
.site-header.is-scrolled:not(.is-nav-open) {
  backdrop-filter: blur(10px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-width);
  min-height: var(--header-height);
  margin: 0 auto;
  padding: 0.85rem var(--page-gutter);
}

.site-wordmark {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--color-text);
  text-decoration: none;
  position: relative;
  z-index: 50;
}

.site-wordmark:hover,
.site-wordmark:focus-visible {
  color: var(--color-text);
  text-decoration: none;
}

.site-wordmark__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

/* Header logo only — footer logo sized in .site-footer__wordmark */
.site-header .site-wordmark__logo {
  max-height: 3rem; /* 48px mobile */
}

@media (min-width: 768px) {
  .site-header .site-wordmark__logo {
    max-height: 4.5rem; /* 72px desktop */
  }
}

.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 50;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
  cursor: pointer;
}

.site-nav__toggle:hover,
.site-nav__toggle:focus-visible {
  border-color: rgba(255, 49, 48, 0.45);
  color: var(--color-accent);
}

.site-nav__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 1.1rem;
}

.site-nav__icon span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.is-nav-open .site-nav__icon span:nth-child(1) {
  transform: translateY(0.375rem) rotate(45deg);
}

.site-header.is-nav-open .site-nav__icon span:nth-child(2) {
  opacity: 0;
}

.site-header.is-nav-open .site-nav__icon span:nth-child(3) {
  transform: translateY(-0.375rem) rotate(-45deg);
}

.site-nav {
  margin: 0;
}

.site-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item {
  margin: 0;
  position: relative;
}

.site-nav__link,
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.9rem;
  border: 0;
  border-radius: 0.35rem;
  background: transparent;
  color: rgba(245, 245, 245, 0.9);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__trigger:hover,
.site-nav__trigger:focus-visible,
.site-nav__link.is-active,
.site-nav__trigger.is-active,
.site-nav__item.is-active > .site-nav__trigger {
  color: var(--color-accent);
  background: rgba(255, 49, 48, 0.08);
  outline: none;
}

.site-nav__link[aria-current="page"] {
  color: var(--color-accent);
}

.site-nav__chevron {
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-0.1rem);
  transition: transform 0.2s ease;
}

.site-nav__item--has-submenu.is-open > .site-nav__trigger .site-nav__chevron {
  transform: rotate(225deg) translateY(-0.05rem);
}

.site-nav__submenu {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  background: #0a0a0a;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
}

.site-nav__submenu[hidden] {
  display: none !important;
}

.site-nav__item--has-submenu.is-open > .site-nav__submenu {
  display: flex;
}

.site-nav__sublink {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 0.35rem;
}

.site-nav__sublink:hover,
.site-nav__sublink:focus-visible,
.site-nav__sublink.is-active,
.site-nav__sublink[aria-current="page"] {
  background: rgba(255, 49, 48, 0.1);
  color: var(--color-accent);
  outline: none;
}

.section-fragment {
  position: relative;
  height: 0;
  width: 0;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

#contact {
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
}

body.is-nav-open {
  overflow: hidden;
}

/* Mobile / tablet drawer */
@media (max-width: 991.98px) {
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    padding:
      calc(var(--header-height) + 0.75rem)
      var(--page-gutter)
      calc(1.25rem + env(safe-area-inset-bottom, 0px));
    background: rgba(5, 5, 5, 0.98);
    border: 0;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.22s ease, visibility 0.22s ease;
  }

  .site-header.is-nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav__list {
    width: 100%;
    max-width: 24rem;
    margin: 0 auto;
  }

  .site-nav__link,
  .site-nav__trigger {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav__submenu {
    margin: 0.15rem 0 0.35rem;
    border: 0;
    background: rgba(255, 255, 255, 0.03);
  }
}

/* Desktop primary navigation */
@media (min-width: 992px) {
  .site-nav__toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: block;
    padding: 0;
    background: transparent;
    transform: none;
    visibility: visible;
    pointer-events: auto;
    overflow: visible;
  }

  .site-nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 1.1rem;
  }

  .site-nav__link,
  .site-nav__trigger {
    min-height: auto;
    padding: 0.4rem 0.15rem;
    background: transparent;
    font-size: 0.82rem;
    color: rgba(245, 245, 245, 0.82);
  }

  .site-nav__link:hover,
  .site-nav__link:focus-visible,
  .site-nav__trigger:hover,
  .site-nav__trigger:focus-visible,
  .site-nav__link.is-active,
  .site-nav__trigger.is-active,
  .site-nav__item.is-active > .site-nav__trigger {
    background: transparent;
    color: var(--color-accent);
  }

  .site-nav__item--has-submenu {
    position: relative;
  }

  /* Hover bridge so the menu stays open while moving into the panel */
  .site-nav__submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 50;
    min-width: 15rem;
    margin: 0;
    padding: 0.45rem;
    transform: translateX(-50%);
    box-shadow: 0 0.85rem 1.75rem rgba(0, 0, 0, 0.35);
  }

  .site-nav__item--has-submenu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .site-nav,
  .site-nav__icon span,
  .site-nav__chevron {
    transition: none;
  }
}

/* ========== Hero ========== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 100svh;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--color-bg);
  pointer-events: none;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center right;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(5, 5, 5, 0.82) 0%,
      rgba(5, 5, 5, 0.45) 36%,
      rgba(5, 5, 5, 0.12) 58%,
      transparent 72%
    );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--max-width);
  min-height: 100svh;
  margin: 0 auto;
  padding:
    calc(var(--header-height) + 1.25rem)
    var(--page-gutter)
    clamp(2rem, 6vh, 3.5rem);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, var(--hero-content-max));
  max-width: var(--hero-content-max);
}

.hero__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3.75rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--color-text);
  text-wrap: balance;
}

.hero__title-line {
  display: block;
}

.hero__title-line--accent {
  color: var(--color-accent);
}

.hero__copy {
  margin: 0 0 1.35rem;
  max-width: 26rem;
  font-size: clamp(0.98rem, 2.4vw, 1.1rem);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.hero__actions {
  margin: 0 0 2.5rem;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.85rem 1.45rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-accent-ink);
  background: var(--color-cta-bg);
  border: 2px solid var(--color-cta-bg);
  border-radius: 999px;
}

.hero__cta:hover,
.hero__cta:focus-visible {
  color: var(--color-accent-ink);
  background: var(--color-cta-bg-hover);
  border-color: var(--color-cta-bg-hover);
  text-decoration: none;
}

.hero__trust {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
}

.hero__trust-item {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.hero__trust-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 0.15rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero__trust-heading {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.hero__trust-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .hero__trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    align-items: start;
  }

  .hero__trust-item {
    justify-items: start;
    text-align: left;
    padding: 0 0.9rem;
  }

  .hero__trust-item:first-child {
    padding-left: 0;
  }

  .hero__trust-item:last-child {
    padding-right: 0;
  }

  .hero__trust-item:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
  }
}

@media (max-width: 430px) {
  .hero__cta {
    width: 100%;
  }

  .hero__scrim {
    background:
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.9) 0%,
        rgba(5, 5, 5, 0.62) 48%,
        rgba(5, 5, 5, 0.28) 100%
      );
  }
}

/* Tablet+ */
@media (min-width: 768px) {
  .hero__scrim {
    background:
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.7) 0%,
        rgba(5, 5, 5, 0.32) 34%,
        rgba(5, 5, 5, 0.08) 55%,
        transparent 70%
      );
  }

  .hero__title {
    font-size: clamp(2.85rem, 5.5vw, 4.15rem);
  }

  .hero__cta {
    min-width: 14rem;
  }

  .hero__trust-item {
    padding: 0 1rem;
  }

  .hero__trust-item:first-child {
    padding-left: 0;
  }

  .hero__trust-item:last-child {
    padding-right: 0;
  }
}

@media (min-width: 1024px) {
  /* Desktop: nudge truck left of the right edge while keeping skyline/tower/route */
  .hero__image {
    object-position: 85% center;
  }

  .hero__scrim {
    background:
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.52) 0%,
        rgba(5, 5, 5, 0.22) 30%,
        transparent 58%
      );
  }

  .hero__inner {
    padding-top: calc(var(--header-height) + 0.5rem);
    padding-bottom: clamp(2.5rem, 5vh, 4rem);
  }

  .hero__title {
    font-size: clamp(3.35rem, 4.6vw, 4.6rem);
  }
}

@media (min-width: 1440px) {
  .hero__image {
    object-position: 80% center;
  }

  .hero__scrim {
    background:
      linear-gradient(
        90deg,
        rgba(5, 5, 5, 0.4) 0%,
        rgba(5, 5, 5, 0.14) 28%,
        transparent 52%
      );
  }
}

/* Shorter viewports: keep composition fluid, avoid clipping CTA */
@media (max-height: 700px) and (min-width: 768px) {
  .hero,
  .hero__inner {
    min-height: auto;
  }

  .hero__inner {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 2rem;
  }
}

/* ========== Shared section shell (reusable) ========== */

.section {
  position: relative;
  scroll-margin-top: calc(var(--header-height) + 0.75rem);
  padding: clamp(3.75rem, 9vw, 7rem) 0;
  background: var(--color-bg);
}

.section--alt {
  background: var(--color-bg-elevated);
  border-block: 1px solid var(--color-border);
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-gutter);
}

.section__label {
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section__title {
  margin: 0 0 1.25rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-text);
  text-wrap: balance;
}

.section__intro {
  margin: 0 0 clamp(2.25rem, 5vw, 3.25rem);
  max-width: 42rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* ========== Feature grid / cards ========== */

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.feature-card {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  margin: 0;
  padding: 1.45rem 1.35rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.feature-card:hover,
.feature-card:focus-within {
  background: rgba(255, 49, 48, 0.04);
  border-color: rgba(255, 49, 48, 0.28);
  transform: translateY(-2px);
}

.feature-card:focus-within {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.feature-card__icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-accent);
}

.feature-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

/* Situation cards that link to their own service page */
.feature-card__link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

.feature-card__link:hover,
.feature-card__link:focus-visible {
  color: var(--color-accent);
}

.feature-card__link:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.feature-card__copy {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .feature-card {
    padding: 1.65rem 1.5rem;
    min-height: 100%;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    gap: 1.5rem;
  }

  .feature-card {
    padding: 1.85rem 1.7rem;
  }

  .feature-card__icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card {
    transition: none;
  }

  .feature-card:hover,
  .feature-card:focus-within {
    transform: none;
  }
}

/* ========== Services section ========== */

.services-section {
  background: var(--color-bg);
}

.services-section .section__title {
  max-width: 18ch;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.service-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.65rem;
  align-content: start;
  min-height: 100%;
  margin: 0;
  padding: 1.4rem 1.3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.service-card:hover,
.service-card:focus-within {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 49, 48, 0.32);
  transform: translateY(-2px);
}

.service-card__icon {
  display: block;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--color-accent);
}

.service-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.service-card__copy {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  margin-top: 0.35rem;
  padding: 0.15rem 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-accent);
  cursor: pointer;
}

.service-card__link:hover,
.service-card__link:focus-visible {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .service-card {
    padding: 1.55rem 1.45rem;
  }

  .service-card__icon {
    width: 2.35rem;
    height: 2.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: none;
  }

  .service-card:hover,
  .service-card:focus-within {
    transform: none;
  }
}

/* ========== How It Works ========== */

.how-it-works-section .section__title {
  max-width: 16ch;
}

.process-list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.process-step {
  position: relative;
  margin: 0;
  padding: 0 0 2rem 0;
}

.process-step:last-child {
  padding-bottom: 0;
}

/* Mobile vertical timeline connector */
.process-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 2.75rem;
  bottom: 0.35rem;
  width: 1px;
  background: rgba(255, 49, 48, 0.22);
  pointer-events: none;
}

.process-step__article {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.1rem;
  row-gap: 0.65rem;
  align-items: start;
  margin: 0;
}

.process-step__number {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--color-accent);
}

.process-step__icon {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  width: 1.85rem;
  height: 1.85rem;
  margin-left: 0.15rem;
  color: var(--color-accent);
}

.process-step__content {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 0.45rem;
  align-content: start;
  min-width: 0;
}

.process-step__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.process-step__copy {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.process-closing {
  margin: 0;
  max-width: 40rem;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text);
}

@media (min-width: 640px) and (max-width: 1023px) {
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.75rem;
  }

  .process-step {
    padding: 0;
  }

  /* No continuous connectors across wrapped tablet rows */
  .process-step:not(:last-child)::before {
    display: none;
  }

  .process-step__article {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0.7rem;
  }

  .process-step__number,
  .process-step__icon,
  .process-step__content {
    grid-column: 1;
    grid-row: auto;
  }

  .process-step__icon {
    margin-left: 0;
  }
}

@media (min-width: 1024px) {
  .process-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 1.5rem;
    align-items: start;
  }

  .process-step {
    padding: 0;
  }

  .process-step:not(:last-child)::before {
    display: none;
  }

  /* Horizontal connector between steps */
  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0.7rem;
    left: calc(3.25rem);
    right: -0.75rem;
    height: 1px;
    background: rgba(255, 49, 48, 0.2);
    pointer-events: none;
  }

  .process-step__article {
    position: relative;
    z-index: 1;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    background: transparent;
  }

  .process-step__number,
  .process-step__icon,
  .process-step__content {
    grid-column: 1;
    grid-row: auto;
  }

  .process-step__icon {
    margin-left: 0;
    width: 2.1rem;
    height: 2.1rem;
  }

  .process-step__content {
    gap: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-step:not(:last-child)::before,
  .process-step:not(:last-child)::after {
    transition: none;
  }
}

/* ========== Coverage Area ========== */

.coverage-section {
  background: var(--color-bg);
}

.coverage-section .section__title {
  max-width: 18ch;
}

.coverage-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: stretch;
}

.coverage-map {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: start;
  align-content: center;
  gap: 0.55rem;
  min-height: 16rem;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.35rem, 4vw, 2.25rem);
  text-align: left;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.coverage-map__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 62% 38%, rgba(255, 49, 48, 0.1), transparent 28%),
    radial-gradient(circle at 62% 38%, transparent 18%, rgba(255, 49, 48, 0.05) 19%, transparent 34%),
    radial-gradient(circle at 62% 38%, transparent 34%, rgba(255, 255, 255, 0.035) 35%, transparent 48%),
    linear-gradient(115deg, transparent 42%, rgba(255, 49, 48, 0.12) 42.5%, transparent 43.5%),
    linear-gradient(28deg, transparent 58%, rgba(255, 255, 255, 0.06) 58.5%, transparent 59.5%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 28px,
      rgba(255, 255, 255, 0.025) 28px,
      rgba(255, 255, 255, 0.025) 29px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 28px,
      rgba(255, 255, 255, 0.02) 28px,
      rgba(255, 255, 255, 0.02) 29px
    );
}

.coverage-map__visual::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 12%;
  top: 58%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 49, 48, 0.28) 20%,
    rgba(255, 49, 48, 0.35) 55%,
    transparent
  );
  transform: rotate(-8deg);
  transform-origin: left center;
}

.coverage-map > *:not(.coverage-map__visual) {
  position: relative;
  z-index: 1;
}

.coverage-map__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.35rem;
  color: var(--color-accent);
}

.coverage-map__label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.coverage-map__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-text);
}

.coverage-map__description {
  margin: 0.15rem 0 0;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.coverage-map__note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(179, 179, 179, 0.72);
}

.coverage-communities {
  display: grid;
  gap: 0.85rem;
  align-content: center;
  min-width: 0;
}

.coverage-communities__heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text);
}

.coverage-communities__intro {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.coverage-communities__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
}

.community-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  cursor: default;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

/* Community pills are labels, not links. No hover or focus affordance. */

@media (min-width: 1024px) {
  .coverage-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem;
    align-items: center;
  }

  .coverage-map {
    min-height: 22rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-pill {
    transition: none;
  }

  .community-pill:hover,
  .community-pill:focus-visible {
    transform: none;
  }
}

/* ========== Customer Reviews ========== */

.reviews-section .section__title {
  max-width: 16ch;
}

.reviews-summary {
  display: grid;
  gap: 0.45rem;
  max-width: 36rem;
  margin: 0 0 clamp(2rem, 4.5vw, 2.75rem);
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
}

.reviews-summary__label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.reviews-summary__primary {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--color-text);
}

.reviews-summary__support {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin: 0 0 clamp(2.25rem, 5vw, 3rem);
}

.review-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 0.65rem;
  min-height: 100%;
  margin: 0;
  padding: 1.45rem 1.35rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.review-card:hover {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 49, 48, 0.28);
  transform: translateY(-2px);
}

.review-card__label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.review-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text);
}

.review-card__body {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.review-card__footer {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(179, 179, 179, 0.75);
}

.reviews-cta {
  display: grid;
  gap: 0.65rem;
  max-width: 36rem;
  padding-top: 0.25rem;
}

.reviews-cta__heading {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text);
}

.reviews-cta__copy {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.reviews-cta__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 3rem;
  margin-top: 0.35rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-accent-ink);
  background: var(--color-cta-bg);
  border: 2px solid var(--color-cta-bg);
  border-radius: 999px;
}

.reviews-cta__action:hover,
.reviews-cta__action:focus-visible {
  color: var(--color-accent-ink);
  background: var(--color-cta-bg-hover);
  border-color: var(--color-cta-bg-hover);
  text-decoration: none;
}

.reviews-cta__action--disabled {
  color: rgba(245, 245, 245, 0.45);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  cursor: not-allowed;
  opacity: 0.85;
}

@media (min-width: 640px) {
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .review-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.625rem);
  }
}

@media (min-width: 1024px) {
  .review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .review-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-card {
    transition: none;
  }

  .review-card:hover {
    transform: none;
  }
}

/* ========== Emergency CTA ========== */

.emergency-cta-section {
  background: var(--color-bg);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

.emergency-cta {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.35rem, 4vw, 2.75rem);
  text-align: center;
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
}

.emergency-cta::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  z-index: 0;
  height: 70%;
  background: radial-gradient(
    ellipse 55% 60% at 50% 40%,
    rgba(255, 49, 48, 0.14),
    transparent 70%
  );
  pointer-events: none;
}

.emergency-cta > * {
  position: relative;
  z-index: 1;
}

.emergency-cta__label {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.emergency-cta__heading {
  margin: 0;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-text);
  text-wrap: balance;
}

.emergency-cta__copy {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.emergency-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.5rem;
}

.emergency-cta__button {
  cursor: pointer;
  opacity: 1;
}

.emergency-cta__reassurance {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: rgba(179, 179, 179, 0.85);
}

@media (max-width: 639px) {
  .emergency-cta__actions {
    display: grid;
  }

  .emergency-cta__button {
    width: 100%;
  }
}

/* ========== Site footer ========== */

.site-footer {
  border-top: 1px solid var(--color-border);
  background: #000;
}

.site-footer__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--page-gutter) 0;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.75rem;
  align-items: start;
  justify-items: center;
  text-align: center;
}

.site-footer__brand {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  width: 100%;
  max-width: 26rem;
}

.site-footer__wordmark {
  display: block;
  width: 100%;
  max-width: 22rem;
}

.site-footer__wordmark .site-wordmark__logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.site-footer__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-text);
}

.site-footer__statement {
  margin: 0;
  max-width: 22rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.site-footer__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-text);
}

.site-footer__nav,
.site-footer__contact {
  width: 100%;
  max-width: 18rem;
}

.site-footer__list {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__list--meta {
  gap: 0.45rem;
}

.site-footer__list li {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.site-footer__list a {
  display: inline;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible {
  color: var(--color-accent);
  text-decoration: none;
}

.site-footer__pending {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(179, 179, 179, 0.85);
  cursor: default;
}

.site-footer__call {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-text-muted);
}

.site-footer__call a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}

.site-footer__call a:hover,
.site-footer__call a:focus-visible {
  color: var(--color-accent-hover);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  margin-top: 2rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__copyright {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--color-text-muted);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.site-footer__legal a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: var(--color-accent);
  text-decoration: none;
}

/* Tablet: 2-column layout */
@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2rem 2.5rem;
    justify-items: start;
    text-align: left;
  }

  .site-footer__brand {
    justify-items: start;
    max-width: none;
  }

  .site-footer__wordmark {
    max-width: 24rem;
  }

  .site-footer__wordmark .site-wordmark__logo {
    object-position: left center;
  }

  .site-footer__statement {
    max-width: 26rem;
  }

  .site-footer__nav,
  .site-footer__contact {
    max-width: none;
  }

  .site-footer__bottom {
    justify-content: space-between;
  }
}

/* Desktop: 4-column layout, brand column wider */
@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: minmax(16rem, 1.55fr) repeat(3, minmax(0, 1fr));
    gap: 2rem 2.25rem;
  }

  .site-footer__wordmark {
    max-width: 26rem; /* ~416px — within 360–460px desktop target */
  }
}

/* ========== Service pages (template) ========== */

.hero--service .hero__actions {
  margin-bottom: 0;
}

.hero__actions--split {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.75rem;
}

.hero__cta--secondary {
  color: var(--color-text);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}

.hero__cta--secondary:hover,
.hero__cta--secondary:focus-visible {
  color: var(--color-accent-ink);
  background: var(--color-cta-bg);
  border-color: var(--color-cta-bg);
}

/* Trust section (premium cards, below service hero) */

.trust-section {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

.trust-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem) var(--page-gutter);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-grid > li {
  margin: 0;
  min-width: 0;
}

.trust-card {
  display: grid;
  gap: 0.65rem;
  align-content: start;
  height: 100%;
  margin: 0;
  padding: 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
  animation: trust-card-rise 0.55s ease both;
}

.trust-grid > li:nth-child(2) .trust-card {
  animation-delay: 0.06s;
}

.trust-grid > li:nth-child(3) .trust-card {
  animation-delay: 0.12s;
}

.trust-grid > li:nth-child(4) .trust-card {
  animation-delay: 0.18s;
}

.trust-card:hover,
.trust-card:focus-within {
  background: rgba(255, 49, 48, 0.04);
  border-color: rgba(255, 49, 48, 0.28);
  transform: translateY(-2px);
}

.trust-card__icon {
  display: block;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--color-accent);
}

.trust-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-wrap: balance;
}

.trust-card__copy {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

@keyframes trust-card-rise {
  from {
    opacity: 0;
    transform: translateY(0.55rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .trust-card {
    padding: 1.5rem 1.35rem;
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-card {
    animation: none;
  }

  .trust-card:hover,
  .trust-card:focus-within {
    transform: none;
  }
}

/* Service overview points */

.overview-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
}

.overview-services-link {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0;
}

.overview-point {
  padding: 0;
  border: 0;
  background: transparent;
}

.overview-point__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.overview-point__copy {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

@media (min-width: 768px) {
  .overview-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .overview-point + .overview-point {
    padding-left: 1.5rem;
    border-left: 1px solid var(--color-border);
  }
}

/* When you need help */

.need-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.need-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin: 0;
  padding: 1.35rem 0;
  border-top: 1px solid var(--color-border);
}

.need-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.need-item__marker {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.55rem;
  border-radius: 50%;
  background: var(--color-cta-bg);
  box-shadow: 0 0 0 0.35rem rgba(255, 49, 48, 0.12);
}

.need-item__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.need-item__copy {
  margin: 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* FAQ */

.faq-section .section__intro {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.faq-item {
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  overflow: clip;
}

.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  cursor: pointer;
  list-style: none;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__question {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--color-text);
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.7rem;
  height: 1.5px;
  background: var(--color-cta-bg);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__answer {
  padding: 0 1.15rem 1.2rem;
  animation: faq-answer-in 0.25s ease;
}

.faq-item__answer p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-0.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item__summary:hover .faq-item__question,
.faq-item__summary:focus-visible .faq-item__question {
  color: var(--color-accent);
}

/* Local SEO prose */

.local-seo-section {
  border-bottom: 1px solid var(--color-border);
}

.local-seo .section__title {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.local-seo__content {
  display: grid;
  gap: 1.15rem;
  max-width: 44rem;
}

.local-seo__subheading {
  margin: clamp(1.35rem, 3vw, 1.85rem) 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.4rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.local-seo__subheading + p {
  margin-top: 0.15rem;
}

.local-seo__content p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.local-seo__closing {
  color: var(--color-text) !important;
  font-weight: 500;
}

/* ========== Mobile emergency call bar ========== */

.mobile-call-bar {
  display: none;
}

@media (max-width: 767.98px) {
  .mobile-call-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding:
      0.65rem
      var(--page-gutter)
      calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(
      180deg,
      rgba(5, 5, 5, 0) 0%,
      rgba(5, 5, 5, 0.72) 45%,
      rgba(5, 5, 5, 0.92) 100%
    );
    pointer-events: none;
  }

  .mobile-call-bar__link {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    width: 100%;
    min-height: 3.5rem;
    padding: 0.95rem 1.25rem;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    color: var(--color-accent-ink);
    background: var(--color-cta-bg);
    border: 2px solid var(--color-cta-bg);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .mobile-call-bar__link:hover,
  .mobile-call-bar__link:focus-visible {
    color: var(--color-accent-ink);
    background: var(--color-cta-bg-hover);
    border-color: var(--color-cta-bg-hover);
    text-decoration: none;
  }

  .mobile-call-bar__icon {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
  }

  .mobile-call-bar__label {
    line-height: 1.2;
  }

  /* Keep page scroll clear of the fixed bar */
  body.has-mobile-call-bar {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__answer {
    animation: none;
  }

  .faq-item__icon::before,
  .faq-item__icon::after {
    transition: none;
  }
}

/* =====================================================================
   IN N OUT TOWING components and brand overrides
   ===================================================================== */

@media (min-width: 768px) {
  :root { --hero-content-max: 30rem; }
}

@media (min-width: 1024px) {
  :root { --hero-content-max: 34rem; }
}

/* ---------- Typography tuning for Barlow Condensed display face ---------- */

.hero__title {
  letter-spacing: 0;
  line-height: 0.92;
  font-size: clamp(2.75rem, 12vw, 4.25rem);
}

@media (min-width: 768px) {
  .hero__title { font-size: clamp(3.4rem, 6.4vw, 4.75rem); }
}

@media (min-width: 1024px) {
  .hero__title { font-size: clamp(4rem, 5.2vw, 5.25rem); }
}

.section__title,
.emergency-cta__heading {
  letter-spacing: 0.005em;
}

/* ---------- Header brand lockup ---------- */

.site-wordmark {
  gap: 0.65rem;
}

.site-header .site-wordmark__logo {
  width: 3rem;
  height: 3rem;
  max-height: none;
}

.site-wordmark__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 0.92;
}

.site-wordmark__name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.site-wordmark__sub {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--color-accent);
}

@media (min-width: 768px) {
  .site-header .site-wordmark__logo {
    width: 3.5rem;
    height: 3.5rem;
    max-height: none;
  }

  .site-wordmark__name { font-size: 1.6rem; }
}

/* ---------- Desktop / tablet header call button ---------- */

.site-header__call {
  display: none;
}

@media (min-width: 768px) {
  .site-header__call {
    position: relative;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    padding: 0.5rem 1rem;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    color: var(--color-accent-ink);
    background: var(--color-cta-bg);
    border: 2px solid var(--color-cta-bg);
    border-radius: 999px;
    white-space: nowrap;
  }

  .site-header__call:hover,
  .site-header__call:focus-visible {
    color: var(--color-accent-ink);
    background: var(--color-cta-bg-hover);
    border-color: var(--color-cta-bg-hover);
    text-decoration: none;
  }

  .site-header__call-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
  }

  .site-header__call-label {
    display: none;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .site-header__call-number {
    font-size: 1.2rem;
    letter-spacing: 0.03em;
  }
}

@media (min-width: 992px) {
  .site-nav { order: 1; margin-left: auto; }
  .site-header__call { order: 2; margin-left: 1.5rem; }
  .site-nav__toggle { order: 3; }
}

@media (min-width: 1200px) {
  .site-header__call-label { display: inline; }
}

/* ---------- Footer brand lockup ---------- */

.site-footer__wordmark {
  display: inline-flex;
  width: auto;
  max-width: none;
}

.site-footer__wordmark .site-wordmark__logo {
  width: 5rem;
  height: 5rem;
  max-width: none;
}

.site-footer__wordmark .site-wordmark__name { font-size: 1.85rem; }
.site-footer__wordmark .site-wordmark__sub { font-size: 0.95rem; }

@media (min-width: 640px) {
  .site-footer__wordmark { max-width: none; }
}

.site-footer__legal {
  display: flex;
  gap: 1rem;
}

/* ---------- Hero: shared highlights ---------- */

.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.25rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__highlights li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
}

.hero__highlight-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Mobile CTA standard (from the source framework): below 768px the sticky call bar is the
   single call CTA, so hero CTA groups are hidden. */
@media (max-width: 767.98px) {
  .hero .hero__content > .hero__actions {
    display: none !important;
  }
}

/* ---------- Hero: photo variant (client photos are small, max 640px) ---------- */

.hero__media {
  margin: 0;
}

.hero--photo .hero__image {
  object-position: center;
}

/* Mobile/tablet: photo full-bleed behind a strong scrim for text contrast */
.hero--photo .hero__scrim {
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.8) 0%,
      rgba(5, 5, 5, 0.7) 45%,
      rgba(5, 5, 5, 0.94) 100%
    );
}

@media (min-width: 992px) {
  .hero--photo {
    background:
      radial-gradient(circle at 76% 50%, rgba(255, 49, 48, 0.16), transparent 46%),
      var(--color-bg);
  }

  .hero--photo .hero__scrim {
    display: none;
  }

  .hero--photo .hero__media {
    inset: auto;
    top: calc(50% + var(--header-height) / 2);
    right: max(var(--page-gutter), calc((100% - var(--max-width)) / 2 + var(--page-gutter)));
    z-index: 1;
    width: min(38%, 29rem);
    height: auto;
    max-height: calc(100svh - var(--header-height) - 5rem);
    aspect-ratio: var(--hero-aspect, 4 / 3);
    transform: translateY(-50%);
    border: 1px solid var(--color-border);
    border-radius: 1.1rem;
    background: var(--color-bg-elevated);
    box-shadow:
      0 2rem 4rem rgba(0, 0, 0, 0.55),
      0 0 0 0.45rem rgba(255, 49, 48, 0.1);
  }

  .hero--photo .hero__content {
    width: min(100%, 54%);
    max-width: 36rem;
  }
}

/* ---------- Hero: plain variant (no suitable client photo yet) ---------- */

.hero--plain {
  min-height: auto;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 49, 48, 0.24), transparent 42%),
    radial-gradient(circle at 6% 96%, rgba(255, 49, 48, 0.1), transparent 38%),
    var(--color-bg);
}

.hero--plain .hero__scrim {
  display: none;
}

.hero--plain .hero__inner {
  min-height: auto;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 3.5rem;
}

.hero--plain .hero__content {
  max-width: 40rem;
  width: min(100%, 40rem);
}

@media (min-width: 1024px) {
  .hero--plain .hero__inner {
    min-height: min(42rem, 80svh);
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4.5rem;
  }
}

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem var(--page-gutter) 0;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.breadcrumbs__list li + li::before {
  content: "/";
  margin-right: 0.35rem;
  color: rgba(255, 255, 255, 0.35);
}

.breadcrumbs__list a {
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* ---------- About (homepage) ---------- */

.about-layout {
  display: grid;
  gap: 2rem;
}

.about-layout__points {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.about-layout__points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 500;
}

.about-layout__icon {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  color: var(--color-accent);
}

.about-layout__media {
  margin: 0;
}

.about-layout__media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: 1rem;
}

@media (min-width: 992px) {
  .about-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 3.5rem;
  }
}

/* ---------- Recent jobs photo grid ---------- */

.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-grid__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--color-border);
  border-radius: 0.8rem;
  background: var(--color-bg-elevated);
}

@media (min-width: 640px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Coverage additions ---------- */

.coverage-communities__heading--secondary {
  margin-top: 1.75rem;
}

.community-pill--outline {
  background: transparent;
  border-style: dashed;
}

.coverage-communities__intro a {
  color: var(--color-accent);
}

/* ---------- Service template additions ---------- */

.process-closing--note {
  padding-left: 0.9rem;
  border-left: 3px solid var(--color-accent);
  font-size: 0.95rem;
}

.process-closing a {
  color: var(--color-accent);
  font-weight: 600;
}

/* ---------- Content pages (contact, legal, 404, error) ---------- */

.content-page {
  padding-top: calc(var(--header-height) + 2rem);
}

.content-page__inner {
  max-width: 44rem;
}

.content-page__inner .section__title {
  max-width: none;
}

/* Breadcrumb inside the content column (below the fixed header), aligned with the text */
.content-page__breadcrumbs {
  max-width: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.content-page__inner p,
.content-page__inner li,
.content-page__inner dd {
  color: var(--color-text-muted);
  line-height: 1.65;
}

.content-page__inner h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--color-text);
}

.content-page__inner ul {
  margin: 0 0 1.25rem;
  padding-left: 1.2rem;
}

.content-page__inner a {
  color: var(--color-accent);
}

.content-page__inner .hero__cta {
  color: var(--color-accent-ink);
}

.content-page__inner .hero__cta--secondary {
  color: var(--color-text);
}

.content-page__links {
  list-style: none;
  padding-left: 0 !important;
  columns: 2 14rem;
}

.content-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.content-page__meta {
  font-size: 0.85rem;
}

.contact-details {
  display: grid;
  gap: 0;
  margin: 0 0 1.5rem;
  border-top: 1px solid var(--color-border);
}

.contact-details__row {
  display: grid;
  gap: 0.15rem 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-details dt {
  font-weight: 600;
  color: var(--color-text);
}

.contact-details dd {
  margin: 0;
}

@media (min-width: 640px) {
  .contact-details__row { grid-template-columns: 11rem 1fr; }
}

.legal-draft-notice {
  margin: 0 0 1.75rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(255, 49, 48, 0.45);
  border-left-width: 4px;
  border-radius: var(--radius);
  background: rgba(255, 49, 48, 0.08);
  color: var(--color-text);
  line-height: 1.55;
}

/* ---------- Mobile call bar: number visible, larger tap target ---------- */

@media (max-width: 767.98px) {
  .mobile-call-bar__link {
    min-height: 3.75rem;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
  }

  .mobile-call-bar__icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}

/* =====================================================================
   Homepage hero (approved IN N OUT TOWING 403 truck + Calgary skyline imagery)
   Scoped to .home-hero: service-page heroes and the site palette are unchanged.
   Orange sampled from the truck livery (~#F8500A).
   Contrast: #FF5A14 on #050505 = 6.4:1; #050505 on #FF5A14 (CTA) = 6.4:1 (WCAG AA).
   ===================================================================== */

.home-hero {
  --home-hero-orange: #ff5a14;
  --home-hero-orange-hover: #ff7a40;
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-top: var(--header-height);
}

.home-hero__head,
.home-hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 40rem;
  padding-inline:
    max(var(--page-gutter), env(safe-area-inset-left, 0px))
    max(var(--page-gutter), env(safe-area-inset-right, 0px));
}

.home-hero__head {
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}

.home-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-hero-orange);
}

.home-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

.home-hero__title-line {
  display: block;
  font-size: clamp(3.25rem, 16vw, 4.5rem);
  line-height: 0.9;
  letter-spacing: 0.005em;
}

.home-hero__title-line--accent {
  color: var(--home-hero-orange);
}

.home-hero__title-sub {
  display: block;
  margin-top: 0.7rem;
  font-size: clamp(1.1rem, 4.6vw, 1.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.home-hero__media {
  position: relative;
  z-index: 1;
  display: block;
  /* Overlap the dark sky with the heading block; the top fade keeps text contrast */
  margin: -2.5rem 0 0;
}

.home-hero__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

/* Fade the image edges into the page so the stacked layout reads as one hero */
.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--color-bg) 0%, rgba(5, 5, 5, 0) 14%),
    linear-gradient(0deg, var(--color-bg) 0%, rgba(5, 5, 5, 0) 16%);
}

.home-hero__body {
  margin-top: -2.5rem;
  padding-bottom: 2.25rem;
}

.home-hero__copy {
  margin: 0 0 1.4rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #e6e6e6;
}

.home-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Buttons reuse the existing .hero__cta / .hero__cta--secondary components; homepage overrides only */
.home-hero__cta {
  gap: 0.55rem;
  min-height: 3.4rem;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.home-hero__cta--primary {
  color: #050505;
  background: var(--home-hero-orange);
  border-color: var(--home-hero-orange);
  box-shadow: 0 0.75rem 2rem rgba(255, 90, 20, 0.28);
}

.home-hero__cta--primary:hover,
.home-hero__cta--primary:focus-visible {
  color: #050505;
  background: var(--home-hero-orange-hover);
  border-color: var(--home-hero-orange-hover);
  text-decoration: none;
}

.home-hero .hero__cta--secondary {
  background: rgba(5, 5, 5, 0.35);
}

.home-hero .hero__cta--secondary:hover,
.home-hero .hero__cta--secondary:focus-visible {
  color: #ffffff;
  background: rgba(5, 5, 5, 0.35);
  border-color: var(--home-hero-orange);
}

.home-hero__cta:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.home-hero__cta-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

/* Mobile: the sticky call bar is the single call CTA, so the homepage hero button row is hidden.
   The copy's bottom margin is dropped and the body's bottom padding tightened so the copy
   closes the hero without an empty band where the buttons were. */
@media (max-width: 767.98px) {
  .site--home .home-hero__actions {
    display: none;
  }

  .site--home .home-hero__copy {
    margin-bottom: 0;
  }

  .site--home .home-hero__body {
    padding-bottom: 1.25rem;
  }
}

/* Tablet (stacked, 16:9 image) */
@media (min-width: 768px) {
  .home-hero__head,
  .home-hero__body {
    padding-inline: max(var(--page-gutter), calc((100% - var(--max-width)) / 2 + var(--page-gutter)));
    max-width: none;
  }

  .home-hero__head > *,
  .home-hero__body > * {
    max-width: 40rem;
  }

  .home-hero__head {
    padding-top: 2rem;
  }

  .home-hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .home-hero__cta {
    min-width: 15rem;
  }
}

/* Desktop: full-width cinematic hero, copy over the image's dark left side */
@media (min-width: 1200px) {
  .home-hero {
    --home-hero-inline: max(var(--page-gutter), calc((100% - 100rem) / 2 + var(--page-gutter)));
    --home-hero-copy: min(32rem, 34vw);
    grid-template-rows: 1fr auto auto 1.15fr;
    min-height: max(40rem, min(56.25vw, 100svh));
    padding-top: var(--header-height);
  }

  .home-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
  }

  .home-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Anchor right: truck, door logo and phone number are never cropped */
    object-position: 100% 50%;
  }

  .home-hero__media::after {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.72) 0%, rgba(5, 5, 5, 0.38) 26%, rgba(5, 5, 5, 0) 40%),
      linear-gradient(0deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0) 14%);
  }

  .home-hero__head,
  .home-hero__body {
    max-width: none;
    padding-inline: var(--home-hero-inline) 0;
  }

  .home-hero__head > *,
  .home-hero__body > * {
    max-width: var(--home-hero-copy);
  }

  .home-hero__head {
    grid-row: 2;
    padding-top: 0;
    padding-bottom: 1.25rem;
  }

  .home-hero__body {
    grid-row: 3;
    margin-top: 0;
    padding-bottom: 0;
  }

  .home-hero__eyebrow {
    font-size: 0.85rem;
  }

  .home-hero__title-line {
    font-size: clamp(5rem, 6.2vw, 7rem);
    line-height: 0.88;
  }

  .home-hero__title-sub {
    margin-top: 0.9rem;
    font-size: clamp(1.45rem, 1.7vw, 1.9rem);
  }

  .home-hero__copy {
    font-size: 1.08rem;
    color: #ededed;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  }

  .home-hero__cta {
    min-width: 0;
    padding-inline: 1.3rem;
    font-size: 1.05rem;
  }
}

/* =====================================================================
   Service image hero (.home-hero--service): reuses the homepage hero layout above,
   with the shared service CTA buttons and highlights. Homepage rules are untouched.
   ===================================================================== */

.home-hero--service .home-hero__title-line {
  font-size: clamp(2.75rem, 13vw, 4rem);
}

.home-hero--service .hero__actions {
  margin: 0;
}

/* Optional supporting line above the hero copy (a styled paragraph; the H1 stays the only heading) */
.home-hero__tagline {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--home-hero-orange);
}

.home-hero--service .hero__highlights {
  margin-top: 1.25rem;
}

/* Vehicle Lockout and Flat Tire Assistance (stacked layouts, below 1200px): the technician's boots
   (Lockout) and the spare wheel (Flat Tire) reach the bottom of the photo, so the copy block does not
   overlap the image as it does on the other service heroes. */
@media (max-width: 1199.98px) {
  .site--vehicle-lockout .home-hero--service .home-hero__body,
  .site--flat-tire-assistance .home-hero--service .home-hero__body {
    margin-top: 0;
    padding-top: 0.5rem;
  }

  /* Flat Tire: the Glenmore Trail sign starts at the top edge of the photo, so the photo does not
     slide up under the heading either. */
  .site--flat-tire-assistance .home-hero--service .home-hero__media {
    margin-top: 0;
  }
}

/* Below 768px the sticky mobile call bar is the single call CTA (matches the shared hero) */
@media (max-width: 767.98px) {
  .home-hero--service .hero__actions {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .home-hero--service .home-hero__title-line {
    font-size: clamp(4.25rem, 5.2vw, 6rem);
  }

  .home-hero--service .hero__highlights li {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  }

  .home-hero__tagline {
    font-size: clamp(1.35rem, 1.5vw, 1.6rem);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  }

  /* Roadside Assistance artwork: the motorist stands at ~36% of the frame, level with the paragraph,
     so only the paragraph is narrowed to stay inside the dark left text-safe area. The CTAs and
     highlights sit below the figures' feet and keep the standard width. */
  .site--roadside-assistance .home-hero--service .home-hero__copy {
    max-width: min(29rem, 30vw);
  }

  /* Long-Distance Towing and Winch-Out (full-bleed, like Accident Towing): each truck's front starts
     at ~38–40% of the frame. On very wide screens the centred 100rem container would push the copy
     onto it, so the copy's left inset is capped at 14vw (no effect below ~2190px). */
  .site--long-distance-towing .home-hero--service,
  .site--winch-out .home-hero--service {
    --home-hero-inline: max(var(--page-gutter), min(calc((100% - 100rem) / 2 + var(--page-gutter)), 14vw));
  }

  /* Battery Boost: keep the approved two-line title (BATTERY BOOST / CALGARY) at large title sizes;
     the heading sits over the dark sky, left of and below the Stoney Trail signs. */
  .site--battery-boost .home-hero--service .home-hero__head > * {
    max-width: min(36rem, 40vw);
  }

  /* Winch-Out: the image is shifted right by 6% of the hero width to give the truck more room from
     the copy (also when larger default font sizes make the hero taller than 16:9). The image's left
     side is dark sky, so the uncovered strip blends into the page; ~6% of its right edge is clipped. */
  .site--winch-out .home-hero--service .home-hero__media {
    left: 6%;
    right: -6%;
  }

  /* Flatbed Towing (full-bleed): the truck's front bumper starts at ~29% of the frame, so the copy
     column is narrower than the standard one and keeps the same relative inset at wide sizes. The
     eyebrow and heading sit over the skyline above the truck and may use the standard width. */
  .site--flatbed-towing .home-hero--service {
    --home-hero-copy: min(24rem, 25vw);
    --home-hero-inline: max(var(--page-gutter), min(calc((100% - 100rem) / 2 + var(--page-gutter)), 4vw));
  }

  .site--flatbed-towing .home-hero--service .home-hero__head > * {
    max-width: min(32rem, 34vw);
  }


  /* "LONG-DISTANCE" is wider than the copy column at large title sizes and would break at the hyphen.
     The heading block sits over the sky and mountains, above the truck, so it may be a little wider
     than the paragraph column. */
  .site--long-distance-towing .home-hero--service .home-hero__head > * {
    max-width: min(36rem, 40vw);
  }

  /* Flat Tire Assistance: the supporting line fits on one line in Barlow Condensed but wraps in the
     wider fallback font, so its height changed when the web font arrived (measured CLS 0.12 at
     1920px). Kept on one line. */
  .site--flat-tire-assistance .home-hero__tagline {
    white-space: nowrap;
  }

  /* Slightly wider left scrim: the copy block is longer than the homepage's and reaches the car's tail lights */
  .home-hero--service .home-hero__media::after {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.8) 0%, rgba(5, 5, 5, 0.5) 30%, rgba(5, 5, 5, 0) 46%),
      linear-gradient(0deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0) 14%);
  }
}
