/* =========================================================================
   Pranic Healing - Divine Lotus: base layout & components
   Theme-agnostic. All colour, type and shape comes from CSS variables that
   themes.css sets on :root.
   ========================================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body, 1.0625rem);
  line-height: 1.7;
  font-weight: var(--body-weight, 400);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--link); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--display-weight, 600);
  letter-spacing: var(--display-tracking, -0.02em);
  line-height: var(--display-leading, 1.12);
  color: var(--heading);
  margin: 0 0 .6em;
  text-transform: var(--display-transform, none);
}
h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.45rem); }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.3vw, 2.85rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); letter-spacing: var(--h3-tracking, -0.01em); }
p { margin: 0 0 1.1em; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: var(--on-accent);
  padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout ---------- */
.shell { width: min(1180px, 100% - 2rem); margin-inline: auto; }
@media (min-width: 700px) { .shell { width: min(1180px, 100% - 4rem); } }
.narrow { width: min(760px, 100% - 2rem); }

.section { padding: var(--section-pad, clamp(4rem, 2rem + 8vw, 7.5rem)) 0; position: relative; }
.section-alt { background: var(--bg-alt); }

.sec-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 1rem + 4vw, 4rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-eyebrow, var(--font-body));
  font-size: .78rem;
  letter-spacing: var(--eyebrow-tracking, .16em);
  text-transform: uppercase;
  font-weight: 600;
  color: var(--eyebrow-color, var(--accent-ink));
  margin: 0 0 1rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--header-border);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: inherit; margin-right: auto; }
.brand-mark { width: 44px; height: auto; flex: none; filter: var(--logo-filter, none); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-display); font-weight: var(--display-weight, 600);
  font-size: clamp(1rem, .9rem + .4vw, 1.18rem); color: var(--heading);
  letter-spacing: var(--display-tracking, -.02em); white-space: nowrap;
}
.brand-sub { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); white-space: nowrap; }
@media (max-width: 560px) {
  .brand-sub { display: none; }
  .brand-mark { width: 36px; }
  .header-inner { gap: .75rem; min-height: 64px; }
}

.nav { display: none; gap: 1.6rem; }
@media (min-width: 1000px) { .nav { display: flex; } }
.nav a {
  text-decoration: none; color: var(--text-muted); font-size: .94rem; font-weight: 500;
  padding: .3rem 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right .25s ease;
}
.nav a:hover { color: var(--heading); }
.nav a:hover::after { right: 0; }

@media (max-width: 400px) { .btn.header-cta { padding: .55rem .8rem; font-size: .82rem; } }

.nav-toggle {
  display: grid; place-content: center; gap: 5px; width: 44px; height: 44px;
  background: none; border: 1px solid var(--border); border-radius: var(--radius-sm);
  cursor: pointer; padding: 0;
}
@media (min-width: 1000px) { .nav-toggle { display: none; } }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--heading); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; flex-direction: column; padding: .5rem 0 1.25rem; border-top: 1px solid var(--header-border); }
.mobile-nav.open { display: flex; }
@media (min-width: 1000px) { .mobile-nav.open { display: none; } }
.mobile-nav a {
  padding: .85rem 1rem; text-decoration: none; color: var(--text); font-weight: 500;
  width: min(1180px, 100% - 2rem); margin-inline: auto; border-bottom: 1px solid var(--border);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: var(--btn-radius, 999px);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
  letter-spacing: var(--btn-tracking, 0);
  text-transform: var(--btn-transform, none);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.03rem; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--btn-shadow, none); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--btn-shadow-hover, var(--shadow-md)); }
.btn-ghost { background: transparent; color: var(--heading); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-hover); border-color: var(--accent); }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--hero-bg);
  padding: clamp(3rem, 2rem + 5vw, 5.5rem) 0 clamp(3rem, 2rem + 5vw, 5.5rem);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; gap: clamp(2.5rem, 1rem + 5vw, 4.5rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 1000px) { .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }
.hero-copy { max-width: 34rem; }
.hero-title { margin-bottom: 1.2rem; color: var(--hero-heading, var(--heading)); }
.hero-title em { display: block; font-style: var(--hero-em-style, italic); color: var(--accent-ink); }
.hero-lead { font-size: clamp(1.05rem, 1rem + .45vw, 1.24rem); color: var(--hero-text, var(--text-muted)); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0 1.5rem; }
.hero-note { font-size: .95rem; color: var(--hero-text, var(--text-muted)); margin: 0; }
.hero-note a { color: var(--accent-ink); font-weight: 600; }

