:root {
    --red: #8b1018;
    --red-dark: #5d0710;
    --red-bright: #b82028;
    --yellow: #f4b41a;
    --gold: #d99a13;
    --cream: #fff8e9;
    --paper: #fffdf7;
    --ink: #2d1712;
    --muted: #705c54;
    --border: rgba(139, 16, 24, .14);
    --shadow: 0 22px 60px rgba(87, 22, 15, .13);
    --radius: 24px;
    --container: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    overflow-x: hidden
}

body.menu-open {
    overflow: hidden
}

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

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: auto
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0
}

.skip-link:focus {
    left: 12px;
    top: 12px;
    background: #fff;
    padding: 10px;
    z-index: 999
}

.top-strip {
    background: var(--red-dark);
    color: #fff;
    font-size: 13px
}

.top-strip-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.top-strip a {
    margin-left: 24px
}

.top-strip i {
    color: var(--yellow);
    margin-right: 7px
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 253, 247, .96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: .25s
}

.site-header.scrolled {
    box-shadow: 0 10px 30px rgba(61, 21, 15, .09);
    border-color: var(--border)
}

.nav-wrap {
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: max-content
}

.brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--yellow), #fff0a8);
    border: 2px solid var(--red);
    display: grid;
    place-items: center;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(139, 16, 24, .18)
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1
}

.brand-copy strong {
    font-family: Cinzel, serif;
    color: var(--red);
    font-size: 18px
}

.brand-copy small {
    margin-top: 6px;
    color: var(--muted);
    font-family: 'Tiro Telugu', serif
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-size: 14px;
    font-weight: 700
}

.main-nav>a {
    position: relative;
    padding: 12px 0
}

.main-nav>a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 4px;
    height: 2px;
    background: var(--yellow);
    transition: .25s
}

.main-nav>a:hover,
.main-nav>a.active {
    color: var(--red)
}

.main-nav>a:hover::after,
.main-nav>a.active::after {
    right: 0
}

.nav-cta {
    background: var(--red);
    color: #fff;
    padding: 12px 18px !important;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(139, 16, 24, .25)
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    width: 42px;
    height: 42px;
    padding: 8px
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--red);
    margin: 6px 0;
    transition: .25s
}

.hero {
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(244, 180, 26, .42), transparent 33%), linear-gradient(135deg, #fff8e8 0%, #f5c63e 43%, #a91620 100%);
    min-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to right, #000, transparent)
}

.hero-pattern {
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;
    right: -120px;
    top: -80px;
    box-shadow: 0 0 0 45px rgba(255, 255, 255, .05), 0 0 0 90px rgba(255, 255, 255, .04)
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 70px;
    align-items: center;
    padding: 80px 0 120px
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-transform: uppercase;
    letter-spacing: 2.4px;
    font-size: 12px;
    font-weight: 800;
    color: var(--red)
}

.hero h1 {
    font-family: Cinzel, serif;
    font-size: clamp(42px, 5.2vw, 74px);
    line-height: 1.08;
    margin: 18px 0 22px;
    color: var(--red-dark)
}

.hero h1 em {
    font-family: 'Tiro Telugu', serif;
    font-weight: 400;
    color: #fff;
    font-style: normal;
    text-shadow: 0 3px 18px rgba(77, 8, 12, .35)
}

.hero-content>p {
    font-size: 18px;
    max-width: 690px;
    color: #4c2b24
}

.hero-actions,
.cta-actions,
.contact-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 30px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 13px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: .25s;
    cursor: pointer
}

.btn:hover {
    transform: translateY(-2px)
}

.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 12px 25px rgba(139, 16, 24, .25)
}

.btn-light {
    background: #fff;
    color: var(--red);
    box-shadow: 0 12px 28px rgba(68, 18, 12, .15)
}

.btn-outline {
    border-color: var(--red);
    color: var(--red);
    background: transparent
}

.btn-ghost {
    border-color: rgba(255, 255, 255, .7);
    color: #fff
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 42px
}

.hero-facts div {
    border-left: 3px solid var(--red);
    padding-left: 13px
}

.hero-facts strong {
    display: block;
    font-family: Cinzel, serif;
    font-size: 21px;
    color: var(--red-dark)
}

.hero-facts span {
    font-size: 12px;
    color: #5f3d35
}

.hero-visual {
    position: relative
}

