:root {
    --primary: #ca4200; /* main colour */
    --primary-dark: #a33500; /* hover */
    --ink: #4a1a00; /* headings */
    --tint: #fff5ee; /* section background */
    --tint-2: #fce6d8; /* highlight rows */
    --line: #f2d6c4;
    --text: #3b2a22;
    --muted: #8c7366;
    --white: #ffffff;
    --font: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
}
:root {
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
html {
    scroll-padding-top: calc(72px + env(safe-area-inset-top, 0px));
    scroll-behavior: smooth;
}
*,
*::before,
*::after {
    box-sizing: inherit;
}
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    font-size: 1.0625rem;
    line-height: 1.65;
}
h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-weight: 600;
    line-height: 1.2;
    font-family: "Noto Sans Canadian Aboriginal", sans-serif;
}
h2 {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    margin-bottom: 1rem;
}
p {
    max-width: 68ch;
}
a {
    color: var(--primary);
}
a:hover {
    color: var(--primary-dark);
}
.deva {
    font-family: var(--deva);
    font-weight: 400;
}
section {
    padding: 88px 0;
}
.bg-tint {
    background: var(--tint);
}
.lead-text {
    font-size: 1.15rem;
}
:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

/* Nav */
.site-nav {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 1030;
    transition: box-shadow 0.2s;
}
.site-nav.scrolled {
    box-shadow: 0 2px 14px rgba(74, 26, 0, 0.08);
}
.site-nav .brand {
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    font-size: 1.05rem;
}
.site-nav .brand .om {
    font-family: var(--deva);
    color: var(--primary);
    font-size: 1.4rem;
    margin-right: 0.35rem;
}
.site-nav .nav-link {
    color: var(--ink);
    font-weight: 500;
    font-size: 0.93rem;
    white-space: nowrap;
}
.site-nav .brand,
.site-nav .btn {
    white-space: nowrap;
}
.site-nav .nav-link:hover {
    color: var(--primary);
}

/* Buttons */
.btn-bhumi {    
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    border-radius: 8px;
    padding: 0.85rem 1.75rem;
    font-weight: 700;
    font-size: 1.05rem;
}
.btn-bhumi:hover,
.btn-bhumi:focus {
    color: #fff;
    background: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline-bhumi {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
}
.btn-outline-bhumi:hover {
    background: var(--tint-2);
    color: var(--primary-dark);
}
.section-cta {
    margin-top: 48px;
    text-align: center;
}
.section-cta .btn-bhumi {
    min-width: 260px;
}

/* Hero banner with background image */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    color: #fff;
    background-color: #5a2100;
    background-image: url(Banner.jpg);
    background-size: cover;
    background-position: center right;
    padding: 96px 0;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(40, 12, 0, 0.82) 0%, rgba(40, 12, 0, 0.55) 42%, rgba(40, 12, 0, 0) 75%);
}
.hero-credit {
    position: absolute;
    right: 16px;
    bottom: 12px;
    z-index: 1;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero .sanskrit {
    font-family: var(--deva);
    color: #ffb27a;
    font-size: clamp(2.6rem, 7vw, 4.75rem);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 3.8vw, 2.8rem);
    font-weight: 600;
}
.hero .lead-text {
    color: #fbe9de;
    max-width: inherit;
}
.hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0 2.25rem;
}
.hero-facts div {
    border-left: 3px solid var(--primary);
    padding-left: 0.9rem;
}
.hero-facts strong {
    display: block;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 900;
}
.hero-facts div > span {
    color: #f0cdb8;
    font-size: 0.95rem;
}
.hero .btn-outline-light {
    border-width: 2px;
    border-radius: 8px;
    padding: 0.85rem 1.5rem;
    font-weight: 700;
}

/* Meaning */
.pillar {
    padding: 4px 0 4px 18px;
    border-left: 3px solid var(--primary);
    margin-bottom: 28px;
}
.pillar h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}
.pillar p {
    margin: 0;
}

.quote-band {
    background: var(--primary);
    color: #fff;
    padding: 72px 0;
    text-align: center;
}
.quote-band .deva {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: #ffe2cf;
    display: block;
    margin-bottom: 0.75rem;
}
.quote-band p {
    margin: 0 auto;
    font-size: 1.2rem;
    max-width: 56ch;
    color: #fff;
}

