/* ===========================================================
   HaulUp Delivery — design tokens
   Ink Navy / Haul Orange / Warm Sand / Steel / Signal Green
=========================================================== */
:root {
  --ink: #10243E;
  --ink-soft: #1C3A5C;
  --orange: #F4622D;
  --orange-dark: #D6491A;
  --sand: #F6F1E7;
  --steel: #5B6B79;
  --green: #2E8B57;
  --white: #FFFFFF;
  --line: #E3DDCB;
  --line-dark: #2A4566;

  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in { animation: fadeInUp 0.8s ease-out forwards; opacity: 0; }
.fade-in-left { animation: fadeInLeft 0.8s ease-out forwards; opacity: 0; }
.fade-in-right { animation: fadeInRight 0.8s ease-out forwards; opacity: 0; }
.slide-down { animation: slideInDown 0.6s ease-out forwards; opacity: 0; }
.scale-up { animation: scaleUp 0.7s ease-out forwards; opacity: 0; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.2px;
}
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 20px; font-weight: 600; font-family: var(--font-body); }

.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 12.5px;
  color: var(--orange-dark);
  font-weight: 600;
  margin-bottom: 10px;
}
.muted { color: var(--steel); }
.muted-on-dark { color: #AEBBCB; font-size: 14px; }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
.btn:active { transform: translateY(0); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: var(--orange-dark); }
.btn-outline { border-color: var(--line-dark); color: var(--ink); background: transparent; }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Top strip + header ---------- */
.topstrip { background: var(--ink); color: #C7D2E0; font-size: 13px; }
.topstrip-inner { display: flex; justify-content: space-between; padding: 8px 24px; }
.topstrip-left span { margin-right: 18px; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.brand-logo { height: 50px; width: auto; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; background: var(--orange); color: #fff;
  border-radius: 4px; font-family: var(--font-display); font-size: 20px;
}
.brand-on-dark { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 26px; flex: 1; justify-content: center; }
.main-nav > a { font-weight: 600; font-size: 15px; padding: 8px 0; position: relative; }
.main-nav > a.active, .main-nav > a:hover { color: var(--orange-dark); }
.main-nav > a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); }
.caret { font-size: 11px; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; background: #fff;
  border: 1px solid var(--line); border-radius: 6px; min-width: 200px;
  box-shadow: 0 14px 30px rgba(16,36,62,.12);
  padding: 8px; display: none; z-index: 60;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 4px; font-size: 14.5px; }
.dropdown a:hover { background: var(--sand); color: var(--orange-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 70px 0 0;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-bottom: 60px; animation: fadeInUp 1s ease-out; }
.hero h1 { color: #fff; animation: fadeInUp 1s ease-out 0.2s backwards; }
.hero p.lede { font-size: 18px; color: #C7D2E0; max-width: 480px; margin: 18px 0 26px; animation: fadeInUp 1s ease-out 0.3s backwards; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeInUp 1s ease-out 0.4s backwards; }
.hero-photo { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; animation: fadeInRight 1s ease-out 0.3s backwards; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* manifest signature card */
.manifest-card {
  font-family: var(--font-mono);
  background: var(--white);
  color: var(--ink);
  border: 1.5px dashed var(--ink);
  border-radius: 6px;
  padding: 16px 18px;
  font-size: 13px;
  position: absolute;
  bottom: -28px;
  left: -28px;
  width: 230px;
  box-shadow: 0 18px 36px rgba(0,0,0,.25);
}
.manifest-card .mc-title { text-transform: uppercase; letter-spacing: 1px; font-size: 11px; color: var(--orange-dark); font-weight: 600; margin-bottom: 8px; }
.manifest-card .mc-row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dotted var(--line); }
.manifest-card .mc-row:last-child { border-bottom: none; }
.manifest-card .mc-status { color: var(--green); font-weight: 600; }

.hero-stats { display: flex; gap: 30px; padding: 26px 0; border-top: 1px solid var(--line-dark); margin-top: 50px; }
.hero-stats div { font-family: var(--font-mono); }
.hero-stats strong { display: block; font-size: 26px; color: var(--orange); }
.hero-stats span { font-size: 12.5px; color: #AEBBCB; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: var(--ink);
  color: #fff;
  padding: 56px 0;
  background-size: cover;
  background-position: center;
}
.page-banner h1 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-top: 6px; }
.breadcrumb { font-family: var(--font-mono); font-size: 13px; color: #AEBBCB; text-transform: uppercase; letter-spacing: .5px; }
.breadcrumb a { color: #fff; }
.breadcrumb span { margin: 0 6px; }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: #fff; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease;
}
.card:hover { box-shadow: 0 16px 30px rgba(16,36,62,.10); transform: translateY(-6px); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform 0.4s ease; }
.card:hover img { transform: scale(1.08); }
.card-body { padding: 22px; }
.card-body h3 { margin-bottom: 8px; }
.card-tag { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--orange-dark); margin-bottom: 8px; display: block; }

/* numbered process (real sequence -> ok to number) */
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.process-step { position: relative; padding-left: 50px; }
.process-step .num {
  position: absolute; left: 0; top: 0; font-family: var(--font-display);
  font-size: 28px; color: var(--orange); font-weight: 800;
}

/* ---------- Testimonials (CSS avatars, no stock photos of strangers) ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 26px; }
.testi-quote { font-size: 16px; margin-bottom: 18px; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.avatar-initials {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 15px;
  flex-shrink: 0;
}
.testi-person strong { display: block; font-size: 14.5px; }
.testi-person span { font-size: 13px; color: var(--steel); }

/* ---------- Stats strip ---------- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-strip .stat strong { font-family: var(--font-mono); font-size: 32px; color: var(--orange); display: block; }
.stats-strip .stat span { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--steel); }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 0; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-q .icon { font-size: 18px; color: var(--orange); transition: transform .2s ease; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 18px; color: var(--steel); max-width: 700px; }
.faq-item.open .faq-a { display: block; }

/* ---------- Pricing ---------- */
.pricing-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 30px; display: flex; flex-direction: column; gap: 16px;
}
.pricing-card.featured { border-color: var(--orange); box-shadow: 0 18px 36px rgba(244,98,45,.14); position: relative; }
.pricing-card.featured::before {
  content: "MOST BOOKED"; position: absolute; top: -12px; right: 20px;
  background: var(--orange); color: #fff; font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 1px; padding: 4px 10px; border-radius: 4px;
}
.price { font-family: var(--font-display); font-size: 36px; }
.price span { font-family: var(--font-body); font-size: 14px; color: var(--steel); font-weight: 400; }
.pricing-card ul { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.pricing-card li::before { content: "\2713  "; color: var(--green); font-weight: 700; }

/* ---------- Gallery ---------- */
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(16,36,62,.85));
  color: #fff; font-size: 13.5px;
}

/* ---------- Forms ---------- */
.form-group { margin-bottom: 16px; }
label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-dark);
  border-radius: 4px; font-family: inherit; font-size: 14.5px; background: #fff;
}
.section-ink input, .section-ink select, .section-ink textarea { border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; }
.section-ink ::placeholder { color: #9FB0C2; }
textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.newsletter-form { display: flex; gap: 0; }
.newsletter-form input { border-radius: 4px 0 0 4px; }
.newsletter-form button { border-radius: 0 4px 4px 0; white-space: nowrap; }

.contact-box { display: flex; gap: 14px; align-items: flex-start; }
.contact-box .icon-circle {
  width: 46px; height: 46px; border-radius: 50%; background: var(--sand);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}

/* ---------- Tracking ---------- */
.track-result {
  font-family: var(--font-mono); border: 1.5px dashed var(--ink-soft);
  border-radius: 8px; padding: 26px; background: var(--sand);
}
.track-status-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.status-pill {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px;
}
.status-transit { background: #FCE4D6; color: var(--orange-dark); }
.status-delivered { background: #DCF2E3; color: var(--green); }
.timeline { border-left: 2px solid var(--line-dark); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 22px 22px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); }
.timeline .t-date { color: var(--steel); font-size: 12.5px; }

/* ---------- Service detail sidebar ---------- */
.service-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.service-sidebar .widget { background: var(--sand); border-radius: 8px; padding: 22px; margin-bottom: 22px; }
.service-sidebar .widget h4 { margin-bottom: 14px; }
.service-sidebar .widget a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.service-sidebar .tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.service-sidebar .tag-list a { border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 13px; font-size: 13px; }
.service-content .lead-img { border-radius: 8px; margin: 22px 0; aspect-ratio: 16/9; object-fit: cover; }
.service-content ul.checklist li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.service-content ul.checklist li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
blockquote {
  border-left: 3px solid var(--orange); padding-left: 18px; margin: 22px 0;
  font-style: italic; color: var(--ink-soft);
}

/* ---------- Blog ---------- */
.blog-meta { font-family: var(--font-mono); font-size: 12px; color: var(--steel); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.blog-classic-item { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.blog-classic-item img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; }
.blog-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--orange); color: #fff; padding: 46px 0; }
.cta-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; margin: 0; }
.cta-strip .eyebrow { color: rgba(255,255,255,.85); }
.cta-strip .btn-accent { background: var(--ink); }
.cta-strip .btn-accent:hover { background: #06182c; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C7D2E0; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 40px; }
.footer-col h5 { font-family: var(--font-display); font-size: 16px; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14.5px; color: #C7D2E0; }
.footer-col a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-social a { border: 1px solid rgba(255,255,255,.2); padding: 7px 12px; border-radius: 4px; font-size: 13px; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 18px 0; font-size: 13.5px; text-align: center; }

/* ---------- Helpers ---------- */
.hide-sm { display: inline-flex; }

/* ===========================================================
   Responsive
=========================================================== */
@media (max-width: 980px) {
  .hero-grid, .service-layout, .blog-layout { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .topstrip-right { display: none; }
  .hide-sm { display: none !important; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; padding: 10px 24px 18px;
    border-bottom: 1px solid var(--line); display: none; gap: 6px;
  }
  .main-nav.open { display: flex; }
  .dropdown { position: static; box-shadow: none; display: none; border: none; padding-left: 10px; }
  .has-dropdown.open .dropdown { display: block; }
  .grid-3, .grid-4, .grid-2, .stats-strip, .process-list, .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .blog-classic-item { grid-template-columns: 1fr; }
  .manifest-card { position: static; width: auto; margin-top: 20px; box-shadow: none; }
  .hero { padding-bottom: 30px; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
}
