/* ==========================================================================
   Construction Interface Services — shared stylesheet
   Mobile-first, logical properties, fluid type
   ========================================================================== */

:root {
  /* Brand palette (derived from logo navy, accent orange and taupe tiles) */
  --navy-900: #071528;
  --navy-800: #0b1d36;
  --navy-700: #132a4a;
  --navy-600: #1d3a63;
  --orange-500: #e0662a;
  --orange-600: #c2521b;
  --orange-300: #ffb27a;
  --taupe-500: #94876b;
  --taupe-100: #f1eee7;
  --slate-50: #f7f8fa;
  --slate-100: #eef1f5;
  --slate-300: #c9d1dc;
  --slate-600: #4a5568;
  --slate-800: #1f2937;
  --white: #ffffff;

  --text: var(--slate-800);
  --text-muted: var(--slate-600);
  --surface: var(--white);
  --surface-alt: var(--slate-50);

  /* Typography */
  --font-sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Merriweather", Georgia, "Times New Roman", serif;
  --fs-300: clamp(0.875rem, 0.84rem + 0.15vw, 0.95rem);
  --fs-400: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --fs-500: clamp(1.125rem, 1.06rem + 0.3vw, 1.3rem);
  --fs-600: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem);
  --fs-700: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-800: clamp(2rem, 1.5rem + 2.6vw, 3.5rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(7, 21, 40, 0.06), 0 1px 3px rgba(7, 21, 40, 0.08);
  --shadow: 0 6px 18px rgba(7, 21, 40, 0.08), 0 2px 6px rgba(7, 21, 40, 0.06);
  --shadow-lg: 0 18px 40px rgba(7, 21, 40, 0.16);
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--orange-500);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  overflow-wrap: break-word;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  line-height: 1.2;
  color: var(--navy-800);
  font-family: var(--font-serif);
  font-weight: 700;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 { font-size: var(--fs-800); }
h2 { font-size: var(--fs-700); }
h3 { font-size: var(--fs-600); }
h4 { font-size: var(--fs-500); }

p {
  margin: 0 0 1rem;
}

a {
  color: var(--orange-600);
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: var(--radius-sm);
}

ul {
  margin: 0;
  padding: 0;
}

address {
  font-style: normal;
}

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

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--orange-500);
  color: var(--navy-900);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
  color: var(--navy-900);
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(15, 37, 61);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.site-header.is-scrolled {
  background: rgb(15, 37, 61);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
  padding-block: 0.5rem;
  border-radius: var(--radius-sm);
}

.brand img {
  width: clamp(170px, 40vw, 233px);
  height: auto;
  aspect-ratio: 466 / 100;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
}

.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.primary-nav {
  position: fixed;
  top: 100%;
  inset-inline: 0;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  background: rgb(15, 37, 61);
  padding: 1.25rem var(--gutter) 2rem;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

.primary-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.75rem 1rem;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-inline-start: 3px solid transparent;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.nav-list a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--orange-300);
}

.nav-list a.active,
.nav-list a[aria-current="page"] {
  color: var(--orange-300);
  border-inline-start-color: var(--orange-500);
  background: rgba(224, 102, 42, 0.1);
}

.nav-list .nav-cta {
  margin-block-start: 0.75rem;
  justify-content: center;
  background: var(--orange-500);
  color: var(--navy-900);
  border-inline-start: 0;
}

.nav-list .nav-cta:hover {
  background: var(--orange-300);
  color: var(--navy-900);
}

.nav-list .nav-cta.active,
.nav-list .nav-cta[aria-current="page"] {
  background: var(--orange-300);
  color: var(--navy-900);
}

body.nav-open {
  overflow: clip;
}

