/* =========================================================
   วัดป่าพุทธิสุทธาราม — Professional Stylesheet
   Tone: Elegant · Refined · Forest Luxury · Serene Green
   ========================================================= */

:root {
  /* Forest luxury palette */
  --green-dark:   #143829;   /* deep forest ink */
  --green-main:   #1F4D3B;   /* primary forest */
  --green-mid:    #2E6B4F;   /* accent green */
  --green-soft:   #7FA894;   /* misted pine */
  --green-bg:     #E8F0EA;   /* eucalyptus */
  --green-mist:   #F3F7F2;   /* morning fog */

  /* Warmer luxury gold */
  --gold-dark:    #8C6B38;
  --gold:         #B8935A;
  --gold-soft:    #D4B580;
  --gold-mist:    #F4EADB;

  /* Neutral tones */
  --cream:        #FAF7F0;
  --ivory:        #FFFDF8;
  --text-dark:    #18221D;
  --text-mid:     #445048;
  --text-mute:    #6D7972;
  --border:       #DDE4DF;
  --border-soft:  #EAEFEB;
  --white:        #FFFFFF;

  /* Shadows — layered, subtle */
  --shadow-xs: 0 1px 2px rgba(20,56,41,.05);
  --shadow-sm: 0 2px 6px rgba(20,56,41,.06), 0 1px 2px rgba(20,56,41,.04);
  --shadow-md: 0 6px 24px rgba(20,56,41,.08), 0 2px 6px rgba(20,56,41,.05);
  --shadow-lg: 0 24px 60px rgba(20,56,41,.12), 0 10px 20px rgba(20,56,41,.06);
  --shadow-xl: 0 32px 80px rgba(20,56,41,.16), 0 14px 30px rgba(20,56,41,.08);

  /* Typography */
  --font-display: "Prompt", "Bai Jamjuree", "Sarabun", system-ui, sans-serif;
  --font-body:    "Sarabun", "IBM Plex Sans Thai", system-ui, sans-serif;
  --font-serif:   "Noto Serif Thai", "Bai Jamjuree", serif;

  --radius-xs:    4px;
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    22px;
  --radius-xl:    32px;
  --radius-pill:  999px;

  --max-w: 1200px;
  --max-w-narrow: 860px;

  --ease: cubic-bezier(.25,.8,.25,1);
}

/* ----- Reset & Base ------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a  { color: var(--green-main); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--green-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.25;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4vw + 1rem, 3.6rem); font-family: var(--font-serif); font-weight: 500; letter-spacing: .01em; }
h2 { font-size: clamp(1.6rem, 2vw + 1rem, 2.5rem); }
h3 { font-size: clamp(1.15rem, .7vw + 1rem, 1.45rem); }
p  { color: var(--text-mid); }

::selection { background: var(--gold-soft); color: var(--green-dark); }

/* Containers */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
section { padding: 72px 0; }
section.narrow { padding: 48px 0; }

/* ----- Icon System -------------------------------------- */
.icon {
  width: 1.1em;
  height: 1.1em;
  display: inline-block;
  vertical-align: -0.2em;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
  transition: stroke .2s var(--ease);
}
.icon-sm { width: .9em; height: .9em; }
.icon-lg { width: 2.2em; height: 2.2em; vertical-align: middle; }
.icon-xl { width: 3.2em; height: 3.2em; vertical-align: middle; }

/* Icon-in-circle wrapper */
.icon-circle {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--green-bg);
  color: var(--green-main);
  flex-shrink: 0;
}
.icon-circle .icon { width: 22px; height: 22px; vertical-align: middle; }
.icon-circle.gold { background: var(--gold-mist); color: var(--gold-dark); }
.icon-circle.lg { width: 72px; height: 72px; }
.icon-circle.lg .icon { width: 30px; height: 30px; }

