/* ==========================================================================
   Girgaon Cha Raja — Static site stylesheet
   Clean hand-coded rebuild of girgaoncharaja.com
   ========================================================================== */

:root {
  --saffron: #ef6c1a;
  --saffron-dark: #d2570c;
  --maroon: #730006;
  --maroon-deep: #5c0e0c;
  --wp-red: #ae0009;
  --gold: #e0a82e;
  --cream: #ffffff;
  --cream-2: #fdeede;
  --ink: #2a2320;
  --muted: #6c615b;
  --line: #ecd9c4;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(122, 19, 16, 0.12);
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.08);
  --radius: 0;
  --radius-sm: 8px;
  --maxw: 1120px;
  --header-h: 126px;
}

@font-face {
  font-family: "Amsterdam";
  src: url("../assets/uploads/2023/07/Amsterdam-Personal-Use.ttf") format("truetype");
  font-display: swap;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--saffron-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--maroon); }
h1, h2, h3, h4 { font-family: "Poppins", "Mukta", sans-serif; line-height: 1.25; color: var(--maroon); margin: 0 0 .5em; }
/* "Amsterdam" is a cursive/script face — its loops, ascenders and descenders
   extend well beyond the em box, so headings need extra leading or successive
   lines (and the eyebrow above) overlap. Scale leading with the font size. */
h1, h2, h3 { font-family: "Amsterdam", "Poppins", "Mukta", sans-serif; font-weight: 600; line-height: 1.45; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.text-center { text-align: center; }

/* ----- Buttons ----- */
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 400;
  font-size: .95rem;
  letter-spacing: 0;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--wp-red); color: #fff; box-shadow: none; }