.legacy-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.legacy-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.legacy-list li strong {
    color: var(--ink);
}

/* Sq ft offering ladder */
.ladder {
    border-top: 2px solid var(--primary);
}
.ladder-row {
    display: grid;
    grid-template-columns: 110px 1fr auto auto;
    gap: 20px;
    align-items: center;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
}
.ladder-row .sq {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}
.ladder-row .sq small {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    margin-top: 4px;
}
.ladder-row .who {
    font-weight: 500;
    color: var(--ink);
}
.ladder-row .who span {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: 0.95rem;
}
.ladder-row .amt {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--ink);
    text-align: right;
    white-space: nowrap;
}
.ladder-row .btn {
    white-space: nowrap;
}
.ladder-row.more {
    background: var(--tint-2);
    border-radius: 0 0 12px 12px;
    border-bottom: 0;
}
@media (max-width: 767.98px) {
    .ladder-row {
        grid-template-columns: 80px 1fr;
        gap: 10px 16px;
    }
    .ladder-row .amt {
        text-align: left;
        grid-column: 2;
    }
    .ladder-row .btn {
        grid-column: 1 / -1;
        width: 100%;
    }
}
/* How to offer: a real 3-step sequence */
.how {
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: h;
}
.how-step {
    counter-increment: h;
    position: relative;
    padding-top: 56px;
}
.how-step::before {
    content: counter(h);
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.how-step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}
.how-step p {
    margin: 0;
    font-size: 0.98rem;
}
@media (max-width: 767.98px) {
    .how {
        grid-template-columns: 1fr;
    }
}

/* Packages */
.pkg {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.pkg.featured {
    border: 2px solid var(--primary);
}
.pkg .pkg-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
}
.pkg .pkg-deva {
    font-family: var(--deva);
    color: var(--primary);
    font-size: 1.05rem;
}
.pkg .price {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    margin: 14px 0 2px;
    line-height: 1;
}
.pkg .area {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}
.pkg p {
    font-size: 0.98rem;
    flex-grow: 1;
}
.pkg .badge-rec {
    align-self: flex-start;
    background: var(--tint-2);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 20px;
    padding: 4px 12px;
    margin-bottom: 12px;
}

/* Zeffy notice */
.zeffy-notice {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 36px;
}
.zeffy-notice .tag {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 0.9rem;
    margin-bottom: 14px;
}
.steps-list {
    counter-reset: s;
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
}
.steps-list li {
    counter-increment: s;
    position: relative;
    padding-left: 46px;
    margin-bottom: 16px;
}
.steps-list li::before {
    content: counter(s);
    position: absolute;
    left: 0;
    top: -2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}
/* Replica keeps Zeffy's own colours so donors recognise it at checkout */
.zeffy-mock {
    border: 1px solid #d7efea;
    border-radius: 12px;
    padding: 22px;
    background: #f3fcfa;
}
.zeffy-mock .zm-title {
    font-weight: 700;
    color: #0f4c47;
    font-size: 1rem;
}
.zeffy-mock .zm-opt {
    color: #b5c2bf;
}
.zm-select {
    border: 2px solid #48d9c6;
    border-radius: 8px;
    background: #fff;
    padding: 9px 12px;
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}
.zm-menu {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 76, 71, 0.15);
    margin-top: 6px;
    overflow: hidden;
    font-size: 0.95rem;
}
.zm-menu div {
    padding: 9px 14px;
}
.zm-menu div.pick {
    background: #e6faf6;
    font-weight: 700;
    color: #0f4c47;
    display: flex;
    justify-content: space-between;
}
.zm-amount {
    border: 2px solid #48d9c6;
    border-radius: 8px;
    background: #fff;
    padding: 9px 12px;
    margin-top: 10px;
    font-weight: 700;
    color: #0f4c47;
    font-size: 0.95rem;
}
.zm-note {
    font-size: 0.85rem;
    color: #6f8481;
    margin-top: 10px;
}