/* hero artwork: lotus inside a sunburst, drawn in SVG so it recolours per theme */
/* Beside the copy on a wide screen. Below that the columns stack, so putting
   it in the flow would push the CTA off the first screen. It becomes a
   watermark behind the text instead, which costs no height and keeps the
   motion visible on a phone, where most visitors are. */
.hero-art { display: block; }
@media (max-width: 999px) {
  .hero-copy { position: relative; z-index: 1; }
  .hero-art {
    position: absolute; z-index: 0; pointer-events: none;
    right: -22%; bottom: -8%; width: 92vw; max-width: 460px;
    opacity: .16;
  }
}
.lotus { width: 100%; max-width: 420px; margin-inline: auto; overflow: visible; }
.lotus-rings circle { fill: none; stroke: var(--accent-ink); stroke-width: 1; opacity: .3; }
.lotus-rings circle:nth-child(2) { opacity: .2; }
.lotus-rings circle:nth-child(3) { opacity: .14; }
.lotus-rays line { stroke: var(--accent); stroke-width: 7; stroke-linecap: round; opacity: .9; }
.lotus-petals path {
  fill: var(--petal-fill, rgba(185,199,238,.55));
  stroke: var(--petal-stroke, var(--accent2-ink, var(--accent-ink)));
  stroke-width: 1.5;
}
.lotus-core { fill: var(--accent2-ink, var(--accent-ink)); }

.lotus-rays { transform-origin: 200px 200px; animation: lotusSpin 90s linear infinite; }
.lotus-rings { transform-origin: 200px 200px; animation: lotusBreathe 7s ease-in-out infinite; }
@keyframes lotusSpin { to { transform: rotate(360deg); } }
@keyframes lotusBreathe { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.035); opacity: .7; } }

/* decorative aura (CSS only, no imagery) */
.aura { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.aura span { position: absolute; border-radius: 50%; filter: blur(var(--aura-blur, 70px)); opacity: var(--aura-opacity, .55); }
.aura span:nth-child(1) { width: 46vw; height: 46vw; min-width: 380px; min-height: 380px; top: -14vw; right: -8vw; background: var(--aura-1); }
.aura span:nth-child(2) { width: 34vw; height: 34vw; min-width: 280px; min-height: 280px; bottom: -14vw; left: -6vw; background: var(--aura-2); }
.aura span:nth-child(3) { width: 26vw; height: 26vw; min-width: 220px; min-height: 220px; top: 32%; left: 46%; background: var(--aura-3); }
.aura-soft span { opacity: calc(var(--aura-opacity, .55) * .7); }

/* ---------- trust strip ---------- */
.strip { background: var(--strip-bg); color: var(--strip-text); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem) 0; border-block: 1px solid var(--strip-border); }
.strip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
@media (min-width: 820px) { .strip-grid { grid-template-columns: repeat(4, 1fr); } }
.strip-item { display: flex; flex-direction: column; gap: .2rem; text-align: center; }
.strip-item strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--strip-accent); font-weight: var(--display-weight, 600); letter-spacing: -.01em; }
.strip-item span { font-size: .87rem; opacity: .85; line-height: 1.4; }

/* ---------- cards ---------- */
.grid-3 { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 1vw, 2rem);
  box-shadow: var(--card-shadow, none);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--text-muted); font-size: .98rem; }
.card-ico { width: 48px; height: 48px; margin-bottom: 1.1rem; color: var(--accent-ink); }
.card-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.services .card { position: relative; padding-top: clamp(1.75rem, 1rem + 1.4vw, 2.25rem); }
.services .card::before {
  content: ""; position: absolute; top: 0; left: clamp(1.5rem, 1rem + 1vw, 2rem); width: 32px; height: 3px;
  background: var(--accent); border-radius: 0 0 3px 3px;
}

