/* ==========================================================================
   A to Z Shipping — Design tokens
   ========================================================================== */

:root {
  /* Color — extracted from the official logo */
  --color-primary-700: #00588F;
  --color-primary-600: #0070C2;
  --color-primary-500: #2E8AD1;
  --color-primary-100: #E3F0FA;
  --color-primary-50:  #F2F8FD;

  --color-secondary-900: #011F38;
  --color-secondary-800: #012F53;
  --color-secondary-700: #023A66;
  --color-secondary-100: #E1E9EE;

  --color-highlight-500: #4FA6E0;
  --color-highlight-100: #EAF5FC;

  /* Client-specified exact brand blues — used for footer nav and new
     secondary-page accents going forward, alongside the existing
     logo-derived palette above (kept as-is for approved buttons/CTAs). */
  --color-brand-primary: #0059A8;
  --color-brand-light:   #6FAEE8;

  --color-neutral-0:   #FFFFFF;
  --color-neutral-50:  #F5F7F8;
  --color-neutral-100: #E9ECEE;
  --color-neutral-300: #C9CFD3;
  --color-neutral-500: #71787D;
  --color-neutral-700: #42474B;
  --color-neutral-900: #1D1D1D;

  --color-error-600: #B3402C;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing — 8px grid */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(1, 31, 56, 0.10);
  --shadow-md: 0 4px 12px rgba(1, 31, 56, 0.14);
  --shadow-lg: 0 12px 32px rgba(1, 31, 56, 0.18);

  /* Layout */
  --container-max: 1320px;
  --header-height: 128px;
  --header-height-mobile: 92px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

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

html { scroll-behavior: smooth; }

@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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-neutral-900);
  background: var(--color-neutral-0);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

.sr-only {
  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;
  top: -48px;
  left: var(--space-3);
  background: var(--color-secondary-900);
  color: var(--color-neutral-0);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 150ms var(--ease-out);
}
.skip-link:focus {
  top: var(--space-3);
}

:focus-visible {
  outline: 2px solid var(--color-primary-600);
  outline-offset: 2px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out), border-color 150ms var(--ease-out), transform 150ms var(--ease-out);
}
.icon-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 150ms var(--ease-out);
}
.btn:hover .icon-arrow,
.btn:focus-visible .icon-arrow { transform: translateX(2px); }

.btn-primary {
  background: var(--color-primary-600);
  color: var(--color-neutral-0);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-700);
  box-shadow: var(--shadow-sm);
}

.btn-block { width: 100%; }

.icon-whatsapp-sm { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* ==========================================================================
   Section signature device — eyebrow + rule
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 var(--space-3);
  color: var(--color-primary-600);
}
.eyebrow-on-dark { color: rgba(255, 255, 255, 0.85); }

.eyebrow-rule {
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: 128px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 0.5px solid var(--color-neutral-300);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  /* its own breathing zone, larger than the gap between nav items, so the
     brand lockup reads as a distinct block rather than the first nav item */
  margin-inline-end: var(--space-6);
}
.header-logo img { height: 72px; width: auto; display: block; }

.header-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  padding-inline-start: var(--space-2);
  border-inline-start: 1px solid var(--color-neutral-300);
}
.wordmark-primary {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-neutral-900);
}
.wordmark-secondary {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-neutral-500);
}

/* --- primary nav (desktop) --- */

.primary-nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-list > li { flex-shrink: 0; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
  font-weight: 500;
  padding: var(--space-2) 0;
  color: var(--color-neutral-900);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary-600);
  transition: width 200ms var(--ease-out);
}
.nav-link:hover::after,
.nav-link:focus-visible::after { width: 100%; }
.nav-link:hover,
.nav-link:focus-visible { color: var(--color-primary-600); }

.nav-chevron {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 200ms var(--ease-out);
}
.nav-dropdown-trigger[aria-expanded="true"] .nav-chevron { transform: rotate(225deg); }

.has-dropdown { position: relative; }

.nav-dropdown {
  list-style: none;
  margin: 0;
  padding: var(--space-3);
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: var(--color-neutral-0);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  translate: 0 4px;
  transition: opacity 200ms var(--ease-out), translate 200ms var(--ease-out), visibility 200ms;
}
.nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  translate: 0 0;
}
.nav-dropdown li a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-neutral-700);
}
.nav-dropdown li a:hover,
.nav-dropdown li a:focus-visible {
  background: var(--color-primary-50);
  color: var(--color-primary-600);
}

