/* ============================================================================
   Maa Koteshwari Seva Samiti Trust — Shared Design System
   Modern Heritage: deep maroon + antique gold on warm cream
   ============================================================================ */

:root {
    /* palette */
    --maroon-950: #3d0a0a;
    --maroon-900: #540f0f;
    --maroon-800: #6e0d0d;
    --maroon-700: #7f2626;
    --maroon-600: #8f3030;
    --maroon-500: #9f3434;
    --maroon-100: #f6e8e8;
    --maroon-050: #fbf2f2;
    --gold-700: #8a5a1a;
    --gold-600: #b8893b;
    --gold-500: #c9a24a;
    --gold-400: #d9b968;
    --gold-300: #e7c878;
    --gold-100: #f3e5c2;
    --gold-050: #faf3df;
    --cream-50: #fdfaf3;
    --cream-100: #faf4e8;
    --cream-200: #f3e9d8;
    --ink-900: #241a12;
    --ink-700: #453527;
    --ink-500: #6b5a48;
    --ink-400: #8b7862;
    --white: #ffffff;
    --line: #eadfc9;
    --line-strong: #d9c7a8;

    /* shadows */
    --shadow-xs: 0 1px 2px rgba(50, 30, 8, 0.05);
    --shadow-sm: 0 4px 14px -6px rgba(50, 30, 8, 0.14);
    --shadow-md: 0 14px 34px -12px rgba(50, 30, 8, 0.2);
    --shadow-lg: 0 28px 60px -18px rgba(50, 30, 8, 0.28);
    --shadow-maroon: 0 14px 30px -12px rgba(110, 13, 13, 0.45);

    /* radius */
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 26px;

    /* layout */
    --container: 1200px;

    /* motion */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth !important;
    scroll-padding-top: 85px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    position: relative;
}

@supports not (overflow-x: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-700);
    background:
        radial-gradient(1100px 480px at 85% -180px, rgba(201, 162, 74, 0.14), transparent 70%),
        radial-gradient(900px 420px at -10% -120px, rgba(159, 52, 52, 0.08), transparent 65%),
        linear-gradient(180deg, var(--cream-50) 0%, var(--cream-100) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas,
iframe {
    display: block;
    max-width: 100%;
    height: auto;
}

p,
.page-copy,
.section-copy,
td,
th {
    overflow-wrap: break-word;
    word-break: normal;
}

a {
    color: var(--maroon-700);
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid rgba(201, 162, 74, 0.65);
    outline-offset: 2px;
    border-radius: 6px;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--ink-900);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* ─────────────────────────────── NAVBAR ─────────────────────────────── */

.navbar-mandir {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(253, 250, 243, 0.86);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    backdrop-filter: blur(14px) saturate(1.4);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s var(--ease);
}

.navbar-mandir.scrolled {
    box-shadow: 0 10px 30px -18px rgba(50, 30, 8, 0.35);
}

.navbar-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.logo-icon {
    width: 54px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.trust-chip {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    line-height: 1.08;
    color: var(--ink-900);
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.trust-chip small {
    display: block;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-700);
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.nav-link i {
    font-size: 12px;
    color: var(--gold-600);
    transition: transform 0.25s var(--ease);
}

.nav-link:hover {
    background: var(--cream-200);
    color: var(--maroon-700);
}

.nav-link:hover i {
    transform: translateY(-1px);
}

.nav-link.is-active {
    background: var(--maroon-800);
    color: #fff;
    box-shadow: var(--shadow-maroon);
}

.nav-link.is-active i {
    color: var(--gold-300);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-900);
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    border: 1px solid rgba(138, 90, 26, 0.35);
    box-shadow: 0 8px 20px -8px rgba(184, 137, 59, 0.65);
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px -8px rgba(184, 137, 59, 0.8);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px;
    background: var(--cream-200);
    border: 1px solid var(--line);
    border-radius: 999px;
    flex-shrink: 0;
}

.lang-toggle button {
    border: 0;
    background: transparent;
    padding: 6px 12px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink-500);
    transition: all 0.25s var(--ease);
}

.lang-toggle button[aria-pressed='true'] {
    background: var(--maroon-800);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.mobile-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: var(--r-sm);
    font-size: 17px;
    color: var(--maroon-700);
    transition: background 0.25s var(--ease);
}

.mobile-toggle:hover {
    background: var(--cream-200);
}

/* ─────────────────────────────── PAGE HERO ─────────────────────────────── */

.page-hero {
    position: relative;
    padding: 84px 0 96px;
    background: linear-gradient(115deg, rgba(61, 10, 10, 0.94) 0%, rgba(84, 15, 15, 0.90) 48%, rgba(110, 13, 13, 0.82) 100%);
    color: #fff;
    overflow: hidden;
    border-bottom: 1px solid rgba(201, 162, 74, 0.35);
}

.hero-bg-anim {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-anim img,
.hero-bg-gif {
    width: clamp(200px, 28vw, 360px);
    height: clamp(200px, 28vw, 360px);
    object-fit: contain;
    opacity: 0.55;
    mix-blend-mode: screen;
    filter: drop-shadow(0 0 35px rgba(201, 162, 74, 0.35)) contrast(1.1);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 50%, transparent 85%);
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 50%, transparent 85%);
}

.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 300px at 12% 110%, rgba(201, 162, 74, 0.22), transparent 65%),
        radial-gradient(500px 260px at 92% -40px, rgba(201, 162, 74, 0.16), transparent 60%);
    pointer-events: none;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    padding: 0 22px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-300);
    background: rgba(201, 162, 74, 0.12);
    border: 1px solid rgba(201, 162, 74, 0.45);
    backdrop-filter: blur(4px);
    margin-bottom: 22px;
}

.hero-badge i {
    color: var(--gold-400);
}

