/* Alfaa Logistics — Brand System */
:root {
  --navy: #0b1c36;
  --navy-deep: #071225;
  --cobalt: #1e4f9c;
  --blue: #2a6bc4;
  --blue-soft: #4a8ad4;
  --ice: #eef3f9;
  --mist: #d6e2f0;
  --slate: #3d4f66;
  --ink: #121a26;
  --paper: #f7f9fc;
  --white: #ffffff;
  --line: rgba(11, 28, 54, 0.12);
  --shadow-soft: 0 18px 50px rgba(7, 18, 37, 0.12);

  --font-display: "Outfit", sans-serif;
  --font-brand: "Outfit", sans-serif;
  --font-body: "Manrope", sans-serif;

  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.container-wide {
  width: min(1280px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--slate);
  max-width: 36rem;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 0.85rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    color 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--cobalt);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue);
  box-shadow: 0 12px 28px rgba(30, 79, 156, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

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

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

.btn-light:hover {
  background: var(--ice);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(247, 249, 252, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-dark.scrolled {
  background: rgba(7, 18, 37, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 110;
}

.logo-link img {
  width: auto;
  height: 48px;
  max-width: 130px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Bright logo on dark bars; deepen slightly on light headers */
.site-header.scrolled:not(.is-dark) .logo-link img,
.page-contact .site-header .logo-link img {
  filter: brightness(0.72) saturate(1.35);
}

.logo-text {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1.15;
}

.site-header.scrolled:not(.is-dark) .logo-text {
  color: var(--navy);
}

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

.nav-links a {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.3s ease;
}

.site-header.scrolled:not(.is-dark) .nav-links a {
  color: var(--slate);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--blue-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.site-header.scrolled:not(.is-dark) .nav-links a:hover,
.site-header.scrolled:not(.is-dark) .nav-links a.active {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 0.5rem;
  padding: 0.7rem 1.2rem;
  font-size: 0.88rem;
}

.nav-links a.nav-cta,
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active,
.site-header.scrolled:not(.is-dark) .nav-links a.nav-cta,
.site-header.scrolled:not(.is-dark) .nav-links a.nav-cta:hover,
.site-header.scrolled:not(.is-dark) .nav-links a.nav-cta.active,
.page-contact .nav-links a.nav-cta,
.page-contact .nav-links a.nav-cta:hover {
  color: #ffffff !important;
}

.nav-links a.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 110;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.3s ease;
}

.site-header.scrolled:not(.is-dark) .nav-toggle span {
  background: var(--navy);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(7, 18, 37, 0.88) 0%,
      rgba(7, 18, 37, 0.55) 48%,
      rgba(7, 18, 37, 0.28) 100%
    ),
    linear-gradient(to top, rgba(7, 18, 37, 0.75) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1140px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 4rem) 0 5.5rem;
}

.hero-with-form {
  align-items: center;
}

.hero-with-form .hero-media::after {
  background:
    linear-gradient(
      105deg,
      rgba(7, 18, 37, 0.9) 0%,
      rgba(7, 18, 37, 0.72) 42%,
      rgba(7, 18, 37, 0.55) 100%
    ),
    linear-gradient(to top, rgba(7, 18, 37, 0.55) 0%, transparent 40%);
}

.hero-content-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: calc(var(--nav-h) + 2.5rem) 0 3.5rem;
  width: min(1200px, calc(100% - 2.5rem));
}

.hero-copy h1 {
  max-width: 12ch;
}

.hero-form-wrap {
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.95s var(--ease-out) 0.45s forwards;
}

.hero-form {
  padding: 1.35rem 1.35rem 1.45rem;
  gap: 0.75rem;
  box-shadow: 0 20px 50px rgba(7, 18, 37, 0.35);
}

.hero-form-title {
  font-family: var(--font-brand);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.85rem;
  text-shadow: 0 2px 12px rgba(7, 18, 37, 0.45);
}

.hero-form .field textarea {
  min-height: 72px;
}

.hero-form .field input,
.hero-form .field textarea {
  padding: 0.7rem 0.85rem;
}

.optional {
  font-weight: 500;
  color: var(--slate);
  font-size: 0.78rem;
}

.hero-brand {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.04em;
  text-transform: none;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn 0.9s var(--ease-out) 0.15s forwards;
}

.hero-brand em {
  font-style: normal;
  font-weight: 700;
  color: var(--blue-soft);
}

.hero h1 {
  max-width: 14ch;
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.95s var(--ease-out) 0.32s forwards;
}

.hero .lede {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 1.25rem;
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.95s var(--ease-out) 0.48s forwards;
}

.hero .cta-group {
  opacity: 0;
  transform: translateY(28px);
  animation: riseIn 0.95s var(--ease-out) 0.62s forwards;
}

.hero-compact {
  min-height: 58vh;
  align-items: flex-end;
}

.hero-compact .hero-content {
  padding-bottom: 4rem;
}

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  position: relative;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 3.75rem);
  max-width: 40rem;
}

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

.section-head.centered .lede {
  margin-inline: auto;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-copy {
  order: 2;
}

.split-media {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  min-height: 420px;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.split:hover .split-media img {
  transform: scale(1.04);
}

.split-media::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(7, 18, 37, 0.35), transparent);
  z-index: 1;
  pointer-events: none;
}

.bg-ice {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(42, 107, 196, 0.08), transparent),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(30, 79, 156, 0.07), transparent),
    var(--ice);
}

