/* ==========================================================================
   Page-specific: hero, page banners, service detail, CTA/gift bands, steps, highlights, about
   ========================================================================== */

/* ---- Home hero ---- */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden; color: var(--ivory); background: var(--emerald-950);
  min-height: 640px; min-height: clamp(560px, 86svh, 820px);
}
.hero picture, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 50% 30%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4, 40, 31, .55) 0%, rgba(4, 40, 31, .1) 28%, rgba(4, 40, 31, .55) 62%, rgba(4, 40, 31, .94) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-block: 5rem 3.5rem; }
.hero-title { font-size: clamp(2.4rem, 9vw, 4.6rem); color: var(--ivory); line-height: 1.02; margin-bottom: 1rem; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.hero-lead { max-width: 52ch; margin-bottom: 0; font-size: 1.08rem; color: rgba(250, 247, 240, .92); text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.hero .btn-row { margin-top: 1.5rem; flex-direction: column; align-items: stretch; }
.scroll-cue { display: none; }
@media (min-width: 480px) { .hero .btn-row { flex-direction: row; align-items: center; } }
@media (min-width: 768px) {
  .hero-img { object-position: 50% 45%; }
  .hero-shade { background: linear-gradient(90deg, rgba(4, 40, 31, .82) 0%, rgba(4, 40, 31, .45) 45%, rgba(4, 40, 31, .1) 100%), linear-gradient(180deg, rgba(4, 40, 31, .35) 0%, rgba(4, 40, 31, 0) 30%, rgba(4, 40, 31, .6) 100%); }
  .hero-inner { padding-block: 7rem 5.5rem; }
  .scroll-cue {
    position: absolute; left: 50%; bottom: 1.5rem; z-index: 2; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: -22px; border: 1.5px solid var(--gold-300); border-radius: 50%; color: var(--gold-300);
    animation: cue 2.2s ease-in-out infinite;
  }
  .scroll-cue:hover { background: var(--gold-300); color: var(--emerald-950); }
}
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---- Inner page banner ---- */
.page-banner { position: relative; display: flex; align-items: flex-end; overflow: hidden; min-height: 280px; background: var(--emerald-950); color: var(--ivory); }
.page-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 40, 31, .6) 0%, rgba(4, 40, 31, .78) 100%); }
.page-banner-inner { position: relative; z-index: 1; padding-block: 2.5rem 2.75rem; }
.page-title { font-size: clamp(2.2rem, 6.5vw, 3.9rem); color: var(--ivory); line-height: 1.05; }
.page-title--dark { color: var(--emerald-900); }
.page-lead { max-width: 60ch; margin: .9rem 0 0; font-size: 1.08rem; color: rgba(250, 247, 240, .9); }
@media (min-width: 1024px) { .page-banner { min-height: 360px; } .page-banner-inner { padding-block: 4rem 3.5rem; } }

.breadcrumbs { margin-bottom: 1rem; font-size: .88rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: flex; align-items: center; gap: .5rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--gold-300); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; color: rgba(250, 247, 240, .85); text-decoration: none; }
.breadcrumbs a:hover { color: var(--gold-300); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--gold-300); }

/* ---- Service detail ---- */
.service-hero { background: radial-gradient(900px 400px at 100% 0, rgba(31, 163, 127, .2), transparent 60%), var(--emerald-900); color: var(--ivory); padding-block: 2rem 3rem; }
.service-hero-inner { display: grid; gap: 2rem; align-items: center; }
.service-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--gold-500); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.service-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.25rem 0 0; }
.fact { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem 1rem; border: 1px solid var(--gold-300); border-radius: 999px; color: var(--gold-300); font-weight: 500; }
.fact .icon { width: 16px; height: 16px; }
@media (min-width: 1024px) { .service-hero { padding-block: 3rem 4.5rem; } .service-hero-inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }

