/* ===========================================================
   Midlife Miracles — shared styles
   Palette + type pulled from Ed's brand visuals:
   navy display type, gold accent, cream ground, blush icons.
   =========================================================== */

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

:root {
  --navy: #1b2a45;
  --navy-deep: #131f34;
  --gold: #c39a5c;
  --gold-light: #d9b878;
  --cream: #faf3e9;
  --cream-panel: #fffdf9;
  --blush: #e3b79a;
  --blush-soft: #f1dcc9;
  --ink: #262420;
  --ink-muted: #6f6a62;
  --line: #e6dccb;
  --shadow: 0 10px 30px rgba(27, 42, 69, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.15;
  text-wrap: balance;
}

.script {
  font-family: 'Parisienne', cursive;
  font-weight: 400;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 8px 20px rgba(195, 154, 92, 0.35);
}
.btn-gold:hover { box-shadow: 0 10px 24px rgba(195, 154, 92, 0.45); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-sm { padding: 11px 22px; font-size: 11.5px; }
.btn-block { width: 100%; }

/* ---------- nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.logo span { color: var(--gold); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1.5px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--navy); border-color: var(--gold); }
.nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  flex: none;
}
.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 4px 0 20px;
}
.mobile-nav a {
  padding: 13px 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:hover { color: var(--navy); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .mobile-nav { display: flex; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: #d9d9dc;
}
.footer-top {
  padding: 60px 0 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 32px;
}
.site-footer h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 16px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo span { color: var(--gold-light); }
.site-footer p { font-size: 13.5px; color: #b9bac0; line-height: 1.7; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { text-decoration: none; font-size: 13.5px; color: #d9d9dc; }
.footer-links a:hover { color: var(--gold-light); }
.footer-newsletter { display: flex; gap: 8px; margin-top: 6px; }
.footer-newsletter input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
}
.footer-newsletter input::placeholder { color: #9698a1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #8d8f98;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}

/* ---------- icon circle ---------- */
.icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blush-soft);
  color: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.icon-circle svg { width: 20px; height: 20px; stroke: #a9633a; }

/* ---------- section helpers ---------- */
section { padding: 84px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin: 0 0 40px; }
.divider-heart {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin: 12px 0 0;
  color: var(--gold);
}
.divider-heart::before, .divider-heart::after {
  content: '';
  width: 46px;
  height: 1px;
  background: var(--line);
}
