/* Meadow Legal — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500&display=swap');

:root {
  --navy: #1e2d4a;
  --sage: #5a7d5f;
  --bg: #faf9f6;
  --bg2: #f3f1ec;
  --text: #1a1a1a;
  --text-muted: #505050;
  --border: #e0ddd6;
  --heading-font: 'Lora', serif;
  --body-font: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body-font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 68px;
  background: rgba(250,249,246,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.07); }
.nav-logo {
  font-family: var(--heading-font); font-size: 22px; font-weight: 500;
  color: var(--navy); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
}
.nav-links { display: flex; gap: 36px; align-items: center; }
.nav-links a {
  font-size: 13.5px; font-weight: 400; color: var(--text-muted);
  text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase;
  transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy) !important; color: var(--bg) !important;
  padding: 9px 22px !important; border-radius: 2px;
  font-size: 13px !important; font-weight: 500 !important;
  text-transform: uppercase !important; letter-spacing: 0.06em !important;
  transition: background 0.2s !important; white-space: nowrap !important;
}
.nav-cta:hover { background: var(--sage) !important; }
.mobile-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 4px;
}
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--bg);
  padding: 13px 24px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  border: none; cursor: pointer; white-space: nowrap;
}
.btn-primary:hover { background: var(--sage); transform: translateY(-1px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  padding: 13px 24px; font-size: 13px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  border: 1.5px solid var(--navy);
  transition: all 0.2s; cursor: pointer; white-space: nowrap;
}
.btn-secondary:hover { background: var(--navy); color: var(--bg); transform: translateY(-1px); }

/* LAYOUT */
.container { max-width: 1120px; margin: 0 auto; padding: 0 48px; }
section { padding: 96px 0; }
.section-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 16px;
}
.section-title {
  font-family: var(--heading-font);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500; line-height: 1.2;
  color: var(--navy); margin-bottom: 32px;
}
.section-title em { font-style: italic; }
.divider { width: 48px; height: 2px; background: var(--sage); margin-bottom: 32px; }

/* FOOTER */
footer {
  background: #111820; padding: 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo { font-family: var(--heading-font); font-size: 20px; font-weight: 400; color: rgba(255,255,255,0.6); }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-legal {
  width: 100%; font-size: 11.5px; color: rgba(255,255,255,0.25);
  line-height: 1.6; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

/* ANIMATIONS */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 24px; gap: 20px; z-index: 99;
  }
  .mobile-menu-btn { display: flex; }
  .container { padding: 0 24px; }
  section { padding: 64px 0; }
  footer { padding: 32px 24px; }
}