.service-layout { display: grid; gap: 2.5rem; }
.service-main > p { max-width: 70ch; }
.book-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--gold-500); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: .75rem; }
.book-card .h3-serif { margin: 0; }
.book-card .muted { margin: 0; }
.book-card-addr { display: flex; gap: .55rem; margin: .5rem 0 0; font-size: .92rem; color: var(--ink-soft); }
.book-card-addr .icon { color: var(--gold-700); margin-top: .2rem; }
@media (min-width: 1024px) { .service-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 4rem; align-items: start; } .service-aside { position: sticky; top: calc(var(--header-h) + 24px); } }

.prevnext-inner { display: flex; justify-content: space-between; gap: 1rem; }
.prevnext-link { display: inline-flex; align-items: center; gap: .75rem; min-height: 56px; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--white); text-decoration: none; color: var(--emerald-900); font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600; max-width: 48%; }
.prevnext-link:hover { border-color: var(--gold-500); color: var(--emerald-700); }
.prevnext-link small { display: block; font-family: var(--font-sans); font-size: .7rem; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-700); }
.prevnext-link .icon { color: var(--gold-700); }
.prevnext-link--next { margin-left: auto; text-align: right; }

/* ---- Highlights / steps / pillars ---- */
.highlights { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
.highlight { text-align: center; padding: 1.25rem 1rem; }
.highlight h3 { font-size: 1.45rem; margin: .75rem 0 .4rem; }
.highlight p { color: var(--ink-soft); margin: 0 auto; max-width: 32ch; }
.highlight-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--gold-500); color: var(--emerald-800); background: var(--white); }
.highlight-icon .icon { width: 28px; height: 28px; }
@media (min-width: 640px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .highlights { grid-template-columns: repeat(4, 1fr); } }

.steps { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; counter-reset: none; }
.step { position: relative; padding: 1.5rem 1.25rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-align: center; }
.step h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.step p { margin: 0 auto; color: var(--ink-soft); max-width: 36ch; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: .75rem; border-radius: 50%; background: var(--gold-gradient); color: var(--emerald-950); font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps--three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) and (max-width: 1023px) { .steps--three { grid-template-columns: 1fr; } }

.pillar { padding: 1.75rem 1.5rem; border: 1px solid rgba(220, 194, 131, .4); border-radius: var(--radius); background: rgba(250, 247, 240, .04); }
.pillar h3 { font-size: 2rem; color: var(--gold-300); margin-bottom: .5rem; }
.pillar p { margin: 0; color: rgba(250, 247, 240, .88); }
.pillar-num { display: block; margin-bottom: .5rem; font-family: var(--font-serif); font-size: 1rem; letter-spacing: .2em; color: var(--ivory); opacity: .7; }

.signature .split-text p { color: rgba(250, 247, 240, .9); }
.signature .split-media img { aspect-ratio: 4 / 3; object-position: 50% 62%; border: 1px solid var(--gold-500); }

/* ---- CTA band & gift band ---- */
.cta-band, .gift-band { position: relative; overflow: hidden; color: var(--ivory); background: var(--emerald-950); }
.cta-band-img, .gift-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band-shade, .gift-band-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 40, 31, .88), rgba(6, 59, 45, .9)); }
.cta-band-inner, .gift-band-inner { position: relative; z-index: 1; padding-block: 4.5rem; text-align: center; }
.cta-title { font-size: clamp(2rem, 5.5vw, 3.4rem); color: var(--ivory); margin-bottom: .75rem; }
.cta-text { max-width: 54ch; margin: 0 auto 1.5rem; color: rgba(250, 247, 240, .9); font-size: 1.08rem; }
.cta-band .btn-row, .cta-band-inner .btn-row { flex-direction: column; align-items: stretch; max-width: 420px; margin-inline: auto; }
@media (min-width: 640px) { .cta-band .btn-row { flex-direction: row; max-width: none; align-items: center; } }
@media (min-width: 1024px) { .cta-band-inner, .gift-band-inner { padding-block: 6rem; } }

.not-found { min-height: 55vh; display: flex; align-items: center; }
