/* ==========================================================================
   PJX Logistics — shared styles
   Mobile-first. Breakpoints: 560px, 768px, 1024px. Max content width 1200px.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* Brand (from the original coming-soon page) */
  --navy: #023167;
  --blue: #0f5394;
  --orange: #ff8418; /* decoration and button fills only, never text on white */
  --text: #023167;
  --muted: #4a5b75;
  --bg: #ffffff;

  /* Supporting */
  --surface: #f3f6fb;
  --surface-2: #e8eff8;
  --line: #d6e0ec;
  --navy-deep: #01244c;
  --on-dark: #ffffff;
  --on-dark-muted: #c9d4e6;

  /* Type */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  --fs-lg: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem);
  --fs-xl: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --fs-2xl: clamp(2.1rem, 1.6rem + 2.6vw, 3.6rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);

  /* Shape */
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(2, 49, 103, 0.08), 0 1px 3px rgba(2, 49, 103, 0.06);
  --shadow: 0 6px 20px rgba(2, 49, 103, 0.10);
  --shadow-lg: 0 16px 40px rgba(2, 49, 103, 0.14);

  --maxw: 1200px;
  --header-h: 72px;
  --focus: 0 0 0 3px var(--bg), 0 0 0 6px var(--blue);
}

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

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

main { flex: 1; }
main:focus { outline: none; }

h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  line-height: 1.2;
  color: var(--navy);
  font-weight: 800;
  text-wrap: balance;
  overflow-wrap: break-word; /* long words like "Thiruvananthapuram" on 320px screens */
}

h1 { font-size: var(--fs-2xl); letter-spacing: -0.01em; }
h2 { font-size: var(--fs-xl); }
h3 { font-size: var(--fs-lg); font-weight: 700; }

p, ul, ol, dl, figure { margin: 0 0 var(--space-4); }

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

a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 2px;
}

.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;
}

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

.lead { font-size: var(--fs-md); color: var(--muted); max-width: 42rem; }
.muted { color: var(--muted); }

/* ---- Skip link --------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--navy);
  color: var(--on-dark);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); color: var(--on-dark); }

/* ---- Header ------------------------------------------------------------ */
.top-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 68%, var(--orange) 68%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
  border-bottom-color: var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--navy);
}
.brand:hover { color: var(--navy); }

.brand-mark { width: 64px; flex: none; }

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  padding-left: var(--space-3);
  border-left: 2px solid var(--navy);
}
.brand-name { white-space: nowrap; }
.brand-name strong { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.01em; }
.brand-name span {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  padding-top: 2px;
  margin-top: 3px;
  border-top: 2px solid var(--orange);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  font: inherit;
  font-weight: 700;
  color: var(--navy);
  background: transparent;
  border: 2px solid var(--navy);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before,
.nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav panel. Without JS (.no-js) the toggle is hidden and the links are always shown. */
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.js .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: var(--space-3) var(--gutter) var(--space-5);
}
.js .site-nav.is-open { display: block; }

.no-js .nav-toggle { display: none; }
.no-js .header-inner { flex-wrap: wrap; padding-block: var(--space-3); }
.no-js .site-nav ul { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; }

.site-nav a {
  display: block;
  padding: var(--space-3) var(--space-2);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.site-nav a:hover { color: var(--blue); }
.site-nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 3px 0 0 var(--orange); padding-left: var(--space-4); }

.site-nav .nav-cta { margin-top: var(--space-4); }
.site-nav .nav-cta a { border: 0; display: inline-flex; padding: 0.7rem 1.3rem; }
.site-nav .nav-cta a[aria-current="page"] { box-shadow: none; padding-left: 1.3rem; }

@media (max-width: 399px) {
  .header-inner .brand { gap: var(--space-2); }
  .header-inner .brand-mark { width: 50px; }
  .header-inner .brand-name { padding-left: var(--space-2); }
  .header-inner .brand-name strong { font-size: 0.92rem; }
  .header-inner .brand-name span { font-size: 0.55rem; }
  .nav-toggle { padding: var(--space-2); }
}

