/* ===========================================================
   कृष्णवे धाम फाउंडेशन
   डिज़ाइन भाषा: मंदिर तोरण, ध्वजा, चंदन-कागज़, सिंदूर-हल्दी
   =========================================================== */

/* ---------- 1. टोकन ---------- */
:root {
  /* रंग */
  --sindoor:    #B3200E;
  --sindoor-dk: #8A1608;
  --kesari:     #E0710C;
  --haldi:      #F0B429;
  --haldi-lt:   #FBE3A8;
  --kumkum:     #5E1210;
  --kumkum-dp:  #3D0C0A;
  --tulsi:      #17564A;
  --tulsi-lt:   #2E7D6B;

  --chandan:    #FDF7E9;
  --chandan-dk: #F6EAD2;
  --paper:      #FFFFFF;

  --ink:        #2A1A10;
  --ink-soft:   #6E5949;
  --line:       #E5D5B8;

  --wa:         #1FA855;

  /* टाइप */
  --f-display: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari', Georgia, serif;
  --f-body:    'Mukta', 'Noto Sans Devanagari', system-ui, sans-serif;
  --f-num:     'Poppins', system-ui, sans-serif;

  /* स्केल */
  --wrap: 1180px;
  --gap: 24px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --shadow-sm: 0 2px 10px rgba(94, 18, 16, .07);
  --shadow-md: 0 10px 30px rgba(94, 18, 16, .11);
  --shadow-lg: 0 22px 55px rgba(94, 18, 16, .16);
}

/* ---------- 2. रीसेट ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--chandan);
  background-image:
    radial-gradient(circle at 12% 8%,  rgba(240,180,41,.10) 0, transparent 42%),
    radial-gradient(circle at 88% 30%, rgba(179,32,14,.06) 0, transparent 38%);
  background-attachment: fixed;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--sindoor); text-decoration: none; transition: color .2s; }
a:hover { color: var(--kesari); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.45;
  color: var(--kumkum);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; color: var(--kumkum); }

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

.wrap { width: min(100% - 36px, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- 3. ध्वजा पट्टी (हस्ताक्षर तत्व) ---------- */
.dhwaja {
  height: 16px;
  background:
    repeating-linear-gradient(90deg,
      var(--sindoor) 0 22px,
      var(--haldi)   22px 44px,
      var(--kesari)  44px 66px);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16'%3E%3Cpath d='M0 0h22v6L11 16 0 6Z' fill='%23000'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='16'%3E%3Cpath d='M0 0h22v6L11 16 0 6Z' fill='%23000'/%3E%3C/svg%3E");
  -webkit-mask-size: 22px 16px;
  mask-size: 22px 16px;
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
}