.btn-primary:hover { background: #8e0007; color: #fff; transform: none; }
.btn-outline { background: var(--wp-red); color: #fff; border-color: var(--wp-red); }
.btn-outline:hover { background: #8e0007; color: #fff; transform: none; }
.btn-ghost { background: #fff; color: var(--maroon); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { background: var(--maroon); color: #fff; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e9e9e9;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
/* The header bar is fully fluid: logo (left) · menu (flexes & centres) · CTAs
   (right). Every size uses clamp() so the bar scales smoothly between breakpoints
   and never overflows the viewport — identical on every page. */
.site-header .container.nav {
  max-width: none;
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(10px, 2.2vw, 44px);
  height: var(--header-h);
  padding-left: clamp(16px, 3.5vw, 64px);
  padding-right: clamp(16px, 2vw, 40px);
}
.nav-logo { flex: 0 0 auto; display: flex; align-items: center; }
.nav-logo img {
  height: clamp(64px, 7vw, 106px);
  width: auto;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0px, 0.4vw, 8px);
  min-width: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: #404040;
  font-weight: 400;
  font-size: clamp(13px, 1.02vw, 16px);
  position: relative;
  display: block;
  padding: 10px clamp(7px, 0.85vw, 15px);
  line-height: 20px;
  white-space: nowrap;
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: var(--wp-red);
  transition: width .25s ease;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--wp-red); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: clamp(8px, 1vw, 22px); flex: 0 0 auto; }
.site-header .btn {
  min-width: 0;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(14px, 1.5vw, 26px);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--maroon);
  border-radius: 3px;
  transition: .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
/* JS injects a second WordPress/Zakra mobile bar; the fluid .site-header already
   serves as the mobile header, so the duplicate stays hidden at every width. */
.zakra-mobile-header { display: none !important; }

/* ==========================================================================
   Hero / Carousel
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  background: #fff;
  overflow: hidden;
}
.carousel { position: relative; width: 100%; min-height: 0; }
.carousel-track { position: relative; }
.slide {
  display: none;
  width: 100%;
}
.slide.active { display: block; animation: fade .8s ease; }
.slide img { width: 100%; object-fit: cover; }
@keyframes fade { from { opacity: .3; } to { opacity: 1; } }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: var(--wp-red);
  border: 0;
  width: 46px; height: 46px;
  border-radius: 0;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid; place-items: center;
  transition: color .2s;
  z-index: 3;
}
.carousel-btn:hover { background: transparent; color: #8e0007; }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }
.carousel-dots {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px;
  z-index: 3;
}
.carousel-dots button {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 0;
  background: #cfcfcf;
  cursor: pointer;
  padding: 0;
  transition: background .2s;
}
.carousel-dots button.active { background: #111; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 72px 0; background: #fff; }
.section img { max-width: 100% !important; height: auto; }
.section.alt { background: #fff; }
.section.maroon { background: #fff; color: var(--ink); }
.section.maroon h2, .section.maroon h3 { color: var(--maroon); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--saffron-dark);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .8rem;
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-head h2 { font-size: 32px; line-height: 1.4; color: var(--maroon); }
.section-head h2::after { display: none; }
.lead { font-size: 1.08rem; color: var(--muted); }

/* Page banner (interior pages) */
.page-banner {
  background: #fff;
  color: var(--maroon);
  padding: 58px 0 22px;
  text-align: left;
}
.page-banner h1 {
  color: var(--maroon);
  font-size: 32px;
  line-height: 1.25;
  margin: 0;
}
.page-banner .crumbs { display: none; }
.page-banner + .section { padding-top: 18px; }
.prose.text-center { text-align: left; }

@media (min-width: 821px) {
  .page-banner { padding-top: 51px; }
}

/* Two-column feature */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: 0; box-shadow: none; }
.split-body h2 { font-size: 32px; color: var(--maroon); margin-bottom: 20px; }
#about .eyebrow { display: none; }
#about .split { align-items: start; }

/* Live-page structural overrides */
.page-no-banner .page-banner { display: none; }
.page-about .page-banner {
  padding-top: 70px;
  padding-bottom: 2px;
}
.page-about .page-banner .container,
.page-about .page-banner + .section .container {
  max-width: 1146px;
  padding-left: 0;
  padding-right: 0;
}
.page-about .page-banner + .section {
  min-height: 475px;
  background: #fff url("../assets/uploads/2023/07/Chota-Gapu_WC-1.png") right 82px top -104px / 780px auto no-repeat;
}
.page-about .page-banner + .section .container.prose.text-center {
  width: 660px;
  max-width: 660px;
  margin-left: 102px;
  margin-right: auto;
}
.page-social .page-banner { padding-top: 110px; }

.page-advertisements .ad-brochure {
  padding: 70px 0;
}
.page-advertisements .ad-brochure .container,
.page-g2022 .g2022-video-hero .container,
.page-g2023 .section.lb-scope > .container {
  max-width: 1120px;
  padding-left: 0;
  padding-right: 0;
}
.page-advertisements .ad-brochure .split {
  grid-template-columns: 456px 1fr;
  gap: 50px;
  align-items: start;
}
.page-advertisements .ad-brochure .split-media img {
  width: 456px;
  max-width: 456px;
}
.page-advertisements .ad-brochure .split-body {
  padding-top: 41px;
}
.page-advertisements .ad-brochure h2 {
  font-family: "Poppins", "Mukta", sans-serif;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 20px;
}
.page-advertisements .ad-brochure .form-card {
  border: 0;
  box-shadow: none;
  padding: 18px 0 0;
}

.page-contact .page-banner + .section {
  margin-top: 0;
  padding-top: 60px;
}

.page-donation .donation-bank {
  padding: 60px 0 172px;
}
.bank-panel {
  width: 830px;
  min-height: 475px;
  margin: 0 auto;
  background: #fff;
  display: grid;
  grid-template-columns: 222px 1fr;
  gap: 90px;
  align-items: start;
  padding: 112px 80px 70px;
}
.bank-panel img {
  width: 222px;
  height: 215px;
  object-fit: contain;
  margin-top: 18px;
}
.bank-panel h2 {
  font-size: 32px;
  margin-bottom: 26px;
}
.bank-panel p {
  color: #404040;
  font-size: 16px;
  line-height: 1.7;
}

.page-g2022 .g2022-video-hero {
  background: #fff;
  padding: 10px 0 0;
}
.page-g2022 .g2022-video-hero iframe {
  display: block;
  width: 1120px;
  height: 630px;
  border: 0;
}

.page-g2023 .section.lb-scope {
  padding: 40px 0;
}
.page-g2023 .section.lb-scope > .container {
  display: grid;
  grid-template-columns: 355px 1fr;
  column-gap: 30px;
  align-items: start;
}
.page-g2023 .section.lb-scope > .container > div.text-center {
  grid-column: 1;
  grid-row: 1;
  margin: 30px 0 0 10px !important;
}
.page-g2023 .section.lb-scope > .container > div.text-center img {
  width: 355px !important;
  max-width: 355px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.page-g2023 .section.lb-scope > .container > h2.text-center {
  grid-column: 2;
  grid-row: 1;
  text-align: left;
  margin-top: 20px;
}
.page-g2023 .section.lb-scope > .container > .quote-card {
  grid-column: 2;
  grid-row: 1;
  margin-top: 60px !important;
  max-width: none !important;
}
.page-g2023 .section.lb-scope > .container > .grid {
  grid-column: 1 / -1;
}

/* Quote / Mann ki baat */
.quote-card {
  background: #fff;
  border-left: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  font-style: normal;
  color: var(--ink);
}
.quote-card .who { font-style: normal; font-weight: 600; color: var(--maroon); margin-top: 10px; }

/* ==========================================================================
   Cards / grids
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.member-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.member-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.member-card .photo { aspect-ratio: 1 / 1; background: var(--cream-2); overflow: hidden; }
.member-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.member-card .info { padding: 16px 12px 20px; }
.member-card .info h3 { font-size: 1.1rem; margin: 0 0 2px; }
.member-card .info span { color: var(--saffron-dark); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .6px; }

/* Contribution items */
.contrib {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  margin-bottom: 14px;
}
.contrib.reverse .contrib-media { order: 2; }
.contrib-media img { border-radius: var(--radius); box-shadow: none; width: 100%; }
.contrib h3 { font-size: 1.3rem; line-height: 1.6; margin-bottom: 10px; }

/* Feature list (advertisement uniqueness) */
.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--saffron);
  height: 100%;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Branding image blocks */
.brand-block { margin-bottom: 30px; }
.brand-block h3 { font-size: 1.15rem; margin-bottom: 12px; }
.brand-block img { border-radius: var(--radius-sm); box-shadow: none; width: 100%; }

/* ==========================================================================
   Gallery
   ========================================================================== */
.tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 34px; }
.tab {
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid var(--saffron);
  background: #fff;
  color: var(--maroon);
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
}
.tab.active, .tab:hover { background: var(--saffron); color: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: start;
}
.gallery-grid img {
  width: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  cursor: pointer;
  box-shadow: none;
  transition: transform .25s ease;
}
.gallery-grid img:hover { transform: none; }
.section.maroon .section-head {
  max-width: var(--maxw);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  margin-bottom: 55px;
}
.section.maroon .section-head h2 { margin: 0; }
.section.maroon .section-head .btn {
  min-width: 125px;
  height: 39px;
  padding: 9px 24px;
  line-height: 19px;
}
.home-gallery img { height: 288px; }
.home-gallery img:nth-child(2),
.home-gallery img:nth-child(3) { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 6, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox .lb-close {
  position: absolute;
  top: 22px; right: 30px;
  color: #fff;
  font-size: 2.4rem;
  background: none; border: 0; cursor: pointer;
  line-height: 1;
}
.lightbox .lb-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 3rem;
  background: none; border: 0; cursor: pointer;
  padding: 0 18px;
  opacity: .8;
}
.lightbox .lb-nav:hover { opacity: 1; }
.lightbox .lb-prev { left: 6px; }
.lightbox .lb-next { right: 6px; }

