/* Eco + Ganpati theme — layout from Figma screenshot, remapped colors */

:root {
  /* Eco + Ganpati festive mix */
  --eco-green: #2D6A4F;
  --eco-green-2: #40916C;
  --eco-green-3: #52B788;
  --eco-wash: #F3F7F1;
  --eco-forest: #16382A;
  --eco-saffron: #E07A2F;
  --eco-gold: #D4A017;
  --eco-clay: #C45C26;
  --eco-festive: #B42318;
  --eco-footer: #0B1F16;
  --eco-text: #1B1B1B;
  --eco-muted: #4A5560;
  --eco-white: #ffffff;
  --eco-cta: linear-gradient(135deg, #1B4332 0%, #2D6A4F 48%, #40916C 100%);
  --eco-cta-shadow: 0 10px 22px rgba(27, 67, 50, 0.28);
  --font-mr: 'NotoSansDevanagari', 'Noto Serif Devanagari', Georgia, serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mr);
  color: var(--eco-text);
  background: var(--eco-wash);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.menu-open {
  overflow: hidden;
}

.boxed.blog,
.site-page {
  background: transparent;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* ---------- Figma hero: desktop 427:383 · tablet/mobile 411:79 ---------- */
.figma-hero {
  position: relative;
  height: clamp(640px, 92vh, 920px);
  overflow: hidden;
  background: #0a1a12;
  color: #fff;
}

.figma-hero__bg {
  position: absolute;
  inset: 0;
}

.figma-hero__bg--mobile {
  display: none;
}

.figma-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.42) saturate(0.85);
}

.figma-hero__bg--desktop img {
  transform: scale(1.05);
}

.figma-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 48%, rgba(246, 226, 122, 0.2), transparent 42%),
    linear-gradient(90deg, rgba(8, 20, 14, 0.12) 0%, rgba(8, 20, 14, 0.4) 52%, rgba(8, 20, 14, 0.68) 100%);
}

.figma-hero__glow {
  position: absolute;
  left: -8%;
  top: 8%;
  width: min(70%, 900px);
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(212, 160, 23, 0.26), transparent 68%);
  pointer-events: none;
  z-index: 1;
}

.figma-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0;
}

/* Desktop: Figma 427:383 — cutout idol, left-aligned, natural ratio */
.figma-hero__idol {
  position: absolute;
  left: -4%;
  bottom: 0;
  width: min(58%, 760px);
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  pointer-events: none;
  line-height: 0;
  background: transparent;
  overflow: visible;
}

.figma-hero__idol img {
  display: block;
  width: auto;
  height: 90%;
  max-width: 100%;
  max-height: 840px;
  object-fit: contain;
  object-position: left bottom;
  background: transparent;
  filter: none;
}

.figma-hero__copy {
  position: absolute;
  right: clamp(1.25rem, 4vw, 4.5rem);
  top: 14%;
  bottom: 10%;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  width: min(100% - 2rem, 468px);
  min-height: 0;
  z-index: 3;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.figma-hero__chant {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 420px;
  line-height: 0;
}

.figma-hero__chant-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  object-position: center top;
  mix-blend-mode: screen;
}