/* --- header utility cluster (desktop) --- */

.header-utility {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  flex-shrink: 0;
}

.icon-whatsapp { width: 22px; height: 22px; fill: currentColor; }

.lang-toggle {
  display: inline-flex;
  border: 0.5px solid var(--color-neutral-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.lang-btn {
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-neutral-500);
}
.lang-btn.is-active {
  background: var(--color-primary-50);
  color: var(--color-primary-600);
}

.nav-mobile-actions { display: none; }

/* --- mobile nav toggle --- */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--color-neutral-900);
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 31, 56, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms var(--ease-out), visibility 260ms;
  z-index: 400;
}
.nav-overlay-backdrop.is-visible { opacity: 1; visibility: visible; }

/* ==========================================================================
   Responsive — header
   ========================================================================== */

@media (max-width: 1179px) {
  .site-header { height: 92px; }
  .header-logo { margin-inline-end: 0; gap: var(--space-2); }
  .header-logo img { height: 52px; }
  .wordmark-primary { font-size: 14px; }
  .wordmark-secondary { font-size: 10px; }
  .header-inner { padding: 0 var(--space-4); }

  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 84vw);
    background: var(--color-neutral-0);
    box-shadow: var(--shadow-lg);
    display: block;
    padding: calc(92px + var(--space-5)) var(--space-5) var(--space-5);
    translate: 100% 0;
    transition: translate 260ms var(--ease-out);
    overflow-y: auto;
    z-index: 450;
  }
  html[dir="rtl"] .primary-nav { right: auto; left: 0; translate: -100% 0; }

  .primary-nav.is-open { translate: 0 0; }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-4);
  }
  .nav-link::after { display: none; }
  .nav-dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    translate: none;
    display: none;
    padding: var(--space-2) 0 0 var(--space-3);
    min-width: 0;
  }
  .nav-dropdown.is-open { display: block; }

  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 0.5px solid var(--color-neutral-300);
  }
  .nav-mobile-actions .lang-toggle { align-self: flex-start; }

  .header-utility .lang-toggle-desktop,
  .header-utility .btn-primary { display: none; }
}

@media (max-width: 599px) {
  .header-wordmark { display: none; }
}

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

.hero {
  position: relative;
  height: 78vh;
  min-height: 560px;
  max-height: 780px;
  overflow: hidden;
  background: var(--color-secondary-900);
}

.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease-in-out, visibility 900ms;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.06);
  transition: transform 7000ms var(--ease-out);
}
/* the image keeps drifting for the full time a slide is active — a slow,
   ambient movement across the whole dwell time, not just an entrance —
   this is what gives the frame a sense of depth and life rather than a
   static photo with a color wash over it */
.hero-slide.is-active .hero-image { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  .hero-image { transform: none !important; transition: none !important; }
  .hero-slide { transition: opacity 300ms ease !important; }
}

/* Layered, restrained scrim — three thin layers instead of one heavy wash,
   so the photograph stays the dominant thing on screen and the darkening
   only ever does exactly the job of protecting text legibility:
   1) a shallow bottom vignette, just tall enough to seat the content
   2) a narrow, tighter angled wash directly behind the text column only
   3) a very faint corner vignette for cinematic depth, not for contrast */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg,
      rgba(1, 31, 56, 0.58) 0%,
      rgba(1, 31, 56, 0.24) 22%,
      rgba(1, 31, 56, 0) 42%),
    linear-gradient(102deg,
      rgba(1, 31, 56, 0.50) 0%,
      rgba(1, 31, 56, 0.22) 16%,
      rgba(1, 31, 56, 0) 34%),
    radial-gradient(140% 100% at 50% 45%,
      transparent 60%,
      rgba(1, 31, 56, 0.16) 100%);
}

.hero-content {
  position: absolute;
  left: var(--space-8);
  bottom: var(--space-9);
  max-width: 560px;
  color: var(--color-neutral-0);
  z-index: 2;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
  text-shadow: 0 2px 28px rgba(1, 31, 56, 0.4), 0 1px 3px rgba(1, 31, 56, 0.3);
}

