/* ─── RESOURCE LOGISTICS — SHARED DESIGN SYSTEM ─── */
/* Brand: Navy #1d3d72 + Teal #2db4a2 + White */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #1d3d72;
  --navy-dark: #152d56;
  --navy-mid: #254d8a;
  --teal: #2db4a2;
  --teal-light: #4ecfbd;
  --teal-dim: rgba(45,180,162,0.1);
  --white: #ffffff;
  --off-white: #f8fafc;
  --light: #f0f5fb;
  --text: #1a2433;
  --text-mid: #2e3f52;
  --muted: #5a6a7e;
  --border: rgba(29,61,114,0.1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  box-shadow: 0 2px 20px rgba(29,61,114,0.06);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 60px; width: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-mid); text-decoration: none;
  font-size: 13.5px; font-weight: 400; letter-spacing: 0.01em;
  transition: color 0.2s; padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--navy); border-bottom-color: var(--teal); }
.nav-links a.active { color: var(--navy); font-weight: 500; border-bottom-color: var(--teal); }
.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 9px 22px; border-radius: 4px;
  font-weight: 500 !important;
  border-bottom: none !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--navy-mid) !important; }

/* ─── PAGE HERO ─── */
.page-hero {
  padding: 130px 72px 140px;
  background-color: var(--color-navy-900);
  background-size: cover;
  background-position: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(10, 25, 47, 0.65);
  pointer-events: none;
}
.page-hero-eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.page-hero-eyebrow-line { width: 28px; height: 2px; background: var(--teal); }
.page-hero-eyebrow span {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  color: var(--teal); text-transform: uppercase;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px); font-weight: 300;
  color: var(--white); line-height: 1.1; margin-bottom: 16px;
}
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero p {
  font-size: 16px; font-weight: 300; line-height: 1.75;
  color: rgba(255,255,255,0.65); max-width: 560px;
}
.page-hero-content { position: relative; z-index: 1; }

/* ─── SECTION STYLES ─── */
.section-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-eyebrow-line { width: 28px; height: 2px; background: var(--teal); }
.section-eyebrow span {
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  color: var(--teal); text-transform: uppercase;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px); font-weight: 300; line-height: 1.15;
  color: var(--navy); text-wrap: pretty;
}
.section-title em { font-style: italic; color: var(--teal); }
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 15px; font-weight: 300; line-height: 1.8;
  color: var(--muted); max-width: 560px; margin-top: 12px;
}
.section-sub.light { color: rgba(255,255,255,0.6); }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--navy); color: var(--white);
  padding: 13px 30px; border-radius: 4px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; transition: all 0.2s;
  border: 2px solid var(--navy); display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-1px); }
.btn-teal {
  background: var(--teal); color: var(--white);
  padding: 13px 30px; border-radius: 4px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; transition: all 0.2s;
  border: 2px solid var(--teal); display: inline-flex; align-items: center; gap: 8px;
}
.btn-teal:hover { background: var(--teal-light); border-color: var(--teal-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--navy);
  padding: 13px 30px; border-radius: 4px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; transition: all 0.2s;
  border: 2px solid var(--navy); display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); }
.btn-outline-white {
  background: transparent; color: var(--white);
  padding: 13px 30px; border-radius: 4px;
  font-size: 13.5px; font-weight: 500; letter-spacing: 0.03em;
  text-decoration: none; transition: all 0.2s;
  border: 2px solid rgba(255,255,255,0.4); display: inline-flex;
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-1px); }

/* ─── FOOTER ─── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
}
.footer-top {
  padding: 24px 72px 48px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
  align-items: start;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo-top { padding: 40px 72px 0; }
.footer-logo-top img { margin-bottom: 0; display: block; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 16px; mix-blend-mode: screen; filter: brightness(1.2); }
.footer-brand p { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.45); max-width: 270px; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact a {
  font-size: 12.5px; color: rgba(255,255,255,0.45); text-decoration: none;
  display: flex; gap: 8px; align-items: flex-start; transition: color 0.2s; line-height: 1.5;
}
.footer-contact a:hover { color: var(--teal); }
.footer-office-group h5 {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal); font-weight: 600; margin-bottom: 8px;
}
.footer-office-group p {
  font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.4);
  max-width: 290px; margin-bottom: 6px;
}
.footer-office-group p:last-child { margin-bottom: 0; }
.footer-col h4 {
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--teal); font-weight: 500; margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { padding: 20px 72px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); text-decoration: none; font-size: 11px; font-weight: 600;
  transition: all 0.2s;
}
.social-link:hover { border-color: var(--teal); color: var(--teal); }

/* ─── BLOG ARTICLE BODY ─── */
.article-body p { font-size: var(--text-md); color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.article-body h2 {
  font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 300;
  color: var(--navy); margin: 48px 0 16px;
  padding-left: 16px; border-left: 3px solid var(--teal); line-height: 1.3;
}
.article-body ul { list-style: none; padding: 0; margin: 0 0 24px; }
.article-body ul li {
  position: relative; padding-left: 24px;
  font-size: var(--text-md); color: var(--text-mid); line-height: 1.75; margin-bottom: 10px;
}
.article-body ul li::before { content: '→'; position: absolute; left: 0; color: var(--teal); font-size: 14px; top: 2px; }
.article-body em { font-style: italic; color: var(--teal); }
.article-body strong { font-weight: 600; color: var(--navy); }
.article-body a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }

