/* US Mega Transport — static template */

:root {
  --color-bg: #0b1220;
  --color-bg-elevated: #111b2e;
  --color-surface: #152238;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-text: #e8edf7;
  --color-muted: #9aa4bb;
  --color-accent: #b41e44;
  --color-accent-hover: #c94362;
  --color-accent-muted: rgba(180, 30, 68, 0.15);
  --color-header-bg: rgba(11, 18, 32, 0.92);
  --color-footer-bg: #070b14;
  --color-nav-drawer-bg: rgba(7, 11, 20, 0.98);
  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --container-max: 1120px;
  --layout-gutter: clamp(0.75rem, 4vw, 1.5rem);
  --header-h: 72px;
  --apple-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --apple-ease-out: cubic-bezier(0.25, 0.1, 0.25, 1);
  --apple-duration: 0.7s;
}

html {
  color-scheme: dark;
}

html[data-theme="light"] {
  color-scheme: light;
  --color-bg: #eef1f8;
  --color-bg-elevated: #ffffff;
  --color-surface: #e4e9f4;
  --color-border: rgba(15, 23, 42, 0.12);
  --color-text: #101828;
  --color-muted: #495668;
  --color-accent: #b41e44;
  --color-accent-hover: #9c183b;
  --color-accent-muted: rgba(180, 30, 68, 0.12);
  --shadow: 0 14px 44px rgba(15, 23, 42, 0.1);
  --color-header-bg: rgba(255, 255, 255, 0.95);
  --color-footer-bg: #dfe6f3;
  --color-nav-drawer-bg: rgba(248, 250, 252, 0.98);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  overflow-x: clip;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: max(var(--layout-gutter), env(safe-area-inset-left, 0px))
    max(var(--layout-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
}

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

/* Header — blur lives on .site-header__bg only so #site-nav (fixed drawer) is not
   trapped in a backdrop-filter containing block (would collapse the overlay). */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  transition: box-shadow 0.45s var(--apple-ease-out);
}

.site-header.is-scrolled {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.site-header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
  transition:
    background 0.45s var(--apple-ease-out),
    border-color 0.45s var(--apple-ease-out);
}

.site-header__row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: var(--container-max);
  height: 100%;
  margin-inline: auto;
  padding-inline: max(var(--layout-gutter), env(safe-area-inset-left, 0px))
    max(var(--layout-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  min-width: 0;
}

.header-inner {
  display: grid;
  align-items: center;
  gap: 0.75rem;
  grid-template-columns: auto auto;
  justify-content: space-between;
  flex: 1 1 auto;
  min-width: 0;
}

@media (min-width: 901px) {
  .site-header__row {
    justify-content: flex-start;
    gap: clamp(0.75rem, 2vw, 1.5rem);
  }

  .header-inner {
    flex: 0 0 auto;
    width: auto;
  }
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  color: var(--color-text);
  max-width: min(200px, 58vw);
  min-width: min-content;
  position: relative;
  z-index: 2;
}

.logo-link:hover,
.logo-link:focus-visible {
  color: var(--color-text);
}

.logo-link img {
  display: block;
  height: 40px;
  width: auto;
  max-width: min(200px, 48vw);
  max-height: 40px;
  object-fit: contain;
  object-position: left center;
}

.logo-link--dual .logo-img--light {
  display: none;
}

html[data-theme="light"] .logo-link--dual .logo-img--dark {
  display: none;
}

html[data-theme="light"] .logo-link--dual .logo-img--light {
  display: block;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

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

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-muted);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  transition:
    color 0.35s var(--apple-ease-out),
    background 0.35s var(--apple-ease-out);
}

.nav a:hover,
.nav a.is-active,
.nav a[aria-current="page"] {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  min-height: 2.75rem;
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 2.8vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background 0.25s var(--apple-ease-out),
    border-color 0.25s var(--apple-ease-out),
    color 0.25s var(--apple-ease-out),
    transform 0.35s var(--apple-ease),
    box-shadow 0.4s var(--apple-ease-out);
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

html[data-theme="light"] .btn-ghost:hover {
  background: rgba(15, 23, 42, 0.07);
  border-color: rgba(15, 23, 42, 0.2);
}

.theme-toggle {
  min-width: 2.75rem;
  justify-content: center;
}

html[data-theme="light"] .nav a:hover,
html[data-theme="light"] .nav a.is-active,
html[data-theme="light"] .nav a[aria-current="page"],
html[data-theme="light"] .nav li.current-menu-item > a,
html[data-theme="light"] .nav li.current_page_item > a,
html[data-theme="light"] .nav li.current-menu-ancestor > a {
  background: rgba(15, 23, 42, 0.07);
}

html[data-theme="light"] .site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
}

/* Light theme: heroes + photo sections (job apply, CTA strip) + CTA strips keep the dark palette. */
html[data-theme="light"] .hero,
html[data-theme="light"] .page-hero {
  --color-text: #e8edf7;
  --color-muted: #9aa4bb;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-bg-elevated: #111b2e;
  --color-surface: #152238;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  color: var(--color-text);
}

html[data-theme="light"] .section--job-apply,
html[data-theme="light"] .section--cta-strip-photo {
  --color-bg: #0b1220;
  --color-text: #e8edf7;
  --color-muted: #9aa4bb;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-surface: #152238;
  color: var(--color-text);
}

html[data-theme="light"] .cta-strip {
  --color-text: #e8edf7;
  --color-muted: #9aa4bb;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-surface: #152238;
  color: var(--color-text);
}

html[data-theme="light"] .hero .btn-ghost:hover,
html[data-theme="light"] .page-hero .btn-ghost:hover,
html[data-theme="light"] .section--job-apply .btn-ghost:hover,
html[data-theme="light"] .cta-strip .btn-ghost:hover,
html[data-theme="light"] .section--cta-strip-photo .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-block {
  width: 100%;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 0.75rem;
}

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

.lead {
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  color: var(--color-muted);
  max-width: min(52ch, 100%);
}

.hero .hero__lead-follow {
  margin-top: 0.75rem;
}

.muted {
  color: var(--color-muted);
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section--tight {
  padding-block: clamp(2rem, 4vw, 3rem);
}

/* Overview + featured image (injected after page hero on Services / service CPT / jobs) */
.umt-overview-split {
  display: grid;
  gap: clamp(1.25rem, 4vw, 2.25rem);
  align-items: center;
}

@media (min-width: 768px) {
  .umt-overview-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }
}

.umt-overview-split__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  line-height: 0;
}

