/* =========================================================
   En Route Hauling — styles
   Plain CSS, mobile-first. Colors live in :root below.
   ========================================================= */

:root {
  --navy-950: #081528;
  --navy-900: #0b1b33;
  --navy-800: #11284a;
  --navy-700: #1b3a66;
  --navy-600: #2b5088;
  --navy-100: #e7edf6;

  --amber-500: #f2a93b;
  --amber-400: #f6bb5c;
  --amber-700: #9a5b00;
  --amber-100: #fdf0da;

  --ink: #17212f;
  --muted: #566376;
  --on-dark: #e6ecf5;
  --on-dark-muted: rgba(230, 236, 245, 0.8);
  --line: #e2ded5;
  --field-border: #7d889a;
  --bg: #ffffff;
  --bg-alt: #f7f5f0;
  --danger: #b42318;

  --focus: var(--navy-600);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 27, 51, 0.06), 0 8px 24px rgba(11, 27, 51, 0.08);
  --header-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy-900);
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--navy-700);
}

a:hover {
  color: var(--navy-900);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

/* Keeps a phrase on one line (e.g. "San Diego", "clean-out") */
.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--amber-500);
  color: var(--navy-900);
  font-weight: 700;
  text-decoration: none;
}

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

.container {
  width: min(100% - 2.5rem, 1140px);
  margin-inline: auto;
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-lg {
  min-height: 54px;
  padding: 0.875rem 1.5rem;
  font-size: 1.0625rem;
}

.btn-sm {
  min-height: 42px;
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

.btn-block {
  width: 100%;
}

.btn-accent,
.btn-accent:hover {
  color: var(--navy-900);
}

.btn-accent {
  background: var(--amber-500);
}

.btn-accent:hover {
  background: var(--amber-400);
}

.btn-navy,
.btn-navy:hover {
  color: #fff;
}

.btn-navy {
  background: var(--navy-800);
}

.btn-navy:hover {
  background: var(--navy-700);
}

.btn-outline {
  border-color: var(--navy-800);
  color: var(--navy-800);
}

.btn-outline:hover {
  background: var(--navy-800);
  color: #fff;
}

/* For dark backgrounds */
.btn-ghost,
.btn-ghost:hover {
  color: #fff;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Header & navigation ---------- */

.site-header {
  --focus: var(--amber-500);
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  color: #fff;
  text-decoration: none;
}

.logo:hover {
  color: #fff;
}

.logo-mark {
  width: 48px;
  height: 48px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo-sub {
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber-500);
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav ul {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-nav ul a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--amber-500);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

@media (max-width: 859.98px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav ul a {
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.0625rem;
  }

  .header-call {
    min-height: 50px;
  }

  /* With JS: collapse the nav behind a menu button */
  .js .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-right: -0.625rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .nav-toggle .icon {
    width: 28px;
    height: 28px;
  }

  .nav-toggle .icon-close,
  .nav-toggle[aria-expanded="true"] .icon-menu {
    display: none;
  }

  .nav-toggle[aria-expanded="true"] .icon-close {
    display: block;
  }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 0.25rem 1.25rem 1.25rem;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  }

  .js .site-nav:not(.is-open) {
    display: none;
  }
}

/* ---------- Photo placeholders ---------- */

/* Drop an <img> into any .photo (replacing .photo-placeholder) and it fills the frame. */
.photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-100);
}

.photo > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.photo > img {
  object-fit: cover;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 1rem;
  border: 2px dashed #b9c3d2;
  border-radius: inherit;
  background: repeating-linear-gradient(-45deg, #eef2f8 0 12px, #e6ebf3 12px 24px);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.photo-placeholder .icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.25rem;
  stroke-width: 1.5;
}

.photo-placeholder small {
  font-size: 0.8125rem;
  font-weight: 500;
}

.photo--hero {
  background: var(--navy-700);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.photo--hero .photo-placeholder {
  border-color: rgba(255, 255, 255, 0.25);
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.07) 0 12px, rgba(255, 255, 255, 0.03) 12px 24px);
  color: var(--on-dark-muted);
  font-size: 1rem;
}

/* ---------- Hero ---------- */

.hero {
  --focus: var(--amber-500);
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(3.5rem, 9vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(43, 80, 136, 0.55), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--on-dark);
}

.hero-grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  align-items: center;
}

.hero .eyebrow {
  color: var(--amber-400);
}

