:root {
  --ink: #102033;
  --ink-soft: #425466;
  --paper: #fbfcfd;
  --white: #ffffff;
  --line: #d8e0e8;
  --mist: #eef3f7;
  --steel: #26394f;
  --red: #c9292f;
  --red-dark: #a91f25;
  --gold: #d9a441;
  --green: #55766a;
  --anchor-offset: 0px;
  --shadow: 0 18px 45px rgba(16, 32, 51, 0.14);
  --radius: 8px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(18px, 5vw, 64px);
  background: rgba(251, 252, 253, 0.92);
  border-bottom: 1px solid rgba(216, 224, 232, 0.75);
  backdrop-filter: blur(18px);
  transition:
    box-shadow 160ms ease,
    min-height 160ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  box-shadow: 0 10px 24px rgba(16, 32, 51, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  font-weight: 900;
  letter-spacing: 0;
}

.brand-mark,
.brand-word {
  display: inline-grid;
  place-items: center;
  height: 34px;
}

.brand-mark {
  padding: 0 10px;
  color: var(--white);
  background: var(--red);
  border-radius: 4px;
}

.brand-word {
  color: var(--ink);
  font-size: 1.08rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--red);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

.header-cta {
  padding: 0 18px;
  color: var(--white);
  background: var(--ink);
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, calc(100svh - 98px));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--steel);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(16, 32, 51, 0.86) 0%, rgba(16, 32, 51, 0.68) 36%, rgba(16, 32, 51, 0.18) 72%),
    linear-gradient(180deg, rgba(16, 32, 51, 0.14), rgba(16, 32, 51, 0.58));
}

.hero-content {
  width: min(680px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: clamp(46px, 9vw, 96px) 0;
  color: var(--white);
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 12vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  min-width: 154px;
  padding: 0 22px;
  border: 2px solid transparent;
  cursor: pointer;
}

.button-primary,
.button-submit {
  color: var(--white);
  background: var(--red);
}

.button-primary:hover,
.button-primary:focus-visible,
.button-submit:hover,
.button-submit:focus-visible {
  background: var(--red-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  min-height: 104px;
  padding: 24px clamp(18px, 4vw, 42px);
  background: var(--white);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  font-size: 1rem;
}

.trust-strip span {
  margin-top: 5px;
  color: var(--ink-soft);
}

.section {
  padding: clamp(64px, 9vw, 112px) 0;
  scroll-margin-top: var(--anchor-offset);
}

#contact {
  scroll-margin-top: var(--anchor-offset);
}

.section-light {
  background: var(--paper);
}

.section-band {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 32, 51, 0.96), rgba(38, 57, 79, 0.98)),
    var(--steel);
}

.section-shell,
.footer-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.split,
.driver-layout,
.apply-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 8px;
  font-size: 1.25rem;
  line-height: 1.15;
}

.section-lead,
.driver-copy > p:not(.section-kicker),
.apply-intro > p:not(.section-kicker) {
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.section-band .driver-copy > p:not(.section-kicker),
.section-band .driver-list span {
  color: rgba(255, 255, 255, 0.76);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.service-card {
  min-height: 234px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 30px rgba(16, 32, 51, 0.06);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--red);
  border: 1px solid rgba(201, 41, 47, 0.28);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.driver-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: var(--radius);
}

.driver-list div {
  min-height: 104px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.driver-list strong,
.driver-list span {
  display: block;
}

.driver-list span {
  margin-top: 6px;
}

.apply-layout {
  align-items: stretch;
}

.driver-copy h2 {
  margin-bottom: 12px;
}

.apply-intro {
  padding-top: 10px;
}

.apply-intro h2 {
  margin-bottom: 12px;
}


.application-form {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 4vw, 32px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.upload-grid {
  margin-top: 4px;
}

.upload-grid .form-row {
  position: relative;
}

label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #c7d2de;
  border-radius: 6px;
  font: inherit;
}

input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dropzone {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px dashed #aab7c6;
  border-radius: 6px;
  background: var(--paper);
  cursor: pointer;
}

.dropzone:hover {
  border-color: var(--red);
}

.dropzone:focus-visible {
  outline: 3px solid rgba(201, 41, 47, 0.18);
  border-color: var(--red);
}

.dropzone.is-drag-active {
  border-color: var(--red);
  background: #fff4f4;
}

.dropzone-title,
.dropzone-help,
.dropzone-file {
  margin: 0;
}

.dropzone-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.dropzone-help {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.dropzone-file {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(201, 41, 47, 0.18);
  border-color: var(--red);
}

input:disabled,
select:disabled,
textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background-color: var(--mist);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.button-submit {
  width: 100%;
  min-height: 50px;
  font-size: 1rem;
  border: 0;
}

.button-submit:disabled {
  opacity: 0.8;
  cursor: not-allowed;
  animation: pulse 1.5s ease-in-out infinite;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-weight: 800;
}

.site-footer {
  padding: 38px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #0c1724;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand .brand-word {
  color: var(--white);
}

.site-footer p {
  margin: 14px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 18px;
  font-weight: 800;
}

.footer-links address {
  flex-basis: 100%;
  margin: 2px 0 0;
  font-style: normal;
  font-weight: 600;
  line-height: 1.45;
  text-align: right;
}

.footer-compliance {
  flex-basis: 100%;
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: right;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 78svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 32, 51, 0.9), rgba(16, 32, 51, 0.58)),
      linear-gradient(180deg, rgba(16, 32, 51, 0.1), rgba(16, 32, 51, 0.62));
  }

  .trust-strip,
  .service-grid,
  .split,
  .driver-layout,
  .apply-layout {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    gap: 0;
  }
}

@media (max-width: 560px) {
  .trust-strip {
    gap: 12px;
    padding: 14px 16px 0;
    background: transparent;
  }

  .trust-strip div {
    min-height: auto;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(16, 32, 51, 0.06);
  }

  .trust-strip strong {
    font-size: 0.98rem;
  }

  .trust-strip span {
    margin-top: 4px;
    font-size: 0.94rem;
    line-height: 1.42;
  }

  .site-header {
    position: relative;
    min-height: auto;
  }

  .main-nav {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 22px;
    padding-bottom: 3px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-content {
    width: min(100% - 32px, 620px);
    margin-left: 16px;
  }

  .hero h1 {
    font-size: clamp(3.8rem, 20vw, 5.4rem);
  }

  .button {
    width: 100%;
  }

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

  .application-form {
    padding: 18px;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-links address {
    text-align: left;
  }

  .footer-compliance {
    text-align: left;
  }
}