.deity-frame {
    width: min(430px, 100%);
    aspect-ratio: 4/5;
    margin: auto;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, .75);
    border-radius: 210px 210px 28px 28px;
    background: rgba(255, 255, 255, .28);
    box-shadow: 0 35px 80px rgba(70, 8, 10, .28);
    position: relative
}

.deity-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 195px 195px 20px 20px
}

.photo-note {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    white-space: nowrap;
    background: rgba(93, 7, 16, .88);
    color: #fff;
    padding: 7px 13px;
    border-radius: 30px;
    font-size: 11px
}

.floating-card {
    position: absolute;
    left: -20px;
    bottom: 55px;
    background: #fff;
    padding: 15px 18px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    box-shadow: var(--shadow)
}

.floating-card i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--yellow);
    color: var(--red)
}

.floating-card small,
.floating-card strong {
    display: block
}

.floating-card small {
    color: var(--muted);
    font-size: 11px
}

.floating-card strong {
    font-family: Cinzel, serif;
    color: var(--red)
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--paper);
    clip-path: ellipse(75% 45% at 50% 100%)
}

.section {
    padding: 100px 0
}

.section-sm {
    padding: 0 0 35px
}

.muted-section {
    background: var(--cream)
}

.quick-info {
    position: relative;
    z-index: 5;
    margin-top: -25px
}

.info-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 22px
}

.info-band>div,
.info-band>a {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 7px 18px;
    border-right: 1px solid var(--border)
}

.info-band>*:last-child {
    border: 0
}

.info-band i {
    color: var(--red);
    font-size: 20px
}

.info-band small,
.info-band strong {
    display: block
}

.info-band small {
    font-size: 11px;
    color: var(--muted)
}

.info-band strong {
    font-size: 14px
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center
}

.image-stack {
    position: relative
}

.image-stack>img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--cream)
}

.heritage-stamp {
    position: absolute;
    right: -25px;
    bottom: -25px;
    background: var(--red);
    color: #fff;
    width: 155px;
    height: 155px;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    border: 7px solid #fff;
    box-shadow: var(--shadow)
}

.heritage-stamp strong {
    font-family: Cinzel, serif;
    font-size: 31px;
    color: var(--yellow)
}

.heritage-stamp span {
    font-size: 11px;
    max-width: 105px
}

.section-copy h2,
.section-heading h2,
.featured-seva h2,
.contact-panel h2,
.custom-note h2,
.cta-card h2 {
    font-family: Cinzel, serif;
    color: var(--red-dark);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    margin: 13px 0 20px
}

.section-copy p,
.section-heading p {
    color: var(--muted)
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--red);
    font-weight: 800;
    margin-top: 13px
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 48px
}

.section-heading.center {
    text-align: center
}

.section-heading.light h2,
.section-heading.light p,
.section-heading.light .section-kicker {
    color: #fff
}

.card-grid {
    display: grid;
    gap: 24px
}

.card-grid.four {
    grid-template-columns: repeat(4, 1fr)
}

.card-grid.three {
    grid-template-columns: repeat(3, 1fr)
}

.icon-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 20px;
    transition: .25s
}

.icon-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: rgba(139, 16, 24, .35)
}

.icon-card>i {
    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff1a9, var(--yellow));
    display: grid;
    place-items: center;
    color: var(--red);
    font-size: 22px
}

.icon-card h3 {
    font-family: Cinzel, serif;
    color: var(--red);
    font-size: 18px;
    margin: 20px 0 8px
}

.icon-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.center {
    text-align: center
}

.top-gap {
    margin-top: 35px
}

.protection-section {
    background: linear-gradient(rgba(93, 7, 16, .92), rgba(93, 7, 16, .92)), url('../images/pattern.svg');
    background-size: auto, 300px;
    color: #fff
}

.belief-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px
}

.belief {
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 18px;
    padding: 25px;
    text-align: center;
    background: rgba(255, 255, 255, .06)
}

.belief i {
    display: block;
    color: var(--yellow);
    font-size: 28px;
    margin-bottom: 12px
}

.belief span {
    font-family: Cinzel, serif
}

.gallery-preview {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 18px
}

.gallery-preview img {
    height: 350px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    background: var(--cream)
}

.cta-section {
    padding-top: 30px
}

.cta-card {
    background: linear-gradient(120deg, var(--red-dark), var(--red-bright));
    color: #fff;
    border-radius: 28px;
    padding: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--shadow)
}

