/* Venus Express — plain CSS (InfinityFree / FTP ready) */

:root {
  --navy: #004374;
  --navy-dark: #062944;
  --red: #ed1c24;
  --blue: #044b92;
  --bright: #046bd2;
  --cta: #357cbd;
  --green: #5cba3c;
  --soft: #f0f5fa;
  --muted: #64748b;
  --ink: #0f172a;
  --footer: #266395;
  --max: 1120px;
  --font: "Roboto", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: none;
  box-shadow: none;
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.header-top {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 0.85rem 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 2.85rem;
  width: auto;
}

.header-contact {
  display: none;
  flex: 1;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  min-width: 0;
}

.header-contact__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1.15rem;
  border-right: 1px solid #e2e8f0;
}

.header-contact__item:last-child {
  border-right: 0;
}

.header-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--soft);
  color: var(--bright);
  flex-shrink: 0;
}

.header-contact__item .label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.header-contact__item a,
.header-contact__item strong {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  word-break: break-word;
}

.header-contact__item a[href^="tel"] {
  color: var(--bright);
}

.header-contact__item a:hover {
  color: var(--navy);
}

.wpa-badge {
  display: none;
  flex-shrink: 0;
}

.wpa-badge img {
  height: 2.4rem;
  width: auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  width: 14px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: #fff;
}

.main-nav {
  background: var(--blue);
}

.main-nav__desktop {
  display: none;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  justify-content: center;
  align-items: stretch;
  gap: 0;
}

.main-nav__desktop > li {
  position: relative;
}

.main-nav__desktop > li > a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.95rem 1.15rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: background 0.15s ease, border-bottom-color 0.15s ease;
}

.main-nav__desktop > li > a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.main-nav__desktop > li > a.is-active,
.main-nav__desktop > li.is-current > a {
  background: rgba(255, 255, 255, 0.1);
  border-bottom-color: #fff;
}

.main-nav__desktop > li > a.is-active:hover,
.main-nav__desktop > li.is-current > a:hover {
  border-bottom-color: #fff;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.85;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  margin: 0;
  padding: 0.4rem 0;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 120;
}

.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.7rem 1.1rem;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.dropdown a:hover {
  background: var(--soft);
  color: var(--blue);
  border-left-color: var(--bright);
}

.main-nav__mobile {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.main-nav__mobile.is-open {
  display: block;
}

.main-nav__mobile > a,
.mobile-accordion__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  padding: 0.9rem 1rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.main-nav__mobile > a.is-active,
.main-nav__mobile > a:hover,
.mobile-accordion__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.mobile-accordion__panel a {
  display: block;
  padding: 0.75rem 1rem 0.75rem 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-accordion__panel a:hover {
  background: rgba(0, 0, 0, 0.25);
}

.mobile-accordion__btn[aria-expanded="true"] .caret {
  transform: rotate(180deg);
}

@media (min-width: 992px) {
  .logo img {
    height: 3.35rem;
  }

  .header-contact,
  .wpa-badge {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .main-nav__desktop {
    display: flex;
  }

  .main-nav__mobile {
    display: none !important;
  }
}

@media (max-width: 1100px) and (min-width: 992px) {
  .header-contact__item {
    padding: 0 0.75rem;
  }

  .header-contact__item a,
  .header-contact__item strong {
    font-size: 0.8rem;
  }

  .wpa-badge img {
    height: 2rem;
  }
}

/* ===== Hero slider ===== */

.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.85s ease, visibility 0.85s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6.5s ease-out;
}

.hero-slide.is-active .hero-slide__img {
  transform: scale(1);
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.22));
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 70vh;
}

.hero-slide__inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 5.5rem;
}

.hero-slide__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease 0.05s, transform 0.45s ease 0.05s;
}

.hero-slide.is-active .hero-slide__eyebrow {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__inner h1 {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: pre-line;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease 0.15s, transform 0.55s ease 0.15s;
}

.hero-slide.is-active .hero-slide__inner h1 {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide__inner p {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease 0.28s, transform 0.55s ease 0.28s;
}

.hero-slide.is-active .hero-slide__inner p {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, filter 0.15s ease, color 0.15s ease;
}

.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease 0.4s, transform 0.55s ease 0.4s;
}

.hero-slide.is-active .hero-slide__actions {
  opacity: 1;
  transform: translateY(0);
}

.btn-cta {
  background: var(--cta);
}

.btn-cta:hover {
  background: var(--bright);
}

.btn-green {
  background: var(--green);
}

.btn-green:hover {
  filter: brightness(1.08);
}

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

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

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bright);
}

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

.hero-arrow {
  display: none;
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: 0;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.65);
}

.hero-arrow--prev {
  left: 0.75rem;
}

.hero-arrow--next {
  right: 0.75rem;
}

.hero-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.hero-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-dot.is-active {
  background: #fff;
  transform: scale(1.15);
}

.hero-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--bright);
}

