/* =====================================================================
   VIRTUAL PUNYA SNAN — MAIN STYLESHEET
   1. Tokens   2. Base   3. Layout   4. Components   5. Header/Footer
   6. Home     7. Inner pages        8. Forms        9. Utilities
   Breakpoints live in css/responsive.css
   ===================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --saffron: #E85A0C;
  --saffron-light: #F26B21;
  --saffron-deep: #C94708;
  --gold: #D99A35;
  --cream: #FFF8ED;
  --beige: #F7EBDD;
  --white: #FFFFFF;
  --ink: #202020;
  --ink-2: #343434;
  --muted: #5B5650;
  --line: #F0E3D1;
  --line-strong: #E6D5BE;
  --navy: #111C28;              /* footer */
  --roots-ink: #16396B;         /* navy headings (Protect Our Faith + Donate pages, logo) */
  --tint: #FDEEDD;              /* soft orange circle behind icons */

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(122, 72, 24, .06);
  --shadow: 0 10px 30px rgba(122, 72, 24, .09);
  --shadow-lg: 0 18px 48px rgba(90, 48, 12, .14);

  --header-h: 92px;
  --container: 1200px;
  --gutter: 24px;
  --section-y: 96px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--saffron-deep); text-decoration: none; }
a:hover { color: var(--saffron); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 .5em;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.2rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- 3. Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(980px + var(--gutter) * 2); }
.section { padding: var(--section-y) 0; position: relative; }
.section--tight { padding-top: calc(var(--section-y) * .6); }
.section--white { background: var(--white); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* Decorative mandala (very subtle) */
.ornament {
  position: absolute; pointer-events: none; z-index: 0;
  width: 360px; aspect-ratio: 1;
  background: url('../assets/images/mandala.svg') center / contain no-repeat;
  opacity: .22;
}
.section > .container { position: relative; z-index: 1; }

/* ---------- 4. Components ---------- */

/* Section heading */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--saffron-deep);
  margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { color: var(--muted); margin: 0; }

.lead { font-size: 1.075rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600; line-height: 1;
  border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(180deg, var(--saffron) 0%, var(--saffron-deep) 100%);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(201, 71, 8, .24);
}
.btn--primary:hover { color: var(--white); box-shadow: 0 10px 24px rgba(201, 71, 8, .32); }

.btn--secondary {
  background: var(--white); color: var(--ink);
  border-color: var(--line); box-shadow: var(--shadow-sm);
}
.btn--secondary:hover { color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow); }
.btn--secondary .icon--play { width: 24px; height: 24px; color: var(--saffron); }

.btn--light { background: var(--white); color: var(--ink); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.btn--light:hover { color: var(--ink); }
.btn--light .icon { color: var(--saffron-deep); }

.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9rem; }
.btn--block { width: 100%; }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Icon badge (soft circle) */
.badge {
  width: 64px; height: 64px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #FFF3E6 0%, var(--tint) 100%);
  color: var(--saffron);
  box-shadow: inset 0 0 0 1px rgba(217, 154, 53, .18);
}
.badge .icon { width: 30px; height: 30px; }
.badge--sm { width: 46px; height: 46px; }
.badge--sm .icon { width: 22px; height: 22px; }

/* Rounded media */
.media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--beige); }
.media img { width: 100%; height: 100%; object-fit: cover; }

