/* ==========================================================================
   Ryder Scott Security — Design system
   1. Tokens    2. Base    3. Type    4. Buttons    5. Header
   6. Hero      7. Trust   8. About   9. Services   10. Why
   11. Dispatch 12. Contact/Form      13. Footer     14. Call bar / motion
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-950: #050b1a;
  --navy-900: #070f24;
  --navy-800: #0b1b3d;
  --navy-700: #122a55;
  --charcoal: #121212;
  --ink: #0d1424;

  --gold: #e6a100;
  --gold-bright: #f2b52b;
  --gold-deep: #b87f00;
  --gold-ink: #8a5e00;

  --white: #ffffff;
  --gray-50: #f4f6f8;
  --gray-100: #e7ebef;
  --gray-300: #c9d1db;
  --muted: #566072;
  --muted-on-dark: rgba(255, 255, 255, 0.68);

  --font-display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --nav-h: 66px;
  --topbar-h: 0px;
  --header-total: calc(var(--nav-h) + var(--topbar-h));

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --container: 1240px;
  --section-y: clamp(4rem, 7.5vw, 7rem);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-card: 0 30px 60px -40px rgba(11, 27, 61, 0.45);
}

@media (min-width: 900px) {
  :root {
    --nav-h: 84px;
    --topbar-h: 40px;
  }
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

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

::selection { background: var(--gold); color: var(--navy-900); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

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

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  transform: translateY(-200%);
  padding: 0.7rem 1.1rem;
  background: var(--white);
  color: var(--navy-800);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
}

.h2 {
  font-size: clamp(1.95rem, 1.25rem + 2.5vw, 3.15rem);
  line-height: 1.02;
  color: var(--navy-800);
}
.why .h2 { color: var(--white); }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.lede {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--muted);
}
.lede--dark { color: var(--muted-on-dark); }

.body-copy {
  max-width: 62ch;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  color: var(--gold-ink);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: none;
  background: currentColor;
}
.eyebrow--light { color: var(--gold); }

.req { color: var(--gold-deep); }
.field__opt { color: var(--muted); font-weight: 400; font-size: 0.68rem; letter-spacing: 0.02em; text-transform: none; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  height: 50px;
  padding-inline: 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn .icon { width: 18px; height: 18px; stroke-width: 1.9; }
.btn__arrow { transition: transform 0.25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--block { display: flex; width: 100%; }
.btn--sm { height: 42px; padding-inline: 1.15rem; font-size: 0.79rem; }

.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #08101f;
}
.btn--gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(230, 161, 0, 0.85);
}
.btn--gold:focus-visible { outline-color: var(--navy-900); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}

.btn--navy {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
}
.btn--navy:hover {
  background: var(--navy-700);
  border-color: var(--navy-700);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(5, 11, 26, 0.8);
}
.btn--navy:focus-visible { outline-color: var(--white); }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.icon-btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(230, 161, 0, 0.08); }

.pulse {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(230, 161, 0, 0.55);
  border-radius: 50%;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

/* ---------- 5. Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
}

.topbar { display: none; }

@media (min-width: 900px) {
  .topbar {
    display: block;
    background: #0e0e0e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
  }
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--topbar-h);
}
.topbar__status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  white-space: nowrap;
}
.topbar__right { display: flex; align-items: center; gap: 1.5rem; }
.topbar__cred {
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  font-weight: 600;
}
.topbar__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.topbar__phone .icon { width: 14px; height: 14px; color: var(--gold); }
.topbar__phone:hover { color: var(--gold); }

.navbar {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  background: linear-gradient(to bottom, rgba(5, 11, 26, 0.72), rgba(5, 11, 26, 0.12));
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled .navbar {
  background: rgba(7, 15, 36, 0.95);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(230, 161, 0, 0.22);
  box-shadow: 0 20px 40px -30px #000;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
}
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.brand__sub {
  margin-top: 0.34rem;
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
}

@media (min-width: 900px) {
  .brand__mark { width: 46px; height: 46px; }
  .brand__name { font-size: 1.16rem; }
  .brand__sub { font-size: 0.6rem; }
}

.nav { display: none; }

@media (min-width: 1000px) {
  .nav { display: flex; align-items: center; gap: 2.1rem; }
}

.nav__link {
  position: relative;
  padding: 0.55rem 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav__link:hover,
.nav__link[aria-current="true"] { color: var(--white); }
.nav__link:hover::after,
.nav__link[aria-current="true"]::after { width: 100%; }

.navbar__actions { display: flex; align-items: center; gap: 0.75rem; }
.navbar__call { display: inline-flex; }
.navbar__cta { display: none; }

@media (min-width: 900px) {
  .navbar__call { display: none; }
}
@media (min-width: 760px) {
  .navbar__cta { display: inline-flex; }
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.25s, background-color 0.25s;
}
.menu-btn:hover { border-color: var(--gold); background: rgba(230, 161, 0, 0.1); }
.menu-btn__bars { display: flex; flex-direction: column; gap: 4px; }
.menu-btn__bars span { display: block; width: 19px; height: 1.5px; background: currentColor; }

@media (min-width: 1000px) {
  .menu-btn { display: none; }
}

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 1.1rem var(--gutter) calc(1.75rem + env(safe-area-inset-bottom));
  background: var(--navy-950);
  color: var(--white);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0s linear 0.5s;
}
.drawer.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.5s var(--ease), visibility 0s;
}
.drawer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 60% at 100% 0%, rgba(230, 161, 0, 0.16), transparent 60%);
  pointer-events: none;
}
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.drawer__close:hover { border-color: var(--gold); color: var(--gold); }

.drawer__nav {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 1.5rem;
  flex: 1;
}
.drawer__nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 7vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transform: translateX(22px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s;
}
.drawer__nav a span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.drawer__nav a:hover { color: var(--gold); }
.drawer.is-open .drawer__nav a { opacity: 1; transform: none; }
.drawer.is-open .drawer__nav a:nth-child(1) { transition-delay: 0.1s; }
.drawer.is-open .drawer__nav a:nth-child(2) { transition-delay: 0.16s; }
.drawer.is-open .drawer__nav a:nth-child(3) { transition-delay: 0.22s; }
.drawer.is-open .drawer__nav a:nth-child(4) { transition-delay: 0.28s; }

.drawer__foot {
  position: relative;
  display: grid;
  gap: 0.9rem;
  padding-top: 1.5rem;
}
.drawer__phone {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  text-decoration: none;
}
.drawer__phone .icon { color: var(--gold); width: 18px; height: 18px; }
.drawer__foot p {
  margin: 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- 6. Hero ---------- */
