/* shiparvex.com: logistics-specific styles, on top of the shared styles.css */

.nav .nav-cta { background: var(--navy); color: var(--white); padding: 9px 16px; border-radius: 4px; }
.nav .nav-cta:hover { background: var(--navy-deep); color: var(--white); }
.site-ship .nav a:not(.nav-cta):hover { color: var(--navy); }

/* Route: yard to job site, the one memorable moment on this page */
.route {
  display: flex; align-items: center; gap: 0;
  padding-top: 8px; padding-bottom: clamp(40px, 6vw, 72px);
}
.route-stop { display: flex; flex-direction: column; align-items: center; gap: 10px; flex-shrink: 0; }
.route-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--white); border: 7px solid var(--navy);
}
.route-end .route-dot { background: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 6px rgba(27,69,150,.18); }
.route-label { font-weight: 700; font-size: 0.95rem; white-space: nowrap; }
.route-track {
  position: relative; flex: 1; height: 14px; margin: 0 -2px 34px;
}
.route-track::before {
  content: ""; position: absolute; inset: 0; background: var(--navy);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 10px 100%);
}
.route-track::after {
  content: ""; position: absolute; inset: 6px 14px auto; height: 2px;
  background: repeating-linear-gradient(90deg, var(--white) 0 22px, transparent 22px 40px);
  opacity: .85;
}
.route-truck {
  position: absolute; top: -22px; left: 6%; width: 46px; height: 20px;
  background: var(--red);
  clip-path: polygon(0 0, 64% 0, 64% 30%, 86% 30%, 100% 62%, 100% 100%, 0 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .route-truck { animation: drive 1.6s cubic-bezier(.3,.6,.2,1) .2s both; }
  @keyframes drive { from { left: 0; } to { left: calc(94% - 46px); } }
}
@media (prefers-reduced-motion: reduce) {
  .route-truck { left: calc(94% - 46px); }
}

/* Services: two columns divided by a rule, not cards */
.services {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  padding-bottom: clamp(56px, 8vw, 96px);
}
.service { padding: 32px 40px 8px 0; border-top: 2px solid var(--graphite); }
.service + .service { padding: 32px 0 8px 40px; border-left: 1px solid var(--steel-line); }
.service h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 26px; border-top: 1px solid var(--steel); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px;
  border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(-45deg);
}
.service-actions { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; }
.btn-navy {
  display: inline-block; background: var(--navy); color: var(--white); font-weight: 700;
  text-decoration: none; padding: 12px 20px; border-radius: 4px;
}
.btn-navy:hover { background: var(--navy-deep); color: var(--white); }
.text-link { font-weight: 700; }

/* Quote band */
.quote { background: var(--navy); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; }
.quote h2 { color: var(--white); }
.quote p { color: #dfe7f7; }
.quote a:not([class]) { color: var(--white); }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.quote-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-light {
  display: inline-block; background: var(--white); color: var(--navy-deep);
  font-weight: 700; text-decoration: none; padding: 12px 20px; border-radius: 4px;
}
.btn-light:hover { color: var(--graphite); }
.btn-outline-light {
  display: inline-block; border: 2px solid rgba(255,255,255,.7); color: var(--white);
  font-weight: 700; text-decoration: none; padding: 10px 18px; border-radius: 4px;
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); }
.need-list { margin: 0; }
.need-list div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.25); }
.need-list div:last-child { border-bottom: 1px solid rgba(255,255,255,.25); }
.need-list dt { font-weight: 800; font-variation-settings: "wdth" 125; }
.need-list dd { margin: 0; color: #dfe7f7; }

/* Contact links on the ship site use navy */
.site-ship .contact-list a { color: var(--navy); }

@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { padding: 28px 0 8px; border-left: 0; }
  .service + .service { margin-top: 24px; }
  .quote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .route-label { font-size: 0.85rem; }
  .need-list div { grid-template-columns: 70px 1fr; }
}
.auth-panel-navy { border-top-color: var(--navy); }
