:root {
  --hc-blue: #1e63b5;
  --hc-blue-dark: #0f3e73;
  --hc-blue-soft: #eef5fe;
  --hc-yellow: #f4c400;
  --hc-gold: #e5b400;
  --hc-bg: #f6f9fd;
  --hc-text: #162033;
  --hc-muted: #5f6f86;
  --hc-border: #e6edf5;
  --hc-shadow: 0 0.7rem 1.5rem rgba(15, 62, 115, 0.08);
  --hc-shadow-lg: 0 1.2rem 2.5rem rgba(15, 62, 115, 0.12);
  --hc-radius: 1.5rem;
  --hc-anchor-offset: 6rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--hc-anchor-offset);
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--hc-bg);
  color: var(--hc-text);
  overflow-x: hidden;
}

img,
svg,
canvas,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
}

.container,
.container-fluid,
.row,
[class*="col-"] {
  min-width: 0;
}

section[id],
footer[id],
[id].hc-anchor-target {
  scroll-margin-top: var(--hc-anchor-offset);
}

/* Announcement and header */

.hc-announcement {
  background: var(--hc-blue-dark);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.92rem;
}

.hc-announcement a {
  color: #fff;
  font-weight: 700;
}

.hc-site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 237, 245, 0.9);
}

.hc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 800;
  color: var(--hc-text);
  min-width: 0;
}

.hc-brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--hc-blue), var(--hc-blue-dark));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  box-shadow: var(--hc-shadow);
}

.hc-nav .nav-link {
  color: var(--hc-text);
  font-weight: 600;
  padding: 0.7rem 0.95rem;
}

.hc-nav .nav-link:hover {
  color: var(--hc-blue);
}

/* Buttons */

.hc-btn-primary {
  background: linear-gradient(135deg, var(--hc-blue), var(--hc-blue-dark));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  box-shadow: 0 0.8rem 1.6rem rgba(30, 99, 181, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hc-btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
}

.hc-btn-outline {
  background: #fff;
  color: var(--hc-blue-dark);
  border: 1px solid #d7e3f2;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hc-btn-outline:hover {
  background: var(--hc-blue-soft);
  color: var(--hc-blue-dark);
  transform: translateY(-1px);
}

.hc-btn-light {
  background: #fff;
  color: var(--hc-blue-dark);
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hc-btn-secondary {
  background: var(--hc-yellow);
  color: var(--hc-text);
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.35rem;
  font-weight: 700;
}

.hc-btn-secondary:hover {
  background: var(--hc-gold);
  color: var(--hc-text);
}

/* Main page content */

.hc-page-content {
  padding: 4rem 0 5rem;
  min-height: calc(100vh - 320px);
}

/* Generic sections */

.hc-section {
  position: relative;
  padding: 5rem 0;
  overflow: clip;
}

.hc-section-sm {
  position: relative;
  padding: 3.75rem 0;
  overflow: clip;
}

.hc-landing {
  padding-bottom: 2rem;
}

.hc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(30, 99, 181, 0.08);
  color: var(--hc-blue-dark);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  max-width: 100%;
  flex-wrap: wrap;
}

.hc-section-title {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--hc-text);
  overflow-wrap: anywhere;
}

.hc-section-text {
  color: var(--hc-muted);
  font-size: 1.06rem;
  max-width: 52rem;
}

/* Hero */