/* ---------- quote band ---------- */
.quote-band { margin-top: clamp(2.5rem, 1rem + 4vw, 4rem); text-align: center; }
.quote-band blockquote { margin: 0; }
.quote-band p {
  font-family: var(--font-quote, var(--font-display)); font-size: clamp(1.35rem, 1rem + 2vw, 2.1rem);
  line-height: 1.35; color: var(--heading); font-style: var(--quote-style, italic);
  max-width: 24ch; margin: 0 auto .9rem; font-weight: var(--quote-weight, 400);
}
.quote-band cite, .quote-pair cite, .quote-card cite {
  font-style: normal; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-ink); font-weight: 600;
}

/* ---------- split sections ---------- */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } }
.split-reverse .split-text { order: 2; }
@media (max-width: 899px) { .split-reverse .split-text { order: 0; } }
.split-text p { color: var(--text-muted); }
.split-text h2 { color: var(--heading); }

.tick-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.tick-list li { position: relative; padding-left: 1.9rem; color: var(--text-muted); font-size: .99rem; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: .6rem;
  border-left: 2.5px solid var(--accent-ink); border-bottom: 2.5px solid var(--accent-ink);
  transform: rotate(-45deg);
}

/* orb diagram */
.orb-stack { position: relative; aspect-ratio: 1; max-width: 420px; margin-inline: auto; display: grid; place-items: center; }
.orb { position: absolute; border-radius: 50%; border: 1.5px solid var(--accent-ink); }
.orb-a { width: 68%; height: 68%; left: 2%; background: var(--orb-a-bg); }
.orb-b { width: 68%; height: 68%; right: 2%; background: var(--orb-b-bg); border-color: var(--accent2-ink, var(--accent-ink)); }
.orb-label { position: absolute; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--heading); }
.orb-l1 { left: 4%; top: 12%; }
.orb-l2 { right: 4%; bottom: 12%; text-align: right; }
.orb-center {
  position: relative; z-index: 3; font-family: var(--font-display); font-size: 1.5rem;
  font-weight: var(--display-weight, 600); color: var(--heading);
}

/* ---------- pills ---------- */
.pill-grid { display: flex; flex-wrap: wrap; gap: .7rem; }
.pill {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: .7rem 1.2rem; border-radius: var(--pill-radius, 999px); font-size: .95rem; font-weight: 500;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.pill:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-ink); }

.care-note {
  margin-top: clamp(2rem, 1rem + 3vw, 3rem); padding: clamp(1.4rem, 1rem + 1vw, 2rem);
  border-left: 4px solid var(--accent); background: var(--accent-soft);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.care-note p { margin: 0; color: var(--text); }

/* ---------- feature row ---------- */
.feature-row {
  margin-top: clamp(2rem, 1rem + 3vw, 3rem); padding: clamp(1.75rem, 1rem + 2vw, 2.75rem);
  background: var(--feature-bg); color: var(--feature-text); border-radius: var(--radius-lg);
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between;
  border: 1px solid var(--feature-border, transparent);
}
.feature-row-text { flex: 1 1 24rem; }
.feature-row h3 { color: var(--feature-heading, var(--feature-text)); margin-bottom: .4rem; }
.feature-row p { margin: 0; opacity: .88; font-size: .99rem; }

/* ---------- event card ---------- */
.event-card {
  display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--surface); border: 2px solid var(--accent);
  border-radius: var(--radius-lg); margin-bottom: clamp(2rem, 1rem + 3vw, 3rem);
  box-shadow: var(--shadow-md); position: relative;
}
.event-tag {
  position: absolute; top: -.85rem; left: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px;
}
.event-body { flex: 1 1 26rem; }
.event-body h3 { margin-bottom: .5rem; font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem); }
.event-body p { margin: 0 0 .6rem; color: var(--text-muted); }
.event-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: .92rem; }
.event-meta span { position: relative; color: var(--text-muted); }
.event-meta strong { color: var(--accent-ink); }

/* ---------- course list ---------- */
.course-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--border); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.course-list li { display: flex; gap: clamp(1rem, .5rem + 1.5vw, 2rem); padding: clamp(1.4rem, 1rem + 1.2vw, 2rem); background: var(--surface); transition: background .22s ease; }
.course-list li:hover { background: var(--surface-hover); }
.course-num {
  font-family: var(--font-display); font-size: clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  color: var(--accent); font-weight: var(--display-weight, 600); line-height: 1; flex: none;
  opacity: var(--num-opacity, 1);
}
.course-list h3 { margin-bottom: .35rem; }
.course-list p { margin: 0; color: var(--text-muted); font-size: .98rem; max-width: 62ch; }
.course-list .course-batches { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .6rem; }
.course-list .course-batches li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; padding: 0; background: none; font-size: .95rem; color: var(--text); }

