:root {
  --cremation-green: #294e46;
  --cremation-green-dark: #1f3d37;
  --cremation-gold: #b3945f;
  --cremation-cream: #f4f0e8;
  --cremation-line: #dfe5e1;
  --cremation-ink: #27322f;
}

.cremation-page .site-container {
  max-width: 1400px;
  overflow: visible;
  color: var(--cremation-ink);
  background: #f8f9fa;
}

.cremation-page .cremation-hero {
  min-height: 410px;
  display: flex;
  align-items: center;
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(29, 61, 54, .98) 0%, rgba(40, 74, 66, .9) 47%, rgba(40, 74, 66, .16) 100%),
    url("/img/cremation-header.jpg") center right / cover no-repeat;
}

.cremation-page .cremation-hero__content { position: relative; z-index: 1; max-width: 700px; }
.cremation-page .cremation-kicker {
  margin-bottom: .55rem;
  color: var(--cremation-gold);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.cremation-page .cremation-hero h1 {
  margin-bottom: 1.25rem;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.02;
}
.cremation-page .cremation-hero__content > p:last-child { max-width: 620px; margin-bottom: 0; font-size: 1.15rem; opacity: .92; }

.cremation-page .cremation-jump {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: -38px auto 0;
  overflow: hidden;
  border-radius: .7rem;
  background: #fff;
  box-shadow: 0 12px 35px rgba(24, 46, 40, .16);
}
.cremation-page .cremation-jump a {
  display: grid;
  grid-template-columns: 52px 1fr;
  padding: 1.2rem 1.5rem;
  border-right: 1px solid #e3e7e4;
  color: var(--cremation-ink);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.cremation-page .cremation-jump a:last-child { border-right: 0; }
.cremation-page .cremation-jump a:hover { color: var(--cremation-green); background: var(--cremation-cream); }
.cremation-page .cremation-jump a > span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--cremation-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.cremation-page .cremation-jump small { opacity: .7; }

.cremation-page .cremation-intro { max-width: 850px; margin: 5rem auto 3.5rem; padding: 0 1rem; }
.cremation-page .cremation-intro h2,
.cremation-page .cremation-heading h2,
.cremation-page .cremation-cta h2 {
  color: var(--cremation-green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
}
.cremation-page .cremation-intro p,
.cremation-page .cremation-heading > p,
.cremation-page .cremation-cta p { font-size: 1.05rem; line-height: 1.75; }

.cremation-page .cremation-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin: 0 clamp(.75rem, 3vw, 2rem) 2rem;
  padding-top: 2.75rem;
  scroll-margin-top: 100px;
}
.cremation-page .cremation-heading > p { width: min(52%, 620px); margin-bottom: 0; }
.cremation-page .collection-note {
  margin: -1rem clamp(.75rem, 3vw, 2rem) 2rem;
  padding: .9rem 1.1rem;
  border-left: 3px solid var(--cremation-gold);
  background: var(--cremation-cream);
}

.cremation-page .memorial-row { padding: 0 clamp(.25rem, 2vw, 1.25rem); }
.cremation-page .memorial-row > [class*="col-md-4"] { display: flex; padding-bottom: 1.5rem; }
.cremation-page .memorial-row .card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--cremation-line) !important;
  border-radius: .7rem;
  background: #fff;
  box-shadow: 0 5px 18px rgba(31, 61, 55, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}
.cremation-page .memorial-row .card:hover { transform: translateY(-4px); box-shadow: 0 13px 28px rgba(31, 61, 55, .14); }
.cremation-page .memorial-row .card-body { display: flex; height: 100%; flex-direction: column; padding: 1.2rem; }
.cremation-page .memorial-row .card-body > a { color: inherit; text-decoration: none; }
.cremation-page .memorial-row .card-title { margin: 0 0 .7rem; color: var(--cremation-green); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; }
.cremation-page .memorial-row .card-img {
  display: block;
  width: 100%;
  height: clamp(260px, 28vw, 380px);
  padding: .75rem;
  object-fit: contain;
  border-radius: .45rem;
  background: linear-gradient(145deg, #fafafa, #edf1ee);
}
.cremation-page .memorial-row .card-text { flex: 1; margin: 0; padding-top: .85rem; line-height: 1.6; text-align: left !important; }
.cremation-page .memorial-row hr { margin: .8rem 0 0; opacity: .12; }

.cremation-page .tablet-intro {
  margin: 2.5rem clamp(.5rem, 3vw, 2rem) 3rem;
  padding: clamp(1rem, 4vw, 3rem) clamp(1rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem);
  scroll-margin-top: 100px;
  background: var(--cremation-cream);
}
.cremation-page .tablet-intro .cremation-heading { margin-left: 0; margin-right: 0; }
.cremation-page .guidance-item { height: 100%; display: flex; gap: 1rem; padding: 1.4rem; background: #fff; border-radius: .55rem; }
.cremation-page .guidance-item > span { color: var(--cremation-gold); font-weight: 700; }
.cremation-page .guidance-item h3 { color: var(--cremation-green); font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; }
.cremation-page .guidance-item p { margin-bottom: 0; line-height: 1.65; }

.cremation-page .cremation-cta {
  margin: 2rem clamp(.75rem, 3vw, 2rem) 3rem;
  padding: clamp(2.5rem, 5vw, 4rem) 1rem;
  color: #fff;
  background: var(--cremation-green);
}
.cremation-page .cremation-cta h2 { color: #fff; }
.cremation-page .cremation-cta p { max-width: 720px; margin: 1rem auto 1.7rem; opacity: .9; }

@media (max-width: 767.98px) {
  .cremation-page .site-container { margin-top: 0 !important; border-radius: 0 !important; }
  .cremation-page .cremation-hero {
    min-height: 360px;
    padding: 2.5rem 1.25rem 4rem;
    background: linear-gradient(90deg, rgba(29,61,54,.98), rgba(40,74,66,.72)), url("/img/cremation-header.jpg") center / cover no-repeat;
  }
  .cremation-page .cremation-jump { grid-template-columns: 1fr; margin-top: -28px; }
  .cremation-page .cremation-jump a { border-right: 0; border-bottom: 1px solid #e3e7e4; }
  .cremation-page .cremation-jump a:last-child { border-bottom: 0; }
  .cremation-page .cremation-heading { display: block; }
  .cremation-page .cremation-heading > p { width: 100%; margin-top: 1rem; }
  .cremation-page .memorial-row .card-img { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  .cremation-page .card,
  .cremation-page .cremation-jump a { transition: none !important; }
}
