/* ===========================
   CALWAY LOGISTICS — STYLESHEET
   =========================== */

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

:root {
  --navy:   #1a3a5c;
  --blue:   #2563a8;
  --sky:    #3b82f6;
  --accent: #f59e0b;
  --dark:   #0f1f33;
  --gray:   #64748b;
  --light:  #f8fafc;
  --white:  #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
  --font: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: #1e293b;
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--dark);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 8px;
  transition: transform .15s, box-shadow .15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245,158,11,.35); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: var(--white);
  font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.25);
  transition: background .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,.2); }

.btn-nav {
  background: var(--accent); color: var(--dark);
  font-weight: 700; font-size: 14px;
  padding: 10px 22px; border-radius: 7px;
  transition: transform .15s;
}
.btn-nav:hover { transform: translateY(-1px); }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(15,31,51,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white);
  font-weight: 800; font-size: 17px; letter-spacing: .04em;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 18px;
  border-radius: 8px;
}
.logo-text span { color: var(--accent); }

.nav-links {
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 6px;
  transition: color .15s, background .15s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px; margin-left: auto;
}
.hamburger span {
  width: 22px; height: 2px; background: var(--white);
  border-radius: 2px; transition: .2s;
}

.mobile-menu {
  display: none; flex-direction: column;
  background: var(--dark);
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,.85); font-size: 16px; font-weight: 500;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-menu a:last-child { border-bottom: none; color: var(--accent); font-weight: 700; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--dark);
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37,99,168,.3) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(245,158,11,.08) 0%, transparent 60%);
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative; z-index: 1;
  padding: 80px 24px;
  max-width: 760px;
}
.hero-badge {
  display: inline-block;
  background: rgba(245,158,11,.15); color: var(--accent);
  border: 1px solid rgba(245,158,11,.3);
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 24px; text-transform: uppercase;
}
.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; color: var(--white);
  line-height: 1.1; letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero-content h1 span { color: var(--accent); }
.hero-sub {
  font-size: 18px; color: rgba(255,255,255,.7);
  max-width: 540px; margin-bottom: 36px;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex; align-items: center; gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 32px;
}
.stat { padding: 0 32px 0 0; }
.stat:first-child { padding-left: 0; }
.stat strong {
  display: block; font-size: 28px; font-weight: 800;
  color: var(--white); line-height: 1;
}
.stat span { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 4px; display: block; }
.stat-div { width: 1px; height: 40px; background: rgba(255,255,255,.12); margin-right: 32px; }

/* ── SECTION LABELS ── */
.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,.6); }

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800; letter-spacing: -.02em;
  line-height: 1.15;
}
.section-sub {
  font-size: 17px; color: var(--gray);
  max-width: 560px; margin-top: 12px;
}

/* ── SERVICES ── */
.services {
  padding: 100px 0;
  background: var(--light);
}
.services .container > * + * { margin-top: 16px; }
.services h2, .services .section-sub { margin-top: 8px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 52px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), var(--shadow);
}
.service-badge {
  position: absolute; top: -12px; left: 24px;
  background: var(--blue); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase;
}
.service-icon {
  width: 48px; height: 48px;
  background: rgba(37,99,168,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  margin-bottom: 16px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-size: 18px; font-weight: 700;
  margin-bottom: 10px;
}
.service-card p { color: var(--gray); font-size: 14px; margin-bottom: 16px; }
.service-card ul { display: flex; flex-direction: column; gap: 6px; }
.service-card li {
  font-size: 13px; color: #475569;
  display: flex; align-items: center; gap: 8px;
}
.service-card li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%; flex-shrink: 0;
}

/* ── WHY ── */
.why {
  padding: 100px 0;
  background: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-content h2 { margin-bottom: 16px; }
.why-content > p { color: var(--gray); margin-bottom: 32px; }
.why-features { display: flex; flex-direction: column; gap: 20px; }
.why-feature {
  display: flex; gap: 14px; align-items: flex-start;
}
.why-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  color: var(--blue);
}
.why-icon svg { width: 36px; height: 36px; }
.why-feature strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.why-feature p { font-size: 14px; color: var(--gray); }

.why-card-stack {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.why-stat-card {
  background: var(--light); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 20px;
  text-align: center;
}
.why-stat-card.accent { background: var(--accent); border-color: var(--accent); }
.why-stat-card.dark { background: var(--dark); border-color: var(--dark); }
.why-stat-num {
  font-size: 36px; font-weight: 800; letter-spacing: -.02em;
  color: var(--navy); line-height: 1;
}
.why-stat-card.accent .why-stat-num { color: var(--dark); }
.why-stat-card.dark .why-stat-num { color: var(--white); }
.why-stat-label {
  font-size: 12px; font-weight: 600; color: var(--gray);
  margin-top: 8px; line-height: 1.3;
}
.why-stat-card.accent .why-stat-label { color: rgba(0,0,0,.6); }
.why-stat-card.dark .why-stat-label { color: rgba(255,255,255,.6); }

/* ── ABOUT ── */
.about {
  padding: 80px 0;
  background: var(--navy);
}
.about-inner { max-width: 720px; }
.about .section-label { color: var(--accent); }
.about h2 { color: var(--white); margin-bottom: 20px; }
.about p { color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.8; }
.about p + p { margin-top: 16px; }

/* ── CONTACT ── */
.contact {
  padding: 100px 0;
  background: var(--dark);
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start;
}
.contact-info h2 { color: var(--white); margin-bottom: 16px; }
.contact-info > p { color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(255,255,255,.8); font-size: 14px;
}
.contact-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.quote-form h3 {
  font-size: 20px; font-weight: 800;
  margin-bottom: 24px; color: var(--dark);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 700; color: #374151; letter-spacing: .04em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font);
  color: #1e293b;
  background: #fff;
  transition: border-color .15s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,168,.1);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-group select { cursor: pointer; }
.btn-submit {
  width: 100%; background: var(--navy); color: var(--white);
  font-weight: 700; font-size: 15px; font-family: var(--font);
  padding: 14px; border-radius: 8px; border: none;
  cursor: pointer; transition: background .15s, transform .15s;
  margin-top: 4px;
}
.btn-submit:hover { background: var(--blue); transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--gray); text-align: center; margin-top: 12px; }

/* ── FOOTER ── */
.footer { background: #060f1a; padding: 64px 0 0; }
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 2fr; gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.4); font-size: 14px; }
.logo-white .logo-text { color: var(--white); }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-col a,
.footer-col span {
  display: block; color: rgba(255,255,255,.7); font-size: 14px;
  margin-bottom: 10px; transition: color .15s;
  line-height: 1.6;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom span { font-size: 13px; color: rgba(255,255,255,.3); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero-content { padding: 60px 0; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .stat-div { display: none; }
  .stat { padding: 0; min-width: 80px; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .why-card-stack { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap { padding: 24px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
}