.page-title {
    font-size: clamp(38px, 6vw, 60px);
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.page-title .text-gold {
    color: var(--gold-300);
}

.page-copy {
    margin: 18px auto 0;
    max-width: 640px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

.text-glass {
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.text-glass-soft {
    color: rgba(255, 255, 255, 0.82);
}

.page-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ─────────────────────────────── SECTIONS ─────────────────────────────── */

.section-shell {
    max-width: var(--container);
    margin: 34px auto 0;
    padding: 0 22px 8px;
}

.section-shell.bleed {
    padding-left: 0;
    padding-right: 0;
}

.section-shell.condensed {
    max-width: 960px;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.section-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    font-size: 22px;
    color: var(--gold-600);
    background: linear-gradient(160deg, var(--gold-050), var(--cream-200));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
}

.section-title {
    font-size: clamp(30px, 4vw, 42px);
}

.title-divider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 14px auto 0;
    color: var(--gold-500);
}

.title-divider::before,
.title-divider::after {
    content: '';
    height: 1px;
    width: 56px;
    background: linear-gradient(90deg, transparent, var(--gold-500));
}

.title-divider::after {
    background: linear-gradient(90deg, var(--gold-500), transparent);
}

.section-copy {
    margin: 16px auto 0;
    max-width: 640px;
    color: var(--ink-500);
    font-size: 15.5px;
}

/* ─────────────────────────────── BUTTONS ─────────────────────────────── */

.btn-mandir,
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: var(--r-md);
    font-family: var(--font-display);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
        background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-primary,
.btn-mandir {
    color: #fff;
    background: linear-gradient(140deg, var(--maroon-600) 0%, var(--maroon-800) 100%);
    border-color: rgba(61, 10, 10, 0.3);
    box-shadow: 0 10px 24px -10px rgba(110, 13, 13, 0.55);
}

.btn-primary:hover,
.btn-mandir:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -10px rgba(110, 13, 13, 0.6);
}

.btn-primary:active,
.btn-mandir:active {
    transform: translateY(0);
}

.btn-secondary {
    color: var(--ink-900);
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    border-color: rgba(138, 90, 26, 0.3);
    box-shadow: 0 10px 24px -10px rgba(184, 137, 59, 0.55);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -10px rgba(184, 137, 59, 0.6);
}

.btn-mandir:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--maroon-700);
    background: transparent;
    border: 1px solid var(--line-strong);
    transition: all 0.25s var(--ease);
}

.btn-ghost:hover {
    background: var(--maroon-050);
    border-color: var(--maroon-500);
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--r-sm);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--maroon-700);
    background: linear-gradient(180deg, #fffdf7, var(--gold-050));
    border: 1px solid var(--gold-300);
    transition: all 0.25s var(--ease);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--gold-600);
}

/* ─────────────────────────────── CARDS & GRIDS ─────────────────────────────── */

.grid-3,
.grid-2 {
    display: grid;
    gap: 22px;
}

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

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

.card-mandir {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
        border-color 0.3s var(--ease);
    position: relative;
}

.card-mandir:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--line-strong);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    font-size: 20px;
    color: var(--maroon-700);
    background: linear-gradient(160deg, var(--maroon-050), var(--cream-200));
    border: 1px solid var(--line);
    margin-bottom: 16px;
}

.card-mandir h3 {
    font-size: 23px;
    margin-bottom: 8px;
}

.card-mandir p {
    font-size: 14.5px;
    color: var(--ink-500);
}

/* ─────────────────────────────── FORMS ─────────────────────────────── */

.form-layout {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 24px;
    align-items: start;
}

.form-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: 34px;
}

.seva-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 18px;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.field-group-full {
    grid-column: 1 / -1;
}

.field-label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-700);
    display: flex;
    align-items: center;
    gap: 6px;
}

.field-label .req {
    color: var(--maroon-500);
}

.field-control {
    width: 100%;
    padding: 12px 15px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--ink-900);
    background: var(--cream-50);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
        background 0.25s var(--ease);
}

.field-control::placeholder {
    color: var(--ink-400);
}

.field-control:hover {
    border-color: var(--gold-500);
}

.field-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--maroon-600);
    box-shadow: 0 0 0 4px rgba(159, 52, 52, 0.12);
}

.field-control.is-invalid {
    border-color: #c0392b;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
    background: #fef7f5;
}

select.field-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238b7862' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

textarea.field-control {
    min-height: 120px;
    resize: vertical;
}

.field-hint {
    font-size: 12px;
    color: var(--ink-400);
    line-height: 1.5;
}

.field-error {
    display: none;
    font-size: 12.5px;
    font-weight: 600;
    color: #c0392b;
}

.field-group.is-invalid .field-error {
    display: flex;
    align-items: center;
    gap: 5px;
}

.field-hint.req-note {
    margin-top: 2px;
}

.declaration-group {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}

.declaration-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--maroon-700);
}

.declaration-group .field-label {
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-800);
}

.location-detect-btn {
    margin-top: 0.45rem;
    align-self: flex-start;
}

.location-status {
    color: var(--ink-500);
    font-size: 0.82rem;
    margin-top: 0.3rem;
    display: block;
}

/* captcha */
.captcha-group {
    margin-top: 22px;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(201, 162, 74, 0.08), rgba(255, 250, 240, 0.95));
    border: 1.5px dashed rgba(201, 162, 74, 0.45);
    border-radius: var(--r-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.captcha-question {
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.04em;
    color: var(--maroon-800);
    background: rgba(201, 162, 74, 0.15);
    padding: 6px 14px;
    border-radius: var(--r-sm);
    border: 1px solid rgba(201, 162, 74, 0.35);
    user-select: none;
}

.captcha-input {
    width: 140px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    color: var(--ink-900);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    background: var(--white);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.captcha-input:focus {
    outline: none;
    border-color: var(--maroon-600);
    box-shadow: 0 0 0 4px rgba(159, 52, 52, 0.14);
}

.captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--maroon-700);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.captcha-refresh:hover {
    color: var(--maroon-800);
    background: var(--gold-050);
    border-color: var(--gold-500);
    transform: translateY(-1px);
}

.captcha-refresh i {
    transition: transform 0.4s var(--ease);
}

.captcha-refresh.is-spinning i,
.captcha-refresh:active i {
    transform: rotate(360deg);
}

.captcha-error {
    display: none;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #c0392b;
}

/* form status */
.form-status {
    display: none;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
    padding: 15px 18px;
    border-radius: var(--r-md);
    font-size: 14px;
    line-height: 1.6;
}

.form-status i {
    margin-top: 3px;
}

.form-status.is-error {
    display: flex;
    background: #fdf0ee;
    border: 1px solid #f0c9c4;
    color: #8f2d22;
}

.form-status.is-success {
    display: flex;
    background: #eff7ef;
    border: 1px solid #c7e3c6;
    color: #2c6e33;
}

.form-status.is-info {
    display: flex;
    background: var(--gold-050);
    border: 1px solid var(--gold-300);
    color: var(--gold-700);
}

.form-note {
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--ink-400);
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.form-note i {
    color: var(--gold-600);
    margin-top: 2px;
}

.form-status:empty {
    display: none;
}

/* summary / info side panel */
.info-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: 30px;
}