/* ----- Decorative Divider (dharma wheel + gold rails) --- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 48px 0;
  color: var(--gold);
}
.divider::before, .divider::after {
  content: "";
  display: block;
  flex: 0 1 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-soft) 50%, transparent);
}
.divider svg { width: 24px; height: 24px; color: var(--gold); opacity: .9; }
.divider .wheel {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  position: relative;
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--gold-soft);
}
/* Inverted divider on dark sections */
.divider.on-dark { color: var(--gold-soft); }
.divider.on-dark::before,
.divider.on-dark::after { background: linear-gradient(to right, transparent, rgba(212,181,128,.5) 50%, transparent); }

/* ----- Buttons ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
  text-decoration: none;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--green-main);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.65);
}
.btn-secondary:hover {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border-color: var(--white);
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(184,147,90,.28);
}
.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(184,147,90,.36);
}
.btn-ghost {
  background: transparent;
  color: var(--green-main);
  border-color: var(--green-main);
}
.btn-ghost:hover { background: var(--green-main); color: var(--white); }

.btn .icon { width: 1.1em; height: 1.1em; }

/* ----- Navigation --------------------------------------- */
.navbar {
  position: sticky; top: 0;
  background: rgba(255,253,248,.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--border-soft);
  z-index: 100;
  transition: box-shadow .3s var(--ease);
}
.navbar:hover { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--green-dark);
  font-family: var(--font-display);
  font-weight: 600;
}
.nav-brand img { width: 46px; height: 46px; object-fit: contain; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav-brand-text .title { font-size: 1.05rem; color: var(--green-dark); font-family: var(--font-serif); font-weight: 600; }
.nav-brand-text .sub { font-size: .7rem; color: var(--gold); letter-spacing: 2.5px; font-weight: 500; margin-top: 2px; }

.nav-menu { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav-menu a {
  padding: 10px 14px;
  font-size: .92rem;
  color: var(--text-dark);
  border-radius: var(--radius-xs);
  font-family: var(--font-display);
  font-weight: 500;
  position: relative;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-menu a:hover { color: var(--green-main); background: var(--green-mist); }
.nav-menu a.active {
  color: var(--green-main);
  background: var(--green-bg);
}
.nav-menu a.active::after {
  content: ""; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 2px; background: var(--gold); border-radius: 1px;
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  box-shadow: 0 4px 14px rgba(184,147,90,.28);
}
.nav-cta:hover { background: var(--gold-dark) !important; color: var(--white) !important; box-shadow: 0 6px 18px rgba(184,147,90,.36); }
.nav-cta.active::after { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--green-dark);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-xs);
  transition: background .2s var(--ease);
}
.nav-toggle:hover { background: var(--green-bg); }
.nav-toggle .icon { width: 24px; height: 24px; stroke-width: 1.8; }

/* ----- Hero --------------------------------------------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 80px 28px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(20,56,41,.78), rgba(31,77,59,.6) 55%, rgba(127,168,148,.4)),
    url("assets/images/scenes/scene-03.jpg") center/cover;
  z-index: 0;
}
.hero-content { position: relative; z-index: 2; max-width: 840px; }
.hero-logo {
  width: 132px; height: 132px; margin: 0 auto 28px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  padding: 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 36px rgba(0,0,0,.22);
}
.hero-logo img { width: 100%; height: 100%; object-fit: contain; }
.hero h1 {
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: .5px;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(0,0,0,.3);
}
.hero-sub {
  font-size: 1.18rem;
  color: rgba(255,255,255,.92);
  margin-bottom: 44px;
  font-weight: 300;
  max-width: 640px;
  margin-left: auto; margin-right: auto;
  text-shadow: 0 1px 12px rgba(0,0,0,.2);
}
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: float 2.4s ease-in-out infinite;
}
.hero-scroll .icon { width: 14px; height: 14px; stroke-width: 2; }
@keyframes float { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -8px); } }

/* Page hero (smaller) for subpages */
.page-hero {
  min-height: 28vh;
  padding: 82px 28px 44px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--green-dark), var(--green-main) 55%, var(--green-soft));
  z-index: 0;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(circle at 20% 20%, rgba(184,147,90,.22), transparent 45%),
    radial-gradient(circle at 80% 85%, rgba(255,255,255,.08), transparent 40%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-family: var(--font-serif); margin-bottom: 16px; font-weight: 500; }