@media (min-width: 768px) {
  .nav-toggle { display: none; }

  .js .site-nav {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-nav ul { display: flex; align-items: center; gap: var(--space-1); }
  .site-nav a { padding: var(--space-2) var(--space-3); border: 0; position: relative; }
  .site-nav a[aria-current="page"] { box-shadow: none; padding-left: var(--space-3); }
  .site-nav li:not(.nav-cta) a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: var(--space-3);
    right: var(--space-3);
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    background: var(--orange);
  }
  .site-nav .nav-cta { margin: 0 0 0 var(--space-3); }
}

@media (min-width: 1024px) {
  .brand-mark { width: 72px; }
  .brand-name strong { font-size: 1.15rem; }
  .site-nav ul { gap: var(--space-2); }
}

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

.btn--primary { background: var(--orange); color: var(--navy); border-color: var(--orange); }
.btn--primary:hover { background: #ff9a40; border-color: #ff9a40; color: var(--navy); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--on-dark); }

.btn--on-dark { background: transparent; color: var(--on-dark); border-color: var(--on-dark); }
.btn--on-dark:hover { background: var(--on-dark); color: var(--navy); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---- Sections ---------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--surface); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }

.section-head { margin-bottom: var(--space-7); max-width: 46rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
}
.section-head--center .eyebrow { justify-content: center; }

/* ---- Home hero --------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem);
  background:
    radial-gradient(circle at 85% 20%, var(--surface-2) 0, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
}

.hero-grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

.hero h1 { margin-bottom: var(--space-3); }

.hero-tagline {
  display: inline-block;
  margin: 0 0 var(--space-5);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--blue);
  padding-bottom: var(--space-2);
  border-bottom: 3px solid var(--orange);
}

.hero .lead { margin-bottom: var(--space-6); }

.hero-art { max-width: 560px; margin: 0 auto; width: 100%; }

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

/* ---- Inner page banner -------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.75rem + 3.5vw, 4.5rem);
  background: var(--navy);
  color: var(--on-dark);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -3rem;
  width: 9rem;
  height: 100%;
  background: var(--orange);
  transform: skewX(-35deg);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--on-dark); margin-bottom: var(--space-3); }
.page-hero .lead { color: var(--on-dark-muted); margin: 0; }
.page-hero .eyebrow { color: var(--on-dark-muted); }

.page-hero .breadcrumb {
  margin: 0 0 var(--space-3);
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}
.page-hero .breadcrumb a { color: var(--on-dark); }
.page-hero .breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; margin: 0; }
.page-hero .breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); color: var(--orange); }

/* The skewed slash grows with the banner height, so on narrow screens swap it for a border */
@media (max-width: 767px) {
  .page-hero { border-bottom: 5px solid var(--orange); }
  .page-hero::after { display: none; }
}

/* ---- Route divider (dashed route + truck motif) ------------------------- */
.route {
  width: min(360px, 80%);
  margin-inline: auto;
}
.route--hero { margin: var(--space-6) 0 0; width: min(320px, 100%); }
.route .truck { animation: drive 5s ease-in-out infinite alternate; }

@keyframes drive {
  from { transform: translateX(0); }
  to { transform: translateX(260px); }
}