.summary-panel h3 {
    font-size: 25px;
    margin-bottom: 4px;
}

.summary-panel > p {
    font-size: 14px;
    color: var(--ink-500);
}

.detail-list {
    margin-top: 20px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--ink-700);
}

.detail-row i {
    color: var(--gold-600);
    margin-top: 4px;
    width: 17px;
    text-align: center;
    flex-shrink: 0;
}

.notice-card {
    background: linear-gradient(160deg, var(--gold-050), var(--cream-100));
    border: 1px solid var(--gold-300);
    border-radius: var(--r-lg);
    padding: 22px 24px;
    font-size: 14px;
    color: var(--ink-700);
}

.notice-card > i {
    color: var(--gold-600);
}

.notice-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.notice-card-head i {
    width: 40px;
    height: 40px;
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    font-size: 16px;
    color: var(--maroon-700);
    background: var(--white);
    border: 1px solid var(--gold-300);
    flex-shrink: 0;
}

.notice-card-head h3 {
    font-size: 19px;
}

.notice-card p {
    font-size: 13.5px;
    color: var(--ink-500);
    margin-bottom: 12px;
}

.detail-list {
    margin-top: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
    font-size: 13.5px;
    color: var(--ink-700);
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--line);
}

.detail-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.detail-row i {
    color: var(--gold-600);
    margin-top: 4px;
    width: 17px;
    text-align: center;
    flex-shrink: 0;
}

.detail-row strong {
    color: var(--ink-900);
    font-size: 13.5px;
}

.detail-row span {
    color: var(--ink-500);
    font-size: 13px;
}

.summary-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ─────────────────────────────── SEVA MODAL ─────────────────────────────── */

.seva-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(36, 26, 18, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.seva-modal-overlay[hidden] {
    display: none;
}

.seva-modal {
    width: min(520px, 100%);
    background: var(--white);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    padding: 36px 34px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.seva-modal::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--maroon-700), var(--gold-500), var(--maroon-700));
}

.seva-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 26px;
    color: var(--gold-600);
    background: linear-gradient(160deg, var(--gold-050), var(--cream-200));
    border: 1px solid var(--gold-300);
}

.seva-modal-trust-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--ink-900);
}

.seva-modal-msg {
    margin-top: 8px;
    font-size: 14.5px;
    color: var(--ink-500);
}

.seva-modal-ref {
    margin: 18px auto 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 20px;
    background: var(--maroon-800);
    color: #fff;
    border-radius: var(--r-sm);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.04em;
    box-shadow: var(--shadow-maroon);
}

.seva-modal-contact-note {
    margin-top: 12px;
    font-size: 12.5px;
    color: var(--ink-400);
}

.seva-modal-details {
    margin-top: 20px;
    text-align: left;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: 6px 18px;
}

.seva-modal-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0;
    font-size: 13.5px;
    border-bottom: 1px dashed var(--line);
}

.seva-modal-detail-row:last-child {
    border-bottom: 0;
}

.seva-modal-detail-row span:first-child {
    color: var(--ink-500);
}

.seva-modal-detail-row span:last-child {
    font-weight: 700;
    color: var(--ink-900);
}

.seva-modal-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─────────────────────────────── GALLERY ─────────────────────────────── */

.gallery-drive-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 34px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--maroon-700);
    background: var(--white);
    border: 1px solid var(--line-strong);
    box-shadow: var(--shadow-xs);
    transition: all 0.25s var(--ease);
}

.gallery-drive-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--gold-500);
}

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

.gallery-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.5s var(--ease);
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-card-actions {
    display: flex;
    gap: 8px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
}

.gallery-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    padding: 9px 12px;
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-700);
    background: var(--cream-100);
    border: 1px solid var(--line);
    transition: all 0.25s var(--ease);
}

.gallery-action i {
    color: var(--gold-600);
}

.gallery-action:hover {
    color: var(--maroon-700);
    background: var(--maroon-050);
    border-color: var(--gold-500);
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 26px;
    background: rgba(30, 17, 8, 0.82);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.gallery-lightbox[hidden] {
    display: none;
}

.gallery-lightbox-dialog {
    width: min(980px, 100%);
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: lbox-in 0.3s var(--ease);
}

@keyframes lbox-in {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gallery-lightbox-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
}

.gallery-lightbox-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    color: var(--ink-900);
}

.gallery-lightbox-note {
    font-size: 12.5px;
    color: var(--ink-400);
    margin-top: 2px;
}

.gallery-lightbox-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-lightbox-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: var(--ink-700);
    background: var(--cream-100);
    border: 1px solid var(--line);
    transition: all 0.25s var(--ease);
}

.gallery-lightbox-close:hover {
    color: #fff;
    background: var(--maroon-800);
    border-color: var(--maroon-800);
}

.gallery-lightbox-stage {
    background: var(--ink-900);
    display: grid;
    place-items: center;
    min-height: 320px;
    max-height: 70vh;
}

.gallery-lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

body.gallery-modal-open {
    overflow: hidden;
}

/* ─────────────────────────────── MEMBERS / INFO GRIDS ─────────────────────────────── */

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

.compact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

