/* ── CremationMatch.com — Shared Design System ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

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

:root {
  --navy:    #1B4F72;
  --navy-mid:#2471A3;
  --blue:    #2980B9;
  --gold:    #C9A84C;
  --gold-lt: #E8C96D;
  --green:   #1A7A4A;
  --cream:   #F8F6F2;
  --offwhite:#F0EDE7;
  --white:   #FFFFFF;
  --dark:    #1C2841;
  --gray:    #6B7280;
  --lgray:   #E5E7EB;
  --red:     #C0392B;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }

/* ── NAV ─── */
nav {
  background: var(--navy);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
}
.nav-logo { font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:700; color:var(--gold); text-decoration:none; letter-spacing:1px; }
.nav-logo span { color: var(--white); font-size:0.95rem; font-weight:400; margin-left:4px; font-family:'Inter',sans-serif; }
.nav-links { display:flex; gap:28px; align-items:center; list-style:none; }
.nav-links a { color:rgba(255,255,255,0.82); text-decoration:none; font-size:0.88rem; font-weight:500; transition:color 0.2s; }
.nav-links a:hover { color:var(--gold); }
.nav-cta { background:var(--gold); color:var(--navy)!important; font-weight:700!important; padding:9px 20px; border-radius:4px; font-size:0.85rem!important; }
.nav-cta:hover { background:var(--gold-lt)!important; }
.nav-toggle { display:none; background:none; border:none; color:var(--white); font-size:1.5rem; cursor:pointer; }

/* ── BUTTONS ─── */
.btn { display:inline-block; padding:14px 36px; border-radius:4px; font-weight:700; text-decoration:none; font-size:1rem; transition:all 0.2s; cursor:pointer; border:none; }
.btn-primary { background:var(--gold); color:var(--navy); box-shadow:0 4px 16px rgba(201,168,76,0.3); }
.btn-primary:hover { background:var(--gold-lt); transform:translateY(-1px); }
.btn-navy { background:var(--navy); color:var(--white); }
.btn-navy:hover { background:var(--navy-mid); transform:translateY(-1px); }
.btn-outline { background:transparent; color:var(--navy); border:2px solid var(--navy); }
.btn-outline:hover { background:var(--navy); color:var(--white); }
.btn-white { background:var(--white); color:var(--navy); }
.btn-white:hover { background:var(--cream); }

/* ── SECTIONS ─── */
section { padding: 80px 5%; }
.section-inner { max-width:860px; margin:0 auto; }
.section-inner.wide { max-width:1100px; }
.eyebrow { display:block; font-size:0.72rem; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:var(--gold); margin-bottom:14px; }
h2.section-title { font-size:clamp(1.7rem,3vw,2.5rem); color:var(--navy); margin-bottom:20px; }
p.lead { font-size:1.1rem; color:#374151; margin-bottom:18px; }
p.body-copy { color:#4B5563; margin-bottom:16px; }

/* ── FOOTER ─── */
footer { background: var(--dark); color:rgba(255,255,255,0.55); padding:60px 5% 28px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; max-width:1100px; margin:0 auto 48px; }
.footer-brand .logo { font-family:'Playfair Display',serif; font-size:1.4rem; font-weight:700; color:var(--gold); display:block; margin-bottom:12px; }
.footer-brand p { font-size:0.88rem; line-height:1.7; color:rgba(255,255,255,0.5); }
.footer-col h4 { color:var(--white); font-family:'Inter',sans-serif; font-size:0.85rem; font-weight:700; letter-spacing:1px; text-transform:uppercase; margin-bottom:16px; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul li a { color:rgba(255,255,255,0.5); text-decoration:none; font-size:0.88rem; transition:color 0.2s; }
.footer-col ul li a:hover { color:var(--gold); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.08); padding-top:24px; text-align:center; font-size:0.8rem; max-width:1100px; margin:0 auto; }
.footer-bottom a { color:var(--gold); text-decoration:none; }

/* ── TRUST BADGE ─── */
.trust-badge { display:inline-flex; align-items:center; gap:8px; background:rgba(26,122,74,0.1); border:1px solid var(--green); color:var(--green); font-size:0.78rem; font-weight:700; padding:5px 14px; border-radius:20px; }

/* ── CARDS ─── */
.card { background:var(--white); border-radius:8px; padding:36px; box-shadow:0 2px 16px rgba(0,0,0,0.06); }

/* ── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display:none; flex-direction:column; position:absolute; top:68px; left:0; right:0; background:var(--navy); padding:20px; gap:16px; }
  .nav-links.open { display:flex; }
  .nav-toggle { display:block; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  section { padding:60px 5%; }
}