.umt-overview-split__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.umt-overview-split__body {
  min-width: 0;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--color-accent);
  margin: 0 0 0.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(28rem, 70svh, 47.5rem);
  display: flex;
  align-items: center;
  padding: clamp(2.25rem, 7vw, 4rem) 0 clamp(2.5rem, 8vw, 5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background-color: #050812;
  background-image:
    linear-gradient(135deg, rgba(11, 18, 32, 0.88) 0%, rgba(11, 18, 32, 0.65) 45%, rgba(11, 18, 32, 0.82) 100%),
    url("uploads/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ACF home hero: inline background-image only; photo layer parallax via --hero-acf-photo-parallax-y (JS) */
.hero__bg-placeholder--acf {
  background-color: #050812;
  background-repeat: no-repeat;
  background-position: center center, center calc(50% + var(--hero-acf-photo-parallax-y, 0px));
  background-size: cover, cover;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  min-width: 0;
}

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

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.hero-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  min-width: 0;
}

.hero-card--flush {
  padding: 0;
}

.hero-card h3 {
  margin-top: 0;
}

.hero-card__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  line-height: 0;
}

.hero-card__img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-card__figure:last-child {
  margin-bottom: 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.15rem;
  background: var(--color-surface);
  border-radius: 10px;
  border: 1px solid var(--color-border);
  min-width: 0;
  box-sizing: border-box;
}

.stat__icon {
  font-size: 1.2rem;
  color: var(--color-accent);
  line-height: 1;
}

.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.2vw, 1.75rem);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.2;
  word-break: break-word;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* Stats band */
.stats-band {
  background: var(--color-bg-elevated);
  border-block: 1px solid var(--color-border);
}

/* Full-width row: equal-width cards with consistent gaps */
.stats-band .stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  width: 100%;
}

.stats-band .stat {
  flex: 1 1 200px;
  min-width: 0;
  align-self: stretch;
}

/* Cards grid */
.card-grid {
  display: grid;
  gap: 1.25rem;
}

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

  /* Three-up on wide viewports; two columns between tablet and desktop. */
  .card-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.card__icon {
  font-size: 1.5rem;
  color: var(--color-accent);
  line-height: 1;
}

.job-card {
  overflow: hidden;
  padding-top: 0;
}

.job-card__media {
  margin: 0 -1.5rem;
  line-height: 0;
}

.job-card__img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 800 / 360;
  object-fit: cover;
}

