/* R4B Parcel — Layout (header, hero, benefit strip, footer) */

/* ── Header ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .navbar { padding-block: 0; min-height: 72px; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(47, 157, 148, .35);
  flex-shrink: 0;
}
.brand-mark.brand-logo {
  background: none;
  box-shadow: none;
  padding: 1px;
}
.brand-mark.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}
.brand-word { display: inline-flex; align-items: baseline; gap: .3rem; }
.brand-r4b { font-weight: 800; color: var(--text); font-size: 1.3rem; letter-spacing: -0.02em; }
.brand-sub { font-weight: 500; color: var(--text-muted); font-size: 1.05rem; }

/* Nav */
.site-nav { gap: .25rem; align-items: center; margin-inline: auto; }
.site-nav .nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: .95rem;
  padding: .55rem .85rem;
  border-radius: 10px;
}
.site-nav .nav-link:hover { color: var(--primary-dark); background: var(--surface-soft); }
.site-nav .nav-link.active { color: var(--primary-dark); background: var(--primary-light); font-weight: 600; }

.site-actions { display: flex; align-items: center; gap: .6rem; }
.header-user {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--text-muted); font-size: .9rem; font-weight: 500;
}
.header-user i { color: var(--primary); }

.navbar-toggler { border: 0; color: var(--text); font-size: 1.6rem; padding: .25rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:focus-visible { outline: 3px solid var(--secondary); outline-offset: 2px; }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 88% 6%, rgba(106, 199, 192, .18), transparent 70%),
    radial-gradient(480px 260px at 4% 94%, rgba(47, 157, 148, .12), transparent 70%),
    linear-gradient(180deg, #FBFDFC 0%, var(--bg) 100%);
  padding-block: clamp(56px, 8vw, 96px) clamp(40px, 6vw, 72px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--border);
  color: var(--primary-dark); font-weight: 600; font-size: .85rem;
  padding: .45rem 1rem; border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.hero-badge i { color: var(--primary); }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 34rem;
  margin: 0 0 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem; color: var(--text-muted); font-size: .9rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-trust i { color: var(--primary); }

/* Hero visual — journey + parcel status */
.hero-visual { position: relative; min-height: 460px; }
.hv-orbit { position: absolute; border-radius: 50%; pointer-events: none; }
.hv-orbit-1 {
  width: 430px; height: 430px; top: -30px; right: -30px;
  background: radial-gradient(circle, rgba(106, 199, 192, .14), transparent 70%);
}
.hv-orbit-2 {
  width: 300px; height: 300px; bottom: 0; left: -20px;
  background: radial-gradient(circle, rgba(47, 157, 148, .12), transparent 70%);
}

.journey-card {
  position: absolute; top: 8px; right: 24px;
  width: 320px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  z-index: 2;
}
.journey-node { display: flex; align-items: center; gap: .8rem; }
.jn-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.jn-store  { background: #FDF0E0; color: #C07A2A; }
.jn-hub    { background: var(--primary-light); color: var(--primary-dark); }
.jn-runner { background: #EDE7FB; color: #7A5CD6; }
.jn-home   { background: #E3F6EC; color: #2E9E63; }
.jn-label { font-weight: 600; color: var(--text); font-size: .92rem; }
.journey-track { width: 2px; height: 20px; background: var(--border); margin: 6px 0 6px 19px; position: relative; }
.journey-track .jt-dot { position: absolute; left: -3px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); }

.parcel-card {
  position: absolute; bottom: 8px; left: 8px;
  width: 300px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  z-index: 3;
}
.parcel-card-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; font-size: .9rem; color: var(--text); }
.pc-icon { color: var(--primary); font-size: 1.3rem; }
.pc-ready { background: var(--primary-light) !important; color: var(--primary-dark) !important; font-weight: 600; margin-left: auto; }
.pc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pc-steps li { display: flex; align-items: center; gap: .6rem; font-size: .88rem; color: var(--text-muted); }
.pc-steps li.done { color: var(--text); font-weight: 500; }
.pc-steps li.done i { color: var(--success); }
.pc-steps li.active { color: var(--primary-dark); font-weight: 600; }
.pc-dot { width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--border); display: inline-block; }
.pc-steps li.active .pc-dot { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.parcel-card-foot {
  margin-top: 1rem; padding-top: .8rem;
  border-top: 1px dashed var(--border);
  font-size: .85rem; color: var(--text-muted);
  display: flex; gap: .5rem; align-items: center;
}
.parcel-card-foot i { color: var(--primary); }

.hv-chip {
  position: absolute; z-index: 4;
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: .45rem .9rem; font-size: .8rem; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; gap: .4rem;
}
.hv-chip-1 { bottom: 150px; right: 12px; }
.hv-chip-2 { top: 52%; left: 12px; }
.hv-chip i { color: var(--primary); }

.hero-visual {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.hero-visual-img {
  display: block;
  width: 100%;
  max-width: 650px;
  height: auto;
  object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
  .hero-visual {
    padding: 10px 0 25px;
  }

  .hero-visual-img {
    max-width: 100%;
  }
}


/* ── Benefit strip ─────────────────────────────────────────────── */
.benefit-strip { background: #fff; border-block: 1px solid var(--border); }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: 1.75rem;
}
.benefit { display: flex; align-items: center; gap: .85rem; }
.benefit i { font-size: 1.5rem; color: var(--primary); }
.benefit strong { display: block; font-size: .95rem; font-weight: 600; }
.benefit span { font-size: .82rem; color: var(--text-muted); }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer { background: #0F1A1A; color: #B7C4C2; margin-top: auto; }
.site-footer a { color: #CFE5E2; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}
.footer-brand .brand-mark { width: 42px; height: 42px; font-size: 1.25rem; }
.footer-brand .brand-r4b { color: #fff; }
.footer-brand .brand-sub { color: #9FB4B2; }
.footer-tagline { margin: 1rem 0; color: #9FB4B2; font-size: .95rem; max-width: 22rem; }
.footer-powered { font-size: .85rem; color: #7E9290; }
.footer-powered a { color: var(--secondary); }
.footer-col h4 {
  color: #fff; font-size: .82rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .92rem; }
.footer-col li { display: flex; gap: .5rem; align-items: flex-start; }
.footer-col i { color: var(--secondary); margin-top: .2rem; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 1.25rem;
  font-size: .85rem; color: #7E9290;
}
.footer-bottom-links a { margin-inline: .3rem; }