.page-hero .crumbs { color: rgba(255,255,255,.8); font-size: .9rem; letter-spacing: .5px; }
.page-hero .crumbs a { color: var(--gold-soft); transition: color .2s var(--ease); }
.page-hero .crumbs a:hover { color: var(--white); }

/* ----- Section: Welcome --------------------------------- */
.welcome {
  background: var(--ivory);
  text-align: center;
}
.welcome h2 {
  color: var(--green-dark);
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-weight: 500;
}
.welcome .eyebrow {
  color: var(--gold);
  font-size: .78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-block;
}
.welcome p {
  max-width: 740px; margin: 0 auto 28px;
  font-size: 1.08rem; line-height: 1.95;
  color: var(--text-mid);
}

/* ----- Card Grids --------------------------------------- */
.grid-section { background: var(--green-mist); }
.section-head { text-align: center; margin-bottom: 42px; }
.section-head .eyebrow { color: var(--gold); font-size: .78rem; letter-spacing: 4px; text-transform: uppercase; font-weight: 600; }
.section-head h2 { color: var(--green-dark); margin-top: 10px; font-family: var(--font-serif); font-weight: 500; }
.section-head p { margin-top: 14px; color: var(--text-mute); max-width: 640px; margin-left: auto; margin-right: auto; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
  border: 1px solid var(--border-soft);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--green-soft), var(--green-main));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  overflow: hidden;
}
.card-img .icon { width: 48px; height: 48px; stroke-width: 1.4; opacity: .9; }
.card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.22));
}
.card-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  display: inline-block;
  font-size: .72rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--green-bg);
  color: var(--green-dark);
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 12px;
  align-self: flex-start;
  text-transform: uppercase;
}
.card h3 { color: var(--green-dark); margin-bottom: 10px; font-size: 1.2rem; font-weight: 600; }
.card p { font-size: .95rem; color: var(--text-mid); line-height: 1.7; }
.card-meta {
  margin-top: auto; padding-top: 16px;
  font-size: .85rem; color: var(--text-mute);
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border-soft);
  margin-top: 16px;
}
.card-meta > * { display: inline-flex; align-items: center; gap: 6px; }
.card-link { color: var(--green-main); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card-link:hover { color: var(--green-dark); }

/* ----- Quote Section ------------------------------------ */
.quote {
  background: var(--cream);
  text-align: center;
  padding: 110px 28px;
  position: relative;
}
.quote::before, .quote::after {
  content: "\201C";
  font-family: "Noto Serif Thai", Georgia, serif;
  font-size: 5.5rem;
  color: var(--gold-soft);
  opacity: .55;
  position: absolute;
  line-height: 1;
}
.quote::before { top: 36px; left: 8%; }
.quote::after { content: "\201D"; bottom: 16px; right: 8%; }
.quote blockquote {
  max-width: 820px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw + 1rem, 2.1rem);
  line-height: 1.65;
  color: var(--green-dark);
  font-weight: 400;
  font-style: normal;
}
.quote cite {
  display: block;
  margin-top: 28px;
  color: var(--gold);
  font-style: normal;
  font-size: .85rem;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
}