.cta-card h2 {
    color: #fff;
    font-size: 34px
}

.cta-card p {
    margin: 0;
    color: #ffe8d1
}

.cta-card .section-kicker {
    color: var(--yellow)
}

.site-footer {
    position: relative;
    background: #2b0a0d;
    color: #f5ddd6;
    padding: 80px 0 20px;
    overflow: hidden
}

.footer-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(244, 180, 26, .08);
    right: -220px;
    top: -250px
}

.footer-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr .7fr .7fr 1.2fr;
    gap: 45px
}

.footer-brand .brand-copy strong {
    color: #fff
}

.footer-brand .brand-copy small {
    color: var(--yellow)
}

.footer-grid h3 {
    font-family: Cinzel, serif;
    color: var(--yellow);
    font-size: 16px
}

.footer-grid p {
    font-size: 14px;
    color: #d8b9b2
}

.footer-grid>div>a:not(.brand) {
    display: block;
    margin: 9px 0;
    color: #ecd8d2;
    font-size: 14px
}

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.social-row a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    display: grid !important;
    place-items: center;
    margin: 0 !important
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 40px;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-copyright {
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
}

.floating-whatsapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
    z-index: 99
}

.page-hero {
    background: linear-gradient(125deg, rgba(93, 7, 16, .98), rgba(184, 32, 40, .9)), url('../images/pattern.svg');
    background-size: auto, 260px;
    color: #fff;
    padding: 105px 0 95px;
    text-align: center
}

.page-hero h1 {
    font-family: Cinzel, serif;
    font-size: clamp(38px, 6vw, 64px);
    line-height: 1.1;
    margin: 15px 0
}

.page-hero p {
    max-width: 680px;
    margin: auto;
    color: #f7d9cd
}

.page-hero .eyebrow {
    color: var(--yellow)
}

.timeline {
    position: relative;
    max-width: 850px;
    margin: auto
}

.timeline:before {
    content: "";
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold)
}

.timeline-item {
    position: relative;
    padding: 0 0 50px 75px
}

.timeline-item:before {
    content: "";
    position: absolute;
    left: 10px;
    top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--red);
    border: 5px solid var(--cream);
    box-shadow: 0 0 0 2px var(--gold)
}

.timeline-item span {
    color: var(--red);
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px
}

.timeline-item h3 {
    font-family: Cinzel, serif;
    font-size: 23px;
    margin: 8px 0
}

.timeline-item p {
    color: var(--muted);
    margin: 0
}

.quote-card {
    max-width: 900px;
    background: var(--red);
    color: #fff;
    border-radius: 24px;
    padding: 50px;
    text-align: center
}

.quote-card i {
    font-size: 35px;
    color: var(--yellow)
}

.quote-card blockquote {
    font-family: 'Tiro Telugu', serif;
    font-size: 26px;
    line-height: 1.6
}

.featured-seva {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 40px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 45px;
    box-shadow: var(--shadow);
    align-items: center
}

.seva-icon {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--yellow), #fff0a7);
    display: grid;
    place-items: center;
    color: var(--red);
    font-size: 45px;
    border: 7px solid var(--cream)
}

.notice {
    display: flex;
    gap: 10px;
    padding: 13px 16px;
    background: var(--cream);
    border-radius: 12px;
    color: var(--red);
    font-size: 13px
}

.offering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.offering-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 23px;
    border-radius: 16px;
    border: 1px solid var(--border);
    font-weight: 800
}

.offering-card i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--cream);
    display: grid;
    place-items: center;
    color: var(--red)
}

.custom-note {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 25px;
    align-items: start;
    background: #fff7dd;
    border: 1px solid #ebcf7a;
    border-radius: 22px;
    padding: 36px
}

.custom-note>div:first-child {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: var(--yellow);
    display: grid;
    place-items: center;
    color: var(--red);
    font-size: 26px
}

.custom-note h2 {
    font-size: 29px;
    margin-top: 0
}

.gallery-toolbar {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px
}

.filter-btn {
    border: 1px solid var(--border);
    background: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 800;
    color: var(--muted);
    cursor: pointer
}