/* Process steps (shared by Home + How It Works) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; counter-reset: step; }
.step {
  position: relative;
  text-align: center;
  padding: 32px 22px 30px;
}
.step .badge { margin: 0 auto 18px; }
.step__num { display: block; font-weight: 700; font-size: .95rem; color: var(--saffron-deep); letter-spacing: .04em; margin-bottom: 4px; }
.step :is(h2, h3) { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: .94rem; color: var(--muted); margin: 0; line-height: 1.6; }
/* connecting arrow between cards */
.step:not(:last-child)::after {
  content: '';
  position: absolute; top: 62px; right: -38px;
  width: 32px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 12' fill='none' stroke='%23E85A0C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h29M25 1.5 30 6l-5 4.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.steps--lg .step { padding: 40px 24px 36px; border-radius: var(--radius-lg); }
.steps--lg .badge { width: 84px; height: 84px; }
.steps--lg .badge .icon { width: 38px; height: 38px; }
.steps--lg .step:not(:last-child)::after { top: 76px; }
.steps--lg .step__num { font-family: var(--font-serif); font-size: 1.5rem; color: var(--saffron-deep); margin-bottom: 6px; }
.steps--lg .step :is(h2, h3) { font-size: 1.3rem; }
.steps--lg .step p { font-size: 1rem; }

/* Value / feature tiles */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { text-align: center; padding: 30px 18px; }
.value-card .badge { margin: 0 auto 14px; }
.value-card h3 { font-size: 1.08rem; margin: 0; }

/* Inline icon list */
.icon-list li { display: flex; gap: 14px; align-items: flex-start; }
.icon-list li + li { margin-top: 16px; }
.icon-list .icon { color: var(--saffron); margin-top: 2px; }

/* ---------- 5. Header ---------- */
#site-header { min-height: var(--header-h); } /* reserves space before JS renders */

.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: #FEFDF8;            /* same warm white as the logo image, so the logo has no visible box */
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(90, 50, 15, .08); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--roots-ink); flex: none; line-height: 1; }
.logo:hover { color: var(--roots-ink); }
.logo__mark { color: var(--saffron); display: grid; }
.logo__mark .icon { width: var(--logo-mark); height: var(--logo-mark); stroke-width: 1.3; }
.logo__words { display: flex; flex-direction: column; gap: 5px; }
.logo__text { font-family: var(--font-serif); font-weight: 700; font-size: var(--logo-text); line-height: 1.05; letter-spacing: -.005em; white-space: nowrap; }
.logo__text--serif { font-family: var(--font-serif); }
.logo__text--sans { font-family: var(--font-sans); }
.logo__text--regular { font-weight: 400; }
.logo__text--bold { font-weight: 700; }
.logo__text--20 { font-size: 20px; }
.logo__text--22 { font-size: 22px; }
.logo__text--24 { font-size: 24px; }
.logo__text--26 { font-size: 26px; }
.logo__text--28 { font-size: 28px; }
.logo__text--30 { font-size: 30px; }
.logo__tagline { font-family: var(--font-sans); font-size: calc(var(--logo-text) * .43); font-weight: 500; letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.logo__dot { color: var(--saffron); }
/* Uploaded logo: fixed height, natural width — never stretched */
.logo__img { height: var(--logo-img); width: auto; max-width: min(320px, 64vw); object-fit: contain; }
/* Logo images usually have a light background: give it a soft light plate on the dark footer */
.logo--light .logo__img { background: #FEFDF8; border-radius: 10px; padding: 6px 12px; box-sizing: content-box; }
/* Logo sizes (Admin → Header, footer & colours → Logo size) */
.logo, .logo--lg { --logo-mark: 54px; --logo-text: 1.62rem; --logo-img: 78px; }
.logo--md { --logo-mark: 44px; --logo-text: 1.36rem; --logo-img: 64px; }
.logo--xl { --logo-mark: 62px; --logo-text: 1.86rem; --logo-img: 86px; }
.logo--light .logo__dot { color: var(--gold); }
.logo--light { color: #fff; }
.logo--light:hover { color: #fff; }
.logo--light .logo__mark { color: var(--gold); }
.logo--light .logo__tagline { color: rgba(255, 255, 255, .72); }

.nav { margin-left: auto; display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative; display: block; padding: 6px 0; white-space: nowrap;
  font-size: .9rem; font-weight: 500; color: var(--ink-2);
}
.nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--saffron); border-radius: 2px;
  transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--saffron-deep); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--saffron-deep); }
.nav__cta { border-radius: var(--radius-sm); padding: 0 22px; }
.nav__cta .icon { width: 18px; height: 18px; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--white); color: var(--ink);
  place-items: center; cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; stroke-width: 1.8; }