.hc-hero {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4rem;
  background:
    radial-gradient(circle at top right, rgba(244, 196, 0, 0.18), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.hc-hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(30, 99, 181, 0.08);
  color: var(--hc-blue-dark);
  font-weight: 700;
  margin-bottom: 1.15rem;
  max-width: 100%;
  flex-wrap: wrap;
}

.hc-hero-title {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.02;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  color: var(--hc-text);
  overflow-wrap: anywhere;
}

.hc-hero-text {
  color: var(--hc-muted);
  font-size: 1.1rem;
  max-width: 44rem;
  margin-bottom: 1.8rem;
}

.hc-hero-points {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1rem;
}

.hc-hero-points li {
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  color: var(--hc-text);
  box-shadow: var(--hc-shadow);
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hc-hero-visual {
  position: relative;
  min-height: 560px;
  isolation: isolate;
}

.hc-hero-circle {
  width: min(420px, 80%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 196, 0, 0.35), rgba(30, 99, 181, 0.12));
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 0;
}

.hc-hero-card,
.hc-stat-card,
.hc-feature-card,
.hc-service-card,
.hc-panel,
.hc-route-card,
.hc-quote-card,
.hc-info-panel {
  background: #fff;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  box-shadow: var(--hc-shadow);
  min-width: 0;
  overflow: hidden;
}

.hc-hero-main-card {
  position: absolute;
  top: 70px;
  right: 20px;
  width: min(100%, 460px);
  padding: 1.5rem;
  z-index: 2;
}

.hc-hero-mini-card,
.hc-floating-card {
  position: absolute;
  padding: 1rem 1.1rem;
  z-index: 3;
  max-width: 220px;
  width: min(220px, calc(100% - 1rem));
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: var(--hc-shadow-lg);
  border: 1px solid rgba(15, 62, 115, 0.06);
}

.hc-hero-mini-card.one {
  left: 10px;
  top: 80px;
}

.hc-hero-mini-card.two {
  left: 40px;
  bottom: 60px;
}

.hc-hero-mini-card.three {
  right: 0;
  bottom: 20px;
}

.hc-card-1 {
  top: 18%;
  right: 8%;
}

.hc-card-2 {
  bottom: 12%;
  left: 6%;
}

.hc-card-kicker,
.hc-mini-label {
  font-size: 0.78rem;
  color: var(--hc-muted);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.hc-card-value,
.hc-mini-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--hc-blue-dark);
  margin-bottom: 0.2rem;
  overflow-wrap: anywhere;
}

.hc-hero-truck {
  position: absolute;
  font-size: 7rem;
  line-height: 1;
}

.hc-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hc-metric-card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 1.2rem;
  padding: 1rem 1.1rem;
  min-width: 220px;
  box-shadow: 0 0.5rem 1rem rgba(15, 62, 115, 0.06);
}

.hc-metric-card strong {
  display: block;
  color: #0f172a;
}

.hc-metric-card span {
  display: block;
  color: var(--hc-muted);
  font-size: 0.92rem;
}

/* Cards and features */

.hc-stats {
  position: relative;
  z-index: 5;
  margin-top: 0;
}

.hc-stat-card {
  padding: 1.35rem 1.2rem;
  height: 100%;
}

.hc-stat-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--hc-blue-dark);
  display: block;
  margin-bottom: 0.25rem;
  overflow-wrap: anywhere;
}

.hc-stat-label {
  color: var(--hc-muted);
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hc-feature-card,
.hc-service-card,
.hc-panel,
.hc-route-card,
.hc-quote-card,
.hc-info-panel {
  padding: 1.6rem;
  height: 100%;
}

.hc-feature-icon,
.hc-service-icon {
  width: 64px;
  height: 64px;
  border-radius: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 99, 181, 0.08);
  color: var(--hc-blue-dark);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 1rem;
  flex: 0 0 64px;
}

.hc-feature-card h3,
.hc-service-card h4,
.hc-info-panel p,
.hc-panel p,
.hc-service-card p,
.hc-feature-card p {
  overflow-wrap: anywhere;
}

.hc-feature-card p,
.hc-service-card p,
.hc-info-panel p {
  color: var(--hc-muted);
  margin-bottom: 0;
}

/* Check list */

.hc-check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.hc-check-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.75rem;
  color: var(--hc-text);
  overflow-wrap: anywhere;
}

.hc-check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hc-blue);
  font-weight: 800;
}

/* Tracking / CTA */

.hc-track-band,
.hc-track-section {
  background: linear-gradient(135deg, var(--hc-blue-dark), var(--hc-blue));
  color: #fff;
  overflow: hidden;
  border-radius: 1.75rem;
  box-shadow: var(--hc-shadow-lg);
}

.hc-track-band .hc-section-title,
.hc-track-band .hc-section-text,
.hc-track-section .hc-section-title,
.hc-track-section p {
  color: #fff;
}

.hc-track-band .hc-eyebrow,
.hc-track-section .hc-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hc-track-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.4rem;
  padding: 1rem;
  min-width: 0;
}

.hc-input,
.hc-textarea {
  border: 1px solid var(--hc-border);
  border-radius: 1rem;
  min-height: 58px;
  padding: 0.9rem 1rem;
  box-shadow: none;
  width: 100%;
  min-width: 0;
}

.hc-input:focus,
.hc-textarea:focus {
  border-color: rgba(30, 99, 181, 0.4);
  box-shadow: 0 0 0 0.25rem rgba(30, 99, 181, 0.1);
  outline: none;
}