/* ---------- 4. टॉप बार ---------- */
.topbar {
  background: linear-gradient(100deg, var(--kumkum-dp), var(--kumkum) 55%, var(--sindoor-dk));
  color: #F7E6C8;
  font-size: .88rem;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; padding: 8px 0; flex-wrap: wrap;
}
.topbar a { color: #F7E6C8; }
.topbar a:hover { color: var(--haldi); }
.tb-contact { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.tb-contact span, .tb-contact a { display: inline-flex; align-items: center; gap: 6px; }
.tb-note {
  background: rgba(240,180,41,.16);
  border: 1px solid rgba(240,180,41,.4);
  color: var(--haldi);
  padding: 2px 14px; border-radius: 999px;
  font-weight: 600; letter-spacing: .2px;
}

/* ---------- 5. हेडर / नेविगेशन ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253,247,233,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 10px 0;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 56px; width: auto; object-fit: contain; }
.brand-mark {
  width: 52px; height: 52px; flex: 0 0 52px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--sindoor), var(--kesari));
  color: #fff; font-size: 1.5rem;
  border-radius: 50% 50% 12px 12px / 42% 42% 12px 12px;
  box-shadow: 0 4px 14px rgba(179,32,14,.32);
}
.brand-text { min-width: 0; }
.brand-name {
  font-family: var(--f-display); font-weight: 700;
  font-size: 1.24rem; line-height: 1.25; color: var(--kumkum);
  display: block;
}
.brand-sub {
  font-size: .74rem; color: var(--ink-soft);
  letter-spacing: .3px; display: block;
}

.nav-toggle {
  display: none; background: var(--sindoor); color: #fff;
  border: 0; width: 46px; height: 44px; border-radius: var(--r-sm);
  font-size: 1.3rem; cursor: pointer;
}

.main-nav ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.main-nav a {
  display: block; padding: 9px 14px;
  font-size: .95rem; font-weight: 600; color: var(--ink);
  border-radius: var(--r-sm); white-space: nowrap;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--chandan-dk); color: var(--sindoor); }
.main-nav a.active {
  background: linear-gradient(135deg, var(--sindoor), var(--kesari));
  color: #fff;
  box-shadow: 0 4px 12px rgba(179,32,14,.28);
}

/* ---------- 6. बटन ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 26px;
  font-family: var(--f-body); font-size: .98rem; font-weight: 700;
  border: 2px solid transparent; border-radius: 999px;
  cursor: pointer; text-align: center; line-height: 1.4;
  transition: transform .18s, box-shadow .18s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--sindoor), var(--kesari));
  color: #fff; box-shadow: 0 6px 18px rgba(179,32,14,.3);
}
.btn-primary:hover { color: #fff; box-shadow: 0 10px 26px rgba(179,32,14,.4); }
.btn-gold {
  background: linear-gradient(135deg, var(--haldi), #E09A1E);
  color: var(--kumkum-dp); box-shadow: 0 6px 18px rgba(240,180,41,.36);
}
.btn-gold:hover { color: var(--kumkum-dp); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(31,168,85,.3); }
.btn-wa:hover { color: #fff; }
.btn-outline { background: transparent; border-color: var(--sindoor); color: var(--sindoor); }
.btn-outline:hover { background: var(--sindoor); color: #fff; }
.btn-light { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); color: #fff; }
.btn-light:hover { background: #fff; color: var(--kumkum); }
.btn-sm { padding: 8px 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- 7. सेक्शन ढाँचा ---------- */
.section { padding: 74px 0; }
.section--tight { padding: 52px 0; }
.section--paper { background: var(--paper); }
.section--warm { background: linear-gradient(180deg, var(--chandan-dk), var(--chandan)); }

.section-head { text-align: center; max-width: 860px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--kesari);
  background: rgba(224,113,12,.09);
  border: 1px solid rgba(224,113,12,.25);
  padding: 5px 18px; border-radius: 999px; margin-bottom: 16px;
}
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.03rem; }
.section-head .lead { text-align: justify; text-align-last: center; }

/* कलश-अलंकरण विभाजक */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 0 auto 20px; max-width: 320px;
}
.ornament::before, .ornament::after {
  content: ''; flex: 1; height: 2px;
  background: linear-gradient(90deg, transparent, var(--haldi), transparent);
}
.ornament span { color: var(--sindoor); font-size: 1.2rem; line-height: 1; }

/* ---------- 8. हीरो ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(61,12,10,.94), rgba(94,18,16,.88) 45%, rgba(138,22,8,.86)),
    var(--kumkum);
  color: #FBEFDA;
  padding: 84px 0 0;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(240,180,41,.22) 0, transparent 30%),
    radial-gradient(circle at 82% 68%, rgba(224,113,12,.18) 0, transparent 34%);
  pointer-events: none;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .22; mix-blend-mode: luminosity;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(240,180,41,.14);
  border: 1px solid rgba(240,180,41,.42);
  color: var(--haldi);
  padding: 7px 22px; border-radius: 999px;
  font-size: .93rem; font-weight: 600; margin-bottom: 22px;
}
.hero h1 {
  color: #fff; margin-bottom: 10px;
  text-shadow: 0 3px 18px rgba(0,0,0,.35);
}
.hero-sub {
  font-family: var(--f-display);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  color: var(--haldi); margin-bottom: 20px;
}
.hero-text {
  max-width: 720px; font-size: 1.07rem;
  color: rgba(255,255,255,.9); margin-bottom: 30px;
}
.hero-text strong { color: var(--haldi); }
.hero .btn-row { margin-bottom: 54px; }

/* आँकड़े — तोरण-मेहराब कार्ड */
.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border-top: 1px solid rgba(240,180,41,.3);
  background: rgba(0,0,0,.18);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
}
.stat {
  padding: 26px 14px; text-align: center;
  border-right: 1px solid rgba(240,180,41,.18);
}
.stat:last-child { border-right: 0; }
.stat b {
  display: block; font-family: var(--f-num);
  font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700;
  color: var(--haldi); line-height: 1.2;
}
.stat span { font-size: .9rem; color: rgba(255,255,255,.82); }