/* ----- Map + CTA Section -------------------------------- */
.map-cta { background: var(--white); padding: 0; }
.map-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}
.map-cta-info {
  padding: 88px 64px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.map-cta-info::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(184,147,90,.16), transparent 40%);
  pointer-events: none;
}
.map-cta-info > * { position: relative; }
.map-cta-info h2 { color: var(--white); margin-bottom: 18px; font-family: var(--font-serif); font-weight: 500; }
.map-cta-info p { color: rgba(255,255,255,.88); margin-bottom: 24px; }
.map-cta-info .addr { font-size: 1.02rem; line-height: 1.85; color: #FFF; }
.map-cta-info .addr strong { color: var(--gold-soft); letter-spacing: .5px; }

.map-cta-map {
  background: var(--green-soft) url("https://maps.googleapis.com/maps/api/staticmap?center=16.699638,103.872391&zoom=15&size=600x500&maptype=terrain") center/cover;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 44px;
  position: relative;
}
.map-cta-map a {
  background: var(--white); color: var(--green-dark);
  padding: 12px 26px; border-radius: var(--radius-pill);
  font-weight: 600; box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease);
}
.map-cta-map a:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ----- Footer ------------------------------------------- */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.85);
  padding: 72px 28px 28px;
  position: relative;
}
footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold) 50%, transparent);
  opacity: .6;
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { width: 64px; height: 64px; background: rgba(255,255,255,.08); padding: 8px; border-radius: 50%; }
.footer-brand h3 { color: var(--white); margin-bottom: 4px; font-family: var(--font-serif); font-weight: 500; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: .92rem; line-height: 1.7; }
.footer-col h4 {
  color: var(--gold-soft);
  font-size: .78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  color: rgba(255,255,255,.72);
  font-size: .95rem;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: var(--white);
  transition: background .25s var(--ease), transform .25s var(--ease);
  font-size: 1rem;
  border: 1px solid rgba(255,255,255,.1);
}
.footer-social a:hover { background: var(--gold); transform: translateY(-2px); border-color: var(--gold); }
.footer-social .icon { width: 18px; height: 18px; stroke-width: 1.8; }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  padding-top: 24px; text-align: center;
  color: rgba(255,255,255,.45); font-size: .85rem;
  letter-spacing: .5px;
}

/* ----- Utility ----------------------------------------- */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }
.bg-white { background: var(--white); }
.bg-ivory { background: var(--ivory); }
.bg-cream { background: var(--cream); }
.prose { max-width: var(--max-w-narrow); margin: 0 auto; }
.prose p { margin-bottom: 20px; font-size: 1.06rem; line-height: 1.95; }
.prose h2 { margin-top: 52px; margin-bottom: 18px; color: var(--green-dark); font-family: var(--font-serif); font-weight: 500; }
.prose h3 { margin-top: 36px; margin-bottom: 14px; color: var(--green-main); font-weight: 600; }
.prose ul, .prose ol { margin: 18px 0 18px 24px; color: var(--text-mid); }
.prose li { margin-bottom: 10px; line-height: 1.85; }
.prose table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  background: var(--white); border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}
.prose th, .prose td {
  padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border-soft);
}
.prose th {
  background: var(--green-bg); color: var(--green-dark);
  font-family: var(--font-display); font-weight: 600;
  font-size: .92rem; letter-spacing: .3px;
}
.prose tr:last-child td { border-bottom: none; }
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 14px 22px;
  background: var(--green-mist);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  color: var(--green-dark);
  margin: 24px 0;
  font-size: 1.08rem;
  line-height: 1.8;
}