.figma-hero__card {
  background: #facc25;
  border: 1px solid rgba(255, 255, 255, 0.53);
  border-radius: 8px;
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.figma-hero__card p {
  margin: 0;
  color: #000;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.4;
  font-weight: 500;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

.figma-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  background: #fff;
  color: #000 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.figma-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  color: #000 !important;
  text-decoration: none;
}

/* ---------- Tablet (Figma-inspired mid layout) ---------- */
@media (max-width: 1100px) and (min-width: 768px) {
  .figma-hero {
    height: auto;
    min-height: 720px;
  }

  .figma-hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: end;
    gap: 1rem;
    padding: 1.5rem 1.5rem 0;
    min-height: 720px;
  }

  .figma-hero__idol {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    height: min(68vh, 620px);
    align-items: flex-end;
    justify-content: center;
  }

  .figma-hero__idol img {
    width: auto;
    height: 100%;
    max-width: 100%;
    margin: 0 auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .figma-hero__copy {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    min-height: 0;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 2rem;
    gap: 1.5rem;
    justify-content: center;
    padding-bottom: 1.5rem;
  }

  .figma-hero__card {
    gap: 1.5rem;
  }
}

/* ---------- Mobile (Figma 411:79 stacked) ---------- */
@media (max-width: 767px) {
  .figma-hero {
    height: auto;
    min-height: 0;
  }

  .figma-hero__bg--desktop {
    display: none;
  }

  .figma-hero__bg--mobile {
    display: block;
  }

  .figma-hero__bg--mobile img {
    filter: brightness(0.35) saturate(0.75);
    transform: none;
  }

  .figma-hero__bg::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.72) 100%);
  }

  .figma-hero__glow {
    display: none;
  }

  .figma-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 2rem 1.15rem 2.25rem;
    min-height: min(100vh, 812px);
  }

  .figma-hero__copy {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    order: 1;
    width: 100%;
    max-width: 360px;
    min-height: 0;
    gap: 0;
    margin: 0 auto;
    padding: 0;
  }

  .figma-hero__chant {
    max-width: 320px;
    margin: 0 auto;
  }

  .figma-hero__chant-img {
    /* keep green/white calligraphy on dark mobile bg */
    mix-blend-mode: screen;
  }

  /* Card moves under idol on mobile */
  .figma-hero__card {
    order: 3;
    margin-top: 0.75rem;
    gap: 1.25rem;
    padding: 1.15rem;
  }

  .figma-hero__idol {
    position: relative;
    left: auto;
    bottom: auto;
    order: 2;
    width: min(88vw, 340px);
    height: auto;
    margin: 0.25rem auto 0;
    justify-content: center;
  }

  .figma-hero__idol img {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .figma-hero__card p {
    font-size: 1.05rem;
  }

  .figma-hero__btn {
    font-size: 1.05rem;
  }
}

/* On mobile, pull card out of copy so order works */
@media (max-width: 767px) {
  .figma-hero__copy {
    display: contents;
  }

  .figma-hero__chant {
    order: 1;
    width: min(88vw, 340px);
  }
}

/* ---------- Figma saptasutri (313:236) eco remap ---------- */
.figma-saptasutri {
  position: relative;
  overflow: visible;
  color: #fff;
  padding: 5rem 1.5rem 6rem;
  background: #120e0b;
}

.figma-saptasutri__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.figma-saptasutri__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(0.8);
}

.figma-saptasutri__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 18, 12, 0.72) 0%, rgba(8, 18, 12, 0.45) 45%, rgba(8, 18, 12, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.55));
}

.figma-saptasutri__inner {
  position: relative;
  z-index: 1;
  max-width: 1260px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  overflow: visible;
}

.figma-saptasutri__intro {
  min-width: 0;
  overflow: visible;
}

.figma-saptasutri__title {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.2vw, 3.35rem);
  line-height: 1.35;
  font-weight: 600;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
  /* Solid gold avoids matra clipping from background-clip */
  color: #ffc44d;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
  padding: 0.05em 0 0.2em;
}

.figma-saptasutri__lead {
  margin: 0;
  max-width: 464px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.15rem;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: break-word;
}

.figma-saptasutri__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  min-width: 0;
}

.figma-saptasutri__list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  min-width: 0;
}

.figma-saptasutri__num {
  flex-shrink: 0;
  width: 2.2em;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.2;
  font-weight: 600;
  color: #ffc44d;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}

.figma-saptasutri__list p {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.4;
  padding-top: 0.35rem;
  word-break: normal;
  overflow-wrap: break-word;
  min-width: 0;
}

@media (max-width: 900px) {
  .figma-saptasutri {
    padding: 3rem 1.15rem 3.5rem;
  }

  .figma-saptasutri__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .figma-saptasutri__title {
    font-size: clamp(1.45rem, 6.5vw, 2rem);
    line-height: 1.3;
  }

  .figma-saptasutri__list {
    gap: 1.5rem;
  }
}

.hero-eco,
.hero-split,
.eco-saptasutri {
  display: none !important;
}

/* ---------- Quick links ---------- */
.eco-quick {
  background: #e8b94f;
  padding: 1.6rem 1.25rem 2rem;
}

/* ---------- Header ---------- */
.site-header-wrap {
  position: relative;
  z-index: 1000;
}

.site-header {
  background: var(--eco-white);
  box-shadow: 0 2px 16px rgba(27, 67, 50, 0.08);
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--eco-forest);
}

.site-brand__logo {
  height: 64px;
  width: auto;
}

.site-brand__title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav__list>li {
  position: relative;
}

.site-nav__list a,
.site-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--eco-text);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav__chevron {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.15rem;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.2s ease;
}