.bg-navy {
  background:
    linear-gradient(145deg, var(--navy-deep) 0%, var(--navy) 55%, #12305a 100%);
  color: var(--white);
}

.bg-navy .lede,
.bg-navy .section-label {
  color: rgba(255, 255, 255, 0.72);
}

.bg-navy .section-label {
  color: var(--blue-soft);
}

/* ---------- Service list (no cards) ---------- */
.service-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease);
}

.service-row:hover {
  padding-left: 0.5rem;
}

.service-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--cobalt);
  opacity: 0.55;
}

.service-row h3 {
  margin-bottom: 0.35rem;
}

.service-row p {
  color: var(--slate);
  max-width: 42rem;
}

.service-link {
  font-weight: 700;
  color: var(--cobalt);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-link:hover .arrow {
  transform: translateX(4px);
}

/* ---------- Feature band ---------- */
.feature-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 560px;
  overflow: hidden;
}

.feature-band-copy {
  padding: clamp(3rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(160deg, var(--navy-deep), #0f2a4d 70%, #163a66);
  color: var(--white);
}

.feature-band-copy .lede {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 1rem;
}

.feature-band-media {
  position: relative;
}

.feature-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 360px;
}

.checklist {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.85rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.checklist li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.45rem;
  flex-shrink: 0;
  background: var(--blue-soft);
  border-radius: 1px;
  transform: rotate(45deg);
}

.checklist-light li {
  color: var(--ink);
}

.checklist-light li::before {
  background: var(--cobalt);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 1rem;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--cobalt);
  opacity: 0.25;
  margin-bottom: 1rem;
}

.step h3 {
  margin-bottom: 0.6rem;
}

.step p {
  color: var(--slate);
  font-size: 0.98rem;
}

.step + .step::after {
  content: "";
  position: absolute;
  top: 2.2rem;
  left: -1.25rem;
  width: 1.5rem;
  height: 1px;
  background: var(--mist);
}

/* ---------- Page media strip ---------- */
.media-strip {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}

.media-strip figure {
  overflow: hidden;
  border-radius: 6px;
  position: relative;
}

.media-strip img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.media-strip figure:hover img {
  transform: scale(1.05);
}

.media-strip figure:first-child img {
  height: 100%;
  min-height: 420px;
}

.media-strip-stack {
  display: grid;
  gap: 1rem;
}

/* ---------- Quote / CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 6rem) 0;
  color: var(--white);
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
}

.cta-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(7, 18, 37, 0.92) 0%,
    rgba(11, 28, 54, 0.78) 55%,
    rgba(30, 79, 156, 0.55) 100%
  );
}

.cta-banner .container {
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  max-width: 16ch;
}

.cta-banner .lede {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 1rem;
}

/* ---------- About values ---------- */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}

.value-item {
  padding-top: 1.5rem;
  border-top: 2px solid var(--cobalt);
}

.value-item h3 {
  margin-bottom: 0.65rem;
}