@media (min-width: 768px) {
  .hero-arrow {
    display: grid;
    place-items: center;
  }
}

/* ===== Shared sections ===== */

.section {
  padding: 4rem 0;
}

.section-title {
  margin: 0 0 2rem;
  text-align: center;
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.75rem;
}

.section-title::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: 0.75rem auto 0;
  background: var(--bright);
}

.section-title--left {
  text-align: left;
}

.section-title--left::after {
  margin-left: 0;
}

/* ===== Services (editorial rows) ===== */

.services {
  background:
    linear-gradient(180deg, #f7fafc 0%, #ffffff 38%, #f7fafc 100%);
}

.svc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #dbe4ee;
}

.svc-head__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bright);
}

.svc-head__title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.svc-head__lead {
  margin: 0.75rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.svc-head__btn {
  flex-shrink: 0;
}

.svc-list {
  display: grid;
  gap: 1.75rem;
}

.svc-row {
  display: grid;
  gap: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.svc-row:hover {
  border-color: #c5d4e4;
  box-shadow: 0 14px 36px rgba(0, 67, 116, 0.08);
}

@media (min-width: 860px) {
  .svc-row {
    grid-template-columns: 1.05fr 1fr;
    min-height: 280px;
  }

  .svc-row--flip .svc-row__media {
    order: 2;
  }

  .svc-row--flip .svc-row__body {
    order: 1;
  }
}

.svc-row__media {
  display: block;
  position: relative;
  min-height: 220px;
  overflow: hidden;
  background: var(--navy);
}

.svc-row__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 67, 116, 0.25), transparent 55%);
  pointer-events: none;
}

.svc-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.svc-row:hover .svc-row__media img {
  transform: scale(1.04);
}

.svc-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 1.5rem;
}

@media (min-width: 860px) {
  .svc-row__body {
    padding: 2.25rem 2.5rem;
  }
}

.svc-row__num {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--bright);
}

.svc-row__meta {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.svc-row__body h3 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.2;
}

.svc-row__body p {
  margin: 0.75rem 0 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 34rem;
}

.svc-row__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--bright);
}

.svc-row__link span {
  transition: transform 0.2s ease;
}

.svc-row__link:hover {
  color: var(--navy);
}

.svc-row__link:hover span {
  transform: translateX(4px);
}

/* Keep old service-card styles for services.php hub page */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.service-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--soft);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__body {
  padding: 1.25rem;
}

.service-card__body h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
}

.service-card__body p {
  margin: 0.6rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ===== Why Choose Us ===== */

.why {
  background: var(--soft);
}

.why-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: #fff;
  padding: 1.5rem;
  border-top: 3px solid var(--bright);
}

.why-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
}

.why-card p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ===== Mid CTA ===== */

.mid-cta {
  background: #f5f5f5;
  padding: 2.5rem 0;
}

.mid-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mid-cta__inner p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

/* ===== Projects + News ===== */

.projects-news {
  background: #1a2f42 url("../../images/blured.jpg") center / cover no-repeat;
  color: #fff;
}

.projects-news .section-title {
  color: #fff;
}

.projects-news .section-title::after {
  background: var(--red);
}

.projects-news .text-link {
  color: #fff;
}

.projects-news .text-link:hover {
  color: var(--red);
}

.projects-news__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .projects-news__grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.projects-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.projects-block__head .section-title {
  margin-bottom: 0;
}

.gallery {
  position: relative;
  overflow: hidden;
}

.gallery__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery__track::-webkit-scrollbar {
  display: none;
}

.gallery__item {
  flex: 0 0 75%;
  scroll-snap-align: start;
  overflow: hidden;
}

@media (min-width: 640px) {
  .gallery__item {
    flex-basis: 45%;
  }
}

.gallery__item img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.25rem;
  cursor: pointer;
}

.gallery__nav--prev {
  left: 0.5rem;
}

.gallery__nav--next {
  right: 0.5rem;
}

.news-feature a {
  display: block;
  color: #fff;
}

.news-feature img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

.news-feature h3 {
  margin: 0.75rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.news-list {
  margin: 1.25rem 0;
}

.news-list li + li {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.news-list a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

.news-list a:hover {
  color: #fff;
}

/* ===== Tracking + Quote ===== */

.tracking-quote {
  background: #fff;
}

.tracking-quote__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .tracking-quote__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.tracking-block__img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  margin-bottom: 1rem;
}

.tracking-links li + li {
  margin-top: 0.65rem;
}

.tracking-links a {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--soft);
  border-left: 3px solid var(--bright);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.tracking-links a:hover {
  background: #e8eef5;
  color: var(--bright);
}

.quote-block__intro {
  margin: -1rem 0 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.quote-form {
  display: grid;
  gap: 0.9rem;
}

.quote-form label {
  display: grid;
  gap: 0.35rem;
}

.quote-form label span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #cbd5e1;
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--bright);
  outline-offset: 1px;
  border-color: var(--bright);
}