/* ─── Member Filter Bar ─── */
.member-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 34px;
}

.member-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1.5px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink-700);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    box-shadow: var(--shadow-xs);
}

.member-filter-btn:hover {
    border-color: var(--gold-500);
    color: var(--maroon-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.member-filter-btn.is-active {
    background: linear-gradient(135deg, var(--maroon-800), var(--maroon-950));
    color: var(--gold-300);
    border-color: var(--gold-500);
    box-shadow: 0 6px 18px rgba(110, 13, 13, 0.35);
}

.member-filter-btn .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 162, 74, 0.2);
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    min-width: 22px;
}

.member-filter-btn.is-active .filter-count {
    background: var(--gold-500);
    color: var(--maroon-950);
}

/* ─── Member Tier Headers ─── */
.member-tier-wrap {
    margin-bottom: 48px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.member-tier-wrap.is-hidden {
    display: none;
}

.tier-header {
    margin: 32px 0 24px;
    text-align: center;
    position: relative;
}

.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}

.tier-badge-elite {
    background: linear-gradient(135deg, var(--maroon-900), var(--maroon-950));
    color: var(--gold-300);
    border: 1px solid var(--gold-400);
    box-shadow: 0 4px 14px rgba(201, 162, 74, 0.25);
}

.tier-badge-dedicated {
    background: var(--cream-200);
    color: var(--maroon-800);
    border: 1px solid var(--line-strong);
}

.tier-title {
    font-size: 24px;
    color: var(--ink-900);
    margin-bottom: 6px;
}

.tier-subtitle {
    font-size: 14.5px;
    color: var(--ink-500);
    max-width: 680px;
    margin: 0 auto;
}

/* ─── Member Card Styles ─── */
.member-card {
    background: var(--white);
    border: 1.5px solid var(--line-strong);
    border-radius: var(--r-xl);
    padding: 0;
    text-align: center;
    box-shadow: 0 8px 24px -8px rgba(50, 30, 8, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    position: relative;
    overflow: visible;
}

.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px -12px rgba(90, 20, 20, 0.24), 0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: var(--gold-400);
}

/* Elite card styling */
.member-card.elite-card {
    border: 1.5px solid var(--gold-400);
    background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 60%, var(--gold-050) 100%);
    box-shadow: 0 10px 30px -8px rgba(184, 137, 59, 0.25), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.member-card.elite-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 3.5px;
    background: linear-gradient(90deg, transparent, var(--gold-400), var(--gold-300), transparent);
    border-radius: 999px;
    z-index: 2;
}

.member-card.elite-card:hover {
    box-shadow: 0 24px 50px -10px rgba(138, 90, 26, 0.35), 0 0 22px rgba(201, 162, 74, 0.22);
    border-color: var(--gold-500);
}

/* Flip Card Face Geometry & Padding */
.flip-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 18px 18px;
    text-align: center;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-sizing: border-box;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-front {
    background: inherit;
}

.flip-back {
    transform: rotateY(180deg);
    background: radial-gradient(circle at 50% 12%, rgba(201, 162, 74, 0.24), transparent 70%), linear-gradient(165deg, var(--maroon-900) 0%, var(--maroon-950) 100%);
    color: rgba(255, 255, 255, 0.94);
    border: 1.5px solid var(--gold-400);
    border-radius: var(--r-xl);
    box-shadow: inset 0 0 35px rgba(0, 0, 0, 0.45), inset 0 0 15px rgba(201, 162, 74, 0.2);
    padding: 22px 18px 16px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Avatar Showcase */
.member-avatar {
    width: 136px;
    height: 136px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    font-size: 42px;
    font-weight: 700;
    font-family: var(--font-display);
    color: #fff;
    background: linear-gradient(150deg, var(--maroon-700), var(--maroon-950));
    border: 4px solid var(--gold-300);
    box-shadow: 0 0 0 5px rgba(201, 162, 74, 0.18), 0 10px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.member-card.elite-card .member-avatar {
    border: 4.5px solid var(--gold-400);
    box-shadow: 0 0 0 6px rgba(201, 162, 74, 0.25), 0 12px 30px rgba(110, 13, 13, 0.3);
}

.member-card:hover .member-avatar {
    transform: scale(1.04);
    box-shadow: 0 0 0 8px rgba(201, 162, 74, 0.32), 0 16px 36px rgba(0, 0, 0, 0.25);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.member-avatar img[src*="Aman"] {
    object-position: center 8%;
}

.member-avatar img[src*="Sumit"] {
    object-position: center 25%;
}

.member-card:hover .member-avatar img {
    transform: scale(1.08);
}

.member-avatar-initials {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(201, 162, 74, 0.2), transparent 70%), linear-gradient(145deg, var(--maroon-700), var(--maroon-950));
    color: var(--gold-300);
    text-align: center;
    gap: 4px;
}

.member-avatar-initials i {
    font-size: 32px;
    color: var(--gold-400);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.member-avatar-initials span {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.05em;
    color: var(--gold-200);
}

.member-avatar-initials small {
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--gold-400);
    font-weight: 600;
    text-transform: uppercase;
}

/* Card Content / Meta */
.member-meta {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-top: 4px;
}

.member-meta h3 {
    font-size: 19px;
    line-height: 1.25;
    color: var(--ink-900);
    font-weight: 700;
    margin: 2px 0;
}

.member-meta p {
    font-size: 13px;
    color: var(--gold-700);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

/* Badges / Pills */
.member-post-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    background: linear-gradient(135deg, var(--gold-100), var(--gold-050));
    color: var(--maroon-950);
    border: 1px solid var(--gold-400);
    box-shadow: 0 2px 6px rgba(184, 137, 59, 0.2);
    margin-top: 4px;
}

.member-post-pill-general {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: var(--cream-100);
    color: var(--maroon-800);
    border: 1px solid var(--line-strong);
    margin-top: 4px;
}

/* Flip Action Buttons */
.btn-flip-front,
.btn-flip-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.25s var(--ease);
    z-index: 5;
    position: relative;
    pointer-events: auto;
}

.btn-flip-front {
    margin-top: 8px;
    color: var(--ink-700);
    background: linear-gradient(135deg, rgba(201, 162, 74, 0.18), rgba(243, 229, 194, 0.45));
    border: 1px solid rgba(201, 162, 74, 0.6);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.btn-flip-front:hover,
.member-card:hover .btn-flip-front {
    background: linear-gradient(135deg, var(--maroon-800), var(--maroon-900));
    color: var(--gold-300);
    border-color: var(--gold-400);
    box-shadow: 0 4px 12px rgba(110, 13, 13, 0.35);
    transform: translateY(-2px);
}

.btn-flip-back {
    margin-top: 8px;
    color: var(--maroon-950);
    background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
    border: 1px solid var(--gold-300);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-flip-back:hover {
    background: linear-gradient(135deg, #ffffff, var(--gold-200));
    color: var(--maroon-950);
    box-shadow: 0 6px 18px rgba(201, 162, 74, 0.6);
    transform: translateY(-2px) scale(1.05);
}

.flip-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-400);
    background: rgba(243, 229, 194, 0.35);
    padding: 3px 12px;
    border-radius: 999px;
    border: 1px dashed rgba(201, 162, 74, 0.6);
    transition: all 0.25s ease;
    margin-top: 6px;
}

/* Flip Back Styling */
.flip-back-emblem {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201, 162, 74, 0.15);
    border: 1px solid var(--gold-400);
    display: grid;
    place-items: center;
    font-size: 20px;
    color: var(--gold-300);
    box-shadow: 0 0 16px rgba(201, 162, 74, 0.3);
    margin-bottom: 4px;
}

.flip-back h4 {
    color: var(--gold-300);
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 4px;
}

.flip-back-desc {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    margin: 4px 0;
}

.member-back-father {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-200);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(217, 185, 104, 0.45);
    border-radius: 999px;
    padding: 4px 14px;
    margin: 4px 0 2px;
    max-width: 98%;
}