/* ---------- 9. मेहराब कार्ड (हस्ताक्षर) ---------- */
.card-grid {
  display: grid; gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }

.arch-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.arch-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240,180,41,.7);
}
.arch-media {
  position: relative; margin: 16px 16px 0;
  aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(155deg, var(--haldi-lt), var(--chandan-dk));
  border: 1px solid var(--line);
  /* मंदिर तोरण आकृति */
  border-radius: 46% 46% 10px 10px / 30% 30% 10px 10px;
}
.arch-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.arch-card:hover .arch-media img { transform: scale(1.07); }
.arch-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 3.4rem; color: var(--sindoor); opacity: .55;
}
.arch-badge {
  position: absolute; top: 12px; inset-inline-start: 12px;
  width: 40px; height: 40px; display: grid; place-items: center;
  background: rgba(255,255,255,.94); border-radius: 50%;
  font-size: 1.15rem; box-shadow: var(--shadow-sm);
}
.arch-body { padding: 20px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.arch-body h3 { color: var(--sindoor); margin-bottom: 10px; }
.arch-body p { color: var(--ink-soft); font-size: .97rem; text-align: justify; }
.arch-link {
  margin-top: auto; padding-top: 16px;
  font-weight: 700; font-size: .93rem;
  display: inline-flex; align-items: center; gap: 7px;
}
.arch-link::after { content: '←'; transition: transform .25s; }
.arch-link:hover::after { transform: translateX(-4px); }

/* ---------- 10. दो-स्तंभ रोजगार कार्ड ---------- */
.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--sindoor);
  border-radius: var(--r-md);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.pillar:nth-child(even) { border-top-color: var(--tulsi); }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pillar-icon { font-size: 2.2rem; line-height: 1; margin-bottom: 12px; }
.pillar h3 { font-size: 1.28rem; }
.pillar p { color: var(--ink-soft); font-size: .97rem; text-align: justify; }