.card h3 {
  margin-bottom: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Whole card is one link (flexible card_grid) */
a.card.card--link {
  cursor: pointer;
  text-decoration: none;
  color: var(--color-text);
}

a.card.card--link:hover {
  color: var(--color-text);
}

a.card.card--link .muted {
  color: var(--color-muted);
}

a.card.card--link:hover .muted {
  color: var(--color-muted);
}

a.card.card--link .card__link {
  color: var(--color-accent);
}

a.card.card--link:hover .card__link {
  color: var(--color-accent-hover);
}

a.card.card--link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.card__link--disabled {
  color: var(--color-muted);
  pointer-events: none;
}

.job-card__meta {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.job-card__meta li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}

.job-card__meta i {
  color: var(--color-accent);
  opacity: 0.92;
  width: 1.1rem;
  text-align: center;
}

.job-back {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.job-aside-card {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.job-aside-card__media {
  line-height: 0;
}

.job-aside-card__img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 800 / 360;
  object-fit: cover;
}

.job-aside-card__body {
  padding: 1.35rem 1.4rem;
}

.job-aside-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.job-aside-card dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.job-aside-card dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin: 0;
}

.job-aside-card dd {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  color: var(--color-muted);
}

/* Placeholder image */
.media-placeholder {
  background: var(--color-surface);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  min-height: 140px;
}

.media-placeholder > i {
  font-size: 2rem;
  color: var(--color-accent);
  opacity: 0.45;
}

.media-placeholder--hero {
  min-height: 280px;
}

.media-placeholder--tall {
  min-height: 320px;
}

.media-placeholder--square {
  aspect-ratio: 1;
  min-height: 0;
}

/* Why us — homepage */
.section--why {
  background: var(--color-bg-elevated);
  position: relative;
  overflow: hidden;
}

.section--why::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 100% 20%, rgba(180, 30, 68, 0.06), transparent 55%);
  pointer-events: none;
}

.why-us {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: stretch;
  min-width: 0;
}

@media (min-width: 900px) {
  .why-us {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3rem;
    align-items: stretch;
  }

  .why-us__main {
    min-width: 0;
  }
}

.why-us__header {
  margin-bottom: 1.75rem;
}

.why-us__lead {
  max-width: 46ch;
}

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

@media (min-width: 560px) {
  .why-us__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.15rem;
  }
}

.why-tile {
  margin: 0;
  padding: 1.25rem 1.3rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition:
    border-color 0.35s var(--apple-ease-out, ease),
    box-shadow 0.4s var(--apple-ease, ease),
    transform 0.4s var(--apple-ease, ease);
}

@media (prefers-reduced-motion: no-preference) {
  .why-tile:hover {
    border-color: rgba(180, 30, 68, 0.35);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
  }
}

.why-tile__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.why-tile__title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
  line-height: 1.25;
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.why-tile__desc {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.why-us__foot {
  margin: 1.65rem 0 0;
  font-size: 0.95rem;
}

.why-us__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--color-accent);
}

.why-us__link:hover {
  color: var(--color-accent-hover);
}

.why-us__aside {
  min-height: 0;
}

.why-us__visual {
  box-sizing: border-box;
  height: 100%;
  min-height: 300px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  text-align: center;
  gap: 0;
  overflow: hidden;
}

@media (min-width: 900px) {
  .why-us__aside {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .why-us__visual {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }
}

.why-us__visual-photo {
  margin: 0;
  flex: 1 1 auto;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

.why-us__visual-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
  align-items: start;
  min-width: 0;
}

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

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.story-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  line-height: 0;
}

.story-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  min-height: 280px;
  aspect-ratio: 16 / 10;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.icon-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.icon-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.icon-badge i {
  font-size: 1.05rem;
}

/* Process steps (service detail pages) */
.section--process {
  position: relative;
  background: linear-gradient(165deg, rgba(17, 27, 46, 0.5) 0%, rgba(11, 18, 32, 0.2) 45%, transparent 100%);
  border-block: 1px solid var(--color-border);
  overflow: hidden;
}

.section--process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 50% at 15% 20%, rgba(180, 30, 68, 0.09), transparent 55%);
  pointer-events: none;
}

.section--process .container {
  position: relative;
  z-index: 1;
}

.process-intro {
  width: 100%;
  max-width: none;
}

.process-intro .lead,
.process-intro__summary {
  max-width: none;
}