.nav-toggle__close { display: none; }
.site-header.is-open .nav-toggle__open { display: none; }
.site-header.is-open .nav-toggle__close { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); padding: 72px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer__tagline { margin: 18px 0 22px; font-size: .98rem; line-height: 1.7; }
.footer__social { display: flex; gap: 12px; }
.social {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .08); color: #fff;
  transition: background-color .25s, transform .25s var(--ease);
}
.social .icon { width: 20px; height: 20px; }
.social:hover { color: #fff; transform: translateY(-2px); background: var(--saffron); }
.footer__title { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: #fff; margin-bottom: 18px; }
.footer__links li + li { margin-top: 10px; }
.footer__links a { color: rgba(255, 255, 255, .74); font-size: .95rem; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: 56px; padding-top: 22px; padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center; font-size: .88rem; color: rgba(255, 255, 255, .6);
}
.footer__bottom p { margin: 0; }

/* ---------- 6. Home ---------- */

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(600px, calc(100vh - var(--header-h)), 760px);
  display: flex; align-items: center;
  background: var(--cream);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media { overflow: hidden; }
.hero__media img, .hero__video {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
}
/* Slow, gentle drift on the hero photo (disabled for reduced motion) */
.hero__media img { transform-origin: 78% 50%; animation: hero-drift 16s ease-in-out infinite alternate; will-change: transform; }
@keyframes hero-drift {
  from { transform: scale(1.0) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-2%, -1.2%, 0); }
}

/* Motion layer above the photo (below the text) */
.hero__fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.hero__glow {
  position: absolute; left: 17%; top: -25%; width: 70%; height: 95%;
  background: radial-gradient(closest-side, rgba(255, 214, 140, .75), rgba(255, 170, 70, .28) 45%, rgba(255, 170, 70, 0) 75%);
  mix-blend-mode: screen;
  animation: hero-glow 6s ease-in-out infinite alternate;
}
@keyframes hero-glow {
  from { opacity: .45; transform: scale(.95); }
  to   { opacity: .95; transform: scale(1.08); }
}
.hero__waterfall {
  position: absolute; left: 74.5%; top: 38%; width: 2.4%; height: 39%;
  overflow: hidden; opacity: .5; transform: rotate(-1deg); filter: blur(.7px);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 9%, #000 82%, transparent 100%);
}
.hero__waterfall::before {
  content: ''; position: absolute; inset: -36px 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.28) 18%, rgba(255,255,255,.86) 42%, rgba(255,255,255,.24) 62%, transparent 100%),
    repeating-linear-gradient(180deg, transparent 0 13px, rgba(255,255,255,.78) 16px, transparent 19px 34px);
  background-size: 100% 100%, 100% 68px;
  animation: waterfall-flow 6.5s linear infinite;
}
.hero__waterfall::after {
  content: ''; position: absolute; left: -110%; right: -110%; bottom: 7%; height: 12px;
  background: radial-gradient(ellipse, rgba(255,255,255,.7), rgba(255,255,255,.16) 42%, transparent 72%);
  animation: waterfall-splash 4s ease-in-out infinite alternate;
}
@keyframes waterfall-flow {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 0, 0 68px; }
}
@keyframes waterfall-splash {
  from { opacity: .22; transform: scaleX(.82); }
  to { opacity: .52; transform: scaleX(1.08); }
}
.hero__shimmer {
  position: absolute; left: -10%; right: -10%; bottom: 0; height: 45%;
  background:
    repeating-linear-gradient(180deg, rgba(255, 236, 190, 0) 0 9px, rgba(255, 236, 190, .7) 12px, rgba(255, 236, 190, 0) 16px 38px),
    repeating-linear-gradient(177deg, rgba(255, 220, 150, 0) 0 15px, rgba(255, 220, 150, .5) 20px, rgba(255, 220, 150, 0) 25px 61px);
  mix-blend-mode: soft-light;
  filter: blur(2.5px);
  -webkit-mask-image: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 60%, transparent 100%);
  mask-image: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 60%, transparent 100%);
  animation: hero-shimmer 5s ease-in-out infinite alternate;
}
@keyframes hero-shimmer {
  from { background-position: 0 0, 0 0; transform: skewY(0deg); opacity: .25; }
  to   { background-position: 0 38px, 0 -61px; transform: skewY(-1deg); opacity: .55; }
}
.hero__embers i {
  position: absolute; bottom: -12px; left: var(--x);
  width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle, #FFF3C4 0%, #FFC25A 45%, rgba(255, 150, 40, 0) 72%);
  box-shadow: 0 0 14px 4px rgba(255, 190, 90, .7), 0 0 3px 1px rgba(255, 245, 210, .9);
  opacity: 0;
  animation: hero-ember var(--t) ease-in infinite;
  animation-delay: var(--d);
}
@keyframes hero-ember {
  0%   { transform: translate3d(0, 0, 0); opacity: 0; }
  12%  { opacity: .95; }
  70%  { opacity: .7; }
  100% { transform: translate3d(var(--dx), -78vh, 0); opacity: 0; }
}
/* Optional background video fades in over the photo once it starts playing */
.hero__video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__media.has-video .hero__video { opacity: 1; }
.hero__media.has-video img { animation: none; }
.hero__media.has-video .hero__shimmer { display: none; }
.hero__media::after { z-index: 1; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 248, 237, .97) 0%, rgba(255, 248, 237, .9) 28%, rgba(255, 248, 237, .45) 48%, rgba(255, 248, 237, 0) 64%),
    linear-gradient(0deg, rgba(255, 248, 237, .55) 0%, rgba(255, 248, 237, 0) 22%);
}
.hero__inner { width: 100%; padding-top: 56px; padding-bottom: 56px; }
.hero__content, .hero__trust { position: relative; z-index: 1; }
.hero__content { max-width: 560px; }
.hero__eyebrow { font-size: 1.05rem; font-weight: 500; color: var(--ink); line-height: 1.5; margin-bottom: 18px; }
.hero__title {
  font-size: clamp(3.2rem, 6.4vw, 5.4rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -.015em;
  margin-bottom: 26px;
  color: var(--saffron-deep);
  background: linear-gradient(180deg, #DE520B 0%, #B8400A 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__title span { display: block; }
.hero__text { font-size: 1.12rem; color: var(--ink-2); max-width: 500px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__trust { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 36px; margin-top: 44px; max-width: 580px; }

.trust { text-align: center; max-width: 132px; }
.trust .icon { width: 34px; height: 34px; color: var(--saffron); stroke-width: 1.4; margin: 0 auto 8px; display: block; }
.trust span { display: block; font-size: .84rem; font-weight: 500; line-height: 1.35; color: var(--ink-2); }

/* Service intro */
.service__media { aspect-ratio: 16 / 10.5; }
.service__body h2 { margin-bottom: 18px; }
.service__body p { color: var(--muted); font-size: 1.05rem; margin-bottom: 28px; }
.service .ornament { right: -120px; top: 30px; }

/* Event preview */
.event-preview { overflow: hidden; }
.event-preview__bg {
  position: absolute; left: 0; bottom: 0; width: 34%; height: 78%; z-index: 0;
  background: url('../assets/images/temple-side.jpg') 50% 40% / cover no-repeat;
  opacity: .55;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%), linear-gradient(0deg, #000 60%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%), linear-gradient(0deg, #000 60%, transparent 100%);
  mask-composite: intersect;
}
.event-preview .ornament { right: -110px; bottom: -40px; }

.event-card {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 36px;
  padding: 20px; max-width: 1000px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.event-card__media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 280px; background: var(--beige); }
.event-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.event-card__body { padding: 14px 14px 14px 0; display: flex; flex-direction: column; }
.event-card__name { font-size: 1.6rem; color: var(--saffron-deep); margin-bottom: 10px; }
.event-card__desc { color: var(--muted); margin-bottom: 18px; }
.event-meta li { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; }
.event-meta li + li { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.event-meta .icon { color: var(--saffron); width: 22px; height: 22px; margin-top: 1px; }
.event-meta strong { color: var(--ink); font-weight: 600; margin-right: 4px; }
.event-card__cta { margin-top: auto; padding-top: 22px; display: flex; justify-content: flex-end; }

/* Emotional CTA banner */
.cta-banner {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 88px 0;
  background: #3A1606;
  color: #fff;
}
.cta-banner__bg { position: absolute; inset: 0; z-index: -1; }
.cta-banner__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
.cta-banner__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(58, 20, 4, .25) 0%, rgba(74, 26, 6, .72) 45%, rgba(62, 21, 5, .9) 100%);
}
.cta-banner__content { margin-left: auto; max-width: 600px; text-align: center; }
.cta-banner h2 { color: #FFE9C7; font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 10px; }
.cta-banner p { font-size: 1.1rem; color: rgba(255, 255, 255, .88); margin-bottom: 28px; }

/* ---------- 7. Inner pages ---------- */

/* Image banner (About / Event / Contact) */
.page-banner {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 340px; display: grid; place-items: center;
  padding: 64px 0; text-align: center; color: #fff;
  background: #3A1B0B;
}
.page-banner__bg { position: absolute; inset: 0; z-index: -1; }
.page-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-banner__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(60, 24, 6, .22) 0%, rgba(58, 22, 5, .5) 100%);
}
.page-banner h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 12px; text-shadow: 0 2px 20px rgba(40, 14, 2, .55); }
.page-banner p { text-shadow: 0 1px 12px rgba(40, 14, 2, .6); }
.page-banner p { font-size: 1.1rem; color: rgba(255, 255, 255, .92); margin: 0 auto; max-width: 620px; }

/* Plain cream page intro (How It Works / Booking) */
.page-intro {
  position: relative; text-align: center;
  padding: 72px 0 8px;
  background: radial-gradient(120% 90% at 50% 0%, #FFF1DF 0%, var(--cream) 60%);
}
.page-intro h1 { margin-bottom: 10px; }
.page-intro p { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* About */
.purpose__media { aspect-ratio: 5 / 4; }
.purpose__body p { color: var(--muted); font-size: 1.04rem; }
.about-values { margin-top: 64px; }

/* How it works — what you need */
.provide { padding: 44px 32px; margin-top: 72px; }
.provide h2 { text-align: center; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: #6B2A08; margin-bottom: 32px; }
.provide__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.provide__item { text-align: center; padding: 8px 18px; }
.provide__item + .provide__item { border-left: 1px solid var(--line); }
.provide__item .badge { margin: 0 auto 14px; }
.provide__item p { margin: 0; font-weight: 500; color: var(--ink-2); line-height: 1.45; }
.provide__item small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; }
.center-cta { text-align: center; margin-top: 48px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details + details { margin-top: 14px; }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px; font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--tint); color: var(--saffron-deep);
  font-size: 1.25rem; font-weight: 500; line-height: 1; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* Event page */
.event-detail { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 28px; box-shadow: var(--shadow); }
.event-detail__media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--beige); }
.event-detail__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.event-detail__body { padding: 12px 8px 12px 0; }
.event-detail__body h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 14px; }
.event-facts { margin: 26px 0 30px; }
.event-facts li { display: grid; grid-template-columns: 46px 110px 1fr; gap: 14px; align-items: center; }
.event-facts li + li { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.event-facts dt, .event-facts .label { font-weight: 600; color: var(--ink); }
.event-facts .value { color: var(--muted); }
.event-about { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.event-about h3 { font-size: 1.25rem; }
.event-about p { color: var(--muted); }

/* Booking */
.booking-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 32px; align-items: start; }
.form-card { padding: 36px; }
.info-card { padding: 30px 28px 28px; background: linear-gradient(180deg, #FFFCF7 0%, #FFF6EA 100%); position: sticky; top: calc(var(--header-h) + 24px); }
.info-card__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; margin-bottom: 22px; }
.info-card__title .icon { color: var(--saffron); width: 28px; height: 28px; }
.info-card .icon-list li { font-size: .97rem; color: var(--ink-2); line-height: 1.55; }
.info-card__media { margin-top: 28px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.info-card__media img { width: 100%; height: 100%; object-fit: cover; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; }
.contact-info { padding: 34px 30px; }
.contact-info h2, .form-card h2 { font-size: 1.6rem; margin-bottom: 6px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; }
.form-card__intro { margin-bottom: 24px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.contact-list li + li { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-list .label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); }
.contact-list .value { display: block; font-size: 1rem; color: var(--ink-2); word-break: break-word; }
.contact-list a.value { color: var(--ink-2); }
.contact-list a.value:hover { color: var(--saffron-deep); }
.whatsapp-cta { margin-top: 28px; }
.btn--whatsapp { background: #1E8E4E; color: #fff; box-shadow: 0 6px 16px rgba(30, 142, 78, .25); }
.btn--whatsapp:hover { color: #fff; background: #197A43; }

/* Legal pages */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--radius-sm);
  background: #FFF1DF; border: 1px solid #F3D4AE; color: #6B2A08; font-size: .95rem;
}
.notice .icon { color: var(--saffron-deep); margin-top: 2px; }

/* ---------- 8. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .field--full { grid-column: 1 / -1; }
.field { margin-bottom: 18px; }
.field label, .field .label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--saffron-deep); }
.optional { font-weight: 400; color: var(--muted); }

.input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: #FFFDF9; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: #8C857D; }
.input:hover { border-color: #DCC6A7; }
.input:focus { outline: none; border-color: var(--saffron); background: #fff; box-shadow: 0 0 0 4px rgba(232, 90, 12, .12); }
textarea.input { min-height: 120px; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23343434' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.field.has-error .input, .field.has-error .upload__zone { border-color: #C0341D; background-color: #FFF8F6; }
.field__error { display: block; min-height: 0; font-size: .85rem; color: #B42A14; margin-top: 6px; }
.field__error:empty { display: none; }
.field__hint { display: block; font-size: .84rem; color: var(--muted); margin-top: 6px; }

/* Upload */
.upload { position: relative; }
.upload__zone {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  gap: 6px; min-height: 150px; padding: 24px;
  border: 1.5px dashed #D8BE9A; border-radius: var(--radius);
  background: #FFFAF3; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.upload__zone:hover, .upload.is-drag .upload__zone { border-color: var(--saffron); background: #FFF3E6; }
.upload input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload input[type="file"]:focus-visible + .upload__zone { outline: 3px solid var(--gold); outline-offset: 3px; }
.upload__zone .badge { width: 52px; height: 52px; }
.upload__zone .badge .icon { width: 24px; height: 24px; }
.upload__zone strong { font-weight: 600; color: var(--ink); font-size: .98rem; }
.upload__zone strong span { color: var(--saffron-deep); }
.upload__zone small { color: var(--muted); font-size: .85rem; }
.upload__preview { display: none; align-items: center; gap: 14px; }
.upload__preview img { width: 64px; height: 64px; border-radius: var(--radius-sm); object-fit: cover; box-shadow: var(--shadow-sm); }
.upload__preview span { display: block; text-align: left; }
.upload__name { font-weight: 600; color: var(--ink); word-break: break-all; font-size: .95rem; }
.upload__change { font-size: .85rem; color: var(--saffron-deep); }
.upload.has-file .upload__prompt { display: none; }
.upload.has-file .upload__preview { display: flex; }

.form__note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form__status { font-size: .95rem; margin-top: 14px; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-error { color: #B42A14; }
.form__status.is-success { color: #1E7A45; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form__success { text-align: center; padding: 28px 8px; }
.form__success:focus { outline: none; }
.form__success .badge { width: 76px; height: 76px; margin: 0 auto 18px; }
.form__success .badge .icon { width: 36px; height: 36px; }
.form__success h2 { font-size: 1.7rem; }
.form__success p { color: var(--muted); max-width: 440px; margin: 0 auto 22px; }

/* Video modal */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: rgba(17, 28, 40, .82); }
.modal__box { position: relative; width: min(960px, 100%); }
.modal__video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.modal__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__close {
  position: absolute; top: -52px; right: 0; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: 0; cursor: pointer; background: #fff; color: var(--ink);
}

/* ---------- 9. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover { transform: none; }
  .hero__media img { animation: none; transform: none; }
  .hero__fx { display: none; }
}