.has-dropdown.is-open .site-nav__chevron {
  transform: rotate(180deg);
}

.site-nav__list a.is-active,
.site-nav__list a:hover,
.site-nav__trigger.is-active,
.site-nav__trigger:hover,
.has-dropdown.is-open .site-nav__trigger {
  background: var(--eco-cta);
  color: var(--eco-white);
  box-shadow: 0 6px 16px rgba(27, 67, 50, 0.22);
}

.has-dropdown {
  position: relative;
}

.site-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 300px;
  background: var(--eco-white);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(8, 28, 21, 0.16);
  list-style: none;
  margin: 0;
  padding: 0.65rem;
  padding-top: 0.85rem;
  z-index: 50;
}

/* Invisible bridge so mouse can move into menu without closing */
.site-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.has-dropdown:hover .site-dropdown,
.has-dropdown.is-open .site-dropdown,
.has-dropdown:focus-within .site-dropdown {
  display: block;
}

.site-dropdown a {
  display: block;
  border-radius: 8px;
  font-size: 0.92rem;
  white-space: normal;
  line-height: 1.4;
}

.site-dropdown a:hover,
.site-dropdown a.is-active {
  background: var(--eco-cta);
  color: var(--eco-white);
}

.site-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.site-menu-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1a1a;
  border-radius: 2px;
}

/* Mobile overlay menu */
.site-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background:
    radial-gradient(circle at 50% 20%, rgba(64, 145, 108, 0.45), transparent 50%),
    linear-gradient(165deg, #0B1F16 0%, #1B4332 40%, #C45C26 100%);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 2rem;
}

.site-mobile-overlay[hidden] {
  display: none !important;
}

.site-mobile-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.site-brand--light .site-brand__title {
  color: #fff;
}

.site-mobile-overlay__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.site-close-icon {
  position: relative;
  width: 18px;
  height: 18px;
  display: block;
}

.site-close-icon::before,
.site-close-icon::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.site-close-icon::before {
  transform: rotate(45deg);
}

.site-close-icon::after {
  transform: rotate(-45deg);
}

.site-mobile-overlay__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
  flex: 1;
}

.site-mobile-overlay__nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  transition: color 0.2s ease;
}

.site-mobile-overlay__nav a:hover {
  color: var(--eco-gold);
}

.site-mobile-overlay__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.site-mobile-overlay__social a {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Hero — match eco mock (black | forest green) ---------- */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  height: min(72vh, 640px);
  background: #000;
}

.hero-split__media {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 0;
}

.hero-split__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.hero-split__chant {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.01em;
  pointer-events: none;
  z-index: 2;
  animation: fadeUp 0.9s ease 0.1s both;
}

.hero-split__panel {
  background: #1b392b;
  color: #e8b94f;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3.25rem 3.5rem;
  animation: fadeUp 0.8s ease both;
}

.hero-split__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.hero-split__title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  line-height: 1.38;
  font-weight: 700;
  color: #e8b94f;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff !important;
  background: var(--eco-cta);
  box-shadow: 0 0 0 5px rgba(45, 106, 79, 0.18), var(--eco-cta-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 0 7px rgba(45, 106, 79, 0.24), 0 14px 32px rgba(27, 67, 50, 0.35);
  color: #fff !important;
  text-decoration: none;
}

/* ---------- Quick links ---------- */
.eco-quick {
  background: #e8b94f;
  padding: 1.6rem 1.25rem 2rem;
}

.eco-quick__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.eco-quick__title {
  margin: 0 0 1.5rem;
  text-align: center;
  color: #8a0000;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.eco-quick__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  justify-items: center;
}

.eco-quick__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  max-width: 480px;
  min-height: 48px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.15rem;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  border: 0;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.08);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.eco-quick__link::before,
.eco-quick__link::after {
  content: none !important;
}

.eco-quick__text {
  flex: 1;
  line-height: 1.35;
}

.eco-quick__arrow {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: block;
}

.eco-quick__icon {
  display: none !important;
}

.eco-quick__link:hover {
  transform: translateX(4px);
  background: var(--eco-forest);
  color: var(--eco-white);
  text-decoration: none;
}

.eco-quick__link:hover .eco-quick__arrow {
  filter: invert(1) brightness(2);
}

/* ---------- Saptasutri (design Frame 92) ---------- */
.eco-saptasutri {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 1.25rem 4rem;
  color: #fff;
  background: #140e0b;
}

