/* Goodwill Logistics — design system
   Theme reference: light/photo-led industrial logistics site —
   charcoal text, orange accent, white/off-white sections, dark footer only. */

:root {
  /* Brand navy derived from the Goodwill Logistics logo (#1b2a4a) */
  --brand-900: #101a30;
  --brand-800: #1b2a4a;
  --brand-700: #24365c;
  --brand-500: #3d5a8a;
  --brand-300: #7f97bf;
  --brand-050: #eef1f7;

  --ink-900: #1c2126;
  --ink-800: #262c33;
  --charcoal: #2b323b;
  --slate-600: #5b6572;
  --slate-400: #8993a1;
  --slate-200: #dfe3e8;
  --slate-100: #f3f5f7;
  --slate-050: #f9fafb;
  --white: #ffffff;
  --orange-500: var(--brand-800);
  --orange-600: var(--brand-900);
  --orange-050: var(--brand-050);
  --success: #1f9d55;

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;

  --shadow-sm: 0 1px 2px rgba(28, 33, 38, 0.07);
  --shadow-md: 0 10px 28px rgba(28, 33, 38, 0.12);
  --shadow-lg: 0 24px 56px rgba(28, 33, 38, 0.18);

  --container: 1200px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Poppins", var(--font-body);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--ink-900);
}
p { margin: 0 0 1em; color: var(--slate-600); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--tight { padding: 48px 0; }
.section--dark { background: var(--ink-900); color: var(--slate-200); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: var(--slate-400); }
.section--tinted { background: var(--slate-100); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 12px;
}
.section-head { max-width: 640px; margin: 0 0 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn--primary { background: var(--orange-500); color: var(--white); }
.btn--primary:hover { background: var(--orange-600); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn--ghost { border-color: var(--ink-900); color: var(--ink-900); }
.btn--ghost:hover { background: var(--ink-900); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,0.6); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink-900); }
.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* Top utility bar */
.topbar {
  background: var(--ink-900);
  color: var(--slate-400);
  font-size: 0.82rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.topbar a { color: var(--slate-200); }
.topbar a:hover { color: var(--orange-500); }
.topbar__links { display: flex; gap: 20px; flex-wrap: wrap; }

/* Header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}
.site-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink-900);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.site-logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
}
.site-logo img { height: 46px; width: auto; display: block; }
.footer-top .site-logo img { height: 46px; filter: brightness(0) invert(1); }
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__list { display: flex; gap: 28px; }
.nav__list a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink-800);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav__list a:hover,
.nav__list a[aria-current="page"] { color: var(--orange-600); border-color: var(--orange-500); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta__phone { font-weight: 600; font-size: 0.92rem; color: var(--ink-900); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

/* Hero — full-bleed photo with left-aligned copy */
.hero {
  position: relative;
  color: var(--white);
  min-height: calc(100vh - var(--header-offset, 0px));
  display: flex;
  align-items: center;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,23,27,0.88) 0%, rgba(20,23,27,0.62) 48%, rgba(20,23,27,0.28) 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 96px;
  padding-bottom: 96px;
}
.hero__content {
  display: grid;
  gap: 24px;
  max-width: 860px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(127,151,191,0.22);
  color: #b7c6e0;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 0;
  width: fit-content;
}
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.hero p.lead { color: #e6e9ed; font-size: 1.12rem; max-width: 640px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page header (inner pages) — smaller photo hero */
.page-header {
  position: relative;
  color: var(--white);
  min-height: 260px;
  display: flex;
  align-items: flex-end;
}
.page-header__media { position: absolute; inset: 0; z-index: 0; }
.page-header__media img { width: 100%; height: 100%; object-fit: cover; }
.page-header__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,23,27,0.55), rgba(20,23,27,0.88));
}
.page-header .container { position: relative; z-index: 1; padding: 40px 24px 32px; }
.page-header .breadcrumb { color: #cfd4da; font-size: 0.85rem; margin-bottom: 10px; }
.page-header .breadcrumb a { color: var(--white); }
.page-header h1 { color: var(--white); margin-bottom: 6px; }
.page-header p { color: #d7dbe0; max-width: 640px; }

/* Trust strip */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}
.trust-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.trust-item { text-align: center; }
.trust-item strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--ink-900);
}
.trust-item span { font-size: 0.82rem; color: var(--slate-600); }

