:root {
  --bg: #0e0e12;
  --bg2: #050505;
  --text: rgba(255, 255, 255, .92);
  --muted: rgba(255, 255, 255, .68);
  --muted2: rgba(255, 255, 255, .52);
  --stroke: rgba(255, 255, 255, .10);
  --panel: rgba(255, 255, 255, .05);
  --panel2: rgba(0, 0, 0, .28);
  --accent: #7b38de;
  --accent2: #8139df;
  --wrap: min(1120px, 92vw);
  --r: 18px;
  --shadow: 0 18px 55px rgba(0, 0, 0, .55);
}

.funeral-page {
  background: var(--bg);
  color: var(--text);
}

/* Header */
.funeral-hero {
  background: var(--panel);
  padding: calc(var(--nav-h) + 54px) var(--gutter) 70px;
  text-align: center;
}

.funeral-hero__inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.funeral-hero__title {
  margin: 0;
  font-size: 44px;
  font-weight: 600;
  color: rgba(255, 255, 255, .93);
  letter-spacing: .4px;
  font-family: Oswald, sans-serif;
}

.funeral-hero__sub {
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  font-family: Oswald, sans-serif;
  letter-spacing: 1px;
  text-align: center;
}

.funeral-hero__btn {
  margin-top: 26px;
  display: inline-block;
  text-decoration: none;
}

/* About section */
.funeral-about {
  padding-top: 46px;
  padding-bottom: 46px;
  display: flex;
  justify-content: center;
  background: radial-gradient(900px 500px at 70% 40%, rgba(123, 55, 212, .10), transparent 55%),
    radial-gradient(700px 420px at 20% 65%, rgba(123, 55, 212, .08), transparent 55%),
    var(--bg2);
}

/* ✅ Bigger image + content centered */
.funeral-about__grid {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 36px;
  align-items: center;
  background: var(--panel);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 1080px;
}

.funeral-about__media {
  background: #111;
  min-height: 560px;
  /* bigger/taller image */
}

.funeral-about__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* centers the content block better */
.funeral-about__content {
  padding: 34px 44px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.funeral-about__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  font-family: Oswald, sans-serif;
  letter-spacing: 1px;
}

.funeral-about__text {
  margin-top: 16px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
  max-width: 560px;
  /* readable centered width */
}

.funeral-about__list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, .7);
  line-height: 1.8;
  max-width: 560px;
}

/* Booking CTA */
.funeral-cta {
  padding: 70px 18px 90px;
  text-align: center;
  background: linear-gradient(180deg, rgba(123, 55, 212, .18), rgba(123, 55, 212, .08));
  border: 1px solid rgba(255, 255, 255, .08);
}

/* ✅ Gradient background for ready-to-book */
.funeral-cta__inner {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--r);
  padding: 38px 26px;
}

.funeral-cta__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  font-family: Oswald, sans-serif;
  letter-spacing: 1px;
}

.funeral-cta__sub {
  margin: 10px auto 0;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
}

.funeral-cta__btn {
  margin-top: 22px;
  display: inline-block;
  text-decoration: none;
  background: #fff;
  padding: 12px 35px;
  border-radius: 15px;
  color: var(--accent);
}

.funeral-cta__btn:hover {
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 12px 30px -18px rgba(123, 55, 212, .85);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 980px) {
  .funeral-about__grid {
    grid-template-columns: 1fr;
  }

  .funeral-about__media {
    min-height: 380px;
    /* slightly bigger on mobile than before */
  }

  .funeral-about__content {
    padding: 26px 22px 26px;
  }

  .funeral-hero__title {
    font-size: 34px;
  }
}