/* ==========================================================================
   Starlight Funeral Services — Shared Stylesheet
   ========================================================================== */

:root {
  --ivory: #F9F4EA;
  --ivory-deep: #EFE5D3;
  --cream-card: #FFFFFF;
  --gold: #84622B;
  --gold-dark: #684714;
  --brown: #3B2812;
  --gold-light: #DCB16D;
  --gold-pale: #F2E8D3;
  --charcoal: #2B2118;
  --charcoal-soft: #66584A;
  --line: #E3D5BC;
  --white: #FFFFFF;

  --font-display: "Cinzel", "Noto Serif SC", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 4px;
  --shadow-soft: 0 10px 40px rgba(59, 40, 18, 0.10);
  --shadow-card: 0 4px 20px rgba(59, 40, 18, 0.07);
  --transition: 0.3s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--brown);
}
p { margin: 0 0 1em; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; }
@media (max-width: 768px) {
  section { padding: 64px 0; }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-head {
  max-width: 680px;
  margin: 0 0 56px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.section-head p { color: var(--charcoal-soft); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold-dark);
  color: var(--white);
}
.btn-primary:hover { background: var(--brown); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}
.btn-outline:hover { background: var(--gold-dark); color: var(--white); }
.btn-light {
  background: var(--white);
  color: var(--brown);
}
.btn-light:hover { background: var(--gold-pale); }
.btn-whatsapp {
  background: #3B2812;
  color: var(--white);
}
.btn-whatsapp:hover { background: var(--brown); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 244, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.logo-mark { height: 46px; width: auto; flex-shrink: 0; }
.logo-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.logo-zh {
  font-family: "Noto Serif SC", var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.14em;
  padding-left: 0.14em;
  background: linear-gradient(100deg, #8A6428 0%, #C79A52 55%, #A47A36 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-en {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  transition: color var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--brown); }
.main-nav a.btn-primary, .main-nav a.btn-primary:hover { color: var(--white); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brown);
  font-size: 0.95rem;
}
.header-phone svg { width: 18px; height: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px;
  height: 2px;
  background: var(--brown);
  transition: var(--transition);
}
.nav-toggle span { top: 15px; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--ivory);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }
  .main-nav.open ul { flex-direction: column; gap: 18px; }
  .main-nav.open .header-actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 110px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--ivory-deep) 0%, var(--ivory) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-pale) 0%, transparent 70%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin-bottom: 0.4em;
}
.hero h1 em { font-style: italic; color: var(--gold-dark); }
.hero-lede {
  font-size: 1.15rem;
  color: var(--charcoal-soft);
  max-width: 520px;
  margin-bottom: 2em;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--charcoal-soft); font-weight: 500; }
.hero-badge svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; }

.hero-art {
  position: relative;
  aspect-ratio: 725 / 1050;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--gold-pale), var(--ivory-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 400px; margin: 0 auto; }
}

/* ---------- Page Banner (interior pages) ---------- */
.page-banner {
  padding: 72px 0 60px;
  background: var(--ivory-deep);
  text-align: center;
}
.page-banner h1 { font-size: clamp(2.1rem, 3.6vw, 2.9rem); }
.page-banner p { color: var(--charcoal-soft); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--gold-dark); }

/* ---------- Cards / Grids ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--cream-card);
  border-radius: 6px;
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card .icon-badge { margin-bottom: 20px; }
.card h3 { font-size: 1.35rem; margin-bottom: 0.4em; }
.card p { color: var(--charcoal-soft); font-size: 0.96rem; margin-bottom: 0; }
.card a.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.icon-badge {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-badge svg { width: 26px; height: 26px; color: var(--gold-dark); }

/* ---------- Alt / dark sections ---------- */
.section-alt { background: var(--brown); color: var(--ivory); }
.section-alt h2, .section-alt h3 { color: var(--white); }
.section-alt p { color: rgba(251, 248, 241, 0.78); }
.section-alt .eyebrow { color: var(--gold-light); }

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-left: 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.2rem; }
.step p { color: rgba(251, 248, 241, 0.75); font-size: 0.94rem; }

