/* ==========================================================================
   Freeman Transport LLC — shared stylesheet
   Palette: black + white + cyan accent
   ========================================================================== */

:root {
  /* Neutrals, black through white */
  --ink-950: #08090a;   /* near-black: dark sections, text on cyan */
  --ink-900: #101214;
  --ink-800: #17191c;
  --ink-700: #22262a;
  --grey-400: #5f6873;
  --grey-300: #a3abb4;
  --grey-100: #eff2f4;
  --grey-50: #f8fafb;
  --white: #ffffff;
  --ink: #101214;
  --muted: #5b636d;
  --line: #e0e4e8;

  /* Cyan accent */
  --cyan-500: #00d3e8;  /* bright: buttons, rules, accents on black */
  --cyan-400: #5ce8f5;  /* light: accent text on black */
  --cyan-700: #00707f;  /* deep: accent text on white, AA contrast */

  --font-head: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(8, 9, 10, 0.06), 0 2px 8px rgba(8, 9, 10, 0.05);
  --shadow-md: 0 10px 30px rgba(8, 9, 10, 0.1);
  --shadow-lg: 0 24px 60px rgba(8, 9, 10, 0.18);

  --radius: 10px;
  --radius-lg: 16px;
  --wrap: 1180px;
  --header-h: 100px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink-950);
}

h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.24rem; letter-spacing: 0; }
h4 { font-size: 1.02rem; letter-spacing: 0; }

p { margin: 0 0 1.1em; }

a { color: var(--ink-800); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cyan-700); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: 0.45em; }

strong { font-weight: 600; }

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

.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; left: 12px; top: -60px;
  background: var(--cyan-500); color: var(--ink-950);
  padding: 10px 18px; border-radius: 0 0 8px 8px;
  font-weight: 600; z-index: 200; transition: top .18s ease;
}
.skip-link:focus { top: 0; color: var(--ink-950); }

/* ---------- Layout helpers ---------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section--light { background: var(--grey-50); }
.section--dark { background: var(--ink-950); color: #b9c0c7; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }
.section--dark .section-head p { color: #a3abb4; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--cyan-500);
}
.section-head--center .eyebrow { justify-content: center; }

/* ---------- Two-column form + sidebar layout ---------- */

.form-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}
.form-layout--apply { grid-template-columns: 1fr 340px; }
.form-layout > * { min-width: 0; }   /* allow grid children to shrink */

@media (max-width: 900px) {
  .form-layout,
  .form-layout--apply { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 600; letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--cyan-500); color: var(--ink-950); box-shadow: 0 6px 18px rgba(0, 211, 232, .28); }
.btn--primary:hover { background: var(--cyan-400); color: var(--ink-950); }
.btn--dark { background: var(--ink-950); color: var(--white); }
.btn--dark:hover { background: var(--ink-800); color: var(--white); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; color: var(--white); }
.btn--ghost-dark { background: transparent; border-color: var(--line); color: var(--ink-900); }
.btn--ghost-dark:hover { border-color: var(--ink-900); color: var(--ink-950); background: var(--grey-50); }
.btn--sm { padding: 10px 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  color: var(--ink-800); text-decoration: none;
}
.arrow-link svg { transition: transform .18s ease; }
.arrow-link:hover svg { transform: translateX(4px); }

/* ---------- Top bar + header ---------- */