@media (prefers-reduced-motion: reduce) {
  .route .truck { animation: none; transform: translateX(130px); }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---- Service cards ----------------------------------------------------- */
.card-grid {
  display: grid;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 560px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-6) var(--space-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: -1px; left: var(--space-5);
  width: 48px; height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--orange);
}
.service-card:hover,
.service-card:focus-within { box-shadow: var(--shadow); border-color: #b9c9de; transform: translateY(-2px); }

.service-card .icon { width: 56px; height: 56px; margin-bottom: var(--space-4); }
.service-card h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.service-card p { color: var(--muted); flex: 1; }

.card-link {
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}
.card-link:hover { color: var(--navy); text-decoration: underline; }
/* Make the whole card clickable while keeping one link in the tab order */
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card-link:focus-visible { outline: none; }
.card-link:focus-visible::after { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---- Features ---------------------------------------------------------- */
.feature-grid {
  display: grid;
  gap: var(--space-6) var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 560px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feature-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.feature { display: flex; gap: var(--space-4); align-items: flex-start; }
.feature .icon {
  flex: none;
  width: 52px; height: 52px;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.section--alt .feature .icon { background: var(--bg); }
.feature h3 { font-size: 1.1rem; margin-bottom: var(--space-1); }
.feature p { color: var(--muted); margin: 0; }

@media (min-width: 1024px) {
  .feature-grid--4 .feature { flex-direction: column; }
}

/* ---- Split / two-column blocks ----------------------------------------- */
.split {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}
.split > * { min-width: 0; }
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

/* A feature list inside half a split only has room for two columns on wide screens */
.split .feature-grid { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .split .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

.panel-art {
  padding: var(--space-5);
  background: var(--surface-2);
  border-radius: var(--radius-lg);
}

/* ---- Coverage / facts -------------------------------------------------- */
.fact-list {
  display: grid;
  gap: var(--space-4);
  list-style: none;
  padding: 0;
  margin: var(--space-5) 0 0;
}
.fact-list li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}
.fact-list li::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 132, 24, 0.2);
}

.stat-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: var(--space-6) 0 0;
}
.stat {
  padding: var(--space-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stat dt { font-size: var(--fs-sm); color: var(--muted); }
.stat dd { margin: 0; font-size: var(--fs-xl); font-weight: 800; color: var(--navy); order: -1; }
.stat { display: flex; flex-direction: column; }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
  background: var(--navy);
  color: var(--on-dark);
}
.cta-band::before {
  content: "";
  position: absolute;
  left: -3rem; top: 0;
  width: 8rem; height: 100%;
  background: var(--orange);
  transform: skewX(-35deg);
  opacity: 0.95;
}
.cta-band .container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.cta-band h2 { color: var(--on-dark); margin: 0 0 var(--space-2); }
.cta-band p { color: var(--on-dark-muted); margin: 0; max-width: 36rem; }

@media (max-width: 767px) {
  .cta-band { border-top: 5px solid var(--orange); }
  .cta-band::before { display: none; }
}
@media (min-width: 768px) {
  .cta-band .container { padding-left: calc(var(--gutter) + 5rem); }
}

/* ---- Services page ----------------------------------------------------- */
.jump-links {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.jump-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  margin: 0;
  padding: var(--space-4) 0;
}
.jump-links a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.jump-links a:hover { border-color: var(--navy); }
.jump-links img { width: 22px; height: 22px; }

.service-detail { padding-block: var(--section-y); border-bottom: 1px solid var(--line); }
.service-detail--alt { background: var(--surface); }
.service-detail h2 { display: flex; align-items: center; gap: var(--space-3); }
.service-detail h2 img { width: 44px; height: 44px; flex: none; }

@media (min-width: 768px) {
  .service-detail--alt .split > :first-child { order: 2; }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: grid;
  gap: var(--space-2);
}
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 1.2rem; height: 1.2rem;
  border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23ff8418' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.list-heading { font-size: 1.05rem; margin-bottom: var(--space-3); }

/* ---- About page -------------------------------------------------------- */
.prose { max-width: 44rem; }
.prose p { color: var(--muted); }
.prose p:first-of-type { font-size: var(--fs-md); color: var(--text); }

.value-grid {
  display: grid;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 560px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }

.value {
  padding: var(--space-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
}
.value h3 { font-size: 1.1rem; margin-bottom: var(--space-2); }
.value p { color: var(--muted); margin: 0; }

.mission {
  margin: 0 0 var(--space-7);
  padding: var(--space-6);
  background: var(--navy);
  color: var(--on-dark);
  border-radius: var(--radius-lg);
  border-left: 8px solid var(--orange);
}
.mission h2 { color: var(--on-dark); font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.mission p { margin: 0; font-size: var(--fs-md); color: var(--on-dark-muted); }

/* ---- Contact page ------------------------------------------------------ */
.contact-methods {
  display: grid;
  gap: var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 768px) { .contact-methods { grid-template-columns: repeat(3, 1fr); } }

.contact-method {
  position: relative;
  padding: var(--space-6) var(--space-5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-method .icon { width: 48px; height: 48px; margin-bottom: var(--space-3); }
.contact-method h2 { font-size: 1.1rem; margin-bottom: var(--space-2); }
.contact-method p { margin: 0 0 var(--space-1); }
.contact-method a {
  font-size: var(--fs-md);
  font-weight: 800;
  color: var(--navy);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
}
.contact-method a:hover { color: var(--blue); }

.quote-help {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-7);
  padding: var(--space-6) var(--space-5);
  background: var(--surface);
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) { .quote-help { padding: var(--space-7) var(--space-6); } }
@media (min-width: 1024px) { .quote-help { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.quote-help > * { min-width: 0; }
.quote-help h2 { font-size: var(--fs-lg); margin-bottom: var(--space-2); }
.quote-help p { color: var(--muted); }

.office {
  padding: var(--space-5);
  background: var(--bg);
  border-radius: var(--radius);
}
.office h2 { font-size: 1.1rem; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-5); }
.contact-list li { display: flex; gap: var(--space-4); align-items: flex-start; }
.contact-list .icon {
  flex: none;
  width: 44px; height: 44px;
  padding: 10px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-list .label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a {
  font-weight: 700;
  color: var(--navy);
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
}
.contact-list a:hover { color: var(--blue); }
.contact-list p { margin: 0; }

.map {
  margin-top: var(--space-7);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
  height: 320px;
}
@media (min-width: 768px) {
  .map { height: auto; aspect-ratio: 16 / 7; }
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---- Simple centred pages (404) ---------------------------------------- */
.message-page {
  padding-block: var(--section-y);
  text-align: center;
}
.message-page .art { width: min(420px, 100%); margin: 0 auto var(--space-6); }
.message-page .lead { margin-inline: auto; margin-bottom: var(--space-6); }
.message-page .btn-row { justify-content: center; }

.link-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  list-style: none;
  padding: 0;
  margin: var(--space-6) 0 0;
}
.link-list a { font-weight: 600; }

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--on-dark-muted);
  padding-top: var(--space-8);
}
.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  right: -2.5rem;
  width: 6rem;
  height: 100%;
  background: var(--orange);
  transform: skewX(-35deg);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-6);
  padding-right: 3rem;
}
@media (min-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.5fr 0.8fr 1fr 1.3fr; padding-right: 5rem; }
}

.footer-brand .brand { color: var(--on-dark); }
.footer-brand .brand-name { border-left-color: var(--on-dark); }
.footer-brand .brand-mark { width: 64px; }
.footer-brand p { margin-top: var(--space-4); max-width: 22rem; }
.footer-tagline { color: var(--on-dark); font-weight: 600; }

.site-footer h2 {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: var(--space-4);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); text-decoration: underline; text-decoration-color: var(--orange); }
.site-footer :focus-visible { outline-color: var(--orange); }

.footer-contact a { color: var(--on-dark); font-weight: 600; overflow-wrap: anywhere; }

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: var(--space-7);
  padding-block: var(--space-5);
  padding-right: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: var(--fs-sm);
}
.footer-bottom p { margin: 0; }

@media (max-width: 559px) {
  .site-footer { border-top: 4px solid var(--orange); }
  .site-footer::after { display: none; }
  .footer-grid, .footer-bottom { padding-right: 0; }
}

/* ---- Print ------------------------------------------------------------- */
@media print {
  .site-header, .skip-link, .cta-band, .map, .nav-toggle, .route { display: none !important; }
  .site-footer { background: none; color: #000; }
  .site-footer::after, .page-hero::after { display: none; }
  .page-hero { background: none; color: #000; }
  .page-hero h1 { color: #000; }
}