/* Mobile: content sits on navy, photo emerges below it — no overlapping type */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}

.hero__media {
  position: relative;
  order: 2;
  z-index: 0;
  flex: 1 1 0;
  min-height: 260px;
  overflow: hidden;
  background: var(--navy-900);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000 38%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 14%, #000 38%);
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 55%;
}

.hero__scrim { display: none; }

.hero__inner {
  position: relative;
  z-index: 2;
  order: 1;
  width: 100%;
  padding-top: calc(var(--header-total) + 2.25rem);
  padding-bottom: 1.75rem;
}
.hero__content { max-width: 680px; }

@media (min-width: 600px) and (max-width: 767px) {
  .hero__media { min-height: 320px; }
}

/* Short phones (e.g. iPhone SE) — tighten the stack so the subject still shows */
@media (max-width: 767px) and (max-height: 720px) {
  .hero__inner { padding-top: calc(var(--header-total) + 1.25rem); padding-bottom: 1rem; }
  .hero .eyebrow { margin-bottom: 0.85rem; }
  .hero__title { font-size: clamp(2.05rem, 8.2vw, 2.7rem); margin-bottom: 1rem; }
  .hero__lede { font-size: 0.93rem; line-height: 1.55; }
  .hero__actions { margin-top: 1.35rem; gap: 0.55rem; }
  .hero__actions .btn { height: 46px; }
  .hero__media { min-height: 205px; }
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    align-items: center;
    padding-top: calc(var(--header-total) + 2rem);
    padding-bottom: 4rem;
  }
  .hero__media {
    position: absolute;
    inset: 0;
    order: 0;
    flex: none;
    min-height: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero__media img { object-position: 68% 50%; }
  .hero__scrim {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(5, 11, 26, 0.9) 0%, rgba(5, 11, 26, 0.74) 32%, rgba(5, 11, 26, 0.28) 62%, rgba(5, 11, 26, 0.88) 100%);
  }
  .hero__inner { padding-top: 0; padding-bottom: 0; }
}