.hero-subhead {
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 var(--space-4);
  max-width: 480px;
  text-shadow: 0 1px 16px rgba(1, 31, 56, 0.35);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: rgba(1, 31, 56, 0.22);
  backdrop-filter: blur(3px);
  color: rgba(255, 255, 255, 0.8);
  z-index: 3;
  transition: color 150ms var(--ease-out), background-color 150ms var(--ease-out);
}
.hero-arrow:hover,
.hero-arrow:focus-visible {
  color: var(--color-neutral-0);
  background: rgba(1, 31, 56, 0.4);
}
.hero-arrow svg { width: 28px; height: 28px; }
.hero-arrow-prev { left: var(--space-3); }
.hero-arrow-next { right: var(--space-3); }

.hero-indicators {
  position: absolute;
  right: var(--space-8);
  bottom: var(--space-9);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 12px;
  background: rgba(1, 31, 56, 0.24);
  backdrop-filter: blur(3px);
  border-radius: var(--radius-full);
  z-index: 3;
}
.hero-dash {
  width: 8px;
  height: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  transition: width 200ms var(--ease-out), background-color 200ms var(--ease-out);
}
.hero-dash.is-active {
  width: 24px;
  background: var(--color-primary-500);
}

.hero-scroll-cue {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  translate: -50% 0;
  width: 1px;
  height: 24px;
  overflow: hidden;
  z-index: 3;
}
.hero-scroll-cue span {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  animation: scroll-cue-pulse 1.8s ease-in-out infinite;
}
@keyframes scroll-cue-pulse {
  0%   { transform: translateY(-100%); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue span { animation: none; opacity: 0.7; }
}

/* ==========================================================================
   Responsive — hero
   ========================================================================== */

@media (max-width: 1279px) and (min-width: 600px) {
  .hero { height: 80vh; }
  .hero-content { max-width: 60%; left: var(--space-6); bottom: var(--space-7); }
  .hero-headline { font-size: 44px; }
  .hero-indicators { right: var(--space-6); bottom: var(--space-7); }
}

@media (max-width: 599px) {
  .hero { height: 90vh; min-height: 560px; }
  .hero-scrim {
    background:
      linear-gradient(0deg,
        rgba(1, 31, 56, 0.72) 0%,
        rgba(1, 31, 56, 0.34) 32%,
        rgba(1, 31, 56, 0) 58%),
      radial-gradient(140% 100% at 50% 60%,
        transparent 55%,
        rgba(1, 31, 56, 0.2) 100%);
  }
  .hero-content {
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-7);
    max-width: none;
  }
  .hero-headline { font-size: 34px; }
  .hero-subhead { font-size: 16px; max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: var(--space-3); }
  .hero-actions .btn { width: 100%; }
  .hero-arrow { display: none; }
  .hero-indicators { left: var(--space-4); right: auto; bottom: var(--space-4); }
}

/* ==========================================================================
   Shared section scaffolding
   ========================================================================== */

.section { padding: var(--space-8) 0; }
@media (max-width: 959px) { .section { padding: var(--space-6) 0; } }

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
@media (max-width: 599px) { .section-inner { padding: 0 var(--space-4); } }

.section-heading {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--color-neutral-900);
  margin: 0 0 var(--space-3);
  max-width: 640px;
}
@media (max-width: 599px) { .section-heading { font-size: 28px; } }

.section-body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-neutral-700);
  margin: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary-600);
}
.text-link:hover, .text-link:focus-visible { text-decoration: underline; }

.rhythm-breather { height: 64px; background: var(--color-neutral-0); }
@media (max-width: 599px) { .rhythm-breather { height: 40px; } }

/* Scroll-reveal utility, toggled by IntersectionObserver in script.js */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Trust Strip
   ========================================================================== */

.trust-strip { background: var(--color-neutral-50); padding: var(--space-6) 0; }

.trust-strip-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
}

.trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-1);
  min-width: 0;
}

.trust-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  color: var(--color-secondary-800);
  line-height: 1;
}
.trust-suffix { font-size: 32px; }

.trust-caption {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-neutral-500);
  max-width: 160px;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--color-neutral-300);
  flex-shrink: 0;
}