/* ---------- Values / Promise section ---------- */
.value-item { display: flex; gap: 20px; align-items: flex-start; }
.value-item .icon-badge { flex-shrink: 0; }
.value-item h3 { font-size: 1.2rem; margin-bottom: 0.3em; }
.value-item p { color: var(--charcoal-soft); font-size: 0.95rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--gold-dark);
  color: var(--white);
  border-radius: 10px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto 32px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown);
  color: rgba(251, 248, 241, 0.82);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(251,248,241,0.14);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-grid ul li { margin-bottom: 12px; }
.footer-grid a { font-size: 0.94rem; transition: color var(--transition); }
.footer-grid a:hover { color: var(--white); }
.footer-logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  line-height: 1;
}
.footer-logo .logo-zh {
  font-size: 1.7rem;
  background: linear-gradient(100deg, #E6C07C 0%, #F2D49A 55%, #D2A55A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer-logo .logo-en { color: var(--gold-pale); font-size: 0.68rem; }
.footer-about p { font-size: 0.92rem; max-width: 320px; }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; font-size: 0.92rem; }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 0.85rem;
  color: rgba(251,248,241,0.55);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom a:hover { color: var(--white); }

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #3B2812;
  color: var(--white);
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.22);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.05); }
.whatsapp-float svg { width: 22px; height: 22px; }
@media (max-width: 560px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; }
}

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brown);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 20px;
  position: relative;
}
.faq-item summary .plus::before, .faq-item summary .plus::after {
  content: "";
  position: absolute;
  background: var(--gold-dark);
}
.faq-item summary .plus::before { width: 10px; height: 1.5px; }
.faq-item summary .plus::after { width: 1.5px; height: 10px; transition: transform var(--transition); }
.faq-item[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item .faq-answer { padding: 0 4px 22px; color: var(--charcoal-soft); font-size: 0.98rem; max-width: 680px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
}
.contact-info-card .footer-contact-item { color: var(--charcoal-soft); }
.contact-info-card .footer-contact-item svg { color: var(--gold-dark); }
.contact-info-card h3 { margin-top: 28px; }
.contact-info-card h3:first-child { margin-top: 0; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; color: var(--charcoal); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.96rem;
  background: var(--white);
  color: var(--charcoal);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Service detail sections ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }
.service-block:nth-child(even) .service-visual { order: 2; }
@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-visual { order: 0; }
}
.service-visual {
  aspect-ratio: 5/4;
  border-radius: 8px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-visual svg { width: 40%; height: 40%; color: var(--gold-dark); }
.service-copy .eyebrow { margin-bottom: 10px; }
.service-copy h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.service-list { margin-top: 22px; display: grid; gap: 12px; }
.service-list li { display: flex; gap: 10px; font-size: 0.96rem; color: var(--charcoal-soft); }
.service-list li svg { width: 18px; height: 18px; color: var(--gold-dark); flex-shrink: 0; margin-top: 3px; }

/* ---------- Values grid (about) ---------- */
.about-story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .about-story { grid-template-columns: 1fr; } }
.about-visual {
  aspect-ratio: 4/5;
  border-radius: 8px;
  background: linear-gradient(150deg, var(--gold-pale), var(--ivory-deep));
  display: flex; align-items: center; justify-content: center;
}
.about-visual svg { width: 44%; height: 44%; color: var(--gold-dark); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.divider {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.logo, .header-phone { white-space: nowrap; }
@media (max-width: 1100px) { .header-phone { display: none; } }

/* ---------- Package cards ---------- */

.pkg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; align-items: stretch; }
@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr; } }
.pkg-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pkg-card-head {
  text-align: center;
  padding: 36px 28px 28px;
  background: linear-gradient(180deg, var(--gold-pale), var(--white));
  border-bottom: 1px solid var(--line);
}
.pkg-religion {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}
.pkg-card-head h3 { font-size: 2.2rem; margin-bottom: 4px; letter-spacing: 0.04em; }
.pkg-price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1.1;
  margin: 6px 0 10px;
}
.pkg-tagline { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--charcoal-soft); margin: 0; }
.pkg-body { padding: 28px 32px 8px; flex: 1; }
.pkg-body h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
  margin: 22px 0 10px;
}
.pkg-body h4:first-child { margin-top: 0; }
.pkg-body ul { display: grid; gap: 8px; }
.pkg-body li {
  position: relative;
  padding-left: 22px;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
}
.pkg-body li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.55em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-light);
}
.pkg-card-foot {
  padding: 22px 32px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.pkg-note { margin: 0; font-size: 0.9rem; font-weight: 600; color: var(--brown); }
.pkg-quote {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 44px 32px;
  box-shadow: var(--shadow-card);
}
.pkg-quote p { color: var(--charcoal-soft); }

/* ---------- Services dropdown ---------- */
.main-nav li { position: relative; }
.main-nav .submenu {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 250px;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  margin-top: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  z-index: 120;
}
.main-nav .submenu::before { /* hover bridge across the gap */
  content: "";
  position: absolute;
  left: 0; right: 0; top: -16px; height: 16px;
}
.main-nav .has-sub:hover .submenu,
.main-nav .has-sub:focus-within .submenu { display: flex; }
.main-nav .submenu a {
  display: block;
  padding: 9px 14px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 0.92rem;
}
.main-nav .submenu a:hover { background: var(--gold-pale); color: var(--brown); }
.main-nav .has-sub > a::after { /* small chevron */
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  position: static;
  height: 6px;
  background: none;
}
@media (max-width: 900px) {
  .main-nav .submenu { display: none !important; }
  .main-nav .has-sub > a::after { display: none; }
}

/* ---------- Service pages ---------- */
.banner-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.detail-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; gap: 36px; } }
.detail-grid .service-copy h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
.detail-grid .service-copy p { color: var(--charcoal-soft); }
.detail-aside {
  position: sticky;
  top: 110px;
  background: var(--gold-pale);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 32px 28px;
}
@media (max-width: 900px) { .detail-aside { position: static; } }
.detail-aside h3 { font-size: 1.4rem; }
.detail-aside p { color: var(--charcoal-soft); font-size: 0.95rem; }
.detail-aside .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
.aside-call { display: block; text-align: center; margin-top: 14px; font-size: 0.92rem; font-weight: 600; color: var(--gold-dark); }
.packages-block { background: var(--ivory-deep); }
.pkg-footnote { text-align: center; margin: 40px 0 0; color: var(--charcoal-soft); }
.pkg-footnote a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; }
.related { padding-bottom: 24px; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 860px; margin: 0 auto; }
.related-pill {
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 50px;
  background: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  transition: all var(--transition);
}
.related-pill:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); }