.process-step-grid {
  list-style: none;
  padding: 0;
  margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .process-step-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.process-step-card {
  min-width: 0;
  margin: 0;
  padding: 1.35rem 1.4rem 1.45rem;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition:
    border-color 0.35s var(--apple-ease-out, ease),
    box-shadow 0.45s var(--apple-ease, ease),
    transform 0.4s var(--apple-ease, ease);
}

@media (prefers-reduced-motion: no-preference) {
  .process-step-card:hover {
    border-color: rgba(180, 30, 68, 0.35);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
    transform: translateY(-2px);
  }
}

.process-step-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.process-step-card__index {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: rgba(180, 30, 68, 0.45);
}

.process-step-card__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-muted);
  color: var(--color-accent);
  font-size: 1.15rem;
}

.process-step-card__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.25;
  color: var(--color-text);
}

.process-step-card__text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.55;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

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

.quote {
  position: relative;
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 0;
  min-width: 0;
}

.quote__mark {
  font-size: 2rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.35;
  margin-bottom: 0.75rem;
}

.quote p {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--color-text);
}

.quote footer {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* CTA strip */
.cta-strip {
  background: linear-gradient(
    120deg,
    rgba(180, 30, 68, 0.15),
    rgba(15, 23, 42, 0.9)
  );
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 3vw, 1.5rem);
  min-width: 0;
}

@media (max-width: 640px) {
  .cta-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-strip__actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .cta-strip__actions .btn {
    width: 100%;
  }
}

.cta-strip__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-strip h2 {
  margin: 0;
}

.section--cta-strip-photo .cta-strip {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(
    120deg,
    rgba(180, 30, 68, 0.2),
    rgba(11, 18, 32, 0.78)
  );
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.32);
}

/* Footer */
.site-footer {
  background: var(--color-footer-bg);
  border-top: 1px solid var(--color-border);
  padding: clamp(2rem, 6vw, 3rem) 0 clamp(1.5rem, 4vw, 2rem);
  font-size: clamp(0.88rem, 2.2vw, 0.95rem);
}

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

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  }
}

.footer-brand p {
  color: var(--color-muted);
  margin-top: 1rem;
}

.footer-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: var(--color-text);
  margin: 0 0 1rem;
}

.footer-title i {
  color: var(--color-accent);
  font-size: 1rem;
}

.footer-nav,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-nav a i {
  color: var(--color-accent);
  opacity: 0.75;
  font-size: 0.7rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-contact li i {
  margin-top: 0.2em;
  color: var(--color-accent);
  flex-shrink: 0;
  width: 1.1em;
  text-align: center;
}

.footer-contact a {
  color: var(--color-muted);
}

.footer-contact a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--color-muted);
  font-size: clamp(0.78rem, 2.3vw, 0.85rem);
}

@media (max-width: 520px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-bottom a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-bottom a i {
  color: var(--color-accent);
  font-size: 0.85em;
}

.social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-muted);
}

.social a:hover {
  color: var(--color-accent);
}

/* Forms */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

@media (min-width: 600px) {
  .form-row--2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.form-row--3 {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .form-row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
}

#apply .form-field--submit {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}

#apply .form-field--submit .btn {
  width: 100%;
}

.form--narrow {
  width: 100%;
  max-width: 720px;
}

/* Job detail apply blocks: use full container width */
#apply .section-header .lead {
  max-width: none;
}

#apply .form--narrow {
  max-width: none;
}

#get-quote .section-header .lead {
  max-width: none;
}

#get-quote .form--narrow {
  max-width: none;
}

/* Full-section photo bg (--job-apply-bg-image): #apply (cta.webp) + CTA strip (apply.webp); accent borders + parallax (JS) */
.section--job-apply,
.section--cta-strip-photo {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-block: 2px solid var(--color-accent);
  background-color: var(--color-bg);
  background-image: linear-gradient(
      135deg,
      rgba(11, 18, 32, 0.88) 0%,
      rgba(11, 18, 32, 0.72) 42%,
      rgba(11, 18, 32, 0.9) 100%
    ),
    var(--job-apply-bg-image);
  background-repeat: no-repeat;
  background-position: center center, center calc(50% + var(--apply-section-photo-parallax-y, 0px));
  background-size: cover, cover;
}