@media (max-width: 959px) {
  .trust-strip-inner { flex-wrap: wrap; gap: var(--space-5) var(--space-4); }
  .trust-stat { flex: 0 0 calc(50% - var(--space-4)); }
  .trust-divider { display: none; }
  .trust-number { font-size: 36px; }
}

/* ==========================================================================
   Services Overview — asymmetric mosaic
   ========================================================================== */

.services-mosaic {
  max-width: var(--container-max);
  margin: var(--space-5) auto 0;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--space-4);
}

.mosaic-stack { display: grid; grid-template-rows: 1fr 1fr; gap: var(--space-2); }

.mosaic-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  height: 560px;
}
.mosaic-stack .mosaic-tile { height: 100%; min-height: 268px; }

.mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}
.mosaic-tile:hover img, .mosaic-tile:focus-visible img { transform: scale(1.04); }

.mosaic-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-4);
  background: linear-gradient(0deg, rgba(1,31,56,0.65) 0%, rgba(1,31,56,0.05) 55%, transparent 75%);
}
.mosaic-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-neutral-0);
}
.mosaic-detail {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  margin-top: 6px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(4px);
  transition: max-height 200ms var(--ease-out), opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.mosaic-tile:hover .mosaic-detail,
.mosaic-tile:focus-visible .mosaic-detail {
  max-height: 40px;
  opacity: 1;
  transform: translateY(0);
}

.services-footline { margin-top: var(--space-4); text-align: right; }
[dir="rtl"] .services-footline { text-align: left; }

@media (max-width: 959px) {
  .services-mosaic { grid-template-columns: 1fr 1fr; }
  .mosaic-tile, .mosaic-stack .mosaic-tile { height: 320px; }
}
@media (max-width: 599px) {
  .services-mosaic { grid-template-columns: 1fr; padding: 0 var(--space-4); }
  .mosaic-stack { grid-template-rows: auto auto; }
  .mosaic-tile, .mosaic-stack .mosaic-tile { height: 260px; }
}

/* ==========================================================================
   Regulatory Services — split feature
   ========================================================================== */

.regulatory-section { background: var(--color-secondary-100); }

.regulatory-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: var(--space-7);
  align-items: center;
}

.regulatory-media { position: relative; }
.regulatory-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

.clearance-mark {
  position: absolute;
  top: -32px;
  right: -32px;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-full);
  background: var(--color-secondary-800);
  border: 3px solid var(--color-primary-600);
  box-shadow: var(--shadow-md);
}
[dir="rtl"] .clearance-mark { right: auto; left: -32px; }

.regulatory-list {
  list-style: none;
  margin: var(--space-4) 0;
  padding: 0;
  display: grid;
  gap: var(--space-2);
}
.regulatory-list li {
  position: relative;
  padding-inline-start: var(--space-4);
  font-size: 16px;
  color: var(--color-neutral-900);
  font-weight: 500;
}
.regulatory-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-primary-600);
}
[dir="rtl"] .regulatory-list li::before { left: auto; right: 0; }
[dir="rtl"] .regulatory-list li { padding-inline-start: 0; padding-inline-end: var(--space-4); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--color-primary-600);
  color: var(--color-primary-600);
  transition: background-color 150ms var(--ease-out);
}
.btn-outline:hover, .btn-outline:focus-visible { background: var(--color-primary-100); }

@media (max-width: 959px) {
  .regulatory-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .regulatory-media img { aspect-ratio: 16/10; }
  .clearance-mark { width: 72px; height: 72px; top: -20px; right: -20px; }
}

/* ==========================================================================
   Why Choose A to Z — compact pair (deliberately light; the other two
   original points now live in Trust Strip and Regulatory Services, so this
   section only needs to carry two genuinely new ideas, briefly)
   ========================================================================== */

.why-compact-grid {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}

.why-compact-card img {
  width: 100%;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
  margin-bottom: var(--space-3);
}

.why-heading {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-neutral-900);
  margin: 0 0 var(--space-2);
}

@media (max-width: 959px) {
  .why-compact-grid { grid-template-columns: 1fr; gap: var(--space-4); }
}

/* ==========================================================================
   How We Work — timeline
   ========================================================================== */

.how-we-work-section { background: var(--color-neutral-50); }

.timeline {
  position: relative;
  max-width: var(--container-max);
  margin: var(--space-6) auto 0;
  padding: 0 var(--space-6);
}

