/* ═══════════════════════════════════════════════════════════════════════════
   everyday middle — Brand Design System
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  /* Primary palette */
  --navy:       #1F3864;
  --navy-dark:  #172B4D;
  --orange:     #C55A11;
  --orange-hover: #A84A0E;
  --teal:       #1F6B75;
  --teal-hover: #195960;
  --teal-light: #2A9DAD;

  /* Neutrals */
  --bg-light:   #F7F7F5;
  --bg-white:   #FFFFFF;
  --border:     #E8E8E8;
  --border-light: #EBEBEB;
  --text-body:  #3D3D3D;
  --text-muted: #666666;
  --text-subtle: #999999;
  --text-faint: #777777;

  /* Semantic */
  --red:        #C00000;
  --amber:      #C55A11;

  /* Typography */
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;

  /* Layout */
  --max-width:  1120px;
  --nav-height: 68px;
  --section-pad: 96px;
}

/* ─── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background: var(--bg-white);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Layout ────────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
section { padding: var(--section-pad) 0; }
section.tight { padding: 64px 0; }

/* ─── Navigation ────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0 40px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}
.nav-logo span {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  text-transform: lowercase;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color .2s;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover {
  color: var(--orange);
}
.nav-links a.active {
  color: var(--orange);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

/* Mobile nav */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
  transition: all .3s;
}

@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .nav-inner { height: 56px; }
  .nav-logo span { display: none; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 12px; }
}

@media (max-width: 480px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 11px; }
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all .2s;
  cursor: pointer;
  text-decoration: none;
  border: none;
  font-family: var(--font-sans);
}
.btn-amber { background: var(--orange); color: #fff; }
.btn-amber:hover { background: var(--orange-hover); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-hover); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: rgba(255,255,255,0.9); }
.btn-outline-white { border: 2px solid rgba(255,255,255,0.4); color: #fff; background: transparent; }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ─── Footer ────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 60px 0 32px;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 4px;
}
.footer-logo span {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
  transition: color .2s;
}
.footer-col a:hover {
  color: var(--teal-light);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .site-footer { padding: 40px 0 24px; }
}

/* ─── Section Tags ──────────────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  background: #E8F5F7;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.section-tag.amber { background: #FDF0E8; color: var(--orange); }

/* ─── Utility ───────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-orange { color: var(--orange); }
.text-teal { color: var(--teal); }
.font-serif { font-family: var(--font-serif); }
