/*
Theme Name: Transmax OnRoute
Theme URI: https://example.com/
Author: Codex
Description: Courier-service child theme built on the purchased Transmax theme.
Template: transmax
Version: 1.0.1
Requires at least: 5.7
Requires PHP: 7.4
Text Domain: transmax-onroute
*/

:root {
  --or-bg: #05090c;
  --or-panel: #111315;
  --or-ink: #f6f7f8;
  --or-muted: #c7ccd2;
  --or-dim: #8f969e;
  --or-line: rgba(255, 255, 255, 0.14);
  --or-orange: #ff9700;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.onroute-site {
  margin: 0;
  color: var(--or-ink);
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 151, 0, 0.14), transparent 28%),
    linear-gradient(180deg, #030608 0%, #071015 50%, #05090c 100%);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.onroute-site a {
  color: inherit;
  text-decoration: none;
}

.onroute-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 14px clamp(18px, 3.8vw, 54px);
  background: rgba(3, 6, 8, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
}

.onroute-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
}

.onroute-brand-copy {
  display: grid;
}

.onroute-logo-mark {
  position: relative;
  width: 28px;
  height: 28px;
  border: 6px solid var(--or-orange);
  border-radius: 50%;
}

.onroute-logo-mark::before {
  position: absolute;
  top: -10px;
  left: 7px;
  width: 5px;
  height: 9px;
  background: var(--or-orange);
  border-radius: 2px;
  content: "";
}

.onroute-logo-mark::after {
  position: absolute;
  top: 5px;
  left: 7px;
  width: 13px;
  height: 3px;
  background: var(--or-orange);
  transform: rotate(38deg);
  transform-origin: left center;
  content: "";
}

.onroute-brand-main {
  font-size: 29px;
  font-weight: 900;
}

.onroute-brand-main span {
  color: var(--or-orange);
}

.onroute-brand-sub {
  margin-top: 4px;
  color: var(--or-muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.onroute-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.onroute-nav a {
  position: relative;
  padding: 30px 0 26px;
}

.onroute-nav a:hover,
.onroute-nav .current-menu-item > a,
.onroute-nav a[aria-current="page"] {
  color: var(--or-orange);
}

.onroute-nav .current-menu-item > a::after,
.onroute-nav a[aria-current="page"]::after,
.onroute-nav a:first-child::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 3px;
  background: var(--or-orange);
  content: "";
}

.onroute-menu {
  display: flex;
  gap: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
}

.onroute-toggle {
  display: none;
  color: var(--or-ink);
  border: 1px solid var(--or-line);
  background: transparent;
  border-radius: 4px;
  padding: 9px 12px;
}

.onroute-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.onroute-button-primary {
  color: #05090c;
  background: linear-gradient(180deg, #ffac22, var(--or-orange));
  box-shadow: 0 10px 34px rgba(255, 151, 0, 0.2);
}

.onroute-button-primary:hover {
  transform: translateY(-3px) scale(1.045);
  color: #05090c;
  background: #fff;
  box-shadow: 0 15px 38px rgba(255, 255, 255, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.onroute-button-outline,
.onroute-button-ghost {
  border: 1px solid var(--or-orange);
}

.onroute-button-outline {
  color: var(--or-orange);
}

.onroute-button-ghost {
  color: var(--or-ink);
  background: rgba(0, 0, 0, 0.22);
}

.onroute-button-ghost:hover,
.onroute-button-outline:hover {
  transform: translateY(-3px) scale(1.045);
  color: #05090c;
  background: var(--or-orange);
  border-color: var(--or-orange);
  box-shadow: 0 12px 32px rgba(255, 151, 0, 0.28);
}

.onroute-hero {
  position: relative;
  min-height: 430px;
  display: grid;
  align-items: center;
  padding: clamp(46px, 7vw, 84px) clamp(18px, 3.8vw, 54px);
  overflow: hidden;
}

.onroute-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 8, 0.92), rgba(3, 6, 8, 0.54) 42%, rgba(3, 6, 8, 0.12) 100%),
    linear-gradient(180deg, rgba(3, 6, 8, 0.08), #05090c 105%),
    url("assets/img/hero-sunrise-reference.png") center / cover;
  content: "";
}

.onroute-hero-content {
  position: relative;
  max-width: 520px;
}

.onroute-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--or-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.onroute-eyebrow::before,
.onroute-eyebrow::after {
  width: 18px;
  height: 2px;
  background: var(--or-orange);
  content: "";
}

.onroute-site h1,
.onroute-site h2,
.onroute-site h3,
.onroute-site p {
  margin-top: 0;
}

.onroute-hero h1 {
  margin-bottom: 16px;
  color: var(--or-ink);
  font-size: clamp(39px, 4.45vw, 58px);
  line-height: 0.98;
  text-transform: uppercase;
}

.onroute-hero h1 span {
  color: var(--or-orange);
}

.onroute-site h2 {
  margin-bottom: 22px;
  color: var(--or-ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
}

.onroute-site h3 {
  margin-bottom: 8px;
  color: var(--or-ink);
  line-height: 1.1;
}

.onroute-hero-copy {
  max-width: 420px;
  color: var(--or-muted);
  font-size: 17px;
}

.onroute-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.onroute-trust {
  width: min(100% - 36px, 1296px);
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: -22px auto 0;
  padding: 20px 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.35);
}

.onroute-trust article {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  padding: 8px 24px;
  border-right: 1px solid var(--or-line);
}

.onroute-trust article:last-child {
  border-right: 0;
}

.onroute-line-icon,
.onroute-card-icon {
  color: var(--or-orange) !important;
  font-weight: 900;
}

.onroute-line-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  font-size: 26px;
}

.onroute-handshake-icon svg {
  width: 46px;
  height: 46px;
}

.onroute-line-icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--or-orange) !important;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.onroute-line-icon svg *,
.onroute-card-icon svg * {
  fill: none !important;
  stroke: var(--or-orange) !important;
}