/* ─────────────────────────────── CONTACT ─────────────────────────────── */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 24px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-xs);
    padding: 12px 18px;
    margin: 18px 0;
}

.contact-item {
    display: flex;
    gap: 15px;
    padding: 16px 0;
    border-bottom: 1px dashed var(--line);
}

.contact-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.contact-item i {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    font-size: 17px;
    color: var(--maroon-700);
    background: linear-gradient(160deg, var(--maroon-050), var(--cream-200));
    border: 1px solid var(--line);
}

.contact-item h4 {
    font-size: 16.5px;
    margin-bottom: 2px;
}

.contact-item p {
    font-size: 13.5px;
    color: var(--ink-500);
}

.contact-item a {
    font-weight: 600;
}

.media-frame {
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    background: #eae3d2;
}

.map-frame {
    width: 100%;
    min-height: 420px;
    height: 100%;
    border: 0;
    display: block;
    position: relative;
}

.map-frame iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 420px;
    border: 0;
    display: block;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 22px;
    width: 100%;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--r-xl);
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all 0.25s var(--ease);
    min-width: 0;
    box-sizing: border-box;
}

.social-card > i {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    font-size: 22px;
    color: var(--maroon-700);
    background: linear-gradient(145deg, var(--gold-050), #fff);
    border: 1px solid var(--gold-300);
}

.social-card > div {
    flex: 1;
    min-width: 0;
}

.social-card h4 {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--maroon-800);
    margin: 0 0 3px;
}

.social-card p {
    font-size: 12.5px;
    color: var(--ink-600);
    line-height: 1.45;
    margin: 0;
}

.social-card .btn-mandir {
    flex-shrink: 0;
    padding: 9px 18px;
    font-size: 12.5px;
    font-weight: 700;
}

.social-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-500);
}

/* ─────────────────────────────── FAQ ─────────────────────────────── */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.3s var(--ease);
}

.faq-item.open,
.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: var(--gold-300);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px;
    background: transparent;
    border: 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: 18.5px;
    font-weight: 700;
    color: var(--ink-900);
    transition: color 0.25s var(--ease);
}

.faq-q:hover {
    color: var(--maroon-700);
}

.faq-q i {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    color: var(--gold-600);
    background: var(--gold-050);
    border: 1px solid var(--gold-300);
    transition: transform 0.3s var(--ease), background 0.3s var(--ease),
        color 0.3s var(--ease);
}

.faq-item.open .faq-q i,
.faq-item[open] .faq-q i {
    transform: rotate(45deg);
    background: var(--maroon-800);
    color: #fff;
    border-color: var(--maroon-800);
}

.faq-a {
    display: none;
    padding: 0 22px 20px;
    font-size: 14.5px;
    color: var(--ink-500);
    line-height: 1.75;
}

.faq-item.open .faq-a,
.faq-item[open] .faq-a {
    display: block;
}

.faq-a strong {
    color: var(--ink-900);
}

/* ─────────────────────────────── VERIFY ─────────────────────────────── */

.verify-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: 38px 34px;
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}

.verify-card h2 {
    font-size: 30px;
}

.verify-card > p {
    margin-top: 10px;
    font-size: 14.5px;
    color: var(--ink-500);
}

.verify-form-row {
    display: flex;
    gap: 12px;
    margin-top: 26px;
}

.verify-input {
    flex: 1;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-align: center;
    text-transform: uppercase;
    color: var(--ink-900);
    background: var(--cream-50);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    transition: all 0.25s var(--ease);
}

.verify-input:focus {
    outline: none;
    background: var(--white);
    border-color: var(--maroon-600);
    box-shadow: 0 0 0 4px rgba(159, 52, 52, 0.12);
}

.verify-status {
    display: none;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: var(--r-md);
    text-align: left;
    font-size: 14px;
    line-height: 1.65;
}

.verify-card.verify-idle .verify-status,
.verify-card.verify-checking .verify-status,
.verify-card.verify-valid .verify-status,
.verify-card.verify-invalid .verify-status,
.verify-card.verify-expired .verify-status,
.verify-card.verify-error .verify-status {
    display: flex;
}