@media (min-width: 900px) {
  .hero__scrim {
    background:
      linear-gradient(90deg, rgba(5, 11, 26, 0.95) 0%, rgba(5, 11, 26, 0.85) 30%, rgba(5, 11, 26, 0.42) 60%, rgba(5, 11, 26, 0.12) 100%),
      linear-gradient(180deg, rgba(5, 11, 26, 0.7) 0%, transparent 26%, rgba(5, 11, 26, 0.1) 68%, rgba(5, 11, 26, 0.8) 100%);
  }
}

.hero__title {
  margin: 0 0 1.4rem;
  color: var(--white);
  font-size: clamp(2.6rem, 1.55rem + 4.6vw, 4.9rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
}
.hero__title span { color: var(--gold); }

.hero__lede {
  max-width: 50ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.16rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.79rem;
  letter-spacing: 0.02em;
}
.hero__points li { display: flex; align-items: center; gap: 0.45rem; }
.hero__points .icon { width: 15px; height: 15px; color: var(--gold); stroke-width: 2.4; }

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

@media (max-width: 479px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* Hero entrance */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.js .hero__content > * { animation: heroIn 0.85s var(--ease) both; }
.js .hero__content > *:nth-child(1) { animation-delay: 0.08s; }
.js .hero__content > *:nth-child(2) { animation-delay: 0.16s; }
.js .hero__content > *:nth-child(3) { animation-delay: 0.26s; }
.js .hero__content > *:nth-child(4) { animation-delay: 0.36s; }
.js .hero__content > *:nth-child(5) { animation-delay: 0.44s; }

/* ---------- 7. Trust strip ---------- */
.trust {
  background: var(--charcoal);
  border-top: 1px solid rgba(230, 161, 0, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.trust__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 62px;
  padding: 0.75rem 0.5rem 0.75rem 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1.3;
}
.trust__item .icon { width: 19px; height: 19px; color: var(--gold); }
.trust__item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.08); padding-right: 0.75rem; }
.trust__item:nth-child(even) { padding-left: 0.9rem; }
.trust__item:nth-child(-n + 2) { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

@media (min-width: 880px) {
  .trust__grid { grid-template-columns: repeat(4, 1fr); }
  .trust__item {
    justify-content: center;
    min-height: 78px;
    padding: 0 1.25rem;
    font-size: 0.74rem;
    letter-spacing: 0.09em;
  }
  .trust__item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.08); }
  .trust__item:nth-child(even) { padding-left: 1.25rem; }
  .trust__item:nth-child(-n + 2) { border-bottom: 0; }
  .trust__item + .trust__item { border-left: 1px solid rgba(255, 255, 255, 0.08); }
  .trust__item:nth-child(odd) { border-right: 0; }
  .trust__item:first-child { border-left: 0; }
}

/* ---------- 8. About ---------- */
.about { background: var(--white); }
.about__grid { display: grid; gap: 2.75rem; }

@media (min-width: 980px) {
  .about__grid {
    grid-template-columns: 1.02fr 0.98fr;
    gap: clamp(3rem, 5vw, 5.5rem);
    align-items: center;
  }
}

.about__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy-800);
  box-shadow: var(--shadow-card);
}
.about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(230, 161, 0, 0.28);
  pointer-events: none;
}
.about__media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.log-card {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  background: rgba(5, 11, 26, 0.88);
  border: 1px solid rgba(230, 161, 0, 0.3);
  backdrop-filter: blur(8px);
}
.log-card__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.log-card__main { color: var(--white); font-size: 0.92rem; font-weight: 600; }
.log-card__sub { color: rgba(255, 255, 255, 0.6); font-size: 0.73rem; }