.filter-btn.active {
    background: var(--red);
    color: #fff
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.gallery-item {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: var(--cream);
    min-height: 280px
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover
}

.gallery-item figcaption {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    background: rgba(45, 23, 18, .8);
    color: #fff;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 12px
}

.video-placeholder {
    display: grid;
    place-content: center;
    text-align: center;
    gap: 8px;
    border: 2px dashed rgba(139, 16, 24, .25)
}

.video-placeholder i {
    font-size: 35px;
    color: var(--red)
}

.video-placeholder span {
    font-size: 12px;
    color: var(--muted)
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px
}

.trust-card {
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 35px;
    background: #fff
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--cream);
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    color: var(--red);
    font-size: 32px
}

.trust-card>span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--red);
    font-weight: 800
}

.trust-card h3 {
    font-family: Cinzel, serif;
    font-size: 20px
}

.trust-card a {
    color: var(--red);
    font-weight: 800
}

.value-list {
    display: grid;
    gap: 15px
}

.value-list>div {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: 15px
}

.value-list i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--cream);
    display: grid;
    place-items: center;
    color: var(--red)
}

.value-list strong,
.value-list small {
    display: block
}

.value-list small {
    color: var(--muted)
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px
}

.contact-panel,
.map-placeholder {
    border-radius: 24px;
    border: 1px solid var(--border);
    padding: 40px;
    background: #fff
}

.contact-row {
    display: flex;
    gap: 16px;
    margin: 22px 0
}

.contact-row>i {
    width: 45px;
    height: 45px;
    border-radius: 13px;
    background: var(--cream);
    display: grid;
    place-items: center;
    color: var(--red);
    flex: 0 0 auto
}

.contact-row strong {
    font-family: Cinzel, serif;
    color: var(--red)
}

.contact-row p {
    margin: 4px 0;
    color: var(--muted)
}

.map-placeholder {
    min-height: 520px;
    background: linear-gradient(rgba(255, 248, 233, .9), rgba(255, 248, 233, .9)), url('../images/map-grid.svg');
    display: grid;
    place-content: center;
    text-align: center
}

.map-placeholder i {
    font-size: 55px;
    color: var(--red)
}

.small-note {
    font-size: 12px;
    color: var(--muted)
}