/* ---------- feature/hope section ---------- */
.section-feature { background: var(--feature-section-bg); color: var(--feature-section-text); overflow: hidden; }
.section-feature h2 { color: var(--feature-section-heading); }
.section-feature .eyebrow { color: var(--feature-section-eyebrow); }
.section-feature .shell { position: relative; z-index: 2; }
.big-text { font-size: clamp(1.08rem, 1rem + .6vw, 1.3rem); color: var(--feature-section-text); opacity: .92; }
.quote-pair { display: grid; gap: 1.5rem; margin-top: clamp(2.5rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 760px) { .quote-pair { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.quote-pair blockquote { margin: 0; padding-left: 1.25rem; border-left: 3px solid var(--feature-section-rule); }
.quote-pair p { font-family: var(--font-quote, var(--font-display)); font-size: 1.2rem; font-style: var(--quote-style, italic); line-height: 1.45; color: var(--feature-section-heading); margin-bottom: .6rem; }
.quote-pair cite { color: var(--feature-section-eyebrow); }

/* ---------- photos ---------- */
.photo {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--border); background: var(--surface);
}
.photo img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 3/2; }
.photo figcaption { padding: .8rem 1.1rem; font-size: .85rem; color: var(--text-muted); background: var(--surface); }

/* upright portrait, held to a width that balances the text column beside it */
.photo-portrait { max-width: 400px; margin-inline: auto; }
.photo-portrait img { aspect-ratio: 63/82; object-position: center top; }

/* panoramic band above the gallery, shown at its own proportions */
.photo-wide { margin-bottom: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
/* native ratio on wide screens; on a phone 20/9 leaves the faces too small,
   so crop into the middle of the frame instead */
.photo-wide img { aspect-ratio: 3/2; object-position: center 45%; }
@media (min-width: 720px) { .photo-wide img { aspect-ratio: 20/9; } }

/* gallery tiles share one ratio so the row lines up; object-position is set
   per image inline, because each photo needs a different crop anchor */
.gallery { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); grid-template-columns: 1fr; }
@media (min-width: 560px)  { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery .photo img { aspect-ratio: 4/3; }

/* visit: the room photo next to the map */
.visit-media {
  margin-top: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); grid-template-columns: 1fr;
}
@media (min-width: 860px) { .visit-media { grid-template-columns: minmax(0, .9fr) minmax(0, 2.1fr); align-items: stretch; } }
.photo-room { display: flex; flex-direction: column; }
.photo-room img { aspect-ratio: 3/4; flex: 1; min-height: 0; object-position: center 35%; }
@media (min-width: 860px) { .photo-room img { aspect-ratio: auto; height: 100%; } }

.credentials { margin-top: 2.25rem; padding: clamp(1.4rem, 1rem + 1vw, 1.9rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.credentials h3 { margin-bottom: .25rem; }
.credentials .tick-list { margin-top: 1rem; }

.quote-card {
  padding: clamp(2rem, 1rem + 3vw, 3.25rem); background: var(--feature-bg); color: var(--feature-text);
  border-radius: var(--radius-lg); border: 1px solid var(--feature-border, transparent);
}
.quote-card p { font-family: var(--font-quote, var(--font-display)); font-size: clamp(1.3rem, 1rem + 1.4vw, 1.85rem); font-style: var(--quote-style, italic); line-height: 1.35; color: var(--feature-heading, var(--feature-text)); margin-bottom: 1rem; }
.quote-card cite { color: var(--feature-cite, var(--accent)); }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); grid-template-columns: 1fr; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { padding: clamp(1.6rem, 1rem + 1.5vw, 2.25rem); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.contact-card h3 { margin-bottom: .9rem; }
.contact-card address { font-style: normal; color: var(--text-muted); line-height: 1.75; }
.hours { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--border); }
.hours h4 {
  margin: 0 0 .4rem; font-family: var(--font-body); font-size: .74rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted);
}
.hours-main { margin: 0 0 .4rem; font-weight: 600; color: var(--heading); }
.hours-note { margin: 0; font-size: .89rem; color: var(--text-muted); line-height: 1.6; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-weight: 600; color: var(--accent-ink); text-decoration: none; font-size: .95rem; }
.link-arrow::after { content: "\2192"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.contact-list li { display: flex; flex-direction: column; gap: .1rem; }
.contact-list span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.contact-list a { color: var(--heading); text-decoration: none; font-weight: 500; }
.contact-list a.email { font-size: clamp(.78rem, .68rem + .35vw, .95rem); overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent-ink); text-decoration: underline; }
.social-row { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social-row a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--radius-sm);
  border: 1px solid var(--border); color: var(--heading); transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social-row a:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.social-row svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cta-card { background: var(--feature-bg); color: var(--feature-text); border-color: var(--feature-border, transparent); display: flex; flex-direction: column; }
.cta-card h3 { color: var(--feature-heading, var(--feature-text)); }
.cta-card p { opacity: .88; font-size: .97rem; }
.cta-card .btn { margin-top: auto; align-self: flex-start; }

.map-wrap {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--card-shadow, none); background: var(--surface);
}
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: clamp(280px, 32vw, 440px); border: 0; filter: var(--map-filter, none); }

