/* =========================================================
   Sky Freightline Inc. — site styles
   Brand: orange (from logo) + charcoal
   ========================================================= */

:root {
  /* Brand */
  --brand: #EF4814;          /* logo orange — decorative fills, large text on dark */
  --brand-strong: #D93D0C;   /* buttons with white text (4.5:1) */
  --brand-deep: #C4380A;     /* quote panel, orange text on white (5.2:1) */
  --brand-glow: #FF7447;     /* small orange text on charcoal */

  /* Neutrals */
  --ink: #16181B;            /* charcoal — hero, data sheet, footer */
  --ink-2: #1E2125;
  --ink-3: #2A2E33;
  --text: #1A1C1F;
  --text-muted: #555B63;
  --on-dark: #FFFFFF;
  --on-dark-muted: #A9AFB7;
  --surface: #FFFFFF;
  --surface-alt: #F4F4F2;
  --line: #E3E4E6;
  --line-dark: rgba(255, 255, 255, 0.1);

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 16px;
  --section-y: 96px;
  --radius: 4px;
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 160ms;
  --dur: 280ms;
  --dur-slow: 700ms;

  /* Elevation */
  --shadow-card: 0 10px 30px rgba(10, 12, 14, 0.12);
  --shadow-hero: 0 40px 80px rgba(0, 0, 0, 0.45);

  /* Z-index scale */
  --z-base: 1;
  --z-raised: 10;
  --z-header: 100;
  --z-mobile-bar: 90;
  --z-skip: 1000;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  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: 16px; top: -60px;
  z-index: var(--z-skip);
  background: var(--brand-strong);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }

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

.icon {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand-strong);
  --btn-fg: #fff;
  --btn-bd: var(--brand-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bd);
  border-radius: var(--radius);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease,
    border-color var(--dur-fast) ease, transform var(--dur-fast) ease;
}
.btn:hover { --btn-bg: var(--brand-deep); --btn-bd: var(--brand-deep); }
.btn:active { transform: scale(0.98); }
.btn .icon { width: 18px; height: 18px; transition: transform var(--dur-fast) ease; }
.btn:hover .icon-arrow { transform: translateX(3px); }

.btn-ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.55);
}
.btn-ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

.btn-outline {
  --btn-bg: transparent;
  --btn-fg: var(--brand-deep);
  --btn-bd: var(--brand-deep);
}
.btn-outline:hover { --btn-bg: var(--brand-deep); --btn-fg: #fff; }

.btn-dark {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
}
.btn-dark:hover { --btn-bg: #000; --btn-bd: #000; }

.btn-white {
  --btn-bg: #fff;
  --btn-fg: var(--brand-deep);
  --btn-bd: #fff;
}
.btn-white:hover { --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink); }

/* ---------- Section headings ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-top: 10px;
  position: relative;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 3px;
  background: var(--brand);
}
.eyebrow-dark { color: #fff; }

.section-title {
  font-size: clamp(38px, 5.4vw, 60px);
  color: var(--text);
}

.section { padding-block: var(--section-y); }

@media (max-width: 767px) {
  :root { --section-y: 72px; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(22, 24, 27, 0.0);
  transition: background-color var(--dur) ease, box-shadow var(--dur) ease, height var(--dur) ease;
}
.site-header.is-scrolled {
  background: rgba(18, 20, 23, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--line-dark), 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  border-radius: var(--radius);
}
.brand img { height: 44px; width: auto; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 8px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn { min-height: 44px; padding: 10px 18px; font-size: 13px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-call { display: none; }

  .primary-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
    padding: 12px var(--gutter) 28px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s linear var(--dur);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  }
  .primary-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur) ease, transform var(--dur) var(--ease-out), visibility 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a {
    min-height: 56px;
    font-size: 16px;
    border-bottom: 1px solid var(--line-dark);
  }
  .nav-list a::after { display: none; }
  .site-header.menu-open { background: var(--ink); }
}

@media (max-width: 479px) {
  .brand img { height: 36px; }
  .header-actions .btn-quote { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 18% 30%, rgba(255, 255, 255, 0.07), transparent 70%),
    linear-gradient(180deg, #1B1E22 0%, var(--ink) 100%);
  color: #fff;
  padding-top: calc(var(--header-h) + 56px);
}

.hero-slash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--brand);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 46% 100%);
}
.hero-slash::after {
  /* subtle road-stripe texture on the orange */
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(0, 0, 0, 0.06) 0 2px, transparent 2px 22px);
}