.job-apply-panel {
  width: 100%;
  min-width: 0;
  background: linear-gradient(145deg, rgba(17, 27, 46, 0.9), rgba(11, 18, 32, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.section--job-apply .section-header {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section--job-apply .section-header h2 {
  margin-bottom: 0;
}

.job-apply-panel__intro {
  margin-top: 0.75rem;
  margin-bottom: 0;
  max-width: none;
}

.job-apply-panel__intro a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.job-apply-panel__intro a:hover {
  color: var(--color-accent-hover);
}

#apply .job-apply-panel .form {
  margin-top: 0.25rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

label .label-icon {
  margin-right: 0.35rem;
  color: var(--color-accent);
  opacity: 0.95;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

.form-message {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
}

.form-message.is-visible {
  display: block;
}

.form-message--success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}

.form-message--error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

/* Page hero small */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
}

.page-hero--has-bg {
  background: transparent;
  padding: clamp(3rem, 8vw, 5rem) 0;
  min-height: clamp(16rem, 38vw, 26rem);
  display: flex;
  align-items: center;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__bg-fill {
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.page-hero--has-bg .page-hero__bg-fill,
.page-hero__bg-fill--parallax {
  background-color: #050812;
  background-repeat: no-repeat;
  background-position: center center, center calc(50% + var(--hero-acf-photo-parallax-y, 0px));
  background-size: cover, cover;
  will-change: background-position;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.page-hero .section-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(180, 30, 68, 0.4);
  border-radius: 999px;
  background: rgba(180, 30, 68, 0.14);
  box-sizing: border-box;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  line-height: 1.25;
}

.page-hero h1 {
  margin-bottom: 0.5rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.page-hero .lead {
  max-width: none;
}

.page-hero .page-hero__lead-follow {
  margin-top: 0.75rem;
}
.prose {
  max-width: min(70ch, 100%);
  min-width: 0;
}

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

.prose h2 {
  margin-top: 2rem;
}

.values-grid {
  display: grid;
  gap: 1rem;
}

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

/* FAQ */
.faq details {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.faq summary .faq__icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

.faq details[open] summary {
  margin-bottom: 0.5rem;
  color: var(--color-accent);
}

/* Map embed placeholder */
.map-embed {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
}

.map-embed > i:first-of-type {
  font-size: 2.25rem;
  color: var(--color-accent);
  opacity: 0.45;
}

.map-embed--google {
  position: relative;
  display: block;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 21 / 9;
  min-height: 280px;
  background: var(--color-surface);
}

.map-embed--google iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 699px) {
  .map-embed--google {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }
}

#office-map .section-header .lead {
  max-width: none;
}

.contact-layout {
  display: grid;
  gap: 2rem;
  min-width: 0;
}

.contact-layout > * {
  min-width: 0;
}

.contact-cards {
  align-items: stretch;
}

.contact-card {
  text-align: center;
  align-items: center;
}

.contact-card__icon {
  font-size: 2rem;
  line-height: 1;
  color: var(--color-accent);
}

.contact-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0.25rem 0 0;
  text-transform: uppercase;
}

.contact-card__value {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  word-break: break-word;
}

.contact-card__value a {
  font-weight: 600;
}

.contact-card__value--address {
  color: var(--color-text);
}

.contact-card__hint {
  margin: 0;
  font-size: 0.82rem;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contact-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  color: var(--color-muted);
  font-size: 1.2rem;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.35s var(--apple-ease, ease);
}

.contact-social__link:hover {
  color: var(--color-accent);
  border-color: rgba(180, 30, 68, 0.45);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
}

/* Gallery */
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

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

.gallery__thumb {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: zoom-in;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-width: 0;
  text-align: left;
}

.gallery__thumb:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

.gallery__thumb-frame {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-surface);
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s var(--apple-ease), filter 0.35s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .gallery__thumb:hover img {
    transform: scale(1.045);
  }
}

.gallery__zoom-hint {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.52);
  color: #fff;
  font-size: 0.95rem;
  pointer-events: none;
}

/* Fullscreen zoom lightbox (fleet gallery) */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  box-sizing: border-box;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 1200px);
  max-height: min(92vh, 960px);
  padding-top: 3rem;
}

.lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.lightbox__figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
  background: #111;
}

.lightbox__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(85vh, 860px);
  object-fit: contain;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes lightbox-magnify {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }

  .lightbox.is-open .lightbox__figure {
    animation: lightbox-magnify 0.42s var(--apple-ease) forwards;
  }
}

body.lightbox-open {
  overflow: hidden;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.82rem, 2.2vw, 0.95rem);
}

/* Horizontal scroll for data tables on narrow viewports */
.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin: 0;
  overscroll-behavior-x: contain;
}