@media (min-width: 600px) {
  .log-card { left: 1.25rem; right: auto; bottom: 1.25rem; min-width: 300px; padding: 1rem 1.15rem; }
}

.credentials {
  display: grid;
  gap: 1.15rem;
  margin: 2.25rem 0 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--gray-100);
  list-style: none;
}
.credentials li { display: flex; gap: 0.85rem; align-items: flex-start; }
.credentials .icon { width: 21px; height: 21px; color: var(--gold-deep); margin-top: 0.15rem; }
.credentials strong {
  display: block;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.credentials span { display: block; margin-top: 0.15rem; font-size: 0.85rem; line-height: 1.55; color: var(--muted); }

/* ---------- 9. Services ---------- */
.services { background: var(--gray-50); }
.section-head { max-width: 720px; }

.services__grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.75rem;
}
@media (min-width: 800px) {
  .services__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 161, 0, 0.45);
  box-shadow: 0 30px 60px -40px rgba(11, 27, 61, 0.55);
}
.card:hover::before { transform: scaleX(1); }

.card__num {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  color: rgba(11, 27, 61, 0.07);
  font-family: var(--font-display);
  font-size: 3.1rem;
  font-weight: 600;
  line-height: 1;
  transition: color 0.35s;
}
.card:hover .card__num { color: rgba(230, 161, 0, 0.2); }

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--navy-800);
  color: var(--gold);
}
.card__icon .icon { width: 23px; height: 23px; }

.card__title {
  margin: 1.3rem 0 0.6rem;
  color: var(--navy-800);
  font-size: 1.22rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  line-height: 1.15;
}
.card__text { margin: 0 0 1.1rem; color: var(--muted); font-size: 0.9rem; }

.card__list {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  color: var(--navy-800);
  font-size: 0.82rem;
}
.card__list li { display: flex; align-items: baseline; gap: 0.6rem; }
.card__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  background: var(--gold);
  transform: rotate(45deg) translateY(-2px);
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(11, 27, 61, 0.18);
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 0.79rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s;
}
.card__link .icon { width: 16px; height: 16px; color: var(--gold-deep); transition: transform 0.25s var(--ease), color 0.25s; }
.card__link:hover { color: var(--gold-ink); border-bottom-color: var(--gold); }
.card__link:hover .icon { transform: translateX(3px); color: var(--gold-ink); }

/* ---------- 10. Why ---------- */
.why {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: var(--white);
}
.why::before {
  content: "";
  position: absolute;
  top: -25%;
  right: -18%;
  width: 62vw;
  height: 62vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(230, 161, 0, 0.14), rgba(230, 161, 0, 0) 66%);
  pointer-events: none;
}

.why__grid {
  position: relative;
  display: grid;
  gap: 3rem;
}
@media (min-width: 980px) {
  .why__grid { grid-template-columns: 1.05fr 0.95fr; gap: clamp(3rem, 5vw, 4.75rem); align-items: center; }
}