/* Stat row */
.stat-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden; margin: 36px 0;
}
.stat-item { background: #fff; padding: 24px 20px; text-align: center; }
.stat-number {
  font-family: var(--font-display); font-size: 36px; font-weight: 300;
  color: var(--navy); display: block; line-height: 1; margin-bottom: 6px;
}
.stat-label { font-size: var(--text-sm); color: var(--text-mid); line-height: 1.4; }

/* Pull-quote callout */
.callout {
  background: var(--navy); color: #fff; padding: 28px 32px;
  border-radius: 4px; margin: 36px 0;
  font-family: var(--font-display); font-size: 19px; line-height: 1.5; font-style: italic;
}
.callout strong { color: var(--teal-light); font-style: normal; }

/* Warning / highlight box */
.warning-box {
  background: var(--color-teal-050); border-left: 4px solid var(--teal);
  padding: 20px 24px; margin: 28px 0; border-radius: 0 4px 4px 0;
}
.warning-box p { margin: 0; color: var(--navy); }
.warning-box strong { color: var(--teal); }

/* Checklist */
.checklist {
  background: var(--color-teal-050); border: 1px solid var(--color-teal-100);
  border-radius: 4px; padding: 28px 32px; margin: 32px 0;
}
.checklist-title {
  font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px; font-weight: 500;
}
.checklist ul li::before { content: '✓'; color: var(--teal); }

/* Practice grid */
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0; }
.practice-card { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 24px; }
.practice-number {
  font-size: var(--text-2xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 10px; font-weight: 500;
}
.practice-card h3 {
  font-family: var(--font-display); font-size: var(--text-xl); font-weight: 400;
  color: var(--navy); margin: 0 0 8px; border: none; padding: 0; line-height: 1.3;
}
.practice-card p { font-size: var(--text-sm); color: var(--text-mid); line-height: 1.6; margin: 0; }

/* Document cards */
.doc-card { border: 1px solid var(--border); border-radius: 4px; overflow: hidden; margin: 24px 0; }
.doc-card-header {
  background: var(--navy); color: #fff;
  padding: 16px 24px; display: flex; align-items: center; gap: 14px;
}
.doc-number {
  font-family: var(--font-display); font-size: 28px; font-weight: 300;
  color: var(--teal-light); line-height: 1;
}
.doc-title { font-family: var(--font-display); font-size: 18px; font-weight: 400; }
.doc-body { background: #fff; padding: 24px; }
.doc-body p { font-size: var(--text-base); margin-bottom: 14px; }
.doc-body p:last-child { margin-bottom: 0; }
.doc-body ul li { font-size: var(--text-sm); margin-bottom: 8px; }

/* CTA strip at article bottom */
.blog-cta {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.blog-cta .cta-btn {
  display: inline-block; background: var(--teal); color: #fff;
  padding: 12px 26px; border-radius: 3px;
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.04em;
  text-decoration: none; transition: background 0.2s;
}
.blog-cta .cta-btn:hover { background: var(--navy); text-decoration: none; }
.blog-cta .cta-text { font-size: var(--text-sm); color: var(--text-mid); }

@media (max-width: 680px) {
  .stat-row { grid-template-columns: 1fr; }
  .practice-grid { grid-template-columns: 1fr; }
}

/* ─── HAMBURGER NAV TOGGLE ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  transition: all 0.25s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── TABLET (≤1024px) ─── */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .nav-links { gap: 20px; }
  .page-hero { padding: 120px 40px 64px; }
  .footer-logo-top { padding: 32px 40px 0; }
  .footer-top { padding: 20px 40px 40px; gap: 32px; }
  .footer-bottom { padding: 18px 40px; }
}

/* ─── MOBILE (≤768px) ─── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(29,61,114,0.1);
    z-index: 99;
    padding: 0;
    list-style: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links a {
    display: block;
    padding: 16px 24px;
    font-size: 15px;
    border-bottom: none !important;
  }
  .nav-cta-item { border-bottom: none !important; padding: 12px 20px 16px; }
  .nav-cta {
    display: block !important;
    text-align: center !important;
    padding: 12px 24px !important;
    border-radius: 4px !important;
  }

  .page-hero { padding: 108px 20px 56px; }

  .footer-logo-top { padding: 28px 20px 0; }
  .footer-top { padding: 20px 20px 36px; grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 10px; text-align: center; }
}

/* ─── REVEAL ANIMATION ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s, transform 0.65s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