.table-scroll .spec-table {
  width: 100%;
}

.table-scroll:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: clamp(0.55rem, 2.5vw, 0.75rem) clamp(0.65rem, 2.8vw, 1rem);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.spec-table th {
  color: var(--color-muted);
  font-weight: 500;
}

.spec-table th i {
  margin-right: 0.45rem;
  color: var(--color-accent);
  font-size: 0.9em;
  opacity: 0.95;
}

.fa-heading-icon {
  margin-right: 0.45rem;
  color: var(--color-accent);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 99;
    background: var(--color-nav-drawer-bg);
    padding: 1.5rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    overflow-y: auto;
  }

  .nav-wrap.is-open {
    display: flex;
  }

  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .nav a {
    padding: 0.85rem 1rem;
  }

  .nav-cta {
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    margin-top: 1rem;
  }

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

@media (min-width: 901px) {
  .nav-wrap {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.75rem, 2vw, 1.5rem);
    min-width: 0;
  }

  .nav-cta {
    margin-left: 0;
    flex-shrink: 0;
  }

  .nav {
    flex: 0 1 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
    min-width: 0;
  }
}

/* --------------------------------------------------------------------------
   Motion — subtle “Apple-like” ease, respects prefers-reduced-motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  @keyframes apple-fade-rise {
    from {
      opacity: 0;
      transform: translate3d(0, 1.15rem, 0);
    }
    to {
      opacity: 1;
      transform: translate3d(0, 0, 0);
    }
  }

  /* Hero & page intro: soft stagger on load */
  .hero .hero__grid > *,
  .hero .hero-card {
    animation: apple-fade-rise 0.82s var(--apple-ease) backwards;
  }

  .hero .hero__grid > *:nth-child(1) {
    animation-delay: 0.07s;
  }

  .hero .hero__grid > *:nth-child(2) {
    animation-delay: 0.18s;
  }

  .page-hero .page-hero__inner > * {
    animation: apple-fade-rise 0.78s var(--apple-ease) backwards;
  }

  .page-hero .page-hero__inner > *:nth-child(1) {
    animation-delay: 0.05s;
  }

  .page-hero .page-hero__inner > *:nth-child(2) {
    animation-delay: 0.11s;
  }

  .page-hero .page-hero__inner > *:nth-child(3) {
    animation-delay: 0.17s;
  }

  /* Scroll reveal (class toggled in main.js) */
  .apple-reveal {
    opacity: 0;
    transform: translate3d(0, 1.25rem, 0);
    transition:
      opacity var(--apple-duration) var(--apple-ease),
      transform var(--apple-duration) var(--apple-ease);
    transition-delay: var(--apple-delay, 0s);
  }

  .apple-reveal.apple-inview {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  /* Buttons: light press / lift */
  .btn:hover {
    transform: translateY(-1px);
  }

  .btn:active {
    transform: translateY(0) scale(0.99);
    transition-duration: 0.12s;
  }

  .btn-primary:hover {
    box-shadow: 0 10px 28px rgba(180, 30, 68, 0.28);
  }

  /* Cards: barely-there lift on hover */
  .card {
    transition:
      border-color 0.4s var(--apple-ease-out),
      box-shadow 0.5s var(--apple-ease),
      transform 0.45s var(--apple-ease);
  }

  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  }

  .quote {
    transition:
      border-color 0.4s var(--apple-ease-out),
      transform 0.45s var(--apple-ease);
  }

  .quote:hover {
    transform: translateY(-1px);
  }

  a.card__link,
  a.card.card--link .card__link {
    transition: color 0.3s var(--apple-ease-out), gap 0.3s ease;
  }

  .logo-link img {
    transition: opacity 0.35s var(--apple-ease-out);
  }

  .logo-link:hover img {
    opacity: 0.92;
  }

  .map-embed,
  .media-placeholder,
  .gallery__thumb {
    transition:
      border-color 0.45s var(--apple-ease-out),
      box-shadow 0.5s var(--apple-ease);
  }
}

@media (prefers-reduced-motion: reduce) {
  .apple-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .hero .hero__grid > *,
  .hero .hero-card,
  .page-hero .page-hero__inner > * {
    animation: none !important;
  }
}

/* --------------------------------------------------------------------------
   Layout: prevent overflow on all viewports
   -------------------------------------------------------------------------- */
.card-grid,
.process-step-grid,
.testimonial-grid,
.stat-row,
.why-us__grid {
  min-width: 0;
}