/* ----- Contact page ------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
}
.contact-card h3 { color: var(--green-dark); margin-bottom: 22px; font-family: var(--font-serif); font-weight: 500; }
.contact-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-bg); color: var(--green-main);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon .icon { width: 20px; height: 20px; vertical-align: middle; }
.contact-text strong { color: var(--text-dark); display: block; margin-bottom: 3px; font-weight: 600; }
.contact-text span { color: var(--text-mute); font-size: .95rem; }
.qr-block { text-align: center; margin-top: 22px; padding-top: 26px; border-top: 1px dashed var(--border); }
.qr-block img { width: 220px; margin: 0 auto 12px; border-radius: var(--radius-sm); }
.qr-placeholder {
  width: 220px; height: 220px; margin: 0 auto 12px;
  background: var(--green-bg); border: 2px dashed var(--green-soft);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-main); font-size: .9rem; text-align: center;
}

/* ----- Abbot/Monk card ---------------------------------- */
.abbot-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 52px;
  background: var(--white);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  align-items: center;
  margin-top: -60px;
  position: relative;
  z-index: 5;
  border: 1px solid var(--border-soft);
}
.abbot-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--green-soft), var(--green-main));
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.abbot-photo .icon { width: 72px; height: 72px; stroke-width: 1.3; opacity: .85; }
.abbot-info h2 { color: var(--green-dark); margin-bottom: 6px; font-family: var(--font-serif); font-weight: 500; }
.abbot-info .chaya { color: var(--gold); font-size: 1.1rem; margin-bottom: 4px; font-weight: 500; }
.abbot-info .role { color: var(--text-mute); font-size: .95rem; margin-bottom: 18px; }
.abbot-info blockquote {
  border-left: 3px solid var(--gold);
  padding: 14px 20px;
  color: var(--green-dark);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  background: var(--green-mist);
  line-height: 1.75;
}

/* ----- Donate card fix (scope circle wrapper to direct child only) --- */
.donate-card {
  background: linear-gradient(135deg, var(--white), var(--green-mist));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.donate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.donate-card > .icon-wrap {
  width: 76px; height: 76px; margin: 0 auto 22px;
  background: var(--green-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-main);
  box-shadow: inset 0 0 0 1px rgba(20,56,41,.05);
  transition: background .3s var(--ease);
}
.donate-card:hover > .icon-wrap { background: var(--gold-mist); color: var(--gold-dark); }
.donate-card > .icon-wrap .icon { width: 34px; height: 34px; stroke-width: 1.4; }
.donate-card h3 { color: var(--green-dark); margin-bottom: 10px; font-family: var(--font-serif); font-weight: 500; }
.donate-card .price { color: var(--gold); font-weight: 600; font-size: 1.08rem; margin: 10px 0; font-family: var(--font-display); letter-spacing: .3px; }

/* Bank card */
.bank-card {
  background: var(--white); border: 1px solid var(--border-soft);
  border-radius: var(--radius-md); padding: 26px;
  display: flex; gap: 22px; align-items: center;
  box-shadow: var(--shadow-sm);
}
.bank-logo {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green-bg); display: flex;
  align-items: center; justify-content: center;
  font-weight: 700; color: var(--green-dark); font-size: 1.1rem;
  flex-shrink: 0;
  letter-spacing: .5px;
}
.bank-info strong { display: block; color: var(--green-dark); font-size: 1.05rem; }
.bank-info .acct { font-family: "Prompt", monospace; color: var(--text-mid); font-size: 1.15rem; letter-spacing: 1.5px; margin: 4px 0; font-weight: 600; }

/* ----- Responsive --------------------------------------- */
@media (max-width: 960px) {
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); flex-direction: column; padding: 16px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-soft);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 12px 16px; }
  .nav-menu a.active::after { display: none; }
  .nav-toggle { display: block; }
  .map-cta-grid { grid-template-columns: 1fr; }
  .map-cta-info { padding: 56px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; }
  .abbot-hero { grid-template-columns: 1fr; text-align: center; padding: 32px; }
  .abbot-photo { max-width: 280px; margin: 0 auto; }
  .quote::before, .quote::after { font-size: 4rem; }
  .quote::before { top: 24px; left: 5%; }
  .quote::after { bottom: 8px; right: 5%; }
}
@media (max-width: 560px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { min-height: 72vh; padding: 60px 20px; }
  .hero-logo { width: 100px; height: 100px; padding: 14px; }
  .hero-sub { font-size: 1.02rem; margin-bottom: 32px; }
  .map-cta-info { padding: 44px 24px; }
  .page-hero { padding: 70px 20px 40px; min-height: 24vh; }
  .bank-card { flex-direction: column; text-align: center; gap: 14px; }
  .donate-card { padding: 32px 24px; }
}