.timeline-line {
  position: absolute;
  top: 48px;
  left: calc(var(--space-6) + 48px);
  right: calc(var(--space-6) + 48px);
  height: 2px;
  background: var(--color-neutral-300);
  overflow: hidden;
}
.timeline-line-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--color-primary-600);
  transition: width 1000ms linear;
}
.timeline-line-fill.is-drawn { width: 100%; }

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.timeline-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-3); }

.timeline-photo {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--color-neutral-300);
}
.timeline-photo img { width: 100%; height: 100%; object-fit: cover; }
.timeline-number {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background: var(--color-secondary-800);
  color: var(--color-neutral-0);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-neutral-50);
}
[dir="rtl"] .timeline-number { right: auto; left: -2px; }

.timeline-label { font-size: 15px; font-weight: 600; color: var(--color-neutral-900); max-width: 200px; }

@media (max-width: 959px) {
  .timeline-line { display: none; }
  .timeline-steps { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* ==========================================================================
   Contact CTA band
   ========================================================================== */

.cta-band {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(1,31,56,0.82) 0%, rgba(1,31,56,0.6) 60%, rgba(1,31,56,0.5) 100%);
}
.cta-band-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  padding: var(--space-7) var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cta-band-heading {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--color-neutral-0);
  margin: 0 0 var(--space-3);
}
.cta-band-subline {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin: 0 0 var(--space-4);
}
.cta-band-textlink {
  margin-top: var(--space-3);
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}
@media (max-width: 599px) {
  .cta-band-heading { font-size: 26px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--color-secondary-900); color: rgba(255,255,255,0.85); }

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-7) var(--space-6) var(--space-6);
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: var(--space-5);
}

.footer-logo { height: 44px; width: auto; margin-bottom: var(--space-3); filter: brightness(0) invert(1); }
.footer-blurb { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.7); margin: 0 0 var(--space-3); max-width: 260px; }
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a { color: rgba(255,255,255,0.7); transition: color 150ms var(--ease-out); }
.footer-social a:hover, .footer-social a:focus-visible { color: var(--color-neutral-0); }
.footer-social svg { width: 20px; height: 20px; }

.footer-col-heading {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-highlight-500);
  margin: 0 0 var(--space-3);
}

.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.footer-links a, .footer-links li { font-size: 14px; color: var(--color-neutral-0); }
.footer-links a { transition: color 250ms var(--ease-out); }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--color-brand-primary); }

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer-bottom-links { display: flex; gap: var(--space-4); }
.footer-bottom-links a { color: var(--color-neutral-0); transition: color 250ms var(--ease-out); }
.footer-bottom-links a:hover, .footer-bottom-links a:focus-visible { color: var(--color-brand-primary); }

@media (max-width: 959px) {
  .footer-inner { grid-template-columns: 1fr 1fr; padding: var(--space-6) var(--space-4); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 599px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: var(--space-4); }
}

/* ==========================================================================
   Developer credit strip
   A quiet, secondary line beneath the footer — visually subordinate to the
   client's branding above it (smaller type, muted color, thin divider,
   no background change) so it reads as a professional credit rather than
   competing with the site's own footer content.
   ========================================================================== */

.developer-credit {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--color-secondary-900);
}
.developer-credit-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.developer-credit-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-neutral-0);
  transition: color 250ms var(--ease-out);
}
.developer-credit-link:hover,
.developer-credit-link:focus-visible {
  color: var(--color-brand-primary);
}
.developer-credit-brand {
  color: var(--color-neutral-0);
  font-weight: 600;
  transition: color 250ms var(--ease-out);
}
.developer-credit-link:hover .developer-credit-brand,
.developer-credit-link:focus-visible .developer-credit-brand {
  color: var(--color-brand-primary);
}
.developer-credit-logo {
  width: 27px;
  height: 27px;
  opacity: 0.9;
  flex-shrink: 0;
}
@media (max-width: 599px) {
  .developer-credit-inner { padding: var(--space-4); }
}

/* ==========================================================================
   Secondary pages — shared components
   Used by about.html, permits-licenses.html, and every services/*.html
   page. Consolidated here (instead of a separate stylesheet per page) so
   the whole site runs on one global stylesheet, per the project's
   flat-file structure. Reuses the same tokens as everything above.
   ========================================================================== */