.topbar {
  background: var(--ink-950);
  color: #a3abb4;
  font-size: 0.83rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 40px; flex-wrap: wrap;
}
.topbar__note { display: flex; align-items: center; gap: 8px; }
.topbar__note svg { color: var(--cyan-500); flex: none; }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar a { color: #e6e9ec; text-decoration: none; }
.topbar a:hover { color: var(--cyan-400); }
.topbar__tel { font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 8px 26px rgba(8,9,10,.09); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { color: inherit; }
/* The supplied logo artwork has an opaque near-black background, so it is
   presented as a self-contained plaque rather than sitting bare on white. */
.brand__logo {
  display: block;
  width: auto;
  height: 78px;      /* artwork is 790x333 (2.37:1) so this renders ~185px wide */
  border-radius: 9px;
}
/* In the footer the column is narrower than a fixed height would allow, so scale by
   width instead — width:100% + height:auto keeps the true aspect ratio at any size. */
.site-footer .brand__logo {
  width: 100%;
  max-width: 340px;
  height: auto;
}
.brand__mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--ink-950);
  border-radius: 8px;
  color: var(--cyan-500);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.14rem;
  letter-spacing: 0.015em; text-transform: uppercase; color: var(--ink-950);
}
.brand__tag {
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__cta { display: none; }   /* mobile-only CTA group inside the nav drawer */
.nav__link {
  position: relative;
  padding: 10px 13px;
  font-family: var(--font-head);
  font-weight: 500; font-size: 0.98rem;
  color: var(--ink-900); text-decoration: none; border-radius: 6px;
}
.nav__link:hover { color: var(--ink-950); background: var(--grey-100); }
.nav__link[aria-current="page"] { color: var(--ink-950); font-weight: 600; }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2px; background: var(--cyan-500); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: var(--grey-50);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; display: block; width: 20px; height: 2px; background: var(--ink-950); border-radius: 2px; transition: background .18s; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--ink-950); border-radius: 2px; transition: transform .2s ease, top .2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  background: var(--ink-950);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(8,9,10,.95) 0%, rgba(8,9,10,.86) 38%, rgba(8,9,10,.5) 68%, rgba(8,9,10,.4) 100%),
    linear-gradient(to top, rgba(8,9,10,.9) 0%, rgba(8,9,10,0) 42%);
}
.hero__inner { position: relative; padding: clamp(64px, 10vw, 132px) 0 clamp(52px, 7vw, 90px); }
.hero__content { max-width: 690px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--cyan-400); }
.hero__lead {
  font-size: clamp(1.03rem, 1.5vw, 1.19rem);
  color: #d7dce1; max-width: 560px; margin-bottom: 32px;
}
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 38px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: 0.87rem; color: #b9c0c7;
}
.hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { color: var(--cyan-500); flex: none; }

/* Page hero (interior pages) */
.page-hero {
  position: relative;
  background: var(--ink-950);
  color: #b9c0c7;
  padding: clamp(48px, 7vw, 84px) 0 clamp(44px, 6vw, 70px);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,9,10,.94), rgba(8,9,10,.62));
}
.page-hero__inner { position: relative; max-width: 720px; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: #c3cad1; font-size: 1.08rem; margin-bottom: 0; }

.breadcrumb { font-size: 0.8rem; letter-spacing: .06em; text-transform: uppercase; color: #8b939c; margin-bottom: 16px; }
.breadcrumb a { color: #c3cad1; text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan-400); }

/* ---------- Trust / stat band ---------- */

.stat-band {
  background: var(--ink-900);
  color: #b9c0c7;
  border-top: 3px solid var(--cyan-500);
}
.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.09);
}
.stat-band__item {
  background: var(--ink-900);
  padding: 30px 26px;
  text-align: center;
}
.stat-band__num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--white);
  line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em;
}
.stat-band__num span { color: var(--cyan-500); }
.stat-band__label {
  font-size: 0.8rem; letter-spacing: .11em; text-transform: uppercase; color: #9aa2ab;
}

/* ---------- Slogan band ---------- */

.slogan-band {
  background: var(--cyan-500);
  color: var(--ink-950);
  padding: 22px 0;
  text-align: center;
}
.slogan-band__text {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.02rem, 2vw, 1.4rem);
  letter-spacing: 0.01em;
  line-height: 1.35;
}
.slogan-band__text em { font-style: italic; }

/* ---------- Owner promise quote ---------- */

.promise {
  margin: 26px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--cyan-500);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}
.promise p {
  margin: 0;
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-950);
}
.section--dark .promise {
  background: rgba(255,255,255,.05);
  box-shadow: none;
}
.section--dark .promise p { color: var(--white); }

/* ---------- Cards / grids ---------- */

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); font-size: 0.97rem; }

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #b9c0c7;
}