@media (min-width: 1024px) {
  :root {
    --header-h: 84px;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    height: auto;
    padding: 0;
    background: transparent;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }

  .nav-list a {
    position: relative;
    padding: 0.5rem 0.9rem;
    border-inline-start: 0;
    font-size: 0.95rem;
  }

  .nav-list a::after {
    content: "";
    position: absolute;
    inset-inline: 0.9rem;
    bottom: 4px;
    height: 2px;
    background: var(--orange-500);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s var(--ease);
  }

  .nav-list a:hover::after,
  .nav-list a.active::after,
  .nav-list a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .nav-list a.active,
  .nav-list a[aria-current="page"] {
    background: transparent;
  }

  .nav-list .nav-cta {
    margin-block-start: 0;
    margin-inline-start: 0.75rem;
    padding-inline: 1.25rem;
    border-radius: 999px;
  }

  .nav-list .nav-cta::after {
    display: none;
  }

  body.nav-open {
    overflow: visible;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

[dir="rtl"] .btn svg {
  transform: scaleX(-1);
}

[dir="rtl"] .btn:hover svg {
  transform: scaleX(-1) translateX(3px);
}

.btn-primary {
  background: var(--orange-500);
  color: var(--navy-900);
  box-shadow: 0 6px 16px rgba(224, 102, 42, 0.3);
}

.btn-primary:hover {
  background: var(--orange-300);
  color: var(--navy-900);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

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

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

.btn-dark:hover {
  background: var(--navy-600);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 78vh, 760px);
  padding-block: var(--section-y);
  color: var(--white);
  background: var(--navy-800);
}

.hero-sub {
  min-height: clamp(320px, 48vh, 460px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 21, 40, 0.92) 0%, rgba(7, 21, 40, 0.75) 55%, rgba(7, 21, 40, 0.45) 100%);
}

[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(7, 21, 40, 0.92) 0%, rgba(7, 21, 40, 0.75) 55%, rgba(7, 21, 40, 0.45) 100%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-600);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero .eyebrow {
  color: var(--orange-300);
}

.hero h1 {
  color: var(--white);
  margin-block-end: 0.5em;
}

.hero-lead {
  font-size: var(--fs-500);
  color: rgba(255, 255, 255, 0.9);
  max-width: 60ch;
  margin-block-end: 2rem;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 640px;
}

.hero-stats li {
  min-width: 0;
  padding-inline-start: 1rem;
  border-inline-start: 3px solid var(--orange-500);
}

.hero-stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--fs-600);
  color: var(--white);
  line-height: 1.2;
}

.hero-stats span {
  font-size: var(--fs-300);
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
  margin-block-end: 1rem;
  font-size: var(--fs-300);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
  color: var(--orange-300);
}

.breadcrumb [aria-current="page"] {
  color: var(--orange-300);
}

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

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

.section-sand {
  background: var(--taupe-100);
}

.section-dark {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.88);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark .eyebrow {
  color: var(--orange-300);
}

.section-head {
  max-width: 760px;
  margin-block-end: clamp(2rem, 1.5rem + 2vw, 3.25rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .eyebrow {
  justify-content: center;
}

.section-head p {
  font-size: var(--fs-500);
  color: var(--text-muted);
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.82);
}

.lead {
  font-size: var(--fs-500);
  color: var(--text-muted);
}

/* ---------- Grids ---------- */
.grid {
  display: grid;
  gap: clamp(1rem, 0.75rem + 1vw, 1.75rem);
}

.grid > * {
  min-width: 0;
}

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

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

.split {
  display: grid;
  gap: clamp(2rem, 1.5rem + 3vw, 4rem);
  align-items: center;
}

.split > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
  .split.reverse > :first-child {
    order: 2;
  }
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--slate-300);
}

.card h3 {
  font-size: var(--fs-500);
}

.card p {
  color: var(--text-muted);
}

.card .card-link {
  margin-block-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 48px;
  font-weight: 700;
  color: var(--orange-600);
  text-decoration: none;
}

.card .card-link:hover {
  color: var(--navy-700);
}

.card .card-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.card .card-link:hover svg {
  transform: translateX(4px);
}

[dir="rtl"] .card .card-link svg {
  transform: scaleX(-1);
}

.card-accent {
  border-block-start: 4px solid var(--orange-500);
}

.icon-badge {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-block-end: 1.25rem;
  border-radius: var(--radius);
  background: var(--navy-800);
  color: var(--orange-300);
  flex-shrink: 0;
}

.icon-badge svg {
  width: 28px;
  height: 28px;
}

.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature .icon-badge {
  width: 48px;
  height: 48px;
  margin: 0;
}