/* ---------- 11. पट्टी / CTA बैंड ---------- */
.band {
  position: relative; overflow: hidden;
  background: linear-gradient(115deg, var(--kumkum-dp), var(--kumkum) 50%, var(--sindoor-dk));
  color: #FBEFDA; padding: 58px 0; text-align: center;
}
.band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(240,180,41,.2), transparent 60%);
}
.band .wrap { position: relative; z-index: 2; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,.88); max-width: 820px; margin-inline: auto; }
.band strong { color: var(--haldi); }
.band--gold {
  background: linear-gradient(115deg, var(--haldi), #E8A21C 55%, var(--kesari));
  color: var(--kumkum-dp);
}
.band--gold h2 { color: var(--kumkum-dp); }
.band--gold p { color: rgba(61,12,10,.86); }
.band--gold strong { color: var(--kumkum-dp); }
.band--tulsi { background: linear-gradient(115deg, #0E3D34, var(--tulsi) 55%, var(--tulsi-lt)); }

.pill-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin: 24px 0 6px;
}
.pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  padding: 7px 18px; border-radius: 999px;
  font-size: .9rem; font-weight: 600;
}
.band--gold .pill {
  background: rgba(61,12,10,.1);
  border-color: rgba(61,12,10,.22);
}

/* ---------- 12. मीडिया-स्प्लिट (फ्रेंचाइज़ी / करियर) ---------- */
.split {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 46px; align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative; aspect-ratio: 4/3.4;
  background: linear-gradient(155deg, var(--haldi-lt), var(--chandan-dk));
  border: 1px solid var(--line);
  border-radius: 44% 44% var(--r-lg) var(--r-lg) / 26% 26% var(--r-lg) var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .arch-fallback { font-size: 5rem; }
.split-body h2 { margin-bottom: 8px; }
.split-body p { color: var(--ink-soft); text-align: justify; }

.check-list { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 12px; }
.check-list li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 12px 16px;
  font-weight: 600; font-size: .96rem;
  transition: border-color .2s, transform .2s;
}
.check-list li:hover { border-color: var(--haldi); transform: translateX(-4px); }
.check-list .ci { font-size: 1.25rem; line-height: 1.4; flex: 0 0 auto; }

/* ---------- 13. आइकॉन ग्रिड (क्यों चुनें) ---------- */
.icon-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) { .icon-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px)  { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
.icon-tile {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px 20px; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.icon-tile:hover {
  transform: translateY(-6px); border-color: var(--haldi);
  box-shadow: var(--shadow-md);
}
.icon-tile .ti {
  width: 62px; height: 62px; margin: 0 auto 14px;
  display: grid; place-items: center; font-size: 1.7rem;
  background: linear-gradient(150deg, var(--haldi-lt), #FFF6E0);
  border: 1px solid var(--line);
  border-radius: 50% 50% 12px 12px / 40% 40% 12px 12px;
}
.icon-tile h4 {
  font-size: 1rem; margin: 0; color: var(--kumkum);
  font-family: var(--f-body); font-weight: 700; line-height: 1.6;
}

/* ---------- 14. पेज बैनर (अंदरूनी पेज) ---------- */
.page-banner {
  position: relative;
  background: linear-gradient(115deg, var(--kumkum-dp), var(--kumkum) 55%, var(--sindoor-dk));
  color: #fff; padding: 62px 0; text-align: center; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(240,180,41,.25), transparent 55%);
}
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; margin-bottom: 8px; }
.page-banner p { color: var(--haldi); font-size: 1.03rem; margin: 0; }
.crumbs { font-size: .88rem; color: rgba(255,255,255,.7); margin-top: 12px; }
.crumbs a { color: rgba(255,255,255,.85); }

.prose { max-width: 860px; margin-inline: auto; }
.prose p { text-align: justify; color: var(--ink-soft); }
.prose h2, .prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { color: var(--ink-soft); padding-inline-start: 22px; }
.prose li { margin-bottom: .5em; }

/* ---------- 15. संपर्क ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start;
}
.info-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px; box-shadow: var(--shadow-sm);
}
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ii {
  width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--haldi-lt), #FFF6E0);
  border: 1px solid var(--line); border-radius: 12px; font-size: 1.2rem;
}
.info-list b { display: block; font-size: .84rem; color: var(--ink-soft); font-weight: 600; }
.info-list a, .info-list span.v { font-weight: 700; color: var(--kumkum); }

.form-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 30px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: .88rem; font-weight: 700;
  color: var(--kumkum); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px;
  font-family: var(--f-body); font-size: .97rem; color: var(--ink);
  background: var(--chandan);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--kesari);
  box-shadow: 0 0 0 3px rgba(224,113,12,.15);
}
.field textarea { min-height: 120px; resize: vertical; }

.alert {
  padding: 13px 18px; border-radius: var(--r-sm);
  margin-bottom: 20px; font-weight: 600; font-size: .95rem;
  border: 1px solid;
}
.alert-success { background: #E9F7EF; border-color: #A9DCC0; color: #14602F; }
.alert-error   { background: #FDECEA; border-color: #F2BAB3; color: #8A1608; }
.alert-info    { background: #FFF6E0; border-color: var(--haldi); color: #7A5A0A; }

/* ---------- 16. फुटर ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--kumkum-dp), #2B0806);
  color: rgba(255,255,255,.76);
  padding-top: 58px; font-size: .95rem;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.1fr;
  padding-bottom: 40px;
}
.site-footer h4 {
  color: var(--haldi); font-size: 1.05rem; margin-bottom: 18px;
  padding-bottom: 10px; border-bottom: 1px solid rgba(240,180,41,.25);
}
.site-footer a { color: rgba(255,255,255,.76); }
.site-footer a:hover { color: var(--haldi); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 54px; width: auto; }
.footer-brand .brand-name { color: #fff; font-size: 1.15rem; }
.footer-brand .brand-sub { color: var(--haldi); }
.f-tagline {
  margin-top: 14px; color: var(--haldi);
  font-weight: 600; font-size: .9rem;
}
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.f-list a { display: flex; gap: 8px; align-items: flex-start; line-height: 1.6; }
.social-row { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.social-row a {
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(240,180,41,.3);
  border-radius: 12px; font-size: 1.1rem;
  transition: background .2s, transform .2s;
}
.social-row a:hover { background: var(--sindoor); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0; text-align: center; font-size: .88rem;
  color: rgba(255,255,255,.6);
}

/* ---------- 16b. गैलरी ---------- */
.filter-row {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin-bottom: 34px;
}
.filter-btn {
  font-family: var(--f-body); font-size: .92rem; font-weight: 700;
  padding: 8px 20px; border-radius: 999px; cursor: pointer;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--line);
  transition: background .2s, color .2s, border-color .2s, transform .18s;
}
.filter-btn:hover { border-color: var(--kesari); color: var(--sindoor); transform: translateY(-2px); }
.filter-btn.active {
  background: linear-gradient(135deg, var(--sindoor), var(--kesari));
  border-color: transparent; color: #fff;
  box-shadow: 0 5px 14px rgba(179,32,14,.28);
}

.gal-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.gal-item {
  margin: 0; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .28s, box-shadow .28s, border-color .28s;
}
.gal-item.hide { display: none; }
.gal-item:hover {
  transform: translateY(-6px); border-color: rgba(240,180,41,.75);
  box-shadow: var(--shadow-lg);
}
.gal-link {
  position: relative; display: block;
  aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(155deg, var(--haldi-lt), var(--chandan-dk));
}
.gal-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover .gal-link img { transform: scale(1.07); }
.gal-zoom {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.7rem; color: #fff;
  background: rgba(61,12,10,.42);
  opacity: 0; transition: opacity .28s;
}
.gal-item:hover .gal-zoom { opacity: 1; }
.gal-item figcaption { padding: 14px 18px 16px; }
.gal-item figcaption b {
  display: block; font-family: var(--f-display);
  font-size: 1.02rem; color: var(--sindoor); line-height: 1.5;
}
.gal-item figcaption span {
  display: inline-block; margin-top: 6px;
  font-size: .78rem; font-weight: 600; color: var(--ink-soft);
  background: var(--chandan-dk); border: 1px solid var(--line);
  padding: 2px 12px; border-radius: 999px;
}

/* लाइटबॉक्स */
.lightbox {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 20px;
  background: rgba(30,6,5,.94);
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lb-figure img {
  max-width: 100%; max-height: 78vh; width: auto; margin-inline: auto;
  border-radius: var(--r-md); box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.lb-figure figcaption {
  margin-top: 14px; color: var(--haldi);
  font-family: var(--f-display); font-size: 1.05rem;
}
.lb-close, .lb-nav {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1px solid rgba(240,180,41,.4);
  cursor: pointer; border-radius: 50%;
  display: grid; place-items: center;
  transition: background .2s, transform .2s;
}
.lb-close {
  position: absolute; top: 18px; inset-inline-end: 18px;
  width: 46px; height: 46px; font-size: 1.2rem;
}
.lb-nav { width: 52px; height: 52px; flex: 0 0 52px; font-size: 2rem; line-height: 1; }
.lb-close:hover, .lb-nav:hover { background: var(--sindoor); transform: scale(1.08); }

@media (max-width: 620px) {
  .gal-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .gal-item figcaption { padding: 10px 12px 12px; }
  .gal-item figcaption b { font-size: .9rem; }
  .filter-btn { width: auto; }
  .lb-nav { width: 42px; height: 42px; flex: 0 0 42px; font-size: 1.6rem; }
  .lightbox { padding: 12px; gap: 4px; }
}

/* ---------- 17. फ्लोटिंग WhatsApp ---------- */
.float-wa {
  position: fixed; inset-block-end: 24px; inset-inline-end: 24px;
  width: 58px; height: 58px; z-index: 90;
  display: grid; place-items: center;
  background: var(--wa); color: #fff; border-radius: 50%;
  font-size: 1.7rem; box-shadow: 0 8px 24px rgba(31,168,85,.45);
  animation: waPulse 2.6s infinite;
}
.float-wa:hover { color: #fff; transform: scale(1.08); }
@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 24px rgba(31,168,85,.45); }
  50%     { box-shadow: 0 8px 34px rgba(31,168,85,.75); }
}

/* ---------- 18. स्क्रॉल रिवील ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- 19. रिस्पॉन्सिव ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 460px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; inset-inline: 0; top: 100%;
    background: var(--chandan);
    border-block: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav.open { max-height: 70vh; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 18px 18px; gap: 2px; }
  .main-nav a { padding: 12px 14px; }
  .site-header { position: relative; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .hero { padding-top: 56px; }
  .section { padding: 54px 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .topbar { font-size: .8rem; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .tb-contact { justify-content: center; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .brand img { height: 44px; }
  .brand-name { font-size: 1.05rem; }
  .arch-body { padding: 18px 18px 22px; }
  .pillar { padding: 26px 20px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .float-wa { width: 52px; height: 52px; font-size: 1.5rem; inset-block-end: 16px; inset-inline-end: 16px; }
}

/* ---------- 20. मोशन कम करें ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 21. प्रिंट ---------- */
@media print {
  .topbar, .site-header, .float-wa, .btn-row, .site-footer { display: none !important; }
  body { background: #fff; }
}