/* --- Page hero: a static, single-image hero (no carousel/autoplay),
   shorter than the Homepage's 78vh carousel hero. Reuses .hero-image /
   .hero-scrim / .hero-content / .hero-headline / .hero-subhead /
   .hero-actions from the Hero section above as-is. */

.page-hero {
  position: relative;
  height: 52vh;
  min-height: 420px;
  max-height: 560px;
  overflow: hidden;
  background: var(--color-secondary-900);
}
.page-hero .hero-content { max-width: 640px; }
.page-hero .hero-headline { font-size: 44px; }
.page-hero .hero-subhead { font-size: 18px; }

@media (max-width: 1279px) and (min-width: 600px) {
  .page-hero .hero-headline { font-size: 36px; }
}
@media (max-width: 599px) {
  .page-hero { height: 60vh; min-height: 380px; }
  .page-hero .hero-content { left: var(--space-4); right: var(--space-4); bottom: var(--space-6); max-width: none; }
  .page-hero .hero-headline { font-size: 30px; }
  .page-hero .hero-subhead { font-size: 16px; }
  .page-hero .hero-actions { flex-direction: column; align-items: stretch; gap: var(--space-3); }
  .page-hero .hero-actions .btn { width: 100%; }
}

/* --- Card grid: one reusable component for every "numbered card" pattern
   on secondary pages — license categories, freight modes, what's-included
   lists, why-choose-us points. auto-fit means the same two rules handle
   2, 3, or 4 cards on any page without a per-count modifier class. */

.card-grid {
  margin-top: var(--space-5);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.info-card {
  padding: var(--space-5);
  background: var(--color-neutral-0);
  border: 1px solid var(--color-neutral-100);
  border-radius: var(--radius-md);
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out), transform 150ms var(--ease-out);
  scroll-margin-top: calc(var(--header-height) + var(--space-4));
}
.info-card:hover,
.info-card:focus-within {
  border-color: var(--color-primary-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.info-card-index {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--color-primary-500);
  margin-bottom: var(--space-2);
}
.info-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-neutral-900);
  margin: 0 0 var(--space-2);
}
.info-card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-neutral-700);
  margin: 0;
}

/* --- Narrow prose: a plain text block narrower than the section width,
   for company-overview-style copy (e.g. About's "Who we are"). --- */

.narrow-prose {
  max-width: 700px;
  display: grid;
  gap: var(--space-3);
}

/* --- Page-scoped exception: the Permits & Licenses page's timeline was
   deliberately enlarged in an approved refinement. Scoped to body.page-
   permits-licenses so it never affects the Homepage's own #timeline. --- */

.page-permits-licenses .how-we-work-section .timeline-photo { width: 128px; height: 128px; }
.page-permits-licenses .how-we-work-section .timeline-number { width: 32px; height: 32px; font-size: 15px; }
.page-permits-licenses .how-we-work-section .timeline-label { font-size: 18px; font-weight: 600; max-width: 220px; }
.page-permits-licenses .how-we-work-section .timeline-line {
  top: 64px;
  left: calc(var(--space-6) + 64px);
  right: calc(var(--space-6) + 64px);
}
@media (max-width: 959px) {
  .page-permits-licenses .how-we-work-section .timeline-photo { width: 108px; height: 108px; }
  .page-permits-licenses .how-we-work-section .timeline-label { font-size: 16px; }
}

/* ==========================================================================
   Contact form
   The site's first form component — added here (not a page-specific file)
   since a form is a genuinely reusable UI pattern, not a one-off. Matches
   the same tokens, radius, and focus treatment as buttons and nav links.
   ========================================================================== */

.contact-form {
  margin-top: var(--space-5);
  display: grid;
  gap: var(--space-4);
  max-width: 640px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-field {
  display: grid;
  gap: var(--space-2);
}
.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-neutral-900);
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--color-neutral-300);
  border-radius: var(--radius-sm);
  color: var(--color-neutral-900);
  background: var(--color-neutral-0);
  transition: border-color 150ms var(--ease-out), box-shadow 150ms var(--ease-out);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 3px var(--color-primary-100);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--color-neutral-500); margin: 0; }

@media (max-width: 599px) {
  .form-row { grid-template-columns: 1fr; }
}