.features {
  display: grid;
  gap: 1.75rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.feature { display: flex; gap: 1rem; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid rgba(230, 161, 0, 0.36);
  background: rgba(230, 161, 0, 0.08);
  color: var(--gold);
}
.feature__icon .icon { width: 21px; height: 21px; }
.feature__title {
  margin: 0 0 0.4rem;
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.feature p { margin: 0; color: rgba(255, 255, 255, 0.66); font-size: 0.89rem; line-height: 1.65; }

.why__media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  background: var(--navy-800);
}
.why__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.live-card {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: rgba(5, 11, 26, 0.9);
  border: 1px solid rgba(230, 161, 0, 0.34);
  backdrop-filter: blur(10px);
}
.live-card__dot {
  width: 9px;
  height: 9px;
  margin-top: 0.3rem;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(230, 161, 0, 0.6);
  animation: livePulse 2.2s infinite;
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 161, 0, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(230, 161, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 161, 0, 0); }
}
.live-card__title {
  margin: 0 0 0.15rem;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.live-card__text { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.79rem; }

@media (min-width: 600px) {
  .live-card { left: 1.25rem; right: auto; bottom: 1.25rem; min-width: 300px; padding: 0.95rem 1.1rem; }
}

.process {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.75rem);
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.process__heading {
  margin: 0 0 2rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.process__list {
  display: grid;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 860px) {
  .process__list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}
.process__num {
  display: block;
  margin-bottom: 0.85rem;
  color: rgba(230, 161, 0, 0.55);
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  line-height: 1;
}
.process__list h3 {
  margin: 0 0 0.45rem;
  color: var(--white);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}
.process__list p { margin: 0; color: rgba(255, 255, 255, 0.6); font-size: 0.86rem; line-height: 1.6; max-width: 36ch; }

/* ---------- 11. Dispatch band ---------- */
.dispatch {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 5.5vw, 4.25rem);
  background: linear-gradient(100deg, var(--gold) 0%, #f0b32a 48%, var(--gold) 100%);
  color: var(--navy-900);
}
.dispatch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(11, 27, 61, 0.055) 0 14px, rgba(11, 27, 61, 0) 14px 28px);
  pointer-events: none;
}
.dispatch__inner {
  position: relative;
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 900px) {
  .dispatch__inner { grid-template-columns: 1fr auto; align-items: center; gap: 3rem; }
}
.dispatch__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.7rem;
  color: rgba(11, 27, 61, 0.78);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.dispatch__eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.dispatch__title {
  margin: 0 0 0.6rem;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  line-height: 1;
  color: var(--navy-900);
}
.dispatch__text { max-width: 46ch; margin: 0; color: rgba(11, 27, 61, 0.82); font-size: 0.97rem; }
.dispatch__actions { display: grid; gap: 0.85rem; justify-items: start; }
.dispatch__note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: rgba(11, 27, 61, 0.75);
  font-size: 0.75rem;
  font-weight: 500;
}
.dispatch__note .icon { width: 15px; height: 15px; }

/* ---------- 12. Contact & form ---------- */
.contact { background: var(--gray-50); }
.contact__grid { display: grid; gap: 2.75rem; }
@media (min-width: 1000px) {
  .contact__grid { grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 5vw, 4.5rem); align-items: start; }
}

.info {
  display: grid;
  gap: 1.4rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.info__item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.info__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--navy-800);
  color: var(--gold);
}
.info__icon .icon { width: 19px; height: 19px; }
.info__label {
  margin: 0 0 0.2rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.info__value {
  display: inline-block;
  color: var(--navy-800);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  word-break: break-word;
  transition: color 0.2s;
}
a.info__value:hover { color: var(--gold-ink); }
.info__value--static { font-size: 1rem; }
.info__sub { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.78rem; }

.contact__form-wrap {
  position: relative;
  padding: clamp(1.35rem, 3.5vw, 2.5rem);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.contact__form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(230, 161, 0, 0.22));
}