/* ---------- footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2.5rem; }
.footer-inner { display: grid; gap: 1.75rem; }
.footer-brand { display: flex; align-items: center; gap: .9rem; }
.footer-brand p { margin: 0; font-family: var(--font-display); font-size: 1.1rem; color: var(--footer-heading); }
.footer-brand span { font-family: var(--font-body); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .75rem 1.75rem; }
.footer-nav a { color: var(--footer-text); text-decoration: none; font-size: .94rem; opacity: .82; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }
.disclaimer { font-size: .85rem; opacity: .62; max-width: 46rem; margin: 0; line-height: 1.6; padding-top: 1.5rem; border-top: 1px solid var(--footer-border); }
.copyright { font-size: .85rem; opacity: .55; margin: 0; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 55;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: scale(1.07); }
@media (min-width: 700px) { .wa-float { right: 1.75rem; bottom: 6.25rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* =========================================================================
   Small-screen density
   The page runs long on a phone. These rules shorten it without removing
   anything: tighter vertical rhythm, and the gallery becomes a swipeable
   row instead of four stacked tiles.
   ========================================================================= */
@media (max-width: 700px) {
  /* vertical rhythm */
  .section { padding: 2.75rem 0; }
  .sec-head { margin-bottom: 1.75rem; }
  .hero { padding: 2.5rem 0 3rem; }
  .hero-actions { margin: 1.5rem 0 1rem; }
  .care-note { margin-top: 1.75rem; }
  .feature-row, .event-card { margin-top: 1.75rem; }
  .quote-band, .quote-pair { margin-top: 2rem; }
  .credentials { margin-top: 1.75rem; }

  /* box padding: the single biggest saving, spread over fifteen or so boxes */
  .card, .event-card { padding: 1.25rem; }
  .services .card { padding-top: 1.5rem; }
  .contact-card { padding: 1.35rem; }
  .course-list li { padding: 1.15rem; gap: 1rem; }
  .feature-row { padding: 1.4rem; }
  .quote-card { padding: 1.5rem; }
  .credentials { padding: 1.2rem; }
  .care-note { padding: 1.2rem; }
  .pill { padding: .55rem .95rem; font-size: .9rem; }
  .footer-inner { gap: 1.25rem; }

  /* images: keep them present but stop them dominating the scroll */
  .photo-wide img { aspect-ratio: 16/10; }
  .photo-room img { aspect-ratio: 1/1; }   /* square keeps altar and desk in frame */
  .photo-portrait { max-width: 320px; }
  .map-wrap iframe { min-height: 240px; }
}

.swipe-hint { display: none; }
@media (max-width: 559px) {
  .swipe-hint {
    display: block; margin: 0 0 .6rem; font-size: .78rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted);
  }
  .swipe-hint::after { content: " \2192"; }
  .gallery {
    display: flex; grid-template-columns: none;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding-bottom: .5rem;
  }
  .gallery .photo { flex: 0 0 78%; scroll-snap-align: start; }
}
