/* ===== American Horizons Freight ===== */
:root {
  --blue-deep: #0A3D6B;
  --blue-primary: #0C5A9E;
  --blue-bright: #1A7FCF;
  --blue-light: #E8F4FC;
  --navy: #0B1C2C;
  --gray-900: #1A2332;
  --gray-700: #3D4A5C;
  --gray-500: #6B7A8D;
  --gray-200: #E2E8F0;
  --gray-100: #F5F8FA;
  --white: #FFFFFF;
  --accent: #FF9900;
  --success: #0D9488;
  --radius: 10px;
  --shadow: 0 4px 20px rgba(10, 61, 107, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 61, 107, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-deep));
  color: white;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  letter-spacing: -0.5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
}

.logo-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-primary);
}

.header-cta {
  display: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.2s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: white;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

.btn-white {
  background: white;
  color: var(--blue-deep);
}

.btn-white:hover {
  background: var(--blue-light);
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-primary) 55%, #1A7FCF 100%);
  color: white;
  padding: 5.5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(255,255,255,0.08) 0%, transparent 55%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.2rem;
  opacity: 0.92;
  margin-bottom: 2.25rem;
  max-width: 540px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== Trust Bar ===== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.75rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.trust-icon {
  font-size: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
}

.trust-item span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--gray-100);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--gray-500);
  font-size: 1.1rem;
}

.content-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.content-narrow h2 {
  font-size: 1.75rem;
  font-weight: 750;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
}

.content-narrow h2:first-child {
  margin-top: 0;
}

.content-narrow p {
  margin-bottom: 1.1rem;
  color: var(--gray-700);
  font-size: 1.05rem;
}

.text-center {
  text-align: center;
}

/* ===== Cards ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-icon {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--gray-500);
  font-size: 0.98rem;
  line-height: 1.55;
}

/* ===== About Snapshot ===== */
.about-snapshot {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-text h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--gray-700);
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
}

.about-text .btn {
  margin-top: 0.75rem;
}

.about-stats {
  display: grid;
  gap: 1.25rem;
}

.stat {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-500);
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-primary));
  color: white;
  padding: 4.5rem 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.cta-content p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 520px;
  margin: 0 auto 2rem;
}

/* ===== Page Hero ===== */
.page-hero {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-primary));
  color: white;
  padding: 3.75rem 0 3.5rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Values ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.75rem 0 2rem;
}

.value-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-primary);
  margin-bottom: 0.4rem;
}

.value-card p {
  font-size: 0.95rem;
  color: var(--gray-700);
  margin: 0;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
}

.service-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-bright);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== Careers specific ===== */
.checklist {
  list-style: none;
  margin: 1.5rem 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.7rem;
  color: var(--gray-700);
  font-size: 1.05rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue-primary);
  font-weight: 700;
}

.cta-box {
  background: var(--blue-light);
  border-radius: 14px;
  padding: 3rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* ===== Contact ===== */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--gray-700);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue-primary);
  margin-bottom: 0.3rem;
}

.contact-item span {
  color: var(--gray-700);
  font-size: 1.05rem;
}

.note {
  font-size: 0.95rem;
  color: var(--gray-500);
  background: var(--gray-100);
  padding: 1rem 1.25rem;
  border-radius: 8px;
}

.contact-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.contact-card p {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.contact-card ul {
  margin: 0 0 1rem 1.25rem;
  color: var(--gray-700);
}

.contact-card li {
  margin-bottom: 0.4rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--navy);
  color: white;
  padding-top: 3.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-name {
  color: white;
}

.footer-brand .logo-sub {
  color: #7EB8E8;
}

.footer-brand p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.footer-links h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  
  .header-cta {
    display: inline-flex;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cards-grid,
  .services-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .about-snapshot,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 4rem 0 4.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 3.5rem 0;
  }
}

/* Mobile nav open state */
@media (max-width: 900px) {
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    gap: 1rem;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .mobile-menu-btn span {
    transition: all 0.25s;
  }
}