.verify-card.verify-idle .verify-status,
.verify-card.verify-checking .verify-status {
    background: var(--gold-050);
    border: 1px solid var(--gold-300);
    color: var(--gold-700);
}

.verify-card.verify-valid .verify-status {
    background: #eff7ef;
    border: 1px solid #c7e3c6;
    color: #2c6e33;
}

.verify-card.verify-invalid .verify-status,
.verify-card.verify-error .verify-status {
    background: #fdf0ee;
    border: 1px solid #f0c9c4;
    color: #8f2d22;
}

.verify-card.verify-expired .verify-status {
    background: #fdf6e3;
    border: 1px solid #e8cf96;
    color: #8a6113;
}

.verify-status i {
    margin-top: 3px;
}

.verify-status.is-loading {
    display: flex;
    background: var(--gold-050);
    border: 1px solid var(--gold-300);
    color: var(--gold-700);
}

.verify-status.is-success {
    display: flex;
    background: #eff7ef;
    border: 1px solid #c7e3c6;
    color: #2c6e33;
}

.verify-status.is-error {
    display: flex;
    background: #fdf0ee;
    border: 1px solid #f0c9c4;
    color: #8f2d22;
}

.verify-status.is-success .verify-head {
    color: #2c6e33;
    font-weight: 800;
}

.verify-status.is-error .verify-head {
    color: #8f2d22;
    font-weight: 800;
}

.verify-details {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.verify-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: 13.5px;
}

.verify-row span:first-child {
    color: var(--ink-500);
}

.verify-row strong {
    font-weight: 700;
    color: var(--ink-900);
    text-align: right;
}

.verify-manual {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    font-size: 13px;
    color: var(--ink-400);
}

.verify-manual a {
    font-weight: 700;
}

.verify-note {
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    color: var(--ink-400);
    text-align: left;
}

.verify-note i {
    color: var(--gold-600);
    margin-top: 2px;
}

/* ─────────────────────────────── NEWSLETTER ─────────────────────────────── */

.newsletter-form {
    position: relative;
}

.newsletter-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

.newsletter-fields {
    display: flex;
    gap: 9px;
}

.newsletter-input {
    flex: 1;
    min-width: 0;
    padding: 11px 15px;
    font-family: inherit;
    font-size: 14px;
    color: var(--ink-900);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold-500);
    box-shadow: 0 0 0 4px rgba(201, 162, 74, 0.15);
}

.footer-mandir .newsletter-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 162, 74, 0.35);
    color: var(--cream-50);
    border-radius: var(--r-sm);
    backdrop-filter: blur(8px);
    transition: all 0.25s var(--ease);
}

.footer-mandir .newsletter-input::placeholder {
    color: rgba(244, 240, 232, 0.45);
}

.footer-mandir .newsletter-input:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.25);
    color: #ffffff;
}

.newsletter-btn {
    flex-shrink: 0;
    padding: 11px 18px;
    border-radius: var(--r-sm);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(140deg, var(--maroon-600), var(--maroon-800));
    border: 1px solid rgba(61, 10, 10, 0.3);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.footer-mandir .newsletter-btn {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
    color: var(--ink-900);
    font-family: var(--font-display);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 1px solid rgba(138, 90, 26, 0.4);
    box-shadow: 0 6px 18px -4px rgba(184, 137, 59, 0.55);
}

.newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.footer-mandir .newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -4px rgba(184, 137, 59, 0.75);
}

.newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Footer Newsletter Captcha ── */
.newsletter-captcha {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    background: rgba(201, 162, 74, 0.12);
    border: 1px dashed rgba(201, 162, 74, 0.45);
    border-radius: var(--r-sm);
    flex-shrink: 0;
}

.newsletter-captcha-q {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--gold-300);
    letter-spacing: 0.02em;
    user-select: none;
    white-space: nowrap;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
}

.newsletter-captcha-input {
    width: 60px;
    height: 34px;
    padding: 0 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(201, 162, 74, 0.35);
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.newsletter-captcha-input:focus {
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(201, 162, 74, 0.2);
}

.newsletter-captcha-refresh {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    color: var(--gold-300);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 162, 74, 0.3);
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s var(--ease);
}

.newsletter-captcha-refresh:hover {
    background: rgba(201, 162, 74, 0.25);
    border-color: var(--gold-400);
}

.newsletter-captcha-refresh i {
    transition: transform 0.4s var(--ease);
}

.newsletter-captcha-refresh.is-spinning i,
.newsletter-captcha-refresh:active i {
    transform: rotate(360deg);
}

.newsletter-status {
    display: none;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

.newsletter-status.is-error {
    display: block;
    color: #f4b8b2;
}

.newsletter-status.is-success {
    display: block;
    color: #c9e6b8;
}

/* ─────────────────────────────── FOOTER ─────────────────────────────── */

.footer-mandir {
    position: relative;
    margin-top: 70px;
    background:
        radial-gradient(900px 380px at 85% -100px, rgba(201, 162, 74, 0.12), transparent 60%),
        radial-gradient(700px 300px at 10% 110%, rgba(159, 52, 52, 0.25), transparent 65%),
        linear-gradient(180deg, var(--maroon-950) 0%, #140303 100%);
    color: rgba(255, 255, 255, 0.78);
    border-top: 1px solid rgba(201, 162, 74, 0.4);
}

/* ── Main grid ── */
.footer-main {
    max-width: var(--container);
    margin: 0 auto;
    padding: 34px 22px 26px;
    display: grid;
    grid-template-columns: 1.15fr 1.7fr 1.15fr;
    gap: 36px;
    align-items: start;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo {
    position: relative;
    flex-shrink: 0;
    width: 64px;
    height: 68px;
    border-radius: 16px;
    padding: 6px;
    background: #fffdf8;
    border: 1.5px solid var(--gold-400);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 20px rgba(201, 162, 74, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.footer-logo:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 26px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 162, 74, 0.6);
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-brand-text {
    min-width: 0;
}

.footer-trust-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--cream-50);
    line-height: 1.22;
    margin: 0;
    letter-spacing: 0.01em;
}

.footer-gold-text {
    color: var(--gold-400);
    text-shadow: 0 0 14px rgba(201, 162, 74, 0.35);
}

.footer-trust-sub {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-top: 4px;
}

.footer-tagline {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(244, 240, 232, 0.65);
    margin: 8px 0 0;
}

.footer-tagline i {
    color: var(--gold-500);
    margin-right: 2px;
}

/* ── Link columns ── */
.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px 28px;
}

.footer-col {
    min-width: 0;
}

.footer-col-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-300);
    margin: 0 0 13px;
}