.card__icon {
  width: 52px; height: 52px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(0,211,232,.12);
  color: var(--cyan-700);
  margin-bottom: 18px;
}
.section--dark .card {
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.section--dark .card p { color: #a3abb4; }
.section--dark .card__icon { background: rgba(0,211,232,.16); color: var(--cyan-400); }

/* Safety pillars */
.pillar { border-left: 3px solid var(--cyan-500); padding: 4px 0 4px 22px; }
.pillar h3 { font-size: 1.1rem; margin-bottom: 6px; }
.pillar p { color: var(--muted); font-size: .96rem; margin: 0; }
.section--dark .pillar p { color: #a3abb4; }

/* Split sections */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.split__media { position: relative; }
.split__media--framed::before {
  content: ""; position: absolute; inset: -16px -16px auto auto;
  width: 130px; height: 130px;
  border-top: 4px solid var(--cyan-500);
  border-right: 4px solid var(--cyan-500);
  border-radius: 0 var(--radius-lg) 0 0;
  z-index: 0;
}
.split__media--framed img { position: relative; z-index: 1; }

.checklist { list-style: none; padding: 0; margin: 0 0 26px; }
.checklist li {
  position: relative; padding-left: 32px; margin-bottom: 12px;
  font-size: 0.98rem; color: #33383d;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(0,211,232,.16);
  box-shadow: inset 0 0 0 1px rgba(0,211,232,.45);
}
.checklist li::after {
  content: ""; position: absolute; left: 6px; top: 9px;
  width: 7px; height: 11px;
  border-right: 2px solid var(--cyan-700);
  border-bottom: 2px solid var(--cyan-700);
  transform: rotate(40deg);
}
.section--dark .checklist li { color: #c3cad1; }

/* Feature strip with numbers */
.step {
  position: relative;
  padding-top: 22px;
  border-top: 2px solid var(--line);
}
.step__num {
  font-family: var(--font-head); font-weight: 700; font-size: 0.85rem;
  letter-spacing: .12em; color: var(--cyan-700); text-transform: uppercase;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Service rows ---------- */

.service-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey-100); }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card__body h3 { margin-bottom: 8px; }
.service-card__body p { color: var(--muted); font-size: .96rem; }
.service-card__body .arrow-link { margin-top: auto; }

/* ---------- Testimonials ---------- */

.quote-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.quote-card__stars { color: var(--cyan-500); letter-spacing: 3px; font-size: .95rem; margin-bottom: 14px; }
.quote-card blockquote { margin: 0 0 20px; font-size: 1rem; color: #33383d; }
.quote-card cite {
  font-style: normal; font-size: .87rem; color: var(--muted);
  margin-top: auto; display: block;
}
.quote-card cite strong { display: block; color: var(--ink-950); font-size: .95rem; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--ink-950);
  color: #b9c0c7;
  overflow: hidden;
}
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta-band__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,9,10,.96) 0%, rgba(8,9,10,.82) 55%, rgba(8,9,10,.55) 100%);
}
.cta-band__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap;
  padding: clamp(46px, 6vw, 74px) 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; max-width: 15ch; }
.cta-band p { margin: 0; max-width: 46ch; color: #b9c0c7; }

/* ---------- Forms ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(26px, 4vw, 44px);
}
.form-section + .form-section { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-section__title {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  color: var(--ink-950); margin-bottom: 6px;
}
.form-section__title span {
  width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: var(--ink-950); color: var(--cyan-500);
  font-size: .78rem; display: grid; place-items: center;
}
.form-section__hint { font-size: .88rem; color: var(--muted); margin: 0 0 20px; }

.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: .87rem; font-weight: 600; color: #2b3036;
  font-family: var(--font-head); letter-spacing: .01em;
}
.field label .req { color: #c2410c; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: .96rem;
  color: var(--ink);
  padding: 11px 13px;
  border: 1px solid #ccd3da;
  border-radius: 6px;
  background: var(--white);
  width: 100%;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { resize: vertical; min-height: 118px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b636d' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 36px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink-700);
  box-shadow: 0 0 0 3px rgba(0,170,190,.2);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #c2410c; box-shadow: 0 0 0 3px rgba(194,65,12,.12); }
.field__error { font-size: .8rem; color: #b3350c; min-height: 0; }
.field__hint { font-size: .8rem; color: var(--muted); }

.check-line { display: flex; align-items: flex-start; gap: 11px; font-size: .9rem; color: #33383d; }
.check-line input[type="checkbox"] {
  width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--ink-900);
}

.form-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; max-width: 42ch; }

.form-status {
  margin-top: 20px; padding: 14px 16px;
  border-radius: 8px; font-size: .92rem;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-error { background: #fdf1ed; border: 1px solid #f0c4b4; color: #8f2c09; }
.form-status.is-success { background: #edf8f0; border: 1px solid #b9e2c4; color: #14602c; }

/* Success panel */
.success-panel {
  display: none;
  text-align: center;
  padding: 20px 0;
}
.success-panel.is-visible { display: block; }
.success-panel__icon {
  width: 62px; height: 62px; margin: 0 auto 20px;
  border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,211,232,.14); color: var(--cyan-700);
}

/* ---------- Careers ---------- */