.eco-saptasutri__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.62), rgba(10, 8, 6, 0.78)),
    url('../icon/design/saptasutri-bg.jpg') center / cover no-repeat;
}

.eco-saptasutri__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.eco-saptasutri__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.25rem;
}

.eco-saptasutri__title {
  margin: 0 0 1rem;
  color: var(--eco-gold);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  line-height: 1.4;
  font-weight: 800;
}

.eco-saptasutri__lead {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.02rem;
  line-height: 1.7;
}

.eco-saptasutri__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem 1.5rem;
}

.eco-saptasutri__list li {
  text-align: center;
  padding: 0 0.35rem;
}

.eco-saptasutri__list li:last-child {
  grid-column: 1 / -1;
  max-width: 420px;
  margin: 0 auto;
}

.eco-saptasutri__num {
  display: block;
  color: var(--eco-gold);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.eco-saptasutri__list p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .eco-saptasutri__list {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .eco-saptasutri__list li:last-child {
    max-width: none;
  }

  .eco-saptasutri__header {
    margin-bottom: 1.75rem;
  }

  .eco-saptasutri__bg {
    background:
      linear-gradient(180deg, rgba(10, 8, 6, 0.58), rgba(10, 8, 6, 0.8)),
      url('../icon/design/saptasutri-bg.jpg') center top / cover no-repeat;
  }
}

/* ---------- Gallery carousel (Figma 313:278) ---------- */
.eco-gallery {
  background: #fffaf4;
  padding: 4rem 0 4.5rem;
  width: 100%;
}

.eco-gallery__inner {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 0;
}

.eco-gallery__title {
  text-align: center;
  margin: 0 auto 0.75rem;
  max-width: 900px;
  padding: 0 1.25rem;
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  line-height: 1.15;
  color: #8a0000;
  font-weight: 600;
}

.eco-gallery__subtitle {
  text-align: center;
  margin: 0 auto 2.5rem;
  padding: 0 1.25rem;
  color: #212121;
  font-size: 1.15rem;
  line-height: 1.4;
}

.eco-gallery__stage {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  /* room for left/right arrows outside the slides */
  padding: 0 clamp(3.25rem, 5vw, 4.75rem);
  box-sizing: border-box;
}

.eco-gallery__carousel {
  width: 100%;
}

.eco-gallery__item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 489 / 415;
  box-shadow: 0 10px 28px rgba(27, 67, 50, 0.1);
  background: #f3ebe0;
}

.eco-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eco-gallery .owl-nav,
.eco-gallery .owl-nav.disabled {
  display: block !important;
  margin: 0 !important;
  position: static !important;
  height: 0 !important;
  opacity: 1 !important;
}

.eco-gallery .owl-nav .owl-prev,
.eco-gallery .owl-nav .owl-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  box-shadow: none !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  z-index: 6;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.eco-gallery .owl-nav .owl-prev {
  left: 0.5rem !important;
  right: auto !important;
}

.eco-gallery .owl-nav .owl-next {
  right: 0.5rem !important;
  left: auto !important;
}

.eco-gallery .owl-nav .owl-prev.disabled,
.eco-gallery .owl-nav .owl-next.disabled {
  opacity: 1 !important;
  cursor: pointer !important;
}

.eco-gallery__nav-icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.22));
  border-radius: 50%;
  background: #fff;
}

/* Figma left control is the right chevron flipped */
.eco-gallery__nav-icon--prev {
  transform: scaleX(-1);
}

.eco-gallery .owl-nav .owl-prev:hover,
.eco-gallery .owl-nav .owl-next:hover {
  transform: translateY(-50%) scale(1.06) !important;
  background: transparent !important;
}

.eco-gallery .owl-dots {
  display: none !important;
}