.quote-form .hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.quote-form .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.form-status {
  margin: 0;
  font-size: 0.875rem;
  min-height: 1.25em;
}

.form-status.is-ok {
  color: #15803d;
}

.form-status.is-error {
  color: var(--red);
}

/* ===== Footer ===== */

.site-footer {
  background: var(--footer);
  color: #fff;
}

.footer-grid {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 3rem 0;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  }
}

.footer-grid > div > img {
  height: 2.5rem;
  width: auto;
}

.footer-about {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-grid ul {
  margin-top: 1rem;
}

.footer-grid li + li {
  margin-top: 0.5rem;
}

.footer-grid a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid a:hover {
  color: #fff;
}

.site-footer address {
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer address p {
  margin: 0;
}

.site-footer address .pt {
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== Inner page banner ===== */

.page-banner {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy) var(--banner-image) center / cover no-repeat;
}

.page-banner__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 36, 70, 0.88), rgba(0, 36, 70, 0.55));
}

.page-banner__inner {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}

.page-banner__crumb {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-banner__crumb a:hover {
  color: #fff;
}

.page-banner h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
}

.page-banner__sub {
  margin: 0.5rem 0 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.88);
}

/* ===== Page layouts ===== */

.page-section {
  padding: 3.5rem 0;
}

.page-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr 280px;
    align-items: start;
  }

  .page-layout--reverse {
    grid-template-columns: 280px 1fr;
  }
}

.page-content h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.4rem;
}

.page-content h3 {
  margin: 1.75rem 0 0.75rem;
  color: var(--navy);
  font-size: 1.1rem;
}

.page-content p {
  margin: 0 0 1rem;
  color: #475569;
  line-height: 1.7;
}

.page-content .lead {
  font-size: 1.05rem;
  color: var(--ink);
}

.content-list {
  margin: 0 0 1.25rem;
  padding: 0;
}

.content-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.95rem;
}

.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--bright);
  border-radius: 50%;
}

.media-block {
  margin: 1.5rem 0;
  overflow: hidden;
}

.media-block img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

/* Trial layout — Air Freight Services first; roll out if approved */
.service-feature {
  display: grid;
  gap: 1.25rem;
  margin: 0 0 1.75rem;
  align-items: start;
}

.service-feature__media {
  margin: 0;
  max-width: 22rem;
  background: var(--soft);
  border-left: 3px solid var(--bright);
  overflow: hidden;
}

.service-feature__media img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.service-feature__copy h2 {
  margin: 0 0 0.75rem;
}

.service-feature__copy .lead {
  margin: 0;
}

@media (min-width: 720px) {
  .service-feature {
    grid-template-columns: minmax(12rem, 17.5rem) minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;
  }

  .service-feature__media {
    max-width: none;
  }
}

.two-col {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Sidebar */

.service-sidebar {
  background: var(--soft);
  padding: 1.5rem;
  border-top: 3px solid var(--bright);
}

.service-sidebar h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--navy);
}

.service-sidebar ul {
  margin: 0 0 1.25rem;
}

.service-sidebar li + li {
  border-top: 1px solid #dbe4ee;
}

.service-sidebar a {
  display: block;
  padding: 0.7rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.service-sidebar a:hover,
.service-sidebar a.is-active {
  color: var(--bright);
}

.sidebar-cta {
  width: 100%;
  text-align: center;
}

/* Tracking airlines */

.airline-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .airline-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .airline-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.airline-grid a {
  display: block;
  padding: 0.8rem 1rem;
  background: var(--soft);
  border-left: 3px solid var(--bright);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.airline-grid a:hover {
  background: #e8eef5;
  color: var(--bright);
}

/* Projects gallery page */

.projects-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 768px) {
  .projects-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.projects-grid a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--soft);
}

.projects-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.projects-grid a:hover img {
  transform: scale(1.05);
}

/* News */

.news-card {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

@media (min-width: 700px) {
  .news-card {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.news-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.news-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.news-card p {
  margin: 0;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-card {
  background: var(--soft);
  padding: 1.5rem;
}

.contact-card h3 {
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-size: 1rem;
  text-transform: uppercase;
}

.contact-card p,
.contact-card address {
  margin: 0;
  font-style: normal;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-card p + p,
.contact-card address p + p {
  margin-top: 0.25rem;
}

.contact-card .gap {
  margin-top: 1rem;
}

.map-embed {
  margin-top: 1.5rem;
  overflow: hidden;
  border: 0;
  width: 100%;
  min-height: 280px;
  background: #dbe4ee;
}

/* Sitemap */

.sitemap-list {
  columns: 1;
  gap: 2rem;
}

@media (min-width: 700px) {
  .sitemap-list {
    columns: 2;
  }
}

.sitemap-list a {
  display: block;
  padding: 0.55rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  color: var(--navy);
  break-inside: avoid;
}

.sitemap-list a:hover {
  color: var(--bright);
}