.hc-track-band .hc-input,
.hc-track-section .hc-input {
  border: 0;
  border-radius: 999px;
  padding-left: 1.2rem;
}

.hc-cta-panel,
.hc-cta-section {
  background: linear-gradient(135deg, #0f3e73, #0d315a);
  color: #fff;
  border-radius: 1.8rem;
  padding: 2.2rem;
  box-shadow: var(--hc-shadow-lg);
  min-width: 0;
  overflow: hidden;
}

.hc-cta-panel p,
.hc-cta-section p {
  color: rgba(255, 255, 255, 0.82);
}

/* Footer */

.hc-footer {
  background: #0e1f35;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 1.5rem;
  position: relative;
  z-index: 2;
}

.hc-footer h5,
.hc-footer h6 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hc-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.hc-footer a:hover {
  color: #fff;
}

.hc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.95rem;
}

/* Auth pages */

.hc-auth-section {
  padding: 2rem 0;
}

.hc-auth-card {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(15, 62, 115, 0.08);
}

.hc-auth-card .card-body {
  padding: 2rem;
}

.hc-auth-title {
  font-weight: 800;
  color: var(--hc-text);
  margin-bottom: 1.5rem;
}

.hc-auth-form p {
  margin-bottom: 1.1rem;
}

.hc-auth-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--hc-text);
}

.hc-auth-form input,
.hc-auth-form select,
.hc-auth-form textarea {
  width: 100%;
  border: 1px solid var(--hc-border);
  border-radius: 1rem;
  min-height: 56px;
  padding: 0.9rem 1rem;
  box-shadow: none;
}

.hc-auth-form input:focus,
.hc-auth-form select:focus,
.hc-auth-form textarea:focus {
  border-color: rgba(30, 99, 181, 0.4);
  box-shadow: 0 0 0 0.25rem rgba(30, 99, 181, 0.1);
  outline: none;
}

.hc-auth-form ul.errorlist {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0;
  color: #b42318;
  font-size: 0.92rem;
}

.hc-auth-form .helptext {
  display: block;
  margin-top: 0.35rem;
  color: var(--hc-muted);
  font-size: 0.9rem;
}

/* Bootstrap nav link button compatibility */

.navbar .btn-link.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
}

.navbar .btn-link.nav-link:hover {
  text-decoration: none;
  color: #ffffff;
}

.dropdown-menu {
  border-radius: 0.9rem;
  border: 0;
  box-shadow: 0 0.5rem 1rem rgba(15, 62, 115, 0.12);
}

.dropdown-item:active {
  background-color: var(--hc-blue);
}

/* Responsive */

@media (max-width: 1199.98px) {
  .hc-hero-visual {
    min-height: 520px;
  }

  .hc-hero-main-card {
    right: 10px;
    width: min(100%, 420px);
  }

  .hc-hero-mini-card.two {
    left: 20px;
  }

  .hc-hero-mini-card.three {
    right: 10px;
  }
}

@media (max-width: 991.98px) {
  :root {
    --hc-anchor-offset: 7rem;
  }

  .hc-hero {
    padding-top: 4rem;
  }

  .hc-hero-points {
    grid-template-columns: 1fr;
  }

  .hc-hero-visual {
    min-height: auto;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hc-hero-circle {
    width: 320px;
    top: 20px;
    right: 50%;
    transform: translateX(50%);
  }

  .hc-hero-main-card,
  .hc-hero-mini-card,
  .hc-floating-card,
  .hc-card-1,
  .hc-card-2 {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
  }

  .hc-hero-main-card {
    margin-top: 1rem;
  }

  .hc-hero-truck {
    font-size: 5rem;
  }
}

@media (max-width: 767.98px) {
  .hc-page-content {
    padding: 3rem 0 4rem;
  }

  .hc-section,
  .hc-section-sm {
    padding: 3.5rem 0;
  }

  .hc-hero-title {
    font-size: 2.4rem;
  }

  .hc-brand {
    gap: 0.7rem;
  }

  .hc-brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hc-feature-card,
  .hc-service-card,
  .hc-panel,
  .hc-route-card,
  .hc-quote-card,
  .hc-info-panel,
  .hc-stat-card,
  .hc-hero-main-card,
  .hc-hero-mini-card,
  .hc-floating-card,
  .hc-cta-panel,
  .hc-cta-section {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .hc-auth-card .card-body {
    padding: 1.35rem;
  }
}