.hero-copy {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero-kicker .icon { width: 16px; height: 16px; color: var(--brand-glow); }

.hero h1 {
  font-size: clamp(46px, 8.2vw, 104px);
  line-height: 0.94;
  letter-spacing: 0.01em;
}
.hero h1 .accent { color: #fff; }

.hero-sub {
  font-size: clamp(17px, 1.6vw, 19px);
  color: #D5D8DC;
  max-width: 640px;
  margin: 22px auto 30px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.hero-media {
  position: relative;
  max-width: 1000px;
  margin: 56px auto 0;
  padding-bottom: 48px;
}

.hero-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0f11 url("../assets/img/hero-poster.jpg") center / cover no-repeat;
  box-shadow: var(--shadow-hero);
  z-index: var(--z-raised);
}
.hero-video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-toggle {
  position: absolute;
  right: 14px; bottom: 14px;
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background-color var(--dur-fast) ease;
}
.video-toggle:hover { background: rgba(0, 0, 0, 0.8); }
.video-toggle .icon { width: 18px; height: 18px; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }

.hero-ring {
  position: absolute;
  left: -6%; right: -6%;
  bottom: 0;
  width: 112%;
  height: 120px;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.35);
}

/* Credentials strip (replaces the partner-logo strip in the reference) */
.hero-strip {
  position: relative;
  z-index: var(--z-raised);
  margin-top: 28px;
  border-top: 1px solid var(--line-dark);
  background: rgba(14, 16, 18, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.strip-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.strip-list li {
  padding: 22px 16px;
  text-align: center;
  border-left: 1px solid var(--line-dark);
}
.strip-list li:first-child { border-left: 0; }
.strip-value {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.strip-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

@media (max-width: 1023px) {
  .hero-slash { clip-path: polygon(78% 0, 100% 0, 100% 100%, 56% 100%); }
  .strip-list { grid-template-columns: repeat(3, 1fr); }
  .strip-list li:nth-child(4) { border-left: 0; }
  .strip-list li:nth-child(n + 4) { border-top: 1px solid var(--line-dark); }
}
@media (max-width: 599px) {
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-slash { clip-path: polygon(88% 0, 100% 0, 100% 100%, 64% 100%); }
  .hero-media { margin-top: 40px; padding-bottom: 28px; }
  .hero-ring { height: 70px; }
  .strip-list { grid-template-columns: repeat(2, 1fr); }
  .strip-list li { border-left: 0; border-top: 1px solid var(--line-dark); padding: 18px 10px; }
  .strip-list li:nth-child(1) { border-top: 0; }
  .strip-list li:nth-child(2) { border-top: 0; }
  .strip-list li:nth-child(even) { border-left: 1px solid var(--line-dark); }
  .strip-list li:last-child { grid-column: 1 / -1; border-left: 0; }
  .strip-value { font-size: 26px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-kicker { font-size: 12px; letter-spacing: 0.08em; padding: 7px 12px; }
  .kicker-city { display: none; }
}

/* ---------- About ---------- */
.about {
  position: relative;
  padding-block: calc(var(--section-y) + 24px);
  overflow: hidden;
}
.about-bar {
  position: absolute;
  top: 0; bottom: 0;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2 + 140px));
  width: 140px;
  background: var(--brand);
  z-index: 0;
}

.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-media {
  position: relative;
  aspect-ratio: 4 / 3.2;
  box-shadow: var(--shadow-card);
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  right: -24px;
  bottom: -28px;
  background: var(--ink);
  color: #fff;
  padding: 20px 26px;
  border-left: 4px solid var(--brand);
  box-shadow: var(--shadow-card);
}
.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 1;
}
.about-badge span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.about-copy p { color: var(--text-muted); max-width: 56ch; }
.about-copy .section-title { margin-bottom: 22px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 30px;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  color: var(--text);
}
.check-list .icon {
  width: 22px; height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--brand-strong);
  color: #fff;
  stroke-width: 3;
  margin-top: 2px;
}

@media (max-width: 899px) {
  .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .about-bar {
    left: 0; right: 0;
    width: auto;
    top: 0; bottom: auto;
    height: 260px;
  }
  .about-badge { right: 12px; bottom: -24px; }
}

/* ---------- Services ---------- */
.services { background: var(--surface-alt); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 72px;
  align-items: end;
  margin-bottom: 48px;
}
.section-head p { color: var(--text-muted); margin: 0 0 12px; max-width: 52ch; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  color: var(--brand-deep);
  text-decoration: none;
}
.text-link .icon { width: 18px; height: 18px; transition: transform var(--dur-fast) ease; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover .icon { transform: translateX(3px); }

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 380px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  outline-offset: -3px;
}
.service-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform var(--dur-slow) var(--ease-out);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 12, 14, 0.15) 0%, rgba(10, 12, 14, 0.35) 40%, rgba(10, 12, 14, 0.92) 100%);
  transition: background-color var(--dur) ease;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid var(--brand);
  opacity: 0;
  transition: opacity var(--dur) ease;
  pointer-events: none;
}
.service-card:hover::after,
.service-card:focus-visible::after { opacity: 1; }
.service-card:hover img,
.service-card:focus-visible img { transform: scale(1.06); }