/* ---------- Services overview cards ---------- */
.svc-card { display: flex; flex-direction: column; }
.svc-card .card-link { margin-top: auto; padding-top: 16px; }
.svc-tag {
  font-size: 0.72rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold) !important;
  font-weight: 600;
  margin-bottom: 8px !important;
}
#packages, #faith, #other-services { scroll-margin-top: 80px; }

/* ---------- Typography tuned for the letterhead typeface (Cinzel) ---------- */
h1, h2, h3, h4 { letter-spacing: 0.02em; }
.hero h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.25; }
.hero h1 em { font-style: normal; color: var(--gold); }
.page-banner h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.section-head h2 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); }
.card h3 { font-size: 1.12rem; }
.pkg-tagline { font-style: normal; font-size: 0.95rem; letter-spacing: 0.04em; }
.pkg-card-head h3 { font-size: 1.9rem; }
.pkg-price { font-size: 2.3rem; }
.step h3, .value-item h3 { font-size: 1.05rem; }
.faq-item summary { font-size: 1.02rem; }
.cta-banner h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.detail-grid .service-copy h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
@media (max-width: 480px) {
  .logo-zh { font-size: 1.2rem; }
  .logo-en { font-size: 0.56rem; letter-spacing: 0.14em; }
}
/* primary buttons and banners pick up the gold of the logo */
.btn-primary { background: linear-gradient(135deg, #8A6428, #684714); }
.btn-primary:hover { background: var(--brown); }
.cta-banner { background: linear-gradient(135deg, #7A5720, #5A3C10); }

/* ---------- About: night sky + name story ---------- */
.story-copy h2 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); }
.story-copy p { color: var(--charcoal-soft); }
.sky-panel {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: var(--ivory-deep);
  box-shadow: var(--shadow-soft);
}
.sky-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 25% 0; }
.sky-quote {
  position: relative;
  margin: 0;
  padding: 0 28px 40px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--brown);
}