.footer-col-title::after {
    content: '';
    flex: 1;
    max-width: 34px;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 162, 74, 0.55), transparent);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
    margin: 0;
}

.footer-col a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-col a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
    transition: width 0.3s var(--ease);
}

.footer-col a:hover {
    color: var(--gold-300);
    transform: translateX(3px);
}

.footer-col a:hover::before {
    width: 100%;
}

/* ── Contact column ── */
.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 13.5px;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 13px;
    color: var(--gold-300);
    background: rgba(201, 162, 74, 0.12);
    border: 1px solid rgba(201, 162, 74, 0.35);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.footer-contact-list li:hover .footer-contact-icon {
    background: rgba(201, 162, 74, 0.24);
    border-color: var(--gold-400);
    transform: translateY(-2px);
}

.footer-contact-list a {
    color: rgba(244, 240, 232, 0.82);
    transition: color 0.25s var(--ease);
    word-break: break-word;
}

.footer-contact-list a:hover {
    color: var(--gold-300);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(201, 162, 74, 0.35);
    transition: all 0.25s var(--ease);
}

.footer-socials a:hover {
    transform: translateY(-3px);
    color: #fff;
    border-style: solid;
    border-color: var(--gold-400);
}

.footer-socials a.wa:hover {
    background: #25d366;
    box-shadow: 0 10px 24px -10px rgba(37, 211, 102, 0.8);
}

.footer-socials a.fb:hover {
    background: #1877f2;
    box-shadow: 0 10px 24px -10px rgba(24, 119, 242, 0.8);
}

.footer-socials a.ig:hover {
    background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    box-shadow: 0 10px 24px -10px rgba(214, 36, 159, 0.8);
}

.footer-socials a.yt:hover {
    background: #ff0000;
    box-shadow: 0 10px 24px -10px rgba(255, 0, 0, 0.75);
}

.footer-socials a.x:hover {
    background: #0f1419;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.8);
}

.footer-socials a.tt:hover {
    background: #111111;
    box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.8);
}

/* ── Dotted dividers ── */
.footer-divider {
    border-top: 2px dotted rgba(201, 162, 74, 0.4);
}

/* ── Newsletter strip ── */
.footer-newsletter {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 22px;
}

.footer-newsletter-inner {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr 1.6fr;
    gap: 18px;
    align-items: center;
    padding: 16px 22px;
    background: linear-gradient(140deg, rgba(201, 162, 74, 0.13), rgba(255, 255, 255, 0.05) 45%, rgba(159, 52, 52, 0.2));
    border: 1px solid rgba(201, 162, 74, 0.4);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 44px -26px rgba(0, 0, 0, 0.9);
    overflow: hidden;
}

.footer-newsletter-inner::after {
    content: 'ॐ';
    position: absolute;
    right: -6px;
    bottom: -26px;
    font-size: 110px;
    font-weight: 700;
    line-height: 1;
    color: rgba(201, 162, 74, 0.07);
    pointer-events: none;
}

.footer-newsletter-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 18px;
    color: var(--gold-300);
    background: rgba(201, 162, 74, 0.15);
    border: 1px solid rgba(201, 162, 74, 0.45);
    animation: footer-bell 2.6s ease-in-out infinite;
}

@keyframes footer-bell {
    0%,
    100% {
        transform: rotate(0);
    }

    10% {
        transform: rotate(-8deg);
    }

    20% {
        transform: rotate(8deg);
    }

    30% {
        transform: rotate(0);
    }
}

.footer-newsletter-copy {
    min-width: 0;
}

.footer-newsletter-copy .footer-col-title {
    margin-bottom: 4px;
}

.footer-newsletter-copy .footer-col-title::after {
    display: none;
}

.footer-newsletter-copy p {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    margin: 0;
}

/* ── Bottom bar ── */
.footer-bar {
    max-width: var(--container);
    margin: 0 auto;
    padding: 16px 22px 20px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-copy {
    margin: 0;
    white-space: nowrap;
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border: 1px dashed rgba(201, 162, 74, 0.5);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
}

.footer-pill-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 9px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s var(--ease);
}

.footer-pill-btn:hover {
    color: var(--ink-900);
    background: var(--gold-400);
}

.footer-pill-top:hover i {
    animation: footer-arrow 0.6s var(--ease);
}

@keyframes footer-arrow {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }

    100% {
        transform: translateY(0);
    }
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
}

.footer-legal-links a {
    position: relative;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.25s var(--ease);
}

.footer-legal-links a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: -9px;
    color: rgba(201, 162, 74, 0.4);
}

.footer-legal-links a:hover {
    color: var(--gold-300);
}

.footer-credit {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12.5px;
}

.footer-credit a {
    color: var(--gold-400);
    font-weight: 600;
}

/* ─────────────────────────────── WA FLOAT ─────────────────────────────── */

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 25px;
    color: #fff;
    background: linear-gradient(145deg, #f5a623, #d48311);
    border: 1.5px solid rgba(255, 225, 150, 0.7);
    box-shadow: 0 14px 30px -8px rgba(212, 131, 17, 0.65), 0 0 20px rgba(245, 166, 35, 0.35);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.wa-float:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 18px 36px -8px rgba(212, 131, 17, 0.8), 0 0 28px rgba(245, 166, 35, 0.55);
}