.form__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}
.form__title {
  color: var(--navy-800);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.form__note { margin: 0; color: var(--muted); font-size: 0.72rem; }

.form__row { display: grid; gap: 1.05rem; margin-bottom: 1.05rem; }
@media (min-width: 620px) {
  .form__row--2 { grid-template-columns: 1fr 1fr; }
}

.field { display: grid; align-content: start; }
.field--fieldset { margin: 0 0 1.05rem; padding: 0; border: 0; min-width: 0; }

.field > label,
.field > legend {
  display: block;
  margin-bottom: 0.45rem;
  padding: 0;
  color: var(--navy-800);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.input {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid #d3dae3;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: #98a2b3; }
.input:hover { border-color: #b8c2cf; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(230, 161, 0, 0.2); }
.textarea { min-height: 112px; resize: vertical; }

.select { position: relative; }
.select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem;
  cursor: pointer;
}
.select select:invalid { color: #98a2b3; }
.select option { color: var(--ink); }
.select__chev {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}

.checks { display: grid; grid-template-columns: 1fr; gap: 0.55rem; }
@media (min-width: 460px) {
  .checks { grid-template-columns: 1fr 1fr; }
}
.check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid #d3dae3;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy-800);
  font-size: 0.83rem;
  line-height: 1.25;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.check:hover { border-color: #b8c2cf; }
.check input {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: none;
  accent-color: var(--gold-deep);
}
.check:has(input:checked) {
  border-color: var(--gold);
  background: rgba(230, 161, 0, 0.07);
  box-shadow: inset 0 0 0 1px rgba(230, 161, 0, 0.35);
}
.check:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

.field__error {
  margin: 0.35rem 0 0;
  color: #a5281b;
  font-size: 0.75rem;
  line-height: 1.4;
}
.field.is-invalid .input,
.field.is-invalid .select select { border-color: #c0392b; background: #fdf6f5; }
.field.is-invalid > label,
.field.is-invalid > legend { color: #a5281b; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { margin-top: 0.4rem; height: 54px; }
.form__privacy { margin: 0.85rem 0 0; color: var(--muted); font-size: 0.72rem; text-align: center; }

.form__status { margin: 0.9rem 0 0; font-size: 0.85rem; line-height: 1.5; }
.form__status:empty { display: none; }
.form__status.is-success {
  padding: 0.8rem 0.9rem;
  border-left: 3px solid #1b7a43;
  background: #eaf6ee;
  color: #145c33;
}
.form__status.is-error {
  padding: 0.8rem 0.9rem;
  border-left: 3px solid #c0392b;
  background: #fdf1ef;
  color: #8f2117;
}

/* ---------- 13. Footer ---------- */
.footer {
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: 1.5rem;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
@media (max-width: 759px) {
  .footer { padding-bottom: calc(5.75rem + env(safe-area-inset-bottom)); }
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .footer__grid { grid-template-columns: 1.5fr 0.8fr 0.8fr 1.15fr; gap: 2.75rem; }
}

.footer__brand p {
  max-width: 34ch;
  margin: 1.15rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}
.footer__brand .brand__mark { width: 42px; height: 42px; }

.socials { display: flex; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.socials .icon { width: 17px; height: 17px; }
.socials a:hover { color: var(--gold); border-color: var(--gold); background: rgba(230, 161, 0, 0.1); }

.footer__title {
  margin: 0 0 1.1rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.footer__col ul { display: grid; gap: 0.1rem; margin: 0; padding: 0; list-style: none; }
.footer__col li a {
  display: inline-block;
  padding: 0.32rem 0;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}
.footer__col li a:hover { color: var(--white); transform: translateX(2px); }

.footer__phone {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s;
}
.footer__phone:hover { color: var(--gold); }
.footer__email {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  text-decoration: none;
  word-break: break-word;
}
.footer__email:hover { color: var(--white); }
.footer__contact p { margin: 0 0 0.85rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); line-height: 1.6; }
.footer__cred {
  margin: 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.76rem;
}
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.footer__legal a { color: inherit; text-decoration: none; }
.footer__legal a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 14. Call bar / motion ---------- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(5, 11, 26, 0.97);
  border-top: 1px solid rgba(230, 161, 0, 0.26);
  backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.callbar.is-visible,
html:not(.js) .callbar { transform: none; }
.callbar .btn--ghost { background: rgba(255, 255, 255, 0.06); }
@media (min-width: 760px) {
  .callbar { display: none; }
}

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .hero__content > * { animation: none; }
  .pulse::after { display: none; }
}

@media print {
  .site-header, .callbar, .drawer, .skip-link { display: none !important; }
  body { color: #000; }
  .hero { min-height: 0; padding: 2rem 0; }
  .hero__media, .hero__scrim { display: none; }
  .hero__title, .hero__lede, .hero__points { color: #000; }
  .section, .why, .dispatch, .contact { padding-block: 1.5rem; }
}