/* Sankalp form */
.form-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 10px 36px rgba(74, 26, 0, 0.07);
}
.form-card .form-label {
    font-weight: 500;
    color: var(--ink);
}
.form-card .form-control,
.form-card .form-select {
    border: 2px solid var(--line);
    border-radius: 10px;
    padding: 0.7rem 0.9rem;
}
.form-card .form-control:focus,
.form-card .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(202, 66, 0, 0.18);
}
.form-card .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}
.form-card .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(202, 66, 0, 0.18);
    border-color: var(--primary);
}
.req {
    color: var(--primary);
}
.form-status {
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 18px;
    display: none;
    font-weight: 500;
}
.form-status.ok {
    background: #eaf7ee;
    color: #1e6b3a;
    display: block;
}
.form-status.err {
    background: #fdecea;
    color: #9b1c12;
    display: block;
}

/* Gallery */
.gallery-item {
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: none;
    text-align: left;
    cursor: pointer;
}
.gallery-frame {
    /*aspect-ratio: 4/3;*/
    border-radius: 12px;
    overflow: hidden;
    background: var(--tint-2);
    border: 1px dashed var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.95rem;
    text-align: center;
    padding: 12px;
}
.gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-cap {
    font-size: 0.95rem;
    color: var(--ink);
    font-weight: 500;
    margin-top: 8px;
}
.gallery-item.wide .gallery-frame {
    /*! aspect-ratio: 16/9; */
}

.accordion-button {
    font-weight: 500;
    color: var(--ink);
    font-size: 1.05rem;
}
.accordion-button:not(.collapsed) {
    background: var(--tint-2);
    color: var(--ink);
    box-shadow: none;
}
.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(202, 66, 0, 0.25);
    border-color: var(--primary);
}
.accordion-item {
    border-color: var(--line);
}

.closing {
    background: var(--ink);
    color: #fbe9de;
    text-align: center;
}
.closing h2 {
    color: #fff;
}
.closing .deva {
    color: #ffb27a;
    font-size: clamp(2rem, 5vw, 3rem);
    display: block;
    margin-bottom: 0.5rem;
}
.closing p {
    margin: 0 auto 1rem;
}

footer {
    background: #2e1000;
    color: #e3c3b0;
    padding: 28px 0;
    font-size: 0.9rem;
    text-align: center;
}
footer a {
    color: #ffb27a;
}

.mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--line);
    z-index: 1040;
    display: none;
}
.mobile-cta .btn-bhumi {
    width: 100%;
}
.br-15{
    border-radius: 15px;
}

.zeffy-notice-modal {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
}

.zeffy-notice-modal .modal-header {
    padding: 22px 25px;
    background: #faf7f1;
    border-bottom: 1px solid #eee;
}

.zeffy-notice-modal .modal-title {
    font-size: 22px;
    font-weight: 700;
}

.zeffy-notice-modal .modal-body {
    padding: 30px;
    text-align: center;
}

.zeffy-notice-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4ead8;
    color: #b36b00;
    font-size: 25px;
}

.zeffy-notice-modal .modal-body h4 {
    margin-bottom: 15px;
    font-weight: 700;
}

.zeffy-notice-modal .modal-body p {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.7;
}

.zeffy-note {
    padding: 12px 15px;
    border-radius: 8px;
    background: #f8f8f8;
    font-size: 14px;
}

.zeffy-notice-modal .modal-footer {
    padding: 15px 25px 20px;
    border-top: 1px solid #eee;
    text-align: center;
    display: block;
}


@media (max-width: 767.98px) {
    section {
        padding: 64px 0;
    }
    .hero {
        min-height: auto;
        padding: 72px 0;
    }
    .hero {
        background-position: 60% center;
    }
    .hero::before {
        background: rgba(40, 12, 0, 0.62);
    }
    .mobile-cta.show {
        display: block;
    }
    body {
        padding-bottom: 76px;
    }
    .zeffy-notice,
    .form-card {
        padding: 24px;
    }
    .hero .container{
        text-align: center;
    }
    .hero-facts{
        display: none;
    }
    .hero .d-flex{
        justify-content: center;
    }
    .justify-content-between{
        justify-content: center !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}



