:root {
  --ink: #1f2730;
  --muted: #68727d;
  --navy: #17243a;
  --green: #244f47;
  --gold: #c7a55a;
  --cream: #f7f2e8;
  --paper: #fffdf8;
  --line: #e4dac8;
  --shadow: 0 18px 50px rgba(31, 39, 48, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }

.demo-ribbon {
  background: #fff4d2;
  border-bottom: 1px solid #e6ce83;
  color: #725713;
  font-size: .84rem;
  font-weight: 800;
  padding: 9px 18px;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(23, 36, 58, .96);
  backdrop-filter: blur(18px);
  color: #fff;
  border-bottom: 1px solid rgba(199, 165, 90, .22);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: .01em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #f1db93);
  color: var(--navy);
  font-family: Georgia, serif;
  font-weight: 900;
}
.brand small { display: block; color: rgba(255,255,255,.62); font-weight: 700; font-size: .72rem; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  font-weight: 750;
  padding: 9px 13px;
  border-radius: 999px;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(199,165,90,.16); }
.nav-links .cta { background: var(--gold); color: #142033; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 1.45rem;
}

.hero {
  background:
    linear-gradient(105deg, rgba(23,36,58,.88), rgba(36,79,71,.72)),
    url("/assets/img/blog/funeral-costs-hero.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 82px 0 58px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 34px;
  align-items: end;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f4dc96;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(244,220,150,.24);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: .82rem;
  font-weight: 850;
}
h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  line-height: 1.02;
}
h1 { font-size: clamp(2.35rem, 6vw, 5rem); margin: 18px 0 16px; max-width: 760px; }
h2 { font-size: clamp(1.85rem, 4vw, 3rem); margin: 0 0 12px; }
.hero p { color: rgba(255,255,255,.84); font-size: 1.08rem; max-width: 660px; }
.hero-actions, .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 13px 17px;
  font-weight: 900;
  border: 1px solid transparent;
}
.btn-gold { background: var(--gold); color: #142033; }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.07); }
.hero-card {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 26px 80px rgba(0,0,0,.25);
}
.hero-card strong { color: #f4dc96; }
.quick-list { display: grid; gap: 10px; margin-top: 14px; }
.quick-list div { display: flex; gap: 10px; color: rgba(255,255,255,.82); }
.quick-list i { color: var(--gold); font-size: 1.25rem; margin-top: 2px; }

.section { padding: 58px 0; }
.section.alt { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 26px; }
.kicker {
  color: var(--green);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 900;
}
.muted { color: var(--muted); }
.grid { display: grid; gap: 18px; }
.three { grid-template-columns: repeat(3, 1fr); }
.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.card i { color: var(--gold); font-size: 1.7rem; }
.card h3 { margin: 12px 0 6px; }
.price { color: var(--green); font-size: 1.8rem; font-weight: 950; margin: 6px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 14px;
}
.gallery-item {
  min-height: 190px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #263b53, #c7a55a);
  position: relative;
}
.gallery-item.tall { grid-row: span 2; min-height: 394px; }
.gallery-item span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.gallery-one { background: linear-gradient(rgba(23,36,58,.15), rgba(23,36,58,.55)), url("/assets/img/blog/funeral-planning-hero.png"); background-size: cover; background-position: center; }
.gallery-two { background: linear-gradient(rgba(23,36,58,.1), rgba(23,36,58,.5)), url("/assets/img/blog/funeral-costs-coffin-range.webp"); background-size: cover; background-position: center; }
.gallery-three { background: linear-gradient(rgba(23,36,58,.1), rgba(23,36,58,.52)), url("/assets/img/blog/funeral-attire-christian-church.webp"); background-size: cover; background-position: center; }
.gallery-four { background: linear-gradient(rgba(23,36,58,.1), rgba(23,36,58,.5)), url("/assets/img/blog/zulu-traditions-night-vigil.webp"); background-size: cover; background-position: center; }
.gallery-five { background: linear-gradient(rgba(23,36,58,.1), rgba(23,36,58,.5)), url("/assets/img/blog/funeral-costs-burial-cemetery.webp"); background-size: cover; background-position: center; }

.contact-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: start;
}
.contact-list { display: grid; gap: 12px; }
.contact-list div { display: flex; gap: 10px; }
.contact-list i { color: var(--gold); font-size: 1.25rem; margin-top: 2px; }
label { display: block; font-weight: 900; font-size: .86rem; margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  border: 1px solid #d8cfbe;
  border-radius: 11px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.full { grid-column: 1 / -1; }
.demo-message {
  display: none;
  margin-top: 14px;
  border: 1px solid #d8c071;
  background: #fff8df;
  color: #725713;
  border-radius: 12px;
  padding: 12px;
  font-weight: 800;
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 16px 44px rgba(0,0,0,.22);
  font-size: 1.85rem;
}
.footer { background: #111a2b; color: rgba(255,255,255,.72); padding: 30px 0; }
.footer a { color: #f4dc96; }

@media (max-width: 900px) {
  .hero-grid, .contact-panel, .two { grid-template-columns: 1fr; }
  .three { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.tall { grid-row: auto; min-height: 220px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--navy);
    padding: 10px 18px 18px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { border-radius: 10px; padding: 13px 14px; }
  .hero { padding: 52px 0 42px; }
  .hero-card { display: none; }
  .three, .gallery-grid, .form-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .actions .btn { width: 100%; }
}