.onroute-trust h3 {
  margin: 0 0 2px;
  font-size: 14px;
  text-transform: uppercase;
}

.onroute-trust p {
  margin: 0;
  color: var(--or-muted);
  font-size: 14px;
}

.onroute-section {
  width: min(100% - 36px, 1296px);
  margin: 0 auto;
  padding: 34px 0 24px;
}

.onroute-services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.onroute-card {
  min-height: 330px;
  overflow: hidden;
  background: linear-gradient(180deg, #191b1d, #101214);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 5px;
  transform: translateY(0) scale(1);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  transform-origin: center;
}

.onroute-card:hover {
  position: relative;
  z-index: 3;
  transform: translateY(-8px) scale(1.045);
  border-color: rgba(255, 151, 0, 0.5);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 151, 0, 0.15);
}

.onroute-card-image {
  min-height: 122px;
  background-size: cover;
  background-position: center;
}

.onroute-card-sameday .onroute-card-image,
.onroute-card:nth-child(1) .onroute-card-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28)), url("assets/img/service-sameday.png");
}

.onroute-card-airport .onroute-card-image,
.onroute-card:nth-child(2) .onroute-card-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28)), url("assets/img/service-airport.png");
}

.onroute-card-route .onroute-card-image,
.onroute-card:nth-child(3) .onroute-card-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28)), url("assets/img/service-route.png");
}

.onroute-card-medical .onroute-card-image,
.onroute-card:nth-child(4) .onroute-card-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28)), url("assets/img/service-medical.png");
}

.onroute-card-government .onroute-card-image,
.onroute-card:nth-child(5) .onroute-card-image {
  background-image: linear-gradient(rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28)), url("assets/img/service-government.png");
}

.onroute-card-body {
  padding: 20px 22px 18px;
}

.onroute-card-icon {
  display: block;
  margin-bottom: 16px;
  width: 44px;
  height: 44px;
}

.onroute-card-icon svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--or-orange) !important;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.onroute-plane-icon svg {
  width: 46px;
  height: 46px;
  stroke-width: 2.2;
}

.onroute-card h3 {
  min-height: 48px;
  font-size: 20px;
}

.onroute-card p {
  color: var(--or-muted);
  font-size: 15px;
}

.onroute-card a {
  display: inline-flex;
  gap: 10px;
  margin-top: 12px;
  color: var(--or-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.onroute-urgent {
  width: min(100% - 36px, 1296px);
  display: grid;
  grid-template-columns: 150px 1.4fr 0.85fr 1.2fr auto;
  gap: 22px;
  align-items: center;
  margin: 22px auto 0;
  padding: 24px 28px;
  background:
    linear-gradient(90deg, rgba(255, 151, 0, 0.2), rgba(255, 151, 0, 0.06)),
    linear-gradient(180deg, #1b1711, #141211);
  border: 1px solid rgba(255, 151, 0, 0.22);
  border-radius: 6px;
}

.onroute-support {
  display: grid;
  gap: 2px;
  font-weight: 900;
  text-transform: uppercase;
}

.onroute-support span {
  color: var(--or-ink);
  font-size: 24px;
}

.onroute-support strong {
  color: var(--or-muted);
}

.onroute-cta-copy h2 {
  margin: 0 0 4px;
  font-size: 24px;
}

.onroute-cta-copy p,
.onroute-contact-point span,
.onroute-split p {
  margin: 0;
  color: var(--or-muted);
}

.onroute-contact-point {
  display: grid;
  gap: 2px;
  padding-left: 22px;
  border-left: 1px solid var(--or-line);
}

.onroute-split {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(24px, 6vw, 80px);
  padding-bottom: 70px;
}

.onroute-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 3.8vw, 54px);
  color: var(--or-dim);
  background: #05090c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.onroute-footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .onroute-header {
    grid-template-columns: auto auto;
  }

  .onroute-header-cta {
    display: none;
  }

  .onroute-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .onroute-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 20px;
    background: #030608;
  }

  .onroute-nav.is-open {
    display: flex;
  }

  .onroute-menu {
    display: grid;
    gap: 0;
  }

  .onroute-nav a {
    padding: 13px 0;
  }

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

  .onroute-trust,
  .onroute-services,
  .onroute-urgent,
  .onroute-split {
    grid-template-columns: 1fr;
  }

  .onroute-trust article {
    border-right: 0;
    border-bottom: 1px solid var(--or-line);
  }

  .onroute-trust article:last-child {
    border-bottom: 0;
  }

  .onroute-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .onroute-hero {
    min-height: 610px;
    align-items: end;
  }

  .onroute-services {
    grid-template-columns: 1fr;
  }

  .onroute-contact-point {
    padding-left: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .onroute-button {
    transition: none;
  }

  .onroute-button:hover {
    transform: none;
  }

  .onroute-card {
    transition: none;
  }

  .onroute-card:hover {
    transform: none;
  }
}
