/* BirdFulfill — shared styles. Deep navy + amber B2B look. No build step. */

:root {
  --navy: #0d2137;
  --navy-dark: #081627;
  --navy-soft: #14304f;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --text: #1f2937;
  --muted: #5b6b7f;
  --bg: #ffffff;
  --bg-light: #f4f7fb;
  --border: #e3e9f2;
  --radius: 10px;
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.65;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-soft); }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header / Nav ---------- */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(13,33,55,.10);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: .2px;
  text-decoration: none;
}
.logo span { color: var(--accent); }
.logo img {
  height: 56px;
  width: auto;
  display: block;
}
.card-img {
  width: 100%;
  height: 165px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 0 16px;
  display: block;
}
.wide-img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin: 10px 0 22px;
  display: block;
}
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--navy);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  padding: 10px 13px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: #eef3f9; color: var(--navy); }
.nav-links a.active { color: var(--accent-dark); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ---------- Hero (homepage) ---------- */
.hero {
  background: var(--navy-dark) url("https://images.unsplash.com/photo-1553413077-190dd305871c?w=1600") center/cover no-repeat;
  color: #fff;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(8,22,39,.92) 20%, rgba(8,22,39,.55) 60%, rgba(8,22,39,.35));
}
.hero-inner {
  position: relative;
  padding: 110px 20px 100px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.18;
  margin: 0 0 18px;
  max-width: 720px;
  letter-spacing: -.5px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: #cdd9e8;
  max-width: 640px;
  margin: 0 0 32px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-dark), var(--navy-soft));
  color: #fff;
  padding: 64px 0 52px;
}
.page-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -.3px;
}
.page-hero p { margin: 0; color: #c4d2e4; max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 8px;
  transition: transform .12s, background .15s, box-shadow .15s;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
}
.btn-accent { background: var(--accent); color: #1a1206; box-shadow: 0 6px 18px rgba(245,158,11,.35); }
.btn-accent:hover { background: #fbbf24; transform: translateY(-1px); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.55); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-light); }
.section h2.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 12px;
  color: var(--navy);
  letter-spacing: -.3px;
}
.section p.section-sub {
  text-align: center;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 44px;
}

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: 0 4px 14px rgba(13,33,55,.06);
  transition: transform .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(13,33,55,.12); }
.card h2 {
  font-size: 1.18rem;
  margin: 0 0 6px;
  color: var(--navy);
}
.card .kicker {
  font-style: italic;
  color: var(--accent-dark);
  font-weight: 600;
  margin: 0 0 12px;
  font-size: .98rem;
}
.card p.body { color: var(--muted); font-size: .96rem; margin: 0 0 14px; flex: 1; }
.card p.benefit { margin: 0; font-size: .95rem; border-top: 1px solid var(--border); padding-top: 14px; }
.card p.benefit strong { color: var(--navy); }

/* Stages */
.stages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: stage;
}
.stage {
  background: var(--navy);
  color: #e8eef6;
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  overflow: hidden;
}
.stage::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--accent);
}
.stage h3 { color: #fff; margin: 0 0 10px; font-size: 1.25rem; }
.stage h3 .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  color: #1a1206;
  font-size: .95rem;
  margin-right: 10px;
}
.stage p { margin: 0; color: #b9c7da; font-size: .96rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--accent-dark), var(--accent));
  color: #1a1206;
  padding: 60px 0;
  text-align: center;
}
.cta-band h2 { margin: 0 0 14px; font-size: clamp(1.4rem, 2.8vw, 2rem); }
.cta-band p { max-width: 720px; margin: 0 auto 26px; font-weight: 500; }
.cta-band .btn-navy { box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* Contact strip */
.contact-strip { padding: 64px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.warehouse-list { list-style: none; margin: 18px 0 0; padding: 0; }
.warehouse-list li {
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--border);
  position: relative;
  font-weight: 500;
}
.warehouse-list li:last-child { border-bottom: 0; }
.warehouse-list li::before {
  content: "◈";
  position: absolute;
  left: 6px;
  color: var(--accent-dark);
}
.contact-actions { display: flex; flex-direction: column; gap: 14px; }
.contact-line { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; }
.contact-line a { font-weight: 700; color: var(--navy); text-decoration: none; }
.contact-line a:hover { color: var(--accent-dark); }

/* Steps (affiliate how it works) */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steps-4 {
  grid-template-columns: repeat(4, 1fr);
}
.step {
  transition: transform .22s ease, box-shadow .22s ease;
  border-top: 3px solid var(--accent);
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(13,33,55,.12);
}
.step .num {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 6px 14px rgba(245,158,11,.35);
}

/* ---------- Affiliate page polish ---------- */
.affiliate-hero { position: relative; overflow: hidden; }
.affiliate-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: url("affiliate.webp") center/cover no-repeat;
  opacity: .16;
}
.affiliate-hero .container { position: relative; }
.affiliate-hero h1::after {
  content: ""; display: block; width: 68px; height: 4px;
  background: var(--accent); border-radius: 2px; margin-top: 14px;
}
.lead { font-size: 1.12rem; line-height: 1.75; color: var(--text); }
.audience {
  list-style: none; margin: 26px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
}
.audience li {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 12px;
  text-align: center; font-weight: 700; color: var(--navy);
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.audience li:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(13,33,55,.10); }
.audience li span {
  display: block; font-weight: 500; color: var(--muted);
  font-size: .8rem; margin-top: 6px;
}