code {
    background: #f1e9df;
    padding: 2px 5px;
    border-radius: 5px
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.delay-1 {
    transition-delay: .1s
}

.delay-2 {
    transition-delay: .2s
}

.delay-3 {
    transition-delay: .3s
}

@media(max-width:1050px) {
    .main-nav {
        gap: 14px;
        font-size: 12px
    }

    .brand-copy strong {
        font-size: 15px
    }

    .hero-grid {
        gap: 30px
    }

    .card-grid.four {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:850px) {
    .top-strip {
        display: none
    }

    .nav-wrap {
        height: 74px
    }

    .brand-mark {
        width: 50px;
        height: 50px
    }

    .menu-toggle {
        display: block;
        z-index: 110
    }

    .menu-toggle.open span:nth-child(1) {
        transform: translateY(8px) rotate(45deg)
    }

    .menu-toggle.open span:nth-child(2) {
        opacity: 0
    }

    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg)
    }

    .main-nav {
        position: fixed;
        inset: 74px 0 auto 0;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 18px 24px 28px;
        gap: 2px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: .3s;
        box-shadow: 0 20px 40px rgba(0, 0, 0, .13)
    }

    .main-nav.open {
        transform: none;
        opacity: 1;
        pointer-events: auto
    }

    .main-nav>a {
        padding: 13px 4px;
        border-bottom: 1px solid var(--border)
    }

    .nav-cta {
        text-align: center;
        margin-top: 10px
    }

    .hero {
        min-height: auto
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding: 70px 0 120px
    }

    .hero-content {
        text-align: center
    }

    .hero-content>p {
        margin-left: auto;
        margin-right: auto
    }

    .hero-actions {
        justify-content: center
    }

    .hero-facts {
        text-align: left
    }

    .hero-visual {
        max-width: 500px;
        margin: auto
    }

    .info-band {
        grid-template-columns: repeat(2, 1fr)
    }

    .info-band>*:nth-child(2) {
        border-right: 0
    }

    .split-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .heritage-stamp {
        right: 15px
    }

    .card-grid.three,
    .gallery-grid,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .belief-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .gallery-preview {
        grid-template-columns: 1fr 1fr
    }

    .gallery-preview img:first-child {
        grid-column: 1/-1
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr
    }

    .cta-card {
        display: block
    }

    .featured-seva {
        grid-template-columns: 1fr;
        text-align: center
    }

    .seva-icon {
        margin: auto
    }

    .offering-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:560px) {
    .container {
        width: min(100% - 24px, var(--container))
    }

    .brand-copy strong {
        font-size: 13px
    }

    .brand-copy small {
        font-size: 11px
    }

    .hero h1 {
        font-size: 39px
    }

    .hero-grid {
        padding-top: 45px;
        gap: 45px
    }

    .hero-facts {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .hero-facts div {
        background: rgba(255, 255, 255, .25);
        padding: 10px 12px;
        border-radius: 10px;
        border-left: 3px solid var(--red)
    }

    .floating-card {
        left: 0;
        bottom: 20px
    }

    .info-band {
        grid-template-columns: 1fr
    }

    .info-band>div,
    .info-band>a {
        border-right: 0;
        border-bottom: 1px solid var(--border)
    }

    .section {
        padding: 72px 0
    }

    .section-copy h2,
    .section-heading h2 {
        font-size: 31px
    }

    .card-grid.four,
    .card-grid.three,
    .belief-grid,
    .gallery-preview,
    .gallery-grid,
    .trust-grid,
    .offering-grid {
        grid-template-columns: 1fr
    }

    .gallery-preview img:first-child {
        grid-column: auto
    }

    .gallery-preview img {
        height: 260px
    }

    .cta-card {
        padding: 35px 24px
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        display: block;
        text-align: center
    }

    .footer-bottom span {
        display: block;
        margin: 5px
    }

    .page-hero {
        padding: 75px 0
    }

    .page-hero h1 {
        font-size: 38px
    }

    .quote-card {
        padding: 30px 20px
    }

    .quote-card blockquote {
        font-size: 20px
    }

    .featured-seva,
    .contact-panel,
    .map-placeholder {
        padding: 28px 22px
    }

    .custom-note {
        grid-template-columns: 1fr
    }

    .custom-note>div:first-child {
        width: 60px;
        height: 60px
    }

    .contact-actions .btn {
        width: 100%
    }

    .map-placeholder {
        min-height: 350px
    }

    .photo-note {
        font-size: 9px
    }
}

.gallery-item figcaption {
    display: none;
}

/* =========================================================
   Visit and Contact Page
========================================================= */

.map-embed {
    min-height: 520px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.map-embed iframe {
    display: block;
    width: 100%;
    min-height: 460px;
    border: 0;
}

.map-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.map-footer>div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.map-footer>div i {
    color: var(--red);
}

.map-footer>a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.map-footer>a:hover {
    color: var(--red-dark);
    transform: translateX(3px);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.contact-row a {
    transition: color 0.25s ease;
}

.contact-row a:hover {
    color: var(--red);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
}

.card-link i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.card-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 850px) {
    .map-embed {
        min-height: auto;
    }

    .map-embed iframe {
        min-height: 420px;
        height: 420px;
    }
}

@media (max-width: 560px) {
    .contact-grid {
        gap: 28px;
    }

    .map-embed {
        border-radius: 18px;
    }

    .map-embed iframe {
        min-height: 340px;
        height: 340px;
    }

    .map-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding: 16px 18px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
/* =========================================================
   Donations page
========================================================= */
.donations-hero{background:linear-gradient(135deg,#780b14,#b81926)}
.donation-section{background:linear-gradient(180deg,#fffdf8 0%,#fff8e9 100%)}
.donation-qr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;max-width:940px;margin:40px auto 0}
.donation-qr-card{background:#fff;border:1px solid rgba(139,16,24,.14);border-radius:26px;padding:26px;box-shadow:0 18px 50px rgba(88,25,15,.1);text-align:center}
.payment-brand{display:flex;align-items:center;justify-content:center;gap:13px;margin-bottom:20px;text-align:left}
.payment-brand strong{display:block;font-family:var(--font-heading);font-size:22px;color:var(--ink)}
.payment-brand small{display:block;color:var(--muted);margin-top:2px}
.payment-logo{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;color:#fff;font-size:23px}
.phonepe-brand .payment-logo{background:#5f259f}.googlepay-brand .payment-logo{background:#1a73e8}
.qr-frame{max-width:330px;margin:0 auto 18px;padding:14px;background:#fff;border:1px solid rgba(139,16,24,.12);border-radius:22px}
.qr-frame img{display:block;width:100%;aspect-ratio:1;object-fit:contain;border-radius:12px}
.donation-qr-card>p{margin:0;color:var(--muted);font-size:14px;line-height:1.7}
.donation-notice{max-width:940px;margin:28px auto 0;display:flex;align-items:flex-start;gap:16px;padding:20px 22px;border:1px solid rgba(212,160,23,.45);border-radius:18px;background:#fff9df}
.donation-notice>i{width:46px;height:46px;display:grid;place-items:center;flex:0 0 auto;border-radius:14px;background:var(--gold);color:var(--red-dark);font-size:20px}
.donation-notice strong{display:block;color:var(--red-dark);margin-bottom:5px}.donation-notice p{margin:0;color:var(--muted);line-height:1.7}
.acknowledgment-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:55px;align-items:start}
.acknowledgment-copy h2{margin:10px 0 18px;font-family:var(--font-heading);font-size:clamp(34px,4vw,52px);color:var(--red-dark)}
.acknowledgment-copy>p{color:var(--muted);line-height:1.8}
.acknowledgment-points{display:grid;gap:15px;margin-top:28px}.acknowledgment-points div{display:flex;gap:11px;align-items:flex-start;color:var(--ink)}.acknowledgment-points i{color:var(--gold);margin-top:3px}
.donation-form{background:#fff;border:1px solid rgba(139,16,24,.14);border-radius:26px;padding:30px;box-shadow:0 18px 50px rgba(88,25,15,.1)}
.form-grid{display:grid;gap:18px}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.form-field{margin-bottom:18px}.form-field label{display:block;margin-bottom:8px;color:var(--ink);font-weight:700;font-size:14px}.form-field label span{color:var(--red)}
.form-field input,.form-field select,.form-field textarea{width:100%;border:1px solid rgba(74,41,28,.2);background:#fffdf9;border-radius:12px;padding:13px 14px;font:inherit;color:var(--ink);outline:none;transition:border-color .2s,box-shadow .2s}
.form-field textarea{resize:vertical;min-height:110px}.form-field input:focus,.form-field select:focus,.form-field textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(212,160,23,.14)}
.form-field input.invalid,.form-field select.invalid{border-color:#c62828;box-shadow:0 0 0 4px rgba(198,40,40,.1)}
.field-error,.consent-error{display:block;min-height:17px;margin-top:5px;color:#b00020;font-size:12px}
.consent-check{display:flex;align-items:flex-start;gap:10px;color:var(--muted);font-size:13px;line-height:1.6;cursor:pointer}.consent-check input{margin-top:4px;accent-color:var(--red)}
.donation-submit{width:100%;justify-content:center;margin-top:7px}.form-note{text-align:center;margin:14px 0 0;color:var(--muted);font-size:12px}.form-note i{color:var(--gold);margin-right:5px}
@media (max-width:1180px){.main-nav{gap:18px}.main-nav>a{font-size:13px}.nav-cta{padding-left:18px!important;padding-right:18px!important}}
@media (max-width:980px){.donation-qr-grid,.acknowledgment-layout{grid-template-columns:1fr}.acknowledgment-layout{gap:34px}.acknowledgment-copy{max-width:700px}.donation-qr-grid{max-width:620px}}
@media (max-width:620px){.donation-qr-grid{gap:20px}.donation-qr-card,.donation-form{padding:20px;border-radius:20px}.form-grid.two{grid-template-columns:1fr}.donation-notice{padding:17px}.payment-brand strong{font-size:19px}}





.seva-table{
    margin-top:25px;
    width:100%;
    border-collapse:collapse;
}

.seva-table th{
    background:#6b1d1d;
    color:#fff;
    text-align:center;
    padding:12px;
}

.seva-table td{
    padding:12px;
    border:1px solid #ddd;
}

.seva-table tr:nth-child(even){
    background:#fafafa;
}

.table-responsive{
    overflow-x:auto;
}

.attachment-card{
    margin-top:40px;
    padding:25px;
    border:1px solid #e5e7eb;
    border-radius:16px;
    background:#fff;
}

.attachment-card h3{
    margin-bottom:10px;
}

.attachment-preview{
    width:100%;
    max-width:380px;
    margin-top:20px;
    border-radius:10px;
    border:1px solid #ddd;
    transition:.3s;
    cursor:pointer;
}

.attachment-preview:hover{
    transform:scale(1.02);
}

.attachment-actions{
    display:flex;
    gap:15px;
    margin-top:20px;
    flex-wrap:wrap;
}