@media (max-width: 768px) {
  .eco-gallery {
    padding: 2.75rem 0 3rem;
  }

  .eco-gallery__stage {
    padding: 0 3.25rem;
  }

  .eco-gallery .owl-nav .owl-prev {
    left: 0.35rem !important;
  }

  .eco-gallery .owl-nav .owl-next {
    right: 0.35rem !important;
  }

  .eco-gallery__nav-icon {
    width: 40px;
    height: 40px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  background:
    radial-gradient(circle at 20% 20%, rgba(64, 145, 108, 0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(201, 162, 39, 0.12), transparent 35%),
    var(--eco-footer);
  color: #fff;
  padding: 2.5rem 1.25rem 1rem;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.site-footer__brand img {
  height: 110px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.site-footer__brand h3,
.site-footer__contact h4,
.site-footer__social h4 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.site-footer__row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 0 0.65rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__row i {
  margin-top: 0.2rem;
  color: var(--eco-gold);
  flex-shrink: 0;
}

.site-footer a.site-footer__link,
.site-footer__row a {
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-footer a.site-footer__link:hover,
.site-footer a.site-footer__link:focus,
.site-footer__row a:hover,
.site-footer__row a:focus {
  color: var(--eco-gold) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

.site-footer__link--map {
  max-width: 36ch;
}

.site-footer__social-links {
  display: flex;
  gap: 0.85rem;
}

.site-footer__social-links a {
  color: #fff !important;
  font-size: 1.6rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__social-links a:hover {
  color: var(--eco-gold) !important;
  transform: translateY(-2px);
}

.site-footer__bottom {
  max-width: 1100px;
  margin: 1.75rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer__bottom p {
  margin: 0;
}

/* ---------- Inner pages / forms ---------- */
.page-shell {
  padding: 2.5rem 1.25rem 3.5rem;
}

.page-shell__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-shell__inner--narrow {
  max-width: 480px;
}

.page-shell__inner--wide {
  max-width: 1200px;
}

/* ---------- Admin / submissions ---------- */
.admin-login {
  background: var(--eco-white);
  border-radius: 18px;
  padding: 1.75rem 1.5rem 1.85rem;
  box-shadow: 0 12px 36px rgba(27, 67, 50, 0.08);
}

.admin-login__lead {
  margin: 0 0 1.25rem;
  color: var(--eco-muted);
  text-align: center;
  line-height: 1.5;
}

.admin-login .reg-form__submit {
  width: 100%;
  align-self: stretch;
}

.admin-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.admin-toolbar__title {
  margin: 0;
  text-align: left;
}

.admin-toolbar__sub {
  margin: 0.35rem 0 0;
  color: var(--eco-muted);
}

.admin-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: transparent;
  border: 1.5px solid var(--eco-festive);
  color: var(--eco-festive) !important;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.admin-logout:hover {
  background: var(--eco-festive);
  color: #fff !important;
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
}

.admin-tabs__btn {
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid rgba(45, 106, 79, 0.28);
  background: var(--eco-white);
  color: var(--eco-forest);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-tabs__btn:hover {
  border-color: var(--eco-green);
}

.admin-tabs__btn.is-active {
  background: var(--eco-cta);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--eco-cta-shadow);
}

.admin-panel {
  background: var(--eco-white);
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 12px 36px rgba(27, 67, 50, 0.08);
}

.admin-panel__head {
  margin-bottom: 0.85rem;
}

.admin-panel__title {
  margin: 0;
  color: var(--eco-forest);
  font-size: 1.2rem;
  font-weight: 700;
}

.admin-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.admin-table {
  width: 100% !important;
  border-collapse: collapse;
}

.admin-table thead th {
  background: #e8f2ec !important;
  color: var(--eco-forest) !important;
  font-weight: 700 !important;
  border-bottom: 2px solid rgba(45, 106, 79, 0.2) !important;
  white-space: nowrap;
}

.admin-table tbody td {
  color: var(--eco-text);
  border-bottom: 1px solid rgba(45, 106, 79, 0.1) !important;
  vertical-align: top;
}

.admin-table tbody tr:hover td {
  background: #f6faf7 !important;
}

.dataTables_wrapper .dataTables_filter input {
  border: 1.5px solid #2d6a4f !important;
  border-radius: 10px !important;
  padding: 0.4rem 0.7rem !important;
  margin-left: 0.4rem;
  min-height: 40px;
}

.dataTables_wrapper .dataTables_filter input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.18);
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
  color: var(--eco-muted) !important;
  padding-top: 0.85rem !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 8px !important;
  border: 0 !important;
  color: var(--eco-forest) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--eco-cta) !important;
  color: #fff !important;
  border: 0 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #e8f2ec !important;
  color: var(--eco-forest) !important;
  border: 0 !important;
}

.dataTables_wrapper .dt-buttons {
  margin-bottom: 0.75rem;
}

.dataTables_wrapper .dt-button.admin-export-btn,
.dataTables_wrapper .dt-button {
  background: var(--eco-cta) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.15rem !important;
  box-shadow: var(--eco-cta-shadow);
}

.dataTables_wrapper .dt-button:hover {
  filter: brightness(1.05);
}

@media (max-width: 700px) {
  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-toolbar__title {
    text-align: center;
  }

  .admin-toolbar__sub {
    text-align: center;
  }

  .admin-logout {
    width: 100%;
  }

  .admin-tabs__btn {
    flex: 1 1 auto;
    text-align: center;
  }
}

.page-title {
  color: var(--eco-forest);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  margin: 0 0 1.5rem;
  text-align: center;
}

.reg-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.75rem;
  align-items: start;
  background: var(--eco-white);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 12px 36px rgba(27, 67, 50, 0.08);
}

.reg-layout__media img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.reg-form__alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.reg-form__alert--success {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.reg-form__alert--error {
  background: #fdecea;
  color: #b71c1c;
  border: 1px solid #f5c6cb;
}

.reg-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.reg-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  min-width: 0;
}

.reg-form__field label {
  color: var(--eco-forest);
  font-weight: 700;
  margin: 0;
}

.reg-form__field input,
.reg-form__field select,
.reg-form__field textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid #2d6a4f !important;
  border-radius: 10px;
  background-color: #fff !important;
  color: #1b1b1b;
  font: inherit;
  line-height: 1.4;
  min-height: 48px;
}

.reg-form__field input,
.reg-form__field textarea {
  appearance: none;
  -webkit-appearance: none;
}

.reg-form__field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%232d6a4f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.9rem center !important;
  background-size: 16px 16px !important;
}

.reg-form__field select::-ms-expand {
  display: none;
}

.reg-form__field input::placeholder,
.reg-form__field textarea::placeholder {
  color: #8a9a91;
  opacity: 1;
}

.reg-form__field select:invalid {
  color: #8a9a91;
}

.reg-form__field select option {
  color: #1b1b1b;
  background: #fff;
}

.reg-form__field select option[disabled] {
  color: #8a9a91;
}

.reg-form__field textarea {
  min-height: 120px;
  resize: vertical;
}

.reg-form__field input:focus,
.reg-form__field select:focus,
.reg-form__field textarea:focus {
  outline: none;
  border-color: #2d6a4f !important;
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.18);
}

.reg-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 180px;
  min-height: 48px;
  margin-top: 0.35rem;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--eco-cta);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--eco-cta-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reg-form__submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(27, 67, 50, 0.35);
}

