/* Client-approved original identity: exact sampled colors from supplied logo. */
:root {
  --agency-yellow: #fdfd00;
  --agency-gold: #fdfd00;
  --cm-gold: #fdfd00;
  --color-primary: #fdfd00;
  --color-primary-hover: #fdfd00;
  --color-primary-soft: #ffffd9;
  --agency-ink: #262626;
  --agency-charcoal: #262626;
  --agency-panel: #262626;
  --color-black: #262626;
  --color-charcoal: #262626;
}

.site-topbar,
.site-header,
.site-footer,
.section--dark,
.hiw,
.dest,
.tstm {
  background-color: #262626 !important;
}

/* The supplied logo panel samples to RGB(38,38,38), exactly #262626. */
.site-header,
body.home .site-header,
body.home .site-header.is-scrolled,
body:not(.home) .site-header {
  background: #262626 !important;
  background-color: #262626 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.site-header__brand {
  width: 210px;
  height: 64px;
}

.site-header__logo {
  width: 210px !important;
  height: 64px !important;
  max-width: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.site-footer__logo {
  width: 210px !important;
  height: 92px !important;
  object-fit: contain !important;
  object-position: center !important;
}

.carriers__logo {
  filter: none !important;
  opacity: 1 !important;
  max-height: 44px;
  object-fit: contain;
}

.why__savings-note {
  margin: -10px 0 28px;
  color: #626262;
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Client-requested comparison system: gray base, white copy, yellow icons. */
.why__comparison {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: #262626 !important;
}

.why__comparison-side,
.why__comparison-side--cargo {
  color: #fff !important;
  background: #333 !important;
}

.why__comparison-side--cargo { background: #3b3b3b !important; }
.why__comparison-side span,
.why__comparison-side--cargo span,
.why__comparison-vs { color: #fdfd00 !important; }
.why__comparison-side strong { color: #fff !important; }
.why__comparison-vs { background: #262626 !important; }

.why__grid { background: transparent !important; }

.why__card,
.why__card:first-child,
.why__card:hover,
.why__card:first-child:hover {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: #333 !important;
  box-shadow: 0 14px 34px rgba(38, 38, 38, 0.12) !important;
}

.why__card:hover,
.why__card:first-child:hover {
  border-color: rgba(253, 253, 0, 0.65) !important;
  background: #3b3b3b !important;
  transform: translateY(-4px) !important;
}

.why__card-title,
.why__card:first-child .why__card-title { color: #fff !important; }
.why__card p { color: rgba(255, 255, 255, 0.76) !important; }

.why__card .icon-chip,
.why__card:first-child .icon-chip {
  color: #fdfd00 !important;
  border: 1px solid rgba(253, 253, 0, 0.72);
  background: rgba(253, 253, 0, 0.06) !important;
  box-shadow: 0 0 22px rgba(253, 253, 0, 0.12);
  animation: cargomax-card-icon-glow 3s ease-in-out infinite;
}

.why__card:nth-child(2) .icon-chip { animation-delay: .25s; }
.why__card:nth-child(3) .icon-chip { animation-delay: .5s; }
.why__card:nth-child(4) .icon-chip { animation-delay: .75s; }
.why__card:nth-child(5) .icon-chip { animation-delay: 1s; }
.why__card:nth-child(6) .icon-chip { animation-delay: 1.25s; }

@keyframes cargomax-card-icon-glow {
  0%, 100% { box-shadow: 0 0 12px rgba(253, 253, 0, 0.08); }
  50% { box-shadow: 0 0 30px rgba(253, 253, 0, 0.32); }
}

.hero-console__network-proof {
  grid-template-columns: 52px minmax(0, 1fr) !important;
  gap: 16px !important;
}

.hero-console__carriers {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  grid-template-columns: none !important;
}

.hero-console__network-proof span {
  width: auto !important;
  max-width: none !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.hero__benefits .hero__benefit--featured {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 48px;
  margin: -8px 0;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(253, 253, 0, 0.7);
  border-radius: 999px;
  color: #fff !important;
  background: rgba(38, 38, 38, 0.8);
  box-shadow: 0 0 0 1px rgba(253, 253, 0, 0.08), 0 8px 28px rgba(0, 0, 0, 0.22);
  font-weight: 750;
}

.hero__benefits .hero__benefit--featured::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(253, 253, 0, 0.2) 48%, transparent 76%);
  transform: translateX(-120%);
  animation: cargomax-savings-shimmer 3.6s ease-in-out infinite;
}

.hero__benefit--featured .hero__benefit-check {
  width: 30px;
  height: 30px;
  color: #262626;
  background: #fdfd00;
  box-shadow: 0 0 0 0 rgba(253, 253, 0, 0.55);
  animation: cargomax-savings-pulse 2.2s ease-out infinite;
}

@keyframes cargomax-savings-shimmer {
  0%, 35% { transform: translateX(-120%); }
  70%, 100% { transform: translateX(120%); }
}

@keyframes cargomax-savings-pulse {
  0% { box-shadow: 0 0 0 0 rgba(253, 253, 0, 0.55); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(253, 253, 0, 0); }
}

.dest .eyebrow,
.dest__meta,
.dest__flag,
.dest__route-world,
.link-arrow--light {
  color: #fdfd00 !important;
}

.dest__route-origin,
.dest__route-line,
.dest__route-line i {
  background-color: #fdfd00 !important;
}

.dest__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 1px !important;
  background: rgba(255, 255, 255, 0.18) !important;
}

.dest__card,
.dest__card:hover {
  min-height: 142px;
  padding: 26px 20px !important;
  background: #262626 !important;
}

@media (max-width: 767px) {
  .site-header__brand { width: 158px; height: 50px; }
  .site-header__logo { width: 158px !important; height: 50px !important; }
  .site-footer__logo { width: 176px !important; height: 78px !important; }
  .dest__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

@media (max-width: 430px) {
  .hero-console__network-proof span { font-size: 11px !important; }
  .dest__grid { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__benefits .hero__benefit--featured::after,
  .hero__benefit--featured .hero__benefit-check {
    animation: none;
  }
  .why__card .icon-chip { animation: none; }
}

/* 4.4 client review: lock contrast, brand scale and nine-partner layouts. */
.site-header__brand {
  width: 184px;
  height: 64px;
  justify-content: flex-start;
}

.site-header__logo {
  display: block;
  width: 184px !important;
  height: auto !important;
  max-height: 58px !important;
  object-position: left center !important;
}

.site-footer__logo {
  display: block;
  width: 190px !important;
  height: auto !important;
  max-height: none !important;
  object-position: left center !important;
}

.why__card h3.why__card-title,
.why__card:first-child h3.why__card-title,
.why__card:hover h3.why__card-title,
.why__card:first-child:hover h3.why__card-title {
  color: #fff !important;
  opacity: 1 !important;
}

.why__card p,
.why__card:first-child p,
.why__card:hover p {
  color: rgba(255, 255, 255, 0.82) !important;
  opacity: 1 !important;
}

.carriers__grid {
  grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
  align-items: stretch;
}

.carriers__card {
  min-height: 122px !important;
  padding: 18px 10px !important;
  border-right: 1px solid var(--cm-border) !important;
}

.carriers__card:last-child { border-right: 0 !important; }

.carriers__logo {
  display: block;
  width: 112px !important;
  height: 48px !important;
  max-width: 100% !important;
  max-height: 48px !important;
  padding: 4px;
  border-radius: 4px;
  background: #fff;
  object-fit: contain !important;
}

.carriers__tag {
  min-height: 28px;
  color: #666 !important;
  line-height: 1.35;
}

.site-footer__carrier-row {
  grid-template-columns: repeat(9, minmax(0, 1fr)) !important;
}

.site-footer__carrier-row img {
  height: 62px !important;
  min-width: 0;
  padding: 10px !important;
}

.wws__card,
.wws__card:nth-child(2) {
  border-top-color: #fdfd00 !important;
}

.wws__card .icon-chip,
.wws__card:nth-child(2) .icon-chip {
  color: #fdfd00 !important;
  border: 1px solid #fdfd00 !important;
  background: #262626 !important;
  box-shadow: 0 8px 22px rgba(38, 38, 38, 0.14) !important;
}

.wws__card .icon-chip svg,
.wws__card:nth-child(2) .icon-chip svg {
  color: #fdfd00 !important;
  stroke: currentColor !important;
}

@media (max-width: 1100px) {
  .carriers__grid,
  .site-footer__carrier-row {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .carriers__card:nth-child(3n) { border-right: 0 !important; }
}

@media (max-width: 560px) {
  .site-header__brand { width: 150px; height: 52px; }
  .site-header__logo { width: 150px !important; max-height: 48px !important; }
  .site-footer__logo { width: 164px !important; }
  .carriers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .carriers__card:nth-child(3n) { border-right: 1px solid var(--cm-border) !important; }
  .carriers__card:nth-child(2n) { border-right: 0 !important; }
  .carriers__card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    border-right: 0 !important;
  }
  .site-footer__carrier-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .site-footer__carrier-row img:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* 4.5 internal-page alignment with the approved homepage identity. */
body:not(.home) .page-hero,
.tracking-portal__hero,
.about-hero,
.services-hero,
.industries-hero,
.resources-hero,
.contact-hero,
.quote-hero,
.calculator-hero,
.faq-hero,
.legal-hero {
  color: #fff !important;
  background: #262626 !important;
  background-color: #262626 !important;
}

body:not(.home) .page-hero::before,
.tracking-portal__hero::before {
  background-color: #262626 !important;
}

body:not(.home) .page-hero .eyebrow,
body:not(.home) .page-hero .eyebrow--light,
.tracking-portal__hero .eyebrow {
  color: #fdfd00 !important;
}

body:not(.home) .page-hero__title,
body:not(.home) .page-hero__description,
.tracking-portal__hero h1,
.tracking-portal__hero p {
  color: #fff !important;
}

body:not(.home) .page-hero__description,
.tracking-portal__hero p {
  color: rgba(255, 255, 255, 0.76) !important;
}

/* One exact icon language: charcoal surface with logo-yellow artwork. */
.svc-family__icon,
.industry-audience__icon,
.about-principles__icon,
.resource-cat .icon-chip,
.tracking-portal__benefits article > span,
.contact-details__methods > a > span,
.faq-topics > a > span,
.faq-support__icon,
.centered-panel__icon {
  color: #fdfd00 !important;
  border: 1px solid #fdfd00 !important;
  background: #262626 !important;
  box-shadow: 0 8px 22px rgba(38, 38, 38, 0.12) !important;
}

.svc-family__icon svg,
.industry-audience__icon svg,
.about-principles__icon svg,
.resource-cat .icon-chip svg,
.tracking-portal__benefits article > span svg,
.contact-details__methods > a > span svg,
.faq-topics > a > span svg,
.faq-support__icon svg,
.centered-panel__icon svg {
  color: #fdfd00 !important;
  stroke: currentColor !important;
}

.page-template-page-services .svc-jump__chip svg,
.page-template-page-services .svc-family__num,
.svc-family__best,
.industry-needs__list svg,
.about-principles__num,
.faq-group > header span,
.quote-privacy svg,
.calculator-page .form-field label span,
.tracking-widget__hint a {
  color: #8a6a00 !important;
}

.page-template-page-services .svc-jump__chip:hover,
.page-template-page-services .svc-jump__chip:focus-visible,
.calc__toggle-btn.is-active,
.quote-form-card .form-group legend > span,
.calculator-steps li > span {
  color: #262626 !important;
  border-color: #fdfd00 !important;
  background: #fdfd00 !important;
}

.tracking-widget__form:focus-within,
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus,
.quote-form-card input:focus,
.quote-form-card select:focus,
.quote-form-card textarea:focus,
.calculator-page input:focus,
.calculator-page select:focus {
  border-color: #fdfd00 !important;
  box-shadow: 0 0 0 4px rgba(253, 253, 0, 0.22) !important;
}

.about-principles__grid,
.about-customers__grid,
.industry-audiences__grid,
.resources-grid,
.tracking-portal__benefits {
  align-items: stretch;
}

.about-principles__grid > *,
.about-customers__grid > *,
.industry-audience,
.resource-cat,
.tracking-portal__benefits article,
.contact-details,
.contact-form-card,
.quote-form-card,
.quote-aside__card,
.calculator-page .calc__form,
.faq-topics > a {
  border-color: rgba(38, 38, 38, 0.14) !important;
  background-color: #fff !important;
}

.about-principles__grid > *:hover,
.about-customers__grid > *:hover,
.industry-audience:hover,
.resource-cat:hover,
.tracking-portal__benefits article:hover,
.faq-topics > a:hover {
  border-color: #fdfd00 !important;
}

.faq-page .faq__item[open] {
  border-color: #fdfd00 !important;
}

.faq-page .faq__item[open] .faq__icon {
  color: #262626 !important;
  border-color: #fdfd00 !important;
  background: #fdfd00 !important;
}

.post-card,
.resource-cat,
.industry-audience,
.about-principles__grid > *,
.about-customers__grid > * {
  border-top: 3px solid #fdfd00 !important;
}

.legal-page .prose a,
.single-post .prose a,
.entry-content a {
  text-decoration-color: #fdfd00;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 760px) {
  body:not(.home) .page-hero,
  .tracking-portal__hero {
    min-height: 0 !important;
    padding-top: 108px !important;
    padding-bottom: 64px !important;
  }
  body:not(.home) .page-hero__title,
  .tracking-portal__hero h1 {
    font-size: clamp(42px, 12vw, 56px) !important;
    overflow-wrap: anywhere;
  }
}

/* July 19 client review: restrained load motion and exact contrast system. */
.home .hero__title {
  animation: cm-hero-title-in .7s cubic-bezier(.22,.61,.36,1) both;
}
.home .hero__title-accent {
  display: inline-block;
  animation: cm-hero-accent-in .85s .16s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes cm-hero-title-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cm-hero-accent-in {
  from { opacity: 0; transform: translateY(10px); filter: blur(3px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.why__comparison-side--cargo {
  color: #262626 !important;
  background: #fdfd00 !important;
}
.why__comparison-side--cargo span,
.why__comparison-side--cargo strong { color: #262626 !important; }
.why__card,
.services__card,
.wws__card,
.faq__item {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
.why__card:hover,
.services__card:hover,
.wws__card:hover,
.faq__item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 38px rgba(38,38,38,.1) !important;
}
.calc__fixed-units { margin: 0; color: #60646b; font-size: 13px; font-weight: 700; }
.calc__fixed-value { min-height: 58px; display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid rgba(38,38,38,.14); border-radius: 10px; background: #fff; }
.calc__fixed-value strong { color: #262626; font-size: 20px; }
.calc__fixed-value small { color: #60646b; }
@media (prefers-reduced-motion: reduce) {
  .home .hero__title,
  .home .hero__title-accent { animation: none !important; }
}
