:root {
  --saffron: #ff9933;
  --saffron-deep: #e85d04;
  --gold: #d4941e;
  --gold-light: #f6c453;
  --maroon: #7a1f0c;
  --maroon-deep: #5c1508;
  --cream: #fff9ef;
  --cream-deep: #ffefd6;
  --ink: #2b1608;
  --ink-soft: #6b4a2e;
  --white: #ffffff;
  --wa-green: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(122, 31, 12, 0.1);
  --font-head: "Marcellus", Georgia, serif;
  --font-body: "Mulish", "Segoe UI", sans-serif;
  --font-om: "Yatra One", "Noto Sans Devanagari", serif;
}

html[data-theme="dark"] {
  --cream: #1c0f06;
  --cream-deep: #2a1709;
  --white: #2e1a0c;
  --ink: #f3e3cd;
  --ink-soft: #c9a97f;
  --maroon: #f0b46a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .header { background: rgba(28, 15, 6, 0.94); border-bottom-color: #4a2d15; }
html[data-theme="dark"] .card,
html[data-theme="dark"] .video-card,
html[data-theme="dark"] .pujari-card { border-color: #4a2d15; }
html[data-theme="dark"] .about-media { background: linear-gradient(160deg, #2a1709, #3a2210); border-color: #4a2d15; }
html[data-theme="dark"] .about-body p { color: #d9bd98; }
html[data-theme="dark"] .gallery img { border-color: #3a2210; }
html[data-theme="dark"] .nav a { color: var(--ink); }
html[data-theme="dark"] .btn-line { color: var(--gold-light); }
html[data-theme="dark"] .form-field input,
html[data-theme="dark"] .form-field textarea { background: #241309; border-color: #4a2d15; color: var(--ink); }
html[data-theme="dark"] .newsletter input { background: #241309; border-color: #4a2d15; color: var(--ink); }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

.om { font-family: var(--font-om); }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.25; }

.ic { width: 20px; height: 20px; }
.ic-lg { width: 40px; height: 40px; color: var(--saffron-deep); }

/* ===== buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px;
  font-family: var(--font-body); font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-solid {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: var(--white); box-shadow: 0 6px 18px rgba(232, 93, 4, 0.35);
}
.btn-solid:hover { background: linear-gradient(135deg, var(--saffron-deep), var(--maroon)); box-shadow: 0 8px 22px rgba(122, 31, 12, 0.4); }
.btn-solid .ic { fill: currentColor; }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: var(--white); border-color: rgba(255, 255, 255, 0.75); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.28); }
.btn-line { background: transparent; color: var(--maroon); border-color: var(--gold); font-size: 14px; padding: 10px 22px; }
.btn-line:hover { background: var(--gold); color: var(--white); }

.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 3px solid var(--saffron-deep); outline-offset: 2px; }

/* ===== topbar ===== */
.topbar {
  background: var(--maroon); color: var(--cream-deep);
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  padding: 8px 16px; font-size: 13.5px; text-align: center;
}
.topbar a { color: var(--gold-light); font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* ===== header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 20px;
  padding: 12px clamp(16px, 4vw, 48px);
  background: rgba(255, 249, 239, 0.94); backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--gold-light);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-icon { width: 54px; height: 54px; }
.brand-name { display: block; font-family: var(--font-head); font-size: 22px; color: var(--maroon); letter-spacing: 0.3px; }
.brand-tag { display: block; font-size: 11px; letter-spacing: 2.5px; color: var(--saffron-deep); text-transform: uppercase; font-weight: 700; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.nav a:hover { color: var(--saffron-deep); border-bottom-color: var(--saffron-deep); }
.nav-toggle { display: none; background: none; border: none; color: var(--maroon); cursor: pointer; padding: 8px; }
.nav-toggle .ic { width: 28px; height: 28px; }

/* ===== hero ===== */
.hero {
  position: relative; min-height: 82vh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background-image:
    linear-gradient(180deg, rgba(43, 15, 4, 0.55) 0%, rgba(92, 21, 8, 0.35) 55%, rgba(43, 15, 4, 0.7) 100%),
    url("../assets/hero.png");
  background-color: #a43a08;
  background-size: cover;
  background-position: center;
}
.hero-inner { max-width: 820px; padding: 96px 20px; color: var(--white); }
.hero-kicker { font-size: 17px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; color: var(--gold-light); margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5.5vw, 58px); margin-bottom: 20px; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45); }
.hero-sub { font-size: clamp(16px, 2vw, 19px); max-width: 640px; margin: 0 auto 34px; color: #ffeed2; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== benefits ===== */
.benefits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1180px; margin: -56px auto 0; position: relative; z-index: 2;
  padding: 0 20px;
}
.benefit {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 4px solid var(--saffron); padding: 26px 22px; text-align: center;
}
.benefit h3 { font-size: 17px; color: var(--maroon); margin: 12px 0 6px; }
.benefit p { font-size: 14px; color: var(--ink-soft); }

/* ===== sections ===== */
.section { max-width: 1180px; margin: 0 auto; padding: 84px 20px 72px; }
.section-tint { max-width: none; background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); }
.section-tint > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.section-kicker { text-align: center; letter-spacing: 3.5px; text-transform: uppercase; font-weight: 700; font-size: 13px; color: var(--saffron-deep); margin-bottom: 10px; }
.section-title { text-align: center; font-size: clamp(28px, 4vw, 40px); color: var(--maroon); margin-bottom: 14px; }
.section-sub { text-align: center; max-width: 640px; margin: 0 auto 46px; color: var(--ink-soft); }

/* ===== about ===== */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.about-media {
  background: linear-gradient(160deg, var(--cream-deep), #ffe0ac);
  border: 2px solid var(--gold-light); border-radius: var(--radius);
  padding: 44px 30px; text-align: center; box-shadow: var(--shadow);
}
.about-media { padding: 0; overflow: hidden; }
.about-photo { width: 100%; height: 280px; object-fit: cover; }
.about-quote { font-family: var(--font-head); font-size: 21px; color: var(--maroon); padding: 22px 24px; }
.about-body .section-kicker, .about-body h2 { text-align: left; }
.about-body h2 { font-size: clamp(28px, 3.5vw, 38px); color: var(--maroon); margin-bottom: 18px; }
.about-body p { margin-bottom: 16px; color: #4a2f18; }
.about-body strong { color: var(--maroon); }

/* ===== cards ===== */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #f3dfc0;
  display: flex; flex-direction: column;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.card:hover { box-shadow: 0 16px 40px rgba(122, 31, 12, 0.18); border-color: var(--gold); }
.card-art {
  height: 150px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-om); font-size: 54px; color: rgba(255, 255, 255, 0.9);
}
.card-art span { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25); }
.art-1 { background: linear-gradient(135deg, #ff9933, #e85d04); }
.art-2 { background: linear-gradient(135deg, #e85d04, #b8360f); }
.art-3 { background: linear-gradient(135deg, #d4941e, #a86a00); }
.art-4 { background: linear-gradient(135deg, #b8360f, #7a1f0c); }
.art-5 { background: linear-gradient(135deg, #f6c453, #d4941e); }
.art-6 { background: linear-gradient(135deg, #7a1f0c, #5c1508); }
.peda-1, .peda-3, .peda-5 { background: linear-gradient(135deg, #f6c453, #e89b2b); font-size: 30px; letter-spacing: 2px; }
.peda-2, .peda-4, .peda-6 { background: linear-gradient(135deg, #e89b2b, #c46a10); font-size: 30px; letter-spacing: 2px; }
.card-img { width: 100%; height: 230px; object-fit: contain; background: linear-gradient(135deg, #fdeed3, #f6dcae); }
html[data-theme="dark"] .card-img { background: linear-gradient(135deg, #241309, #3a2210); }
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 20px; color: var(--maroon); }
.card-body p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.card-body .btn { align-self: flex-start; margin-top: auto; }
.price { font-family: var(--font-head); font-size: 24px; color: var(--saffron-deep); }
.price span { font-size: 14px; color: var(--ink-soft); font-family: var(--font-body); }

/* ===== timeline graphic ===== */
.timeline-img {
  display: block; max-width: 900px; width: 100%;
  margin: 44px auto 0; border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ===== darshan banner ===== */
.darshan-banner {
  margin-top: 44px; padding: 30px 34px;
  background: linear-gradient(120deg, var(--maroon), #a43a08);
  border-radius: var(--radius); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
}
.darshan-banner h3 { font-size: 23px; color: var(--gold-light); margin-bottom: 6px; }
.darshan-banner p { color: #ffeed2; font-size: 15px; max-width: 560px; }
.darshan-banner .btn { flex-shrink: 0; }

/* ===== videos ===== */
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; }
.video-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #f3dfc0;
}
.video-card video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: #241006; }
.video-card figcaption {
  font-family: var(--font-head); font-size: 18px; color: var(--maroon);
  padding: 16px 20px; text-align: center;
}

/* ===== pujaris ===== */
.pujari-grid { margin-top: 44px; }
.pujari-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #f3dfc0;
}
.pujari-card img { width: 100%; height: 340px; object-fit: contain; background: linear-gradient(135deg, #fdeed3, #f6dcae); }
html[data-theme="dark"] .pujari-card img { background: linear-gradient(135deg, #241309, #3a2210); }
.pujari-card figcaption {
  font-family: var(--font-head); font-size: 17px; color: var(--maroon);
  padding: 14px 18px; text-align: center; border-top: 3px solid var(--gold-light);
}

/* ===== devotee gallery ===== */
.gallery {
  display: flex; gap: 18px; overflow-x: auto; margin-top: 44px;
  padding-bottom: 14px; scroll-snap-type: x mandatory;
}
.gallery img {
  height: 280px; width: auto; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 3px solid var(--white);
  scroll-snap-align: start; flex-shrink: 0;
}
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-track { background: var(--cream-deep); border-radius: 4px; }
.gallery::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }

/* ===== steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.step { text-align: center; padding: 0 10px; }
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: var(--white); font-family: var(--font-head); font-size: 24px;
  box-shadow: 0 6px 16px rgba(232, 93, 4, 0.35); margin-bottom: 16px;
}
.step h3 { font-size: 18px; color: var(--maroon); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-soft); }

/* ===== reach ===== */
.reach-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 4px solid var(--saffron); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 30px 26px;
}
.reach-card h3 { font-size: 20px; color: var(--maroon); margin: 14px 0 8px; }
.reach-card p { font-size: 14.5px; color: var(--ink-soft); }
.reach-grid { margin-top: 44px; }

/* ===== contact ===== */
.section-contact { max-width: none; background: linear-gradient(160deg, var(--maroon-deep), var(--maroon) 55%, #a43a08); }
.section-contact .section-kicker { color: var(--gold-light); }
.section-contact .section-title { color: var(--cream); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1040px; margin: 44px auto 0; }
.contact-card {
  background: rgba(255, 249, 239, 0.08); border: 1px solid rgba(246, 196, 83, 0.45);
  border-radius: var(--radius); padding: 30px 24px; text-align: center;
  color: var(--cream); text-decoration: none; display: block;
  transition: background-color 0.2s, border-color 0.2s;
}
a.contact-card:hover { background: rgba(255, 249, 239, 0.16); border-color: var(--gold-light); }
.contact-card .ic-lg { color: var(--gold-light); margin: 0 auto; }
.contact-card h3 { font-size: 18px; color: var(--gold-light); margin: 12px 0 6px; }
.contact-card p { font-size: 15.5px; }

/* ===== footer ===== */
.footer { background: #241006; color: #e8cfae; padding: 56px 20px 0; }
.footer-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 44px; padding-bottom: 40px; }
.footer-logo { width: 72px; margin-bottom: 14px; }
.footer-name { font-family: var(--font-head); font-size: 22px; color: var(--gold-light); margin-bottom: 10px; }
.footer p, .footer li { font-size: 14.5px; }
.footer h4 { color: var(--gold-light); font-size: 17px; margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer a { color: #e8cfae; text-decoration: none; }
.footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-note { border-top: 1px solid rgba(246, 196, 83, 0.25); text-align: center; padding: 20px 10px 26px; font-size: 13px; color: #b8946a; }
.footer-note p { font-size: 13px; margin-bottom: 6px; }

/* ===== floating whatsapp ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa-green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: box-shadow 0.2s, background-color 0.2s;
}
.wa-float:hover { background: #1eb958; box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6); }
.wa-float svg { width: 32px; height: 32px; }

/* ===== theme toggle ===== */
.theme-toggle {
  background: none; border: 2px solid var(--gold-light); border-radius: 50%;
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  color: var(--maroon); cursor: pointer; flex-shrink: 0;
  transition: background-color 0.2s, color 0.2s;
}
.theme-toggle:hover { background: var(--gold-light); color: var(--maroon-deep); }
.theme-toggle .ic { width: 22px; height: 22px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ===== scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-48px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right { opacity: 0; transform: translateX(48px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: none; }
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}

/* ===== page hero (inner pages) ===== */
.page-hero {
  background:
    linear-gradient(180deg, rgba(43, 15, 4, 0.65), rgba(92, 21, 8, 0.6)),
    url("../assets/temple-crowd.jpg") center / cover no-repeat;
  background-color: #a43a08;
  text-align: center; padding: 96px 20px 80px; color: var(--white);
}
html[data-theme="dark"] .page-hero { color: #fff; }
.page-hero h1 { font-size: clamp(30px, 4.5vw, 46px); color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); margin-bottom: 12px; }
.page-hero p { color: #ffeed2; max-width: 640px; margin: 0 auto; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.breadcrumb { font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; font-weight: 700; }
.breadcrumb a { color: var(--gold-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== values ===== */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.value-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 4px solid var(--gold); padding: 30px 26px; text-align: center;
}
.value-card h3 { font-size: 20px; color: var(--maroon); margin: 14px 0 8px; }
.value-card p { font-size: 14.5px; color: var(--ink-soft); }

/* ===== blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.blog-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #f3dfc0;
  display: flex; flex-direction: column; text-decoration: none;
  transition: box-shadow 0.25s, border-color 0.25s;
}
html[data-theme="dark"] .blog-card { border-color: #4a2d15; }
.blog-card:hover { box-shadow: 0 16px 40px rgba(122, 31, 12, 0.18); border-color: var(--gold); }
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-body .blog-date { font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--saffron-deep); font-weight: 700; }
.blog-card-body h3 { font-size: 19px; color: var(--maroon); line-height: 1.35; }
.blog-card-body p { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.blog-card-body .read-more { color: var(--saffron-deep); font-weight: 700; font-size: 14px; }

/* ===== article ===== */
.article { max-width: 780px; margin: 0 auto; padding: 64px 20px 80px; }
.article h1 { font-size: clamp(30px, 4vw, 42px); color: var(--maroon); margin-bottom: 12px; line-height: 1.25; }
.article .article-meta { font-size: 14px; color: var(--ink-soft); margin-bottom: 28px; }
.article img.article-cover { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 30px; }
.article h2 { font-size: 26px; color: var(--maroon); margin: 36px 0 14px; }
.article h3 { font-size: 20px; color: var(--saffron-deep); margin: 26px 0 10px; }
.article p, .article li { color: var(--ink); margin-bottom: 14px; font-size: 16.5px; }
.article ul, .article ol { padding-left: 24px; margin-bottom: 16px; }
.article .article-cta {
  margin-top: 40px; padding: 26px 30px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--maroon), #a43a08); color: #ffeed2;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.article .article-cta p { color: #ffeed2; margin: 0; }

/* ===== forms ===== */
.form-wrap { max-width: 640px; margin: 44px auto 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; border: 1px solid #f3dfc0; }
html[data-theme="dark"] .form-wrap { border-color: #4a2d15; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 7px; color: var(--maroon); }
.form-field input, .form-field textarea {
  width: 100%; padding: 13px 15px; border: 2px solid #eadbc0; border-radius: 10px;
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink); background: var(--cream);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--saffron); }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; }
.form-status { margin-top: 14px; font-weight: 700; color: var(--saffron-deep); }

/* ===== map ===== */
.map-wrap { margin-top: 44px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 3px solid var(--white); }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }

/* ===== newsletter ===== */
.newsletter-band { background: linear-gradient(120deg, var(--gold), var(--saffron-deep)); padding: 44px 20px; }
.newsletter { max-width: 720px; margin: 0 auto; text-align: center; }
.newsletter h3 { color: #fff; font-size: 25px; margin-bottom: 6px; }
.newsletter p { color: #fff3dc; font-size: 15px; margin-bottom: 20px; }
.newsletter form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter input {
  flex: 1; min-width: 220px; padding: 13px 17px; border: none; border-radius: 999px;
  font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--ink);
}
.newsletter input:focus { outline: 3px solid var(--maroon); }
.newsletter .btn { background: var(--maroon); color: #ffeed2; }
.newsletter .btn:hover { background: var(--maroon-deep); }
.newsletter .form-status { color: #fff; }

/* ===== footer socials ===== */
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(246, 196, 83, 0.5);
  display: inline-flex; align-items: center; justify-content: center; color: var(--gold-light);
  transition: background-color 0.2s, color 0.2s;
}
.socials a:hover { background: var(--gold-light); color: #241006; }
.socials svg { width: 19px; height: 19px; }

/* ===== puja by life goal ===== */
.goals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.goal-card {
  display: block; text-decoration: none;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid #f3dfc0; border-top: 4px solid var(--saffron);
  padding: 24px 20px; text-align: center;
  transition: box-shadow 0.25s, border-color 0.25s;
}
html[data-theme="dark"] .goal-card { border-color: #4a2d15; border-top-color: var(--saffron); }
.goal-card:hover { box-shadow: 0 14px 34px rgba(122, 31, 12, 0.2); border-color: var(--gold); border-top-color: var(--gold); }
.goal-card h3 { font-size: 18px; color: var(--maroon); margin-bottom: 6px; }
.goal-card p { font-size: 13.5px; color: var(--ink-soft); }
.goal-card .ic-lg { margin: 0 auto 10px; }

/* ===== faq ===== */
.faq-list { max-width: 820px; margin: 44px auto 0; }
.faq-list details {
  background: var(--white); border: 1px solid #f3dfc0; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden;
}
html[data-theme="dark"] .faq-list details { border-color: #4a2d15; }
.faq-list summary {
  font-family: var(--font-head); font-size: 18px; color: var(--maroon);
  padding: 18px 22px; cursor: pointer; list-style: none; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--saffron-deep); font-family: var(--font-body);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p, .faq-list details li { padding: 0 22px; margin-bottom: 14px; color: var(--ink); font-size: 15.5px; }
.faq-list details ul { padding-left: 46px; margin-bottom: 14px; }

/* ===== puja detail pages ===== */
.details-link { display: inline-block; font-weight: 700; font-size: 14px; color: var(--saffron-deep); text-decoration: none; }
.details-link:hover { text-decoration: underline; }
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
.pd-media img.pd-main { width: 100%; height: 420px; object-fit: contain; background: linear-gradient(135deg, #fdeed3, #f6dcae); border-radius: var(--radius); box-shadow: var(--shadow); }
html[data-theme="dark"] .pd-media img.pd-main { background: linear-gradient(135deg, #241309, #3a2210); }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.pd-thumbs img { height: 84px; width: 110px; object-fit: cover; border-radius: 10px; box-shadow: var(--shadow); cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.pd-thumbs img:hover, .pd-thumbs img.active { border-color: var(--gold); }
.pd-body h2 { font-size: clamp(26px, 3vw, 34px); color: var(--maroon); margin-bottom: 14px; }
.pd-body p { color: var(--ink); margin-bottom: 14px; }
.pd-body .pd-benefits { list-style: none; padding: 0; margin: 18px 0 24px; }
.pd-body .pd-benefits li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--ink); }
.pd-body .pd-benefits li::before { content: "\2713"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--saffron); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.included-box { background: var(--white); border: 1px solid #f3dfc0; border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin-top: 8px; }
html[data-theme="dark"] .included-box { border-color: #4a2d15; border-left-color: var(--gold); }
.included-box h3 { font-size: 18px; color: var(--maroon); margin-bottom: 10px; }
.included-box ul { list-style: none; padding: 0; }
.included-box li { padding-left: 24px; position: relative; margin-bottom: 7px; font-size: 14.5px; color: var(--ink-soft); }
.included-box li::before { content: "\2022"; position: absolute; left: 8px; color: var(--saffron-deep); font-weight: 700; }

/* tiers */
.tiers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.tier-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid #f3dfc0; padding: 30px 26px; display: flex; flex-direction: column; }
html[data-theme="dark"] .tier-card { border-color: #4a2d15; }
.tier-card.tier-featured { border: 2px solid var(--gold); position: relative; }
.tier-card.tier-featured::before { content: "Most chosen"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--saffron), var(--saffron-deep)); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 1px; padding: 4px 16px; border-radius: 999px; }
.tier-card h3 { font-size: 21px; color: var(--maroon); margin-bottom: 4px; }
.tier-card .tier-tag { font-size: 13px; color: var(--saffron-deep); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.tier-card ul { list-style: none; padding: 0; flex: 1; margin-bottom: 20px; }
.tier-card li { padding-left: 26px; position: relative; margin-bottom: 9px; font-size: 14.5px; color: var(--ink-soft); }
.tier-card li::before { content: "\2713"; position: absolute; left: 0; color: var(--saffron-deep); font-weight: 700; }
.tier-card .btn { align-self: stretch; justify-content: center; }

/* ===== sticky mobile action bar ===== */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    background: var(--maroon-deep); border-top: 2px solid var(--gold);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .action-bar a {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 10px 4px 8px; color: var(--cream-deep); text-decoration: none;
    font-size: 12.5px; font-weight: 700;
  }
  .action-bar a svg { width: 22px; height: 22px; }
  .action-bar a.ab-book { background: linear-gradient(135deg, var(--saffron), var(--saffron-deep)); color: #fff; }
  body { padding-bottom: 62px; }
  .wa-float { display: none; }
}

/* ===== lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20, 8, 2, 0.93);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); }
.lightbox button {
  position: absolute; background: rgba(255, 249, 239, 0.12); border: 1px solid rgba(246, 196, 83, 0.5);
  color: var(--gold-light); width: 46px; height: 46px; border-radius: 50%;
  font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s;
}
.lightbox button:hover { background: rgba(255, 249, 239, 0.28); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--gold-light); font-size: 14px; letter-spacing: 1px; }
.gallery img { cursor: zoom-in; }

/* ===== legal pages ===== */
.prose { max-width: 820px; margin: 0 auto; padding: 64px 20px 80px; }
.prose h1 { font-size: clamp(30px, 4vw, 40px); color: var(--maroon); margin-bottom: 10px; }
.prose .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 30px; }
.prose h2 { font-size: 23px; color: var(--maroon); margin: 32px 0 12px; }
.prose p, .prose li { margin-bottom: 12px; color: var(--ink); }
.prose ul { padding-left: 24px; }

/* ===== responsive ===== */
@media (max-width: 1020px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .values-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-grid { grid-template-columns: 1fr; gap: 32px; }
  .tiers-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .header-cta { display: none; }
  .timeline-img { display: none; }
  .section { padding: 52px 16px 44px; }
  .page-hero { padding: 60px 16px 48px; }
  .hero-inner { padding: 72px 16px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .darshan-banner { padding: 24px 20px; text-align: center; justify-content: center; }
  .darshan-banner .btn { width: 100%; justify-content: center; }
  .gallery img { height: 220px; }
  .map-wrap iframe { height: 300px; }
  .form-wrap { padding: 24px 18px; }
  .article { padding: 44px 16px 56px; }
  .newsletter form { flex-direction: column; }
  .newsletter input, .newsletter .btn { width: 100%; justify-content: center; }
  .card-img { height: 200px; }
  .pujari-card img { height: 280px; }
  .pd-media img.pd-main { height: 300px; }
  .tier-card { padding: 24px 20px; }
  .video-card figcaption { font-size: 16px; padding: 12px 16px; }
  .contact-card { padding: 22px 18px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; display: none;
    background: var(--cream); border-bottom: 2px solid var(--gold-light);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 24px; border-bottom: 1px solid #f3dfc0; }
  .grid-3 { grid-template-columns: 1fr; }
  .values-grid, .blog-grid { grid-template-columns: 1fr; }
  .goals-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .goal-card { padding: 18px 12px; }
  .goal-card h3 { font-size: 15.5px; }
  .goal-card p { font-size: 12.5px; }
  .goal-card .ic-lg { width: 32px; height: 32px; }
  .article img.article-cover { height: 220px; }
  .benefits { grid-template-columns: 1fr 1fr; margin-top: -40px; }
  .steps { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .topbar { font-size: 12.5px; gap: 6px; }
}

@media (max-width: 460px) {
  .benefits { grid-template-columns: 1fr; }
  .brand-name { font-size: 18px; }
  .brand-icon { width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