.reg-form__submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

@media (max-width: 700px) {
  .reg-form__grid {
    grid-template-columns: 1fr;
  }

  .reg-form__submit {
    width: 100%;
  }
}

/* legacy class hooks kept for older markup */
.reg-layout .heading-features {
  color: var(--eco-forest);
  font-weight: 700;
}

.reg-layout .input-contact,
.reg-layout .input-contact-message,
.reg-layout .input-select {
  border: 1.5px solid #2d6a4f;
  border-radius: 10px;
  background: #fff;
}

.reg-layout .btn,
.reg-layout .btn-left {
  background: var(--eco-cta) !important;
  border: 0 !important;
  color: #fff !important;
  border-radius: 999px !important;
  font-weight: 700;
  box-shadow: var(--eco-cta-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.reg-layout .btn:hover,
.reg-layout .btn-left:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(27, 67, 50, 0.35);
}

.about-panel {
  max-width: 900px;
  margin: 0 auto;
  background: var(--eco-white);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 12px 36px rgba(27, 67, 50, 0.08);
}

.about-panel img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}

.about-panel p {
  text-align: justify;
  line-height: 1.7;
  color: var(--eco-muted);
}

/* Hide legacy absolute header chrome if still present */
.custom-header-wrapper {
  display: none !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-split {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .hero-split__media {
    min-height: 340px;
    max-height: 480px;
  }

  .hero-split__photo {
    object-position: center 12%;
  }

  .hero-split__chant {
    right: 6%;
    font-size: clamp(1.7rem, 7vw, 2.5rem);
  }

  .hero-split__panel {
    padding: 2.25rem 1.5rem 2.75rem;
  }

  .eco-saptasutri__list {
    grid-template-columns: 1fr;
  }

  .site-footer__inner,
  .reg-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  .site-brand__title {
    font-size: 1.05rem;
  }

  .site-brand__logo {
    height: 52px;
  }

  .eco-quick__grid {
    grid-template-columns: 1fr;
  }

  .hero-split__panel {
    padding: 2rem 1.25rem 2.4rem;
  }
}