.service-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 22px;
}
.service-num {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brand-glow);
  margin-bottom: 6px;
}
.service-card h3 {
  font-size: 30px;
  margin-bottom: 10px;
}
.service-card p {
  min-height: 6em; /* keeps titles aligned across the row */
  font-size: 15px;
  line-height: 1.5;
  color: #E3E5E8;
  margin: 0 0 14px;
}
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.service-cta .icon { width: 16px; height: 16px; color: var(--brand-glow); transition: transform var(--dur-fast) ease; }
.service-card:hover .service-cta .icon { transform: translateX(4px); }

@media (max-width: 1099px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 340px; }
  .service-card p { min-height: 0; }
}
@media (max-width: 539px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 320px; }
}

/* ---------- Carrier data sheet ---------- */
.datasheet { text-align: center; }
.datasheet .section-title {
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--brand);
  margin-bottom: 44px;
}

.sheet {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
  background: var(--ink-2);
  color: #fff;
  padding: 44px 48px 36px;
  text-align: left;
  box-shadow: var(--shadow-card);
}
.sheet h3 {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 12px;
  padding-bottom: 14px;
  position: relative;
}
.sheet h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 2px;
  background: var(--brand);
}
.sheet dl { margin: 0; }
.sheet-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}
.sheet-row:last-child { border-bottom: 0; }
.sheet dt { font-size: 15px; color: var(--on-dark-muted); }
.sheet dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.sheet dd a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
.sheet dd a:hover { color: var(--brand-glow); }

.sheet-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 767px) {
  .sheet { grid-template-columns: 1fr; padding: 32px 22px 20px; gap: 28px; }
  .sheet-actions .btn { flex: 1 1 100%; }
}

/* ---------- Coverage + Quote ---------- */
.coverage { background: var(--surface); padding-top: 24px; }

.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
}

.coverage-copy p { color: var(--text-muted); max-width: 48ch; }
.coverage-copy .section-title { margin-bottom: 18px; }