.wa-float-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-cols {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-newsletter-inner {
        grid-template-columns: auto 1fr;
    }

    .footer-newsletter-inner .newsletter-form {
        grid-column: 1 / -1;
    }

    .form-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .info-stack {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .map-frame,
    .map-frame iframe {
        min-height: 380px;
        height: 380px;
    }
}

@media (max-width: 860px) {
    .navbar-container {
        padding: 10px 16px;
        position: relative;
    }

    .mobile-toggle {
        display: grid;
        place-items: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 6px);
        left: 12px;
        right: 12px;
        width: calc(100% - 24px);
        max-width: calc(100vw - 24px);
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 14px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: var(--r-lg);
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 85px);
        max-height: calc(100dvh - 85px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        z-index: 1000;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-link {
        border-radius: var(--r-md);
        padding: 12px 16px;
        justify-content: flex-start;
        width: 100%;
    }

    .nav-cta {
        justify-content: center;
        border-radius: var(--r-md);
        width: 100%;
    }

    .page-hero {
        padding: 64px 0 72px;
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .form-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-stack {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .page-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-actions .btn-mandir {
        width: 100%;
        justify-content: center;
    }

    .summary-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .summary-actions .btn-mandir {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .brand-full {
        display: none;
    }

    .trust-chip {
        font-size: 16px;
    }

    .logo-icon {
        width: 44px;
        height: 49px;
        padding: 3px;
    }

    .trust-chip small {
        font-size: 8px;
        letter-spacing: 0.18em;
    }

    .grid-3,
    .grid-2,
    .info-grid,
    .compact-grid,
    .member-grid,
    .gallery-grid,
    .form-grid,
    .social-grid {
        grid-template-columns: 1fr;
    }

    .form-panel {
        padding: 22px 16px;
        width: 100%;
        max-width: 100%;
    }

    .page-hero {
        padding: 48px 0 54px;
        overflow: hidden;
    }

    .page-hero-content {
        padding: 0 16px;
    }

    .page-title {
        font-size: clamp(26px, 7vw, 38px);
    }

    .page-copy {
        font-size: 14.5px;
        line-height: 1.6;
    }

    .summary-panel,
    .contact-card {
        padding: 22px 16px;
        width: 100%;
        max-width: 100%;
    }

    .summary-panel h3 {
        font-size: 20px;
    }

    .captcha-box {
        padding: 12px 14px;
        gap: 10px;
    }

    .captcha-question {
        font-size: 15px;
        padding: 5px 12px;
    }

    .captcha-input {
        width: 110px;
        font-size: 14px;
        padding: 8px 10px;
    }

    .captcha-refresh {
        padding: 8px 14px;
        font-size: 12.5px;
    }

    .notice-card {
        padding: 18px 16px;
    }

    .notice-card-head h3 {
        font-size: 17px;
    }

    .detail-row {
        font-size: 13px;
    }

    .detail-row strong {
        font-size: 13px;
    }

    .detail-row span {
        font-size: 12.5px;
    }

    .photo-preview {
        padding: 10px;
        gap: 10px;
    }

    .photo-preview-thumb {
        width: 52px;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .seva-modal {
        width: min(480px, calc(100vw - 28px));
        padding: 24px 18px 20px;
        max-height: 90vh;
        max-height: 90dvh;
        overflow-y: auto;
    }

    .seva-modal-trust-name {
        font-size: 17px;
    }

    .seva-modal-msg {
        font-size: 13.5px;
    }

    .seva-modal-ref {
        font-size: 13px;
        padding: 8px 14px;
        flex-direction: column;
        gap: 4px;
        width: 100%;
        justify-content: center;
    }

    .seva-modal-details {
        padding: 4px 14px;
    }

    .seva-modal-actions {
        flex-direction: column;
        gap: 8px;
    }

    .seva-modal-actions .btn-mandir {
        width: 100%;
        justify-content: center;
    }

    .verify-card {
        padding: 24px 16px;
        width: 100%;
        max-width: 100%;
    }

    .verify-form-row {
        flex-direction: column;
    }

    .newsletter-fields {
        flex-direction: column;
    }

    .gallery-lightbox {
        padding: 12px;
        max-width: calc(100vw - 20px);
    }

    .gallery-lightbox-dialog {
        max-width: calc(100vw - 20px);
        width: 100%;
    }

    .gallery-lightbox-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .wa-float {
        display: none;
    }

    .wa-float-mobile {
        display: grid;
        place-items: center;
    }

    .section-shell {
        padding-left: 16px;
        padding-right: 16px;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 8px 12px;
        gap: 8px;
    }

    .nav-links {
        left: 8px;
        right: 8px;
        width: calc(100% - 16px);
        max-width: calc(100vw - 16px);
        padding: 10px;
    }

    .logo-icon {
        width: 40px;
        height: 44px;
        padding: 2px;
    }

    .trust-chip {
        font-size: 15px;
        line-height: 1.15;
    }

    .lang-toggle {
        padding: 5px 8px;
        font-size: 11.5px;
    }

    .mobile-toggle {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .section-shell {
        padding-left: 12px;
        padding-right: 12px;
    }

    .form-panel,
    .summary-panel {
        padding: 18px 12px;
    }

    .field-control {
        font-size: 14px;
        padding: 10px 12px;
    }

    .captcha-box {
        flex-direction: column;
        align-items: stretch;
    }

    .captcha-question {
        text-align: center;
        width: 100%;
    }

    .captcha-input {
        width: 100%;
    }

    .captcha-refresh {
        width: 100%;
        justify-content: center;
    }

    .photo-preview {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .photo-preview-info {
        align-items: center;
        width: 100%;
    }

    .photo-preview-adjust {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .navbar-container {
        padding: 6px 8px;
        gap: 6px;
    }

    .trust-chip {
        font-size: 13.5px;
    }

    .logo-icon {
        width: 34px;
        height: 38px;
        padding: 2px;
    }

    .lang-toggle {
        padding: 4px 6px;
        font-size: 10.5px;
    }

    .mobile-toggle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .section-shell {
        padding-left: 8px;
        padding-right: 8px;
    }

    .form-panel,
    .summary-panel,
    .contact-card,
    .verify-card {
        padding: 14px 8px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 12px;
    }
}