.name-story { background: var(--ivory-deep); }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); }
.prose h3 { font-size: 1.25rem; margin-top: 2.2em; }
.prose p { font-size: 1.06rem; line-height: 1.85; color: var(--charcoal-soft); }
.zh-name {
  margin: 2.2em 0;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold-light);
  border-radius: 6px;
  text-align: center;
}
.zh-name .zh {
  display: block;
  font-family: "Noto Serif SC", var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.18em;
  padding-left: 0.18em;
  margin-bottom: 10px;
  background: linear-gradient(100deg, #8A6428 0%, #C79A52 55%, #A47A36 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.zh-name p { margin: 0; font-size: 1rem; }
.prose .closing-line {
  margin: 2.6em 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--gold-dark);
}
.footer-logo .logo-mark { height: 56px; }
.footer-logo .logo-text { gap: 6px; }
@media (max-width: 480px) { .logo-mark { height: 36px; } .logo { gap: 9px; } }


/* ---------- Feature photo (home) ---------- */
.feature-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; gap: 32px; } }
.feature-img { margin: 0; }
.feature-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.feature-copy h2 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); }
.feature-copy p { color: var(--charcoal-soft); font-size: 1.03rem; }
.feature-copy .btn { margin-top: 12px; }
@media (max-width: 900px) { .feature-img { max-width: 440px; margin: 0 auto; } }

/* ---------- Our Promise photo (home) ---------- */
.promise-photo { margin: 0; }
.promise-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 620px) { .promise-photo { max-width: 440px; margin: 0 auto; } }

/* ---------- Wake photo (Freethinker page) ---------- */
.wake-photo-section { padding-top: 0; }
.wake-photo { margin: 0 auto; max-width: 960px; }
.wake-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}


/* ==========================================================================
   Starlight background: soft gold light streaks
   ========================================================================== */

/* Hero: golden light streaks behind the content */
.hero {
  background:
    linear-gradient(180deg, rgba(249, 244, 234, 0.50) 0%, rgba(249, 244, 234, 0.80) 70%, var(--ivory) 100%),
    url("../images/bg-starlight.jpg") center top / cover no-repeat;
}
.hero-inner { z-index: 1; }

/* Interior page banners: lighter version of the same light streaks */
.page-banner {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(239, 229, 211, 0.55), rgba(239, 229, 211, 0.82)),
    url("../images/bg-starlight.jpg") center 8% / cover no-repeat;
}
.page-banner .container { position: relative; z-index: 1; }

/* Dark sections: a faint diagonal glow */
.section-alt { position: relative; }
.section-alt > .container { position: relative; z-index: 1; }
.section-alt::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 46%; height: 100%;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(242, 212, 154, 0.10) 55%, transparent 70%);
}

/* Call-to-action banner: a streak of light */
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 38%, rgba(255, 232, 170, 0.20) 50%, transparent 62%);
}
.cta-banner > * { position: relative; z-index: 1; }