/* Card grid */
.grid {
  display: grid;
  gap: 24px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--6 { grid-template-columns: repeat(6, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: transparent; }
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--orange-050);
  color: var(--orange-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.1rem; }
.card__link { font-weight: 600; color: var(--orange-600); display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.card__link:hover { text-decoration: underline; }

/* Photo cards (services w/ image, news) */
.photo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--slate-200);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.photo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.photo-card__media { aspect-ratio: 16/10; overflow: hidden; }
.photo-card__media img { width: 100%; height: 100%; object-fit: cover; }
.photo-card__body { padding: 22px; }
.photo-card__meta { font-size: 0.78rem; color: var(--slate-400); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.photo-card h3 { font-size: 1.05rem; }

/* Trusted-by / client logo strip */
.logo-strip {
  background: var(--slate-050);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}
.logo-strip .container { padding: 32px 24px; }
.logo-strip__label { text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 22px; }
.logo-strip__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.logo-strip__row img { height: 32px; width: auto; filter: grayscale(1); opacity: 0.6; transition: opacity 0.2s ease, filter 0.2s ease; }
.logo-strip__row img:hover { filter: grayscale(0); opacity: 1; }

/* Certification badges */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  background: var(--white);
}
.cert-badge img { height: 34px; width: auto; }
.cert-badge span { font-weight: 600; font-size: 0.85rem; color: var(--ink-800); }

/* Coverage / network section */
.coverage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.coverage__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.coverage__media img { width: 100%; height: auto; display: block; }

/* Stats band */
.stat-band { background: var(--slate-100); }
.stat-band .grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat {
  text-align: center;
  padding: 8px;
  border-left: 1px solid var(--slate-200);
}
.stat:first-child { border-left: none; }
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  color: var(--ink-900);
}
.stat span { font-size: 0.85rem; color: var(--slate-600); }

/* Steps / how it works */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.step { position: relative; padding-top: 8px; }
.step__icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 0;
  background: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.step__icon svg { width: 26px; height: 26px; stroke: var(--orange-500); }
.step__num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { font-size: 1rem; }
.step p { font-size: 0.9rem; }

/* Testimonials */
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.testimonial__stars { color: var(--orange-500); letter-spacing: 2px; margin-bottom: 12px; }
.testimonial p { color: var(--ink-800); font-style: italic; }
.testimonial__name { font-weight: 700; color: var(--ink-900); font-style: normal; }
.testimonial__meta { font-size: 0.8rem; color: var(--slate-400); font-style: normal; }

/* Accordion (FAQ) */
.accordion__item { border-bottom: 1px solid var(--slate-200); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-900);
}
.accordion__icon { flex-shrink: 0; transition: transform 0.2s ease; color: var(--orange-600); font-size: 1.2rem; }
.accordion__item[data-open="true"] .accordion__icon { transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.accordion__panel p { padding-bottom: 18px; margin: 0; }

/* Magazine-style CTA band (photo + content) */
.promo-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  min-height: 300px;
}
.promo-band__media { position: absolute; inset: 0; z-index: 0; }
.promo-band__media img { width: 100%; height: 100%; object-fit: cover; }
.promo-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20,23,27,0.92) 20%, rgba(20,23,27,0.55) 70%, rgba(20,23,27,0.2) 100%);
}
.promo-band__content { position: relative; z-index: 1; padding: 48px; }
.promo-band__content h2 { color: var(--white); }
.promo-band__content p { color: #d7dbe0; }
.promo-band__thumb { position: relative; z-index: 1; padding: 48px; display: flex; justify-content: flex-end; }
.promo-band__thumb img { width: 220px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }

/* CTA band (solid, no photo) */
.cta-band {
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--slate-400); margin: 0; }

/* Footer */
.site-footer { background: var(--ink-900); color: var(--slate-400); }
.site-footer .container { padding-top: 64px; padding-bottom: 32px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-top .site-logo { color: var(--white); margin-bottom: 12px; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--orange-500); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.list-check li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--slate-600); }
.list-check li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.detail-block {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--slate-200);
}
.detail-block:last-child { border-bottom: none; }
.detail-block__media { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.detail-block__media img { width: 100%; height: auto; display: block; }
.at-a-glance {
  background: var(--slate-100);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.at-a-glance dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-400); margin-top: 14px; }
.at-a-glance dt:first-child { margin-top: 0; }
.at-a-glance dd { margin: 4px 0 0; font-weight: 600; color: var(--ink-900); }

.contact-grid { grid-template-columns: repeat(4, 1fr); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .field--full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 600; font-size: 0.85rem; margin-bottom: 6px; color: var(--ink-900); }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
}
.field input:focus,
.field textarea:focus { outline: 2px solid var(--orange-500); outline-offset: 1px; }

/* Responsive */
@media (max-width: 980px) {
  .grid--3, .grid--4, .grid--5, .grid--6, .testimonial-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .detail-block { grid-template-columns: 1fr; }
  .coverage { grid-template-columns: 1fr; }
  .promo-band { grid-template-columns: 1fr; }
  .promo-band__thumb { justify-content: flex-start; padding-top: 0; }
}
@media (max-width: 760px) {
  .nav, .header-cta__phone { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px 28px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__list { flex-direction: column; gap: 4px; }
  .nav-toggle { display: flex; }
  .topbar__links { gap: 12px; }
  .grid--2, .grid--3, .grid--4, .grid--5, .grid--6, .testimonial-grid, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .logo-strip__row { gap: 28px; }
  .stat { border-left: none; border-top: 1px solid var(--slate-200); padding-top: 16px; }
  .stat:first-child { border-top: none; }
}