.job {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.job__main { max-width: 60ch; }
.job h3 { margin-bottom: 6px; }
.job p { color: var(--muted); font-size: .94rem; margin: 0; }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  font-size: .74rem; letter-spacing: .06em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-800);
  background: var(--grey-100); border: 1px solid #d6dbe0;
  padding: 4px 10px; border-radius: 100px;
}
.tag--accent { background: rgba(0,211,232,.14); border-color: rgba(0,211,232,.42); color: #00606d; }

.benefit { display: flex; gap: 14px; align-items: flex-start; }
.benefit__icon { color: var(--cyan-700); flex: none; margin-top: 2px; }
.benefit h3 { font-size: 1rem; margin-bottom: 4px; }
.benefit p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */

.contact-item { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item__icon {
  width: 40px; height: 40px; flex: none; border-radius: 8px;
  background: rgba(0,211,232,.12); color: var(--cyan-700);
  display: grid; place-items: center;
}
.contact-item h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.contact-item p, .contact-item a { margin: 0; font-size: 1rem; color: var(--ink-950); }
.contact-item a { text-decoration: none; }
.contact-item a:hover { color: var(--cyan-700); }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: var(--grey-100);
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

.info-panel {
  background: var(--ink-950);
  color: #b9c0c7;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 36px);
}
.info-panel h2, .info-panel h3 { color: var(--white); }
.info-panel .contact-item { border-color: rgba(255,255,255,.12); }
.info-panel .contact-item h3 { color: #8b939c; }
.info-panel .contact-item p, .info-panel .contact-item a { color: #e6e9ec; }
.info-panel .contact-item__icon { background: rgba(0,211,232,.16); color: var(--cyan-400); }
.info-panel a:hover { color: var(--cyan-400); }

/* FAQ */
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 600;
  color: var(--ink-950); font-size: 1.02rem; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--cyan-700); line-height: 1; flex: none;
}
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { margin-bottom: 10px; }
.faq p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink-950); color: #9fb3c6; font-size: .93rem; }
.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: clamp(48px, 6vw, 72px) 0 44px;
}
.site-footer .brand__name { color: var(--white); }
.site-footer .brand__tag { color: #8ba2b7; }
.site-footer .brand__mark { background: var(--cyan-500); color: var(--ink-950); }
.footer-main p { font-size: .93rem; line-height: 1.7; }
.footer-about { margin: 18px 0 20px; max-width: 34ch; }
.footer-col h3 {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px; font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #a9bdcd; text-decoration: none; }
.footer-col a:hover { color: var(--cyan-400); }
.footer-col address { font-style: normal; line-height: 1.75; margin-bottom: 12px; }
.footer-contact-line { display: flex; gap: 9px; margin-bottom: 9px; }
.footer-contact-line svg { color: var(--cyan-500); flex: none; margin-top: 4px; }
.footer-contact-line a { color: #dbe7f1; }

.footer-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.footer-badge {
  font-size: .7rem; letter-spacing: .09em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.18); color: #b6c9d9;
  padding: 5px 9px; border-radius: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0 26px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap; font-size: .83rem; color: #849cb1;
}
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: #849cb1; text-decoration: none; }
.footer-legal a:hover { color: var(--cyan-400); }

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col--contact { grid-column: 1 / -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 76px; }

  /* Header logo scales by height; the footer logo is width-driven, so it must NOT
     be given a fixed height here or the aspect ratio distorts. */
  .brand__logo { height: 60px; }

  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }

  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 1px) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(11,21,34,.14);
    padding: 14px 24px 22px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__link { padding: 13px 10px; font-size: 1.02rem; border-radius: 6px; }
  .nav__link[aria-current="page"]::after { left: 10px; right: auto; width: 16px; bottom: 8px; }
  .nav__cta { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
  .nav__cta .btn { width: 100%; }

  .topbar__inner { justify-content: center; text-align: center; }
  .topbar__links { gap: 14px; }
  .topbar__note { display: none; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .stat-band__grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media--framed::before { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-col--contact { grid-column: auto; }
  .field-grid { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .job { align-items: flex-start; }
  .job .btn { width: 100%; }
  .hero__media img { object-position: center 65%; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding-inline: 18px; }
  .stat-band__grid { grid-template-columns: 1fr 1fr; }
  .stat-band__item { padding: 22px 14px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-col--contact { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .btn-row { gap: 10px; }
  .header-cta { gap: 8px; }
  .brand__tag { display: none; }
  .hero__badges { gap: 8px 18px; font-size: .82rem; }
  .form-card { padding: 22px 18px; }
  .card { padding: 24px 22px; }
}