/* ==========================================================================
   Forms (static)
   ========================================================================== */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--maroon); font-size: .9rem; }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: var(--cream);
  transition: border .2s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--saffron); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }

/* Contact info */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 22px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.info-list .ic {
  flex: 0 0 42px; height: 42px;
  background: var(--saffron); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.1rem;
}
.info-list a, .info-list span { color: var(--ink); }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  transition: .2s;
}
.socials a:hover { background: var(--saffron); transform: translateY(-3px); }
.map-embed {
  width: 100%;
}
.map-embed iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.map-fallback {
  display: block;
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid #ead6d8;
  background: #fff8f2;
  color: var(--maroon);
  font-size: 15px;
  line-height: 1.45;
}
.map-fallback strong {
  display: block;
  color: var(--wp-red);
  margin-bottom: 4px;
}

/* CTA strip */
.cta-strip {
  display: none;
  background: linear-gradient(120deg, var(--saffron), var(--saffron-dark));
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.cta-strip h2 { color: #fff; }
.cta-strip p { color: #fff3e8; max-width: 620px; margin: 0 auto 24px; }

/* Prose (policy pages) */
.prose { max-width: 860px; margin: 0 auto; }
.prose h2 { font-size: 1.9rem; }
.prose h4 { color: var(--maroon); margin-top: 28px; font-size: 1.12rem; }
.prose p { color: var(--ink); }
.prose .effective { color: var(--saffron-dark); font-weight: 600; }

/* Instagram strip */
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.insta-grid a { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1/1; background: var(--cream-2); }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.insta-grid a:hover img { transform: scale(1.08); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  position: relative;
  background: #fff url("../assets/uploads/2023/07/footer-skyline-removebg-preview-1536x135.png") bottom center / 100% auto no-repeat;
  color: #404040;
  min-height: 790px;
  padding: 28px 0 150px;
  text-align: center;
}
.site-footer::before {
  content: "";
  display: block;
  width: 520px;
  height: 112px;
  max-width: calc(100% - 32px);
  margin: 0 auto 18px;
  background: url("../assets/uploads/2023/07/GCR-Text-font.svg") center / contain no-repeat;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  align-items: start;
  gap: 44px 60px;
  max-width: 1040px;
  min-height: 0;
  height: auto;
  padding-bottom: 0;
  margin: 0 auto 52px;
}
.footer-grid > div:first-child {
  padding-top: 32px;
}
.footer-grid > div:first-child p,
.footer-grid > div:first-child img:not(.f-logo) {
  display: none;
}
.footer-grid > div:last-child {
  min-height: 210px;
  margin-top: 28px;
  background: url("../assets/uploads/2023/07/GCR_96_Logo_Full-01.webp") center top / 190px auto no-repeat;
}
.footer-grid > div:last-child h4,
.footer-grid > div:last-child p,
.footer-grid > div:last-child .socials {
  display: none;
}
.site-footer img.f-logo {
  height: 205px;
  width: auto;
  margin: 0 auto;
}
.site-footer h4 {
  color: var(--maroon);
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0; }
.footer-links a { color: var(--maroon); font-size: 17px; }
.footer-links a:hover { color: var(--wp-red); padding-left: 0; }
.site-footer p { color: #404040; }
.footer-bottom {
  position: relative;
  z-index: 1;
  clear: both;
  border-top: 0;
  padding: 0;
  text-align: center;
  font-size: 16px;
  min-height: 40px;
  margin-top: 0;
}
.footer-bottom a { color: var(--wp-red); font-weight: 600; }
.wp-footer-credit {
  background: #18181b;
  color: #fff;
  text-align: center;
  padding: 26px 0;
  font-size: 14px;
  min-height: 74px;
}
.wp-footer-credit a { color: #fff; }

/* ==========================================================================
   Invitation popup
   ========================================================================== */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 6, .8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 24px;
}
.popup.open { display: flex; animation: fade .4s ease; }
.popup { display: none !important; }
.popup-inner {
  position: relative;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.popup-inner img { width: 100%; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.popup-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  border: 3px solid #fff;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  display: grid; place-items: center;
}

/* Scroll to top */
.to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transform: translateY(12px);
  transition: .3s;
  box-shadow: var(--shadow);
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--maroon); }

/* Floating booking buttons (desktop side) */
.float-cta {
  position: fixed;
  right: 0; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 80;
}
.float-cta a {
  writing-mode: vertical-rl;
  background: var(--wp-red);
  color: #fff;
  padding: 16px 10px;
  font-weight: 600;
  border-radius: 8px 0 0 8px;
  box-shadow: var(--shadow-sm);
  letter-spacing: 1px;
}
.float-cta a:hover { background: #8e0007; color: #fff; }

.language-widget {
  position: fixed;
  right: 16px;
  bottom: 14px;
  z-index: 95;
}
.language-widget select {
  width: 146px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #dcdcdc;
  background: #fff;
  color: #333;
  font: 15px "Poppins", sans-serif;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid, .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .home-gallery img:nth-child(n) { grid-column: auto; height: 260px; }
}
@media (max-width: 1150px) {
  :root { --header-h: 88px; }
  .container { padding: 0 16px; }
  /* Mobile: single slim bar — logo · CTAs · hamburger. The menu drops down. */
  .site-header .container.nav {
    height: var(--header-h);
    flex-wrap: nowrap;
    gap: 10px;
    padding-left: clamp(12px, 4vw, 22px);
    padding-right: clamp(12px, 4vw, 22px);
  }
  .nav-logo { flex: 0 0 auto; }
  .nav-logo img { height: clamp(54px, 13vw, 68px); }
  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 22px 20px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-130%);
    transition: transform .35s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-menu a { display: block; padding: 14px 0; font-size: 16px; }
  .nav-cta {
    margin-left: auto;
    gap: 8px;
  }
  .nav-cta .btn {
    min-width: 0;
    width: auto;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 1.1;
    white-space: nowrap;
  }
  .nav-toggle {
    display: flex;
    order: 1;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #f4f4f4;
    border-radius: 4px;
    padding: 9px;
  }
  .nav-toggle span { width: 23px; height: 3px; background: #333; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { display: flex; justify-content: center; }
  .split-media img { max-width: 300px; width: 100%; }
  #about .split { gap: 8px; }
  .contrib, .contrib.reverse .contrib-media { grid-template-columns: 1fr; }
  .contrib.reverse .contrib-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-about .page-banner { padding-top: 68px; }
  .page-about .page-banner .container,
  .page-about .page-banner + .section .container {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-about .page-banner + .section .container.prose.text-center {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-about .page-banner + .section {
    min-height: 0;
    background-image: none;
  }
  .page-social .page-banner { padding-top: 28px; }
  .page-advertisements .ad-brochure { padding: 18px 0 70px; }
  .page-advertisements .ad-brochure .container,
  .page-g2022 .g2022-video-hero .container,
  .page-g2023 .section.lb-scope > .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .page-advertisements .ad-brochure .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .page-advertisements .ad-brochure .split {
    grid-template-columns: 1fr;
    gap: 31px;
  }
  .page-advertisements .ad-brochure .split-media img {
    width: 100%;
    max-width: 335px;
  }
  .page-advertisements .ad-brochure .split-body {
    padding-top: 0;
  }
  .page-contact .page-banner + .section {
    margin-top: 0;
    padding-top: 48px;
  }
  .page-donation .donation-bank {
    padding: 60px 0 96px;
  }
  .bank-panel {
    width: 100%;
    min-height: 475px;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 70px 24px 54px;
    text-align: left;
  }
  .bank-panel img {
    width: 222px;
    height: 215px;
    margin: 0 auto;
  }
  .page-g2022 .g2022-video-hero iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .page-g2023 .section.lb-scope > .container {
    display: block;
  }
  .page-g2023 .section.lb-scope > .container > div.text-center {
    margin: 0 0 30px !important;
  }
  .page-g2023 .section.lb-scope > .container > div.text-center img {
    width: 100% !important;
    max-width: 355px !important;
    margin: 0 auto;
  }
  .page-g2023 .section.lb-scope > .container > h2.text-center {
    text-align: center;
    margin-top: 0;
  }
  .page-g2023 .section.lb-scope > .container > .quote-card {
    margin-top: 24px !important;
  }
  .float-cta { display: none; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .site-footer img.f-logo { margin-left: auto; margin-right: auto; }
  .section { padding: 50px 0; }
  .split { gap: 34px; }
  .split-body h2, .section-head h2 { font-size: 34px; }
  .section.maroon .section-head {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 40px;
  }
  .section.maroon .section-head .btn {
    min-width: 112px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .home-gallery img:nth-child(n) { height: auto; }
  .carousel-btn { width: 38px; height: 38px; font-size: 1.2rem; }
  .language-widget { right: 16px; bottom: 28px; }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .gallery-grid, .insta-grid { grid-template-columns: 1fr 1fr; }
  /* Both header CTAs point to the same donation page — drop the duplicate so the
     logo, "Book Pooja" and the menu toggle always fit narrow phones. */
  .nav-cta .hide-sm { display: none; }
}

@media (max-width: 360px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .gallery-grid,
  .insta-grid {
    grid-template-columns: 1fr;
  }
  .nav-cta { gap: 6px; }
  .nav-cta .btn {
    height: 42px;
    padding: 0 12px;
    font-size: 13px;
  }
  .nav-toggle {
    width: 38px;
    height: 38px;
    padding: 8px;
  }
  .nav-toggle span {
    width: 20px;
  }
  .section.maroon .section-head {
    display: block;
    text-align: center;
  }
  .section.maroon .section-head .btn {
    margin-top: 12px;
  }
}