.value-item p {
  color: var(--slate);
}

.value-icon {
  color: var(--cobalt);
  margin-bottom: 0.85rem;
}

.values-icons .value-item {
  border-top: 0;
  padding-top: 0;
}

.mission-vision {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3.75rem);
}

.mv-row {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) 1fr;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.mv-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mv-row h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.mv-row p {
  color: var(--slate);
  line-height: 1.75;
  font-size: 1.02rem;
}

.about-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem 1.5rem;
  margin-top: 1.75rem;
}

.about-checks li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  color: var(--navy);
}

.about-checks li::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Contact ---------- */
.page-contact .site-header {
  background: rgba(247, 249, 252, 0.96);
  box-shadow: 0 1px 0 var(--line);
}

.page-contact .logo-text {
  color: var(--navy);
}

.page-contact .nav-links a {
  color: var(--slate);
}

.page-contact .nav-links a:hover,
.page-contact .nav-links a.active {
  color: var(--navy);
}

.page-contact .nav-toggle span {
  background: var(--navy);
}

.contact-page-section {
  padding-top: calc(var(--nav-h) + 1.5rem);
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(ellipse 70% 50% at 100% 0%, rgba(42, 107, 196, 0.08), transparent),
    var(--paper);
}

.contact-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-intro .lede {
  margin-top: 1rem;
}

.contact-details-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.contact-address {
  margin-top: 0.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.page-contact .contact-form {
  width: 100%;
  max-width: none;
  padding: 1.65rem clamp(1.25rem, 3vw, 2rem);
  gap: 0.95rem;
  overflow: visible;
}

.page-contact .field textarea {
  min-height: 110px;
}

.page-contact #quote-form {
  scroll-margin-top: calc(var(--nav-h) + 1rem);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 1.75rem;
}

.contact-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.contact-item p,
.contact-item a {
  color: var(--slate);
}

.contact-item a:hover {
  color: var(--cobalt);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--mist);
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(30, 79, 156, 0.15);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: var(--slate);
}

.form-success {
  display: none;
  padding: 1rem 1.15rem;
  background: rgba(30, 79, 156, 0.08);
  border-left: 3px solid var(--cobalt);
  color: var(--navy);
  font-weight: 600;
}

.form-success.show {
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

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

.footer-brand p {
  max-width: 28ch;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.footer-address {
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0 0 0.55rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  transition: color 0.3s ease, transform 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Line draw accent */
.draw-line {
  width: 64px;
  height: 3px;
  background: var(--cobalt);
  margin: 1.25rem 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out);
}

.draw-line.visible {
  transform: scaleX(1);
}

.bg-navy .draw-line {
  background: var(--blue-soft);
}

/* ---------- Page enter ---------- */
.page-enter main {
  animation: pageIn 0.55s var(--ease-out);
}

@keyframes pageIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split,
  .split.reverse,
  .feature-band,
  .contact-grid,
  .contact-details-row,
  .hero-content-split,
  .footer-grid,
  .media-strip {
    grid-template-columns: 1fr;
  }

  .hero-with-form {
    align-items: flex-start;
  }

  .hero-content-split {
    padding-top: calc(var(--nav-h) + 1.75rem);
    padding-bottom: 2.5rem;
  }

  .hero-copy h1 {
    max-width: 14ch;
  }

  .split.reverse .split-copy {
    order: 0;
  }

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

  .step + .step::after {
    display: none;
  }

  .values {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .mv-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .about-checks {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 56px 1fr;
  }

  .service-link {
    grid-column: 2;
  }

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

  .feature-band-media {
    min-height: 320px;
  }

  .media-strip figure:first-child img,
  .media-strip img {
    min-height: 240px;
    height: 240px;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(7, 18, 37, 0.97);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    padding: 2rem;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.75rem 1rem;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    margin: 1rem 0 0;
    width: 100%;
  }

  .site-header.scrolled .nav-toggle.open span,
  .site-header .nav-toggle.open span {
    background: var(--white);
  }

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

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

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

  .hero-content {
    padding-bottom: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .hero-brand,
  .hero h1,
  .hero .lede,
  .hero .cta-group,
  .hero-form-wrap {
    opacity: 1;
    transform: none;
  }
}