.feature .icon-badge svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  font-weight: 700;
  align-self: center;
}

/* ---------- Lists ---------- */
.check-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.check-list li {
  position: relative;
  padding-inline-start: 2rem;
  min-width: 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.35em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--orange-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23071528' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.check-list.cols {
  grid-template-columns: 1fr;
}

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

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li {
  padding: 0.4rem 0.9rem;
  font-size: var(--fs-300);
  font-weight: 600;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
}

/* Matrix columns (sectors / clients / associations) */
.matrix-card {
  height: 100%;
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.matrix-card h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-500);
}

.matrix-card h3 svg {
  width: 26px;
  height: 26px;
  color: var(--orange-300);
  flex-shrink: 0;
}

/* Phase timeline */
.phases {
  counter-reset: phase;
}

.phase {
  counter-increment: phase;
}

.phase .phase-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-block-end: 1rem;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--navy-900);
  font-weight: 800;
  font-family: var(--font-sans);
}

/* ---------- Media ---------- */
.media-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--slate-100);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame.wide {
  aspect-ratio: 16 / 9;
}

.media-frame figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.25rem 1.5rem;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: var(--fs-500);
  background: linear-gradient(0deg, rgba(7, 21, 40, 0.88), rgba(7, 21, 40, 0));
}

.media-stack {
  position: relative;
}

.media-stack .media-badge {
  position: absolute;
  inset-inline-end: clamp(0.75rem, 3vw, 1.5rem);
  top: clamp(0.75rem, 3vw, 1.5rem);
  width: clamp(64px, 14vw, 96px);
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--white);
  padding: 0.5rem;
  box-shadow: var(--shadow);
}

.media-stack .media-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
  color: var(--white);
  background: var(--navy-800);
}

.cta-band .cta-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  margin: 0;
}

.cta-band .cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(7, 21, 40, 0.94), rgba(19, 42, 74, 0.82));
}

.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}

.cta-inner h2 {
  color: var(--white);
  margin: 0 0 0.4rem;
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-500);
}

.cta-inner > div {
  min-width: 0;
}

@media (min-width: 900px) {
  .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ---------- Contact ---------- */
.info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-card h3 {
  margin-block-end: 0.35rem;
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-card .icon-badge {
  margin: 0;
}

.info-card a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  font-size: var(--fs-500);
  color: var(--navy-700);
}

.info-card a:hover {
  color: var(--orange-600);
}

.info-card p {
  margin: 0;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 0.35rem 0;
  text-align: start;
  font-weight: 400;
}

.hours-table th {
  font-weight: 600;
  padding-inline-end: 1rem;
}

.map-frame {
  aspect-ratio: 4 / 3;
  width: 100%;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--slate-100);
}

.job-card {
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.75rem);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-block-start: 5px solid var(--orange-500);
}

.job-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-end: 1.5rem;
}

.job-meta li {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--navy-700);
  font-size: var(--fs-300);
  font-weight: 600;
}

.job-card h4 {
  margin-block-start: 1.5rem;
  font-family: var(--font-sans);
  font-size: var(--fs-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange-600);
}

/* ---------- Footer ---------- */
.site-footer {
  background: rgb(15, 37, 61);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-300);
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem);
}

.footer-top > * {
  min-width: 0;
}

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

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

.footer-brand img {
  width: 220px;
  aspect-ratio: 466 / 100;
  margin-block-end: 1rem;
}

.footer-brand p {
  max-width: 34ch;
}

.site-footer h2 {
  margin-block-end: 1rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-300);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.15rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.2s var(--ease);
}

.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--orange-300);
}

.site-footer address p {
  margin-block-end: 0.75rem;
}

.site-footer .hours-table th,
.site-footer .hours-table td {
  color: rgba(255, 255, 255, 0.85);
}

.social-link {
  gap: 0.6rem;
  margin-block-start: 0.5rem;
  padding-inline: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  min-height: 48px !important;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.25rem;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  inset-inline-end: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--navy-900);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s, background-color 0.2s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s, background-color 0.2s var(--ease);
}

.back-to-top:hover {
  background: var(--orange-300);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

@media print {
  .site-header,
  .back-to-top,
  .cta-band {
    display: none;
  }
}
