/* ===== Postal and Copy Plus — styles ===== */
:root {
  --navy: #1c4e80;
  --navy-dark: #143a60;
  --accent: #e8472b;     /* shipping-red accent */
  --accent-dark: #c93a22;
  --ink: #1a2230;
  --body: #475063;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-tint: #eef3f9;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(20, 40, 70, 0.08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .4em; text-wrap: balance; }
a { color: var(--navy); text-decoration: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 999; clip: auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; font-weight: 700; font-size: .98rem;
  padding: 13px 22px; border-radius: 999px;
  transition: background-color .15s ease, transform .15s ease, border-color .15s ease;
  cursor: pointer; border: 2px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-phone { background: var(--navy); color: #fff; padding: 10px 18px; }
.btn-phone:hover { background: var(--navy-dark); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px;
  background: var(--navy); color: #fff; border-radius: 10px; font-size: 1rem; letter-spacing: -.5px;
}
.brand-name { font-size: 1.05rem; white-space: nowrap; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); font-weight: 600; font-size: .96rem; }
.nav a:hover { color: var(--navy); }
.btn-phone { margin-left: 4px; }
.nav-toggle { display: none; }

/* ===== Track-a-shipment strip ===== */
.track-bar { background: var(--bg-tint); border-bottom: 1px solid var(--line); font-size: .9rem; }
.track-bar-inner { display: flex; align-items: center; gap: 18px; padding: 9px 0; }
.track-label { color: var(--body); font-weight: 600; }
.track-bar a {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--navy); font-weight: 700;
}
.track-bar a:hover { color: var(--navy-dark); text-decoration: underline; }
.track-bar a svg { width: 13px; height: 13px; }
@media (max-width: 640px) {
  .track-bar-inner { justify-content: center; gap: 16px; padding: 8px 0; font-size: .85rem; }
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(232,71,43,.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff; padding: 84px 0 76px; text-align: center;
}
.hero-inner { max-width: 760px; margin: 0 auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700;
  color: #bcd3ee; margin: 0 0 14px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
.lede { font-size: clamp(1.05rem, 2.5vw, 1.3rem); color: #dce7f3; margin: 0 auto 28px; max-width: 560px; text-wrap: pretty; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  list-style: none; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 0; margin: 36px 0 0;
}
.hero-badges li {
  font-size: .8rem; font-weight: 700; letter-spacing: .05em; color: #cfe0f2;
  border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 999px;
}

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; }
.section-sub { font-size: 1.08rem; max-width: 600px; margin: 0 0 36px; }
#services .section-title, #services .section-sub { text-align: center; margin-left: auto; margin-right: auto; }

/* ===== Services grid ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cdd8e6; }
.service-icon {
  display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px;
  background: var(--bg-tint); color: var(--navy); border-radius: 12px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 6px; }
.service-card p { margin: 0; font-size: .95rem; }

/* ===== Hours & Location ===== */
.hours-location { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.address { font-style: normal; font-size: 1.1rem; color: var(--ink); font-weight: 600; margin: 6px 0 16px; }
.contact-line { margin: 0 0 22px; }
.hours-table { width: 100%; border-collapse: collapse; margin: 0 0 26px; max-width: 420px; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.hours-table th { font-weight: 600; color: var(--ink); }
.hours-table td { text-align: right; color: var(--body); font-variant-numeric: tabular-nums; }
.hours-table .closed { color: var(--accent); font-weight: 600; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--navy); font-weight: 800; }
.today-tag {
  font-size: .68rem; background: var(--navy); color: #fff; padding: 2px 8px;
  border-radius: 999px; margin-left: 8px; vertical-align: middle; font-weight: 700;
}
.map-block iframe {
  width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== About ===== */
.about { max-width: 760px; }
.about p { font-size: 1.1rem; text-wrap: pretty; }

/* ===== Contact ===== */
.contact-section { text-align: center; }
.contact-section .section-sub { margin-left: auto; margin-right: auto; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; }
.contact-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.contact-card-value { font-size: 1.15rem; font-weight: 700; color: var(--ink); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #c2ccda; padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-inner p { margin: 0; font-size: .92rem; }
.footer-social { display: flex; gap: 18px; }
.footer-social a { color: #c2ccda; font-weight: 600; }
.footer-social a:hover { color: #fff; }
.footer-credit { margin: 0; font-size: .85rem; color: #8b96a8; }
.footer-credit a { color: #aab4c4; font-weight: 600; }
.footer-credit a:hover { color: #fff; text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hours-location { grid-template-columns: 1fr; gap: 32px; }
  .contact-cards { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .header-inner { gap: 10px; }
  .brand { flex-shrink: 0; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; flex-shrink: 0;
    background: transparent; border: 1px solid var(--line); border-radius: 10px;
    color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  /* Icon-only tap-to-call on mobile (keeps one-tap calling, saves space) */
  .btn-phone {
    margin-left: auto; flex-shrink: 0;
    width: 44px; height: 44px; padding: 0;
    font-size: 0; text-indent: -9999px; overflow: hidden;
    background-color: var(--navy);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.81.36 1.6.7 2.34a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.74-1.27a2 2 0 0 1 2.11-.45c.74.34 1.53.57 2.34.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center; background-size: 20px 20px;
    border-radius: 10px;
  }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 6px 24px 14px;
  }
  .nav.nav--open { display: flex; }
  .nav a { padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav a:last-child { border-bottom: 0; }
  .hero { padding: 60px 0 56px; }
  .section { padding: 56px 0; }
}

/* ===== Accessibility: visible keyboard focus ===== */
a:focus-visible, button:focus-visible, .btn:focus-visible, .contact-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn-ghost:focus-visible { outline-color: #fff; }

/* ===== Intentional motion: staggered hero entrance ===== */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
.hero-inner > * { animation: hero-rise .6s ease-out both; }
.hero-inner > *:nth-child(2) { animation-delay: .06s; }
.hero-inner > *:nth-child(3) { animation-delay: .12s; }
.hero-inner > *:nth-child(4) { animation-delay: .18s; }
.hero-inner > *:nth-child(5) { animation-delay: .24s; }

/* ===== Respect reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .service-card:hover, .contact-card:hover, .btn:hover { transform: none !important; }
}