/* ---------- Integrations ---------- */
.integrations {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 920px; margin: 0 auto;
}
.integration-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px 30px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.integration-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(13,33,55,.10); }
.integration-card h3 { margin: 14px 0 10px; color: var(--navy); font-size: 1.25rem; }
.integration-card p { margin: 0; color: var(--muted); line-height: 1.7; }
.badge {
  display: inline-block; font-size: .75rem; font-weight: 700;
  letter-spacing: .4px; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}
.badge-soon { background: #fef3e2; color: var(--accent-dark); border: 1px solid #fbd38d; }
.badge-now { background: #e6f7ed; color: #15803d; border: 1px solid #a7e3c0; }
.step {
  text-align: center;
  padding: 36px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.step h3 { margin: 0 0 8px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Check list */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checks li {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px 20px;
  font-size: 1.02rem;
}
.checks li strong { color: var(--navy); }

/* FAQ accordion */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: 0;
  padding: 18px 22px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.faq-q .idx {
  flex: none;
  font-size: .8rem;
  color: var(--accent-dark);
  background: #fef3e2;
  border-radius: 6px;
  padding: 3px 9px;
  margin-right: 4px;
}
.faq-q .chev { flex: none; transition: transform .2s; color: var(--accent-dark); font-size: 1.2rem; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a > div { padding: 0 22px 20px; color: var(--muted); }
.faq-item.open .faq-a { max-height: 600px; }

/* Policy pages */
.policy { max-width: 860px; margin: 0 auto; }
.policy h2 { color: var(--navy); margin: 2.2em 0 .6em; font-size: 1.4rem; }
.policy h3 { color: var(--navy); margin: 1.8em 0 .5em; font-size: 1.12rem; }
.policy p, .policy li { color: var(--text); }
.policy ol, .policy ul { padding-left: 1.4em; }
.policy li { margin-bottom: .5em; }
table.ship-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 8px;
  font-size: .98rem;
}
table.ship-table th, table.ship-table td {
  border: 1px solid var(--border);
  padding: 12px 16px;
  text-align: left;
}
table.ship-table th { background: var(--navy); color: #fff; }
table.ship-table tr:nth-child(even) td { background: var(--bg-light); }

/* Contact page */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
}
.contact-card h3 { margin: 0 0 8px; color: var(--navy); }
.contact-card p { margin: 0 0 16px; color: var(--muted); font-size: .95rem; }
.contact-card a.big { font-weight: 800; color: var(--navy); text-decoration: none; font-size: 1.05rem; word-break: break-all; }
.contact-card a.big:hover { color: var(--accent-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #aebdd2; margin-top: 0; }
.site-footer .logo img { border-radius: 8px; height: 52px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding: 56px 0 36px;
}
.site-footer h4 { color: #fff; margin: 0 0 16px; font-size: 1.02rem; }
.footer-blurb { font-size: .94rem; }
.footer-blurb .logo { font-size: 1.3rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: #aebdd2; text-decoration: none; font-size: .94rem; }
.footer-links a:hover { color: var(--accent); }
.footer-contact { font-size: .94rem; }
.footer-contact a { color: #dbe4f0; text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact p { margin: 0 0 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  text-align: center;
  font-size: .88rem;
  color: #7d8fa8;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards, .stages, .steps, .contact-cards, .audience { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 10px 20px 18px;
    gap: 2px;
    box-shadow: 0 12px 24px rgba(13,33,55,.14);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .header-inner { position: relative; }
  .site-header .container { position: relative; }
  .hero-inner { padding: 80px 20px 70px; }
  .cards, .stages, .steps, .contact-cards, .contact-grid, .audience, .integrations { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