.hero h1 {
  margin-bottom: 0.2em;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.hero-tagline {
  margin-bottom: 1rem;
  font-size: clamp(1.125rem, 2.6vw, 1.375rem);
  font-weight: 600;
  color: var(--amber-500);
}

.hero-lede {
  max-width: 34em;
  margin-bottom: 1.75rem;
  font-size: 1.0625rem;
  color: var(--on-dark-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-points {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--on-dark);
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-points .icon {
  width: 1.1em;
  height: 1.1em;
  stroke-width: 3;
  color: var(--amber-500);
}

/* Lane-marking stripe along the bottom of the hero */
.road-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--amber-500) 0 36px, transparent 36px 64px);
}

@media (max-width: 479.98px) {
  .hero-actions .btn {
    flex: 1 1 100%;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}

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

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section h2 {
  font-size: clamp(1.875rem, 4.5vw, 2.625rem);
  font-weight: 800;
}

.section-lede {
  margin: 0;
  font-size: 1.125rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-700);
}

/* Small dashed "route" mark before each eyebrow */
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--amber-500) 0 8px, transparent 8px 12px);
}

/* ---------- Services ---------- */

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

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.photo--card {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.photo--card .photo-placeholder {
  border-width: 0 0 2px;
}

.service-body {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2.5rem 1.5rem 1.5rem;
}

.service-icon {
  position: absolute;
  top: -1.75rem;
  left: 1.5rem;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 12px;
  background: var(--amber-500);
  color: var(--navy-900);
  box-shadow: 0 6px 16px rgba(11, 27, 51, 0.18);
}

.service-icon .icon {
  width: 1.75rem;
  height: 1.75rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

/* "More about ..." link to the service's own page, pinned to the card bottom */
.service-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.service-link:hover {
  text-decoration: underline;
}

.service-link .icon {
  width: 1.1em;
  height: 1.1em;
}

@media (min-width: 760px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- How it works ---------- */

.steps {
  --gap: 2rem;
  display: grid;
  gap: var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  column-gap: 1.25rem;
  align-items: start;
}

.step-num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-size: 1.375rem;
  font-weight: 800;
}

.step:last-child .step-num {
  background: var(--amber-500);
  color: var(--navy-900);
}

.step-body h3 {
  margin: 0.875rem 0 0.375rem;
  font-size: 1.25rem;
}

.step-body p {
  margin: 0;
  color: var(--muted);
}

/* Dashed route line connecting the steps (vertical on phones) */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(3.5rem + 8px);
  bottom: calc(8px - var(--gap));
  left: calc(1.75rem - 1.5px);
  width: 3px;
  background: repeating-linear-gradient(180deg, var(--amber-500) 0 8px, transparent 8px 14px);
}

.steps-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.steps-cta p {
  margin: 0 auto 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-900);
}

@media (max-width: 559.98px) {
  .steps-cta p {
    flex-basis: 100%;
  }

  .steps-cta .btn {
    flex: 1 1 100%;
  }
}

@media (min-width: 800px) {
  .steps {
    --gap: 2.5rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .step {
    display: block;
  }

  .step-body h3 {
    margin-top: 1.25rem;
  }

  /* Horizontal on wider screens */
  .step:not(:last-child)::after {
    top: calc(1.75rem - 1.5px);
    bottom: auto;
    left: calc(3.5rem + 12px);
    right: calc(12px - var(--gap));
    width: auto;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--amber-500) 0 12px, transparent 12px 20px);
  }
}

/* ---------- Service area ---------- */

.area-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.area-copy p {
  font-size: 1.0625rem;
  color: var(--muted);
}

.area-copy .btn {
  margin-top: 0.5rem;
}

.area-card {
  --focus: var(--amber-500);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--radius);
  background: var(--navy-900);
  box-shadow: var(--shadow);
  color: var(--on-dark);
}

.area-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  color: #fff;
}

.area-card h3 .icon {
  color: var(--amber-500);
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.area-list li {
  padding: 0.4rem 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9375rem;
  font-weight: 600;
}

.area-list .is-home {
  border-color: var(--amber-500);
  background: var(--amber-500);
  color: var(--navy-900);
}

.area-list .is-home span {
  font-weight: 500;
}

.area-note {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--on-dark-muted);
}

@media (min-width: 900px) {
  .area-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
  }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-info > p {
  font-size: 1.0625rem;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

a.contact-item:hover {
  border-color: var(--navy-600);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: var(--navy-100);
  color: var(--navy-800);
}

.contact-text {
  min-width: 0;
}

.contact-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value {
  display: block;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-900);
  overflow-wrap: anywhere;
}