.map-wrap {
  position: relative;
  max-width: 460px;
  margin-top: 28px;
}
.map-svg { width: 100%; height: auto; overflow: visible; }
.map-svg .dots-south { fill: #DADBDE; }
.map-svg .dots-north { fill: var(--brand); }
.map-svg .hq-dot { fill: var(--ink); }
.map-svg .hq-ring { fill: #fff; stroke: var(--ink); stroke-width: 3; }
.map-svg .hq-pulse {
  fill: var(--ink);
  opacity: 0.35;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.4s var(--ease-out) infinite;
}
.map-svg .hq-label text {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.06em;
  fill: var(--ink);
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 8px;
  stroke-linejoin: round;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.45; }
  100% { transform: scale(2.6); opacity: 0; }
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.swatch-north { background: var(--brand); }
.swatch-south { background: #DADBDE; }
.swatch-hq { background: #fff; border: 3px solid var(--ink); }

/* Quote panel */
.quote-panel {
  background: var(--brand-deep);
  color: #fff;
  padding: 44px 44px 40px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.quote-panel h2 {
  font-size: clamp(34px, 4vw, 46px);
  margin-bottom: 8px;
}
.quote-panel .panel-sub { color: #FFE6DB; margin-bottom: 28px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.req { color: #FFE0D2; margin-left: 2px; }
.optional { font-weight: 500; color: #FFDCCD; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 10px 12px;
  transition: border-color var(--dur-fast) ease, background-color var(--dur-fast) ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 40px;
  cursor: pointer;
}
.field select option { color: var(--text); background: #fff; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.72); }
.field input[type="date"] { color-scheme: dark; }

.field input:hover,
.field select:hover,
.field textarea:hover { background: rgba(255, 255, 255, 0.12); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  border-bottom-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-bottom-color: #FFF3A6; }

.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.field-error .icon { width: 16px; height: 16px; color: #FFF3A6; }
.field.has-error .field-error { display: inline-flex; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
.form-note { font-size: 14px; color: #FFE6DB; margin: 0; }
.form-note a { color: #fff; font-weight: 700; }

.btn[aria-busy="true"] { pointer-events: none; opacity: 0.85; }
.spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] .icon-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: rgba(0, 0, 0, 0.28); }
.form-status a { color: #fff; }

.form-success {
  display: none;
  text-align: center;
  padding: 36px 8px 12px;
}
.form-success.is-visible { display: block; }
.success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-deep);
  display: grid;
  place-items: center;
}
.success-icon .icon { width: 32px; height: 32px; stroke-width: 3; }
.form-success h3 { font-size: 36px; margin-bottom: 10px; }
.form-success p { color: #FFE6DB; max-width: 40ch; margin-inline: auto; }

@media (max-width: 959px) {
  .coverage-grid { grid-template-columns: 1fr; gap: 48px; }
  .map-wrap { max-width: 400px; }
}
@media (max-width: 599px) {
  .quote-panel { padding: 32px 20px 28px; margin-inline: calc(var(--gutter) * -1); }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brand);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  clip-path: polygon(0 0, 62% 0, 54% 100%, 0 100%);
}
.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-block: 48px;
}
.cta-band h2 { font-size: clamp(32px, 4vw, 48px); }
.cta-band p { margin: 6px 0 0; color: #D5D8DC; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 899px) {
  .cta-band::before { clip-path: polygon(0 0, 100% 0, 100% 58%, 0 72%); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 599px) {
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-top: 72px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  color: var(--on-dark-muted);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
  overflow-wrap: anywhere;
}
.footer-col a:hover { color: #fff; }
.footer-col .icon { width: 18px; height: 18px; color: var(--brand-glow); }
.footer-col .plain { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
}
.footer-ids { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-ids span strong { color: #fff; font-weight: 600; }

@media (max-width: 959px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 539px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  display: none;
}
@media (max-width: 767px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: var(--z-mobile-bar);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(18, 20, 23, 0.96);
    border-top: 1px solid var(--line-dark);
  }
  .mobile-bar .btn { min-height: 48px; padding: 10px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .map-svg .hq-pulse { display: none; }
}