/* Footer logo: never wrap the name; scale down on small screens */
.footer-logo, .footer-logo .logo-text, .footer-logo .logo-zh, .footer-logo .logo-en { white-space: nowrap; }
.footer-about { min-width: 0; }
@media (max-width: 560px) {
  .footer-logo { gap: 10px; }
  .footer-logo .logo-mark { height: 46px; }
  .footer-logo .logo-zh { font-size: 1.35rem; letter-spacing: 0.12em; }
  .footer-logo .logo-en { font-size: 0.56rem; letter-spacing: 0.14em; }
}
@media (max-width: 360px) {
  .footer-logo .logo-mark { height: 38px; }
  .footer-logo .logo-zh { font-size: 1.15rem; }
  .footer-logo .logo-en { font-size: 0.5rem; letter-spacing: 0.1em; }
}

/* Footer layout: give the logo enough room so it never overlaps the link columns */
.footer-grid { grid-template-columns: 1.9fr 1fr 1fr 1.2fr; }
@media (min-width: 901px) and (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .footer-about { grid-column: 1 / -1; }
}

/* "From" label before package prices */
.pkg-from {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 6px;
  vertical-align: middle;
}
.pkg-exclusions { text-align: center; margin: 32px 0 0; font-size: 0.92rem; font-weight: 600; color: var(--gold-dark); }

/* Basis label on package cards (e.g. "Based on a 3-day wake at the void deck") */
.pkg-basis {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Three-package layout (Christian) */
.pkg-grid.pkg-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1100px) { .pkg-grid.pkg-grid-3 { grid-template-columns: 1fr; } }
.pkg-grid-3 .pkg-body { padding: 24px 22px 8px; }
.pkg-grid-3 .pkg-card-foot { padding: 20px 22px 28px; }
.pkg-grid-3 .pkg-card-head h3 { font-size: 1.7rem; }

/* ---------- Google reviews (home) ---------- */
.reviews-section { background: var(--ivory-deep); text-align: center; }
.reviews-section h2 { font-size: clamp(1.6rem, 2.7vw, 2.2rem); }
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 18px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50px;
  box-shadow: var(--shadow-card);
}
.rating-badge .stars { display: inline-flex; gap: 3px; }
.rating-badge .stars svg { width: 20px; height: 20px; fill: #D9A63E; }
.rating-text { font-weight: 600; font-size: 0.95rem; color: var(--brown); }
.reviews-lead { max-width: 560px; margin: 0 auto 28px; color: var(--charcoal-soft); }
.review-card {
  max-width: 760px;
  margin: 8px auto 34px;
  padding: 40px 44px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-light);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  text-align: left;
}
.review-card .stars { display: inline-flex; gap: 3px; margin-bottom: 14px; }
.review-card .stars svg { width: 18px; height: 18px; fill: #D9A63E; }
.review-card blockquote { margin: 0; }
.review-card blockquote p { font-size: 1.02rem; line-height: 1.8; color: var(--charcoal-soft); margin: 0 0 1em; }
.review-card figcaption { margin-top: 8px; font-weight: 700; color: var(--brown); }
.review-card figcaption span { font-weight: 500; color: var(--charcoal-soft); }
@media (max-width: 560px) { .review-card { padding: 28px 22px 24px; } }
.review-card { margin-bottom: 20px; }
.review-card:last-of-type { margin-bottom: 34px; }

/* Review cards: two balanced columns on wide screens */
.review-list { max-width: 1040px; margin: 8px auto 14px; column-count: 2; column-gap: 24px; text-align: left; }
.review-list .review-card { break-inside: avoid; margin: 0 0 24px; max-width: none; }
.review-list .review-card:last-of-type { margin-bottom: 24px; }
@media (max-width: 860px) { .review-list { column-count: 1; max-width: 640px; } }

/* Collapse reviews to the first four (only when JavaScript is available) */
.review-list.js-collapsed .review-card:nth-of-type(n+5) { display: none; }
.reviews-toggle { margin: 0 auto 30px; }
.reviews-toggle[hidden] { display: none; }