.form-card {
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-title {
  margin-bottom: 0.25rem;
  font-size: 1.375rem;
}

.form-intro {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  margin-bottom: 0.375rem;
  font-weight: 700;
  color: var(--navy-900);
}

.field input[type="text"],
.field input[type="tel"],
.field textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1.5px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem; /* 16px+ stops iOS from zooming in on focus */
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid transparent; /* keeps a visible ring in Windows high-contrast mode */
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(43, 80, 136, 0.3);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--danger);
}

.hint {
  margin: 0.375rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-photo-note {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 1.5rem;
  padding: 0.875rem 1rem;
  border: 1.5px dashed var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-size: 0.9375rem;
}

.form-photo-note .icon {
  margin-top: 0.0625rem;
  color: var(--navy-700);
}

.form-photo-note a {
  font-weight: 700;
}

.quote-form .btn:disabled {
  opacity: 0.7;
  cursor: progress;
}

.form-status:not(:empty) {
  margin-top: 1.25rem;
  padding: 1rem 1.125rem;
  border: 1px solid #f0cf94;
  border-radius: var(--radius-sm);
  background: var(--amber-100);
}

.form-status p {
  margin: 0;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: start;
  }
}

/* ---------- Service pages ---------- */

.hero--page {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 4.5rem);
}

.hero--page h1 {
  max-width: 18em;
  margin-bottom: 0.5em;
  font-size: clamp(2.125rem, 5.5vw, 3.25rem);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}

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

.breadcrumb a {
  color: var(--on-dark);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.page-grid {
  display: grid;
  gap: 2.5rem;
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  font-size: 1.0625rem;
}

.check-list {
  display: grid;
  gap: 0.625rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: 1.0625rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-list .icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.05em;
  padding: 0.3rem;
  border-radius: 50%;
  background: var(--amber-100);
  color: var(--amber-700);
  stroke-width: 3.5;
}

/* Contact card next to the page content (below it on phones) */
.quote-card {
  --focus: var(--amber-500);
  padding: clamp(1.5rem, 4vw, 2rem);
  border-radius: var(--radius);
  background: var(--navy-900);
  box-shadow: var(--shadow);
  color: var(--on-dark);
}

.quote-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: #fff;
}

.quote-card p {
  color: var(--on-dark-muted);
}

.quote-actions {
  display: grid;
  gap: 0.75rem;
}

.quote-facts {
  display: grid;
  gap: 0.625rem;
  margin: 1.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  list-style: none;
  font-size: 0.9375rem;
}

.quote-facts li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.quote-facts .icon {
  color: var(--amber-500);
}

.quote-facts a {
  color: #fff;
  font-weight: 600;
  overflow-wrap: anywhere;
}

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

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--amber-700);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq details p {
  margin: 0;
  padding: 0 1.25rem 1.125rem;
  color: var(--muted);
}

.related-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.related-card:hover {
  border-color: var(--navy-600);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.related-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: var(--amber-500);
  color: var(--navy-900);
}

.related-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.125rem;
  color: var(--navy-900);
}

.related-desc {
  display: block;
  font-size: 0.9375rem;
  color: var(--muted);
}

@media (min-width: 700px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .page-grid {
    grid-template-columns: minmax(0, 1fr) 21rem;
    gap: 4rem;
    align-items: start;
  }

  .quote-card {
    position: sticky;
    top: calc(var(--header-h) + 1.5rem);
  }
}

/* ---------- Footer ---------- */

.site-footer {
  --focus: var(--amber-500);
  padding: 2.5rem 0;
  background: var(--navy-950);
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-brand p {
  margin: 0.875rem 0 0;
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-400);
}

.footer-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.footer-list a:hover {
  color: var(--amber-400);
  text-decoration: underline;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}

@media (min-width: 760px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    align-items: start;
  }
}

/* ---------- Sticky mobile call bar ---------- */

.mobile-cta {
  display: none;
}

@media (max-width: 767.98px) {
  .mobile-cta {
    --focus: var(--amber-500);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 27, 51, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, visibility 0s;
  }

  .mobile-cta .btn {
    min-height: 50px;
  }

  /* With JS, the bar slides in once the hero buttons scroll away */
  .js .mobile-cta:not(.is-visible) {
    visibility: hidden;
    transform: translateY(110%);
    transition: transform 0.2s ease, visibility 0s linear 0.2s;
  }

  /* Keep the footer clear of the bar */
  .site-footer {
    padding-bottom: calc(2.5rem + 72px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
