/* ===========================
   MEA NATIONAL — GLOBAL STYLES
   meanational.com
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --navy:        #1E2A5E;
  --navy-dark:   #141C42;
  --navy-light:  #2A3A7C;
  --gold:        #C8922A;
  --gold-light:  #F5E6C8;
  --gold-pale:   #FDF6E9;
  --cream:       #F8F9FC;
  --white:       #FFFFFF;
  --text:        #1A1A2E;
  --muted:       #5A6070;
  --border:      rgba(30, 42, 94, 0.12);
  --border-light: rgba(30, 42, 94, 0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- NAVIGATION ---- */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 68px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo img {
  height: 42px;
  width: 42px;
  object-fit: cover;
  border-radius: 6px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
}

.nav-logo-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.nav-logo-text span {
  font-size: 10px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--navy); background: var(--cream); }
.nav-links a.active { color: var(--navy); font-weight: 500; }

.nav-cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--navy-dark) !important; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.2px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--navy-dark); }

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #2a1800;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}
.btn-gold:hover { background: #b07e20; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s, color 0.2s;
}
.btn-outline:hover { background: var(--navy); color: white; }

.btn-outline-white {
  display: inline-block;
  background: transparent;
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }

/* ---- SECTION LABELS ---- */
.eyebrow {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-body {
  font-size: 15px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.85;
}

/* ---- FOOTER ---- */
footer {
  background: var(--navy-dark);
  padding: 4rem 2.5rem 2rem;
  color: rgba(255,255,255,0.55);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand .nav-logo-text strong { color: white; }
.footer-brand .nav-logo-text span { color: rgba(255,255,255,0.4); }

.footer-tagline {
  margin-top: 1rem;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  line-height: 1.7;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 13px;
  font-weight: 300;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}

/* ---- PATTERN OVERLAY ---- */
.pattern-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: repeating-linear-gradient(
    45deg,
    #fff 0px, #fff 1px,
    transparent 1px, transparent 22px
  );
  pointer-events: none;
}

/* ---- UTILITY ---- */
.gold-text { color: var(--gold); }
.navy-text { color: var(--navy); }
.center { text-align: center; }
.flex-gap { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
