/* ==========================================================================
   COMPONENTS — header, footer, cards, hero, badges, tables, accordions
   ========================================================================== */

/* --------------------------------------------------------------------------
   TOP STRIP
   -------------------------------------------------------------------------- */
.topbar {
    background: linear-gradient(100deg, var(--sindoor-deep) 0%, var(--sindoor) 48%, var(--saffron) 150%);
    color: rgba(255,255,255,.94);
    font-size: var(--fs-xs);
    letter-spacing: .01em;
    position: relative;
    z-index: 2;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    min-height: 38px;
    padding-block: var(--s-2);
}
.topbar__left { display: flex; align-items: center; gap: var(--s-2); font-weight: 500; }
.topbar__right { display: flex; align-items: center; gap: var(--s-5); }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: opacity var(--t-fast); }
.topbar a:hover { opacity: .78; }
.topbar .icon { opacity: .85; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 11px;
    border: 1px solid rgba(255,255,255,.34);
    border-radius: var(--r-full);
    font-weight: 650;
    font-size: var(--fs-xs);
    transition: all var(--t-fast);
}
.lang-switch:hover { background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.6); opacity: 1 !important; }

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
    transition: box-shadow var(--t), background var(--t);
}
.header.is-stuck { box-shadow: var(--sh-md); background: rgba(255,255,255,.97); }

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-5);
    min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: var(--s-3); flex: none; }
.brand__logo {
    height: 52px;
    width: auto;
    flex: none;
    /* The supplied artwork is 153x80; cap the rendered size so it stays crisp. */
    max-width: 110px;
    object-fit: contain;
}
.brand__logo--footer { height: 64px; max-width: 132px; }

/* Header brand: logo plus a small locality line, separated by a hairline. */
.brand__text { justify-content: center; }
.brand > .brand__text:not(:first-child) {
    padding-left: var(--s-3);
    margin-left: var(--s-1);
    border-left: 1px solid var(--line);
}
.footer .brand > .brand__text:not(:first-child) { border-left-color: rgba(255,255,255,.18); }

@media (max-width: 560px) {
    .brand__logo { height: 44px; max-width: 94px; }
}
.brand__mark {
    display: grid;
    place-items: center;
    width: 46px; height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--sindoor) 0%, var(--saffron) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.22rem;
    letter-spacing: -.03em;
    box-shadow: var(--sh-sm);
    flex: none;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--ink);
}
.brand__sub {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .085em;
    text-transform: uppercase;
    color: var(--sindoor);
}
html[lang^="hi"] .brand__sub { letter-spacing: .02em; text-transform: none; }

/* Nav */
.nav { display: flex; align-items: center; gap: var(--s-1); }
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .55rem .78rem;
    font-size: var(--fs-base);
    font-weight: 550;
    color: var(--ink-2);
    border-radius: var(--r-sm);
    transition: color var(--t-fast), background var(--t-fast);
    position: relative;
    white-space: nowrap;
}
.nav__link:hover { color: var(--sindoor); background: var(--sindoor-tint); }
.nav__link.is-active { color: var(--sindoor); font-weight: 650; }
.nav__link.is-active::after {
    content: '';
    position: absolute;
    left: .78rem; right: .78rem; bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--sindoor), var(--saffron));
}

/* Dropdown */
.nav__item { position: relative; }
.nav__menu {
    position: absolute;
    top: calc(100% + 10px); left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 264px;
    padding: var(--s-2);
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t);
    z-index: 10;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu {
    opacity: 1; visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav__menu::before {
    content: '';
    position: absolute;
    top: -6px; left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px; height: 12px;
    background: #fff;
    border-left: 1px solid var(--line-soft);
    border-top: 1px solid var(--line-soft);
    border-radius: 2px 0 0 0;
}
.nav__menu-link {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: .6rem .7rem;
    border-radius: var(--r-sm);
    transition: background var(--t-fast);
}
.nav__menu-link:hover { background: var(--paper-3); }
.nav__menu-icon {
    display: grid;
    place-items: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--sindoor-tint);
    color: var(--sindoor);
    flex: none;
}
.nav__menu-title { font-weight: 600; font-size: var(--fs-base); color: var(--ink); line-height: 1.3; }
.nav__menu-desc  { font-size: var(--fs-xs); color: var(--ink-4); line-height: 1.4; }

.header__actions { display: flex; align-items: center; gap: var(--s-3); flex: none; }

.burger {
    display: none;
    width: 42px; height: 42px;
    place-items: center;
    border-radius: var(--r-sm);
    color: var(--ink);
    border: 1.5px solid var(--border);
}
.burger:hover { border-color: var(--sindoor); color: var(--sindoor); }

/* Mobile drawer */
.drawer {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(380px, 88vw);
    background: #fff;
    z-index: var(--z-drawer);
    transform: translateX(100%);
    transition: transform var(--t-slow);
    overflow-y: auto;
    box-shadow: var(--sh-xl);
    display: flex;
    flex-direction: column;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--s-4) var(--s-5);
    border-bottom: 1px solid var(--line-soft);
    position: sticky; top: 0;
    background: #fff;
    z-index: 2;
}
.drawer__body { padding: var(--s-4) var(--s-5) var(--s-8); flex: 1; }
.drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .85rem .5rem;
    font-size: var(--fs-md);
    font-weight: 550;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line-soft);
}
.drawer__link.is-active { color: var(--sindoor); font-weight: 650; }
.drawer__group-title {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-4);
    margin: var(--s-6) 0 var(--s-2);
}
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(28,22,19,.5);
    backdrop-filter: blur(3px);
    z-index: calc(var(--z-drawer) - 1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--t);
}
.overlay.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1080px) {
    .nav, .header__actions .btn--lg { display: none; }
    .burger { display: grid; }
}
@media (max-width: 560px) {
    .header__actions .btn { display: none; }
    .brand__sub { display: none; }
    .topbar__left { display: none; }
    .topbar__inner { justify-content: center; }
}

/* --------------------------------------------------------------------------
   BADGES & PILLS
   -------------------------------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .3rem .72rem;
    font-size: var(--fs-xs);
    font-weight: 650;
    letter-spacing: .02em;
    border-radius: var(--r-full);
    background: var(--paper-4);
    color: var(--ink-2);
    white-space: nowrap;
    line-height: 1.5;
}
.badge--brand   { background: var(--sindoor-soft); color: var(--sindoor-dark); }
.badge--gold    { background: var(--gold-pale); color: #7A5F12; }
.badge--saffron { background: var(--saffron-soft); color: #9A4D06; }
.badge--leaf    { background: var(--leaf-soft); color: #145C39; }
.badge--peacock { background: var(--peacock-soft); color: #0C4A4B; }
.badge--indigo  { background: var(--indigo-soft); color: #1E2A5E; }
.badge--dark    { background: var(--ink); color: #fff; }
.badge--outline { background: transparent; border: 1px solid var(--border); }

.badge--live {
    background: var(--sindoor);
    color: #fff;
}
.badge--live::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: pulse-dot 1.6s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: .22rem .6rem;
    font-size: var(--fs-xs);
    font-weight: 650;
    border-radius: var(--r-full);
    line-height: 1.6;
    white-space: nowrap;
}
.pill--blue   { background: #E3EDFB; color: #1B4A8F; }
.pill--cyan   { background: #DEF2F4; color: #0E5A63; }
.pill--amber  { background: #FCEEDA; color: #8A5407; }
.pill--purple { background: #EEE8FB; color: #4C2E93; }
.pill--green  { background: #DFF3E7; color: #15663E; }
.pill--red    { background: #FBE3E7; color: #96102A; }
.pill--grey   { background: var(--paper-4); color: var(--ink-3); }

/* Trust / ODOP ribbon */
.odop-strip {
    display: flex;
    align-items: center;
    gap: var(--s-3);
    padding: var(--s-3) var(--s-5);
    background: linear-gradient(100deg, var(--leaf-soft), var(--gold-pale));
    border: 1px solid rgba(31,122,77,.2);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    line-height: 1.5;
}
.odop-strip__icon {
    display: grid; place-items: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--leaf);
    color: #fff;
    flex: none;
}

/* --------------------------------------------------------------------------
   CARDS
   -------------------------------------------------------------------------- */
.card {
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    padding: var(--s-6);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card--hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-lg);
    border-color: var(--gold-light);
}
.card--flush { padding: 0; overflow: hidden; }
.card--tint  { background: var(--paper-3); border-color: var(--line); }
.card--brand {
    background: linear-gradient(150deg, var(--sindoor) 0%, var(--sindoor-deep) 100%);
    color: #fff;
    border: 0;
}
.card--brand h3, .card--brand h4 { color: #fff; }
.card--elevated { box-shadow: var(--sh-md); border-color: transparent; }

.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-4); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card--hover:hover .card__media img { transform: scale(1.055); }
.card__body { padding: var(--s-5) var(--s-6) var(--s-6); }
.card__title { font-size: var(--fs-xl); margin-bottom: var(--s-2); }
.card__text  { color: var(--text-muted); font-size: var(--fs-base); }

.card-icon {
    display: grid;
    place-items: center;
    width: 54px; height: 54px;
    border-radius: 15px;
    background: linear-gradient(140deg, var(--sindoor-soft), var(--gold-pale));
    color: var(--sindoor);
    margin-bottom: var(--s-4);
    flex: none;
}
.card-icon--saffron { background: linear-gradient(140deg, var(--saffron-soft), var(--gold-pale)); color: var(--saffron); }
.card-icon--peacock { background: linear-gradient(140deg, var(--peacock-soft), #EAF5F4); color: var(--peacock); }
.card-icon--indigo  { background: linear-gradient(140deg, var(--indigo-soft), #F0F2FA); color: var(--indigo); }
.card-icon--leaf    { background: linear-gradient(140deg, var(--leaf-soft), #EEF8F2); color: var(--leaf); }
.card-icon--gold    { background: linear-gradient(140deg, var(--gold-pale), #FBF6E8); color: var(--gold); }

/* --------------------------------------------------------------------------
   STATS
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s-5); }
.stat { text-align: center; padding: var(--s-5) var(--s-3); }
.stat__value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.035em;
    background: linear-gradient(135deg, var(--sindoor), var(--saffron));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
    margin-top: var(--s-2);
    font-weight: 500;
}
.section--ink .stat__value { background: linear-gradient(135deg, var(--gold-light), var(--saffron-light)); -webkit-background-clip: text; background-clip: text; }
.section--ink .stat__label { color: rgba(255,255,255,.66); }

/* --------------------------------------------------------------------------
   ACCORDION (FAQ)
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line-soft); }
.accordion__item { border-bottom: 1px solid var(--line-soft); }
.accordion__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    width: 100%;
    padding: var(--s-5) 0;
    text-align: left;
    font-family: inherit;
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--ink);
    transition: color var(--t-fast);
}
.accordion__btn:hover { color: var(--sindoor); }
.accordion__icon {
    flex: none;
    display: grid; place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--paper-3);
    color: var(--sindoor);
    transition: transform var(--t), background var(--t);
}
.accordion__item.is-open .accordion__icon { transform: rotate(180deg); background: var(--sindoor); color: #fff; }
.accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--t);
}
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__inner { overflow: hidden; }
.accordion__content {
    padding-bottom: var(--s-5);
    color: var(--text-muted);
    font-size: var(--fs-base);
    line-height: 1.75;
    max-width: 68ch;
}

/* --------------------------------------------------------------------------
   TABLES
   -------------------------------------------------------------------------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    background: var(--surface);
    -webkit-overflow-scrolling: touch;
}
.table { width: 100%; font-size: var(--fs-sm); min-width: 620px; }
.table th {
    text-align: left;
    padding: var(--s-4) var(--s-5);
    font-weight: 700;
    font-size: var(--fs-xs);
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--ink-3);
    background: var(--paper-3);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
html[lang^="hi"] .table th { text-transform: none; letter-spacing: .01em; font-size: var(--fs-sm); }
.table td {
    padding: var(--s-4) var(--s-5);
    border-bottom: 1px solid var(--line-soft);
    vertical-align: middle;
    color: var(--ink-2);
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr { transition: background var(--t-fast); }
.table tbody tr:hover { background: var(--paper-2); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table__highlight { background: var(--gold-pale) !important; }

/* --------------------------------------------------------------------------
   ALERTS
   -------------------------------------------------------------------------- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--s-3);
    padding: var(--s-4) var(--s-5);
    border-radius: var(--r-md);
    font-size: var(--fs-sm);
    line-height: 1.6;
    border: 1px solid transparent;
}
.alert .icon { flex: none; margin-top: 2px; }
.alert--success { background: var(--leaf-soft); color: #145C39; border-color: rgba(31,122,77,.22); }
.alert--error   { background: var(--sindoor-tint); color: var(--sindoor-dark); border-color: rgba(179,18,44,.22); }
.alert--warning { background: var(--saffron-soft); color: #8A4A06; border-color: rgba(224,123,30,.24); }
.alert--info    { background: var(--indigo-soft); color: #22306A; border-color: rgba(43,58,122,.2); }

/* Toast */
.toast-wrap {
    position: fixed;
    right: var(--s-5); bottom: var(--s-5);
    z-index: var(--z-toast);
    display: flex; flex-direction: column; gap: var(--s-3);
    max-width: min(420px, calc(100vw - 2rem));
}
.toast {
    display: flex; align-items: flex-start; gap: var(--s-3);
    padding: var(--s-4) var(--s-5);
    background: #fff;
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    border-left: 4px solid var(--sindoor);
    font-size: var(--fs-sm);
    animation: toast-in .42s var(--ease-out);
}
.toast--success { border-left-color: var(--leaf); }
.toast--error   { border-left-color: var(--sindoor); }
.toast--warning { border-left-color: var(--saffron); }
.toast--info    { border-left-color: var(--indigo); }
@keyframes toast-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   BREADCRUMB
   -------------------------------------------------------------------------- */
.breadcrumb {
    display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2);
    font-size: var(--fs-xs);
    color: var(--ink-4);
    margin-bottom: var(--s-5);
}
.breadcrumb a { color: var(--ink-3); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--sindoor); }
.breadcrumb__sep { opacity: .45; }

/* --------------------------------------------------------------------------
   PAGINATION
   -------------------------------------------------------------------------- */
.pagination { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; margin-top: var(--s-8); }
.pagination__link {
    display: grid; place-items: center;
    min-width: 40px; height: 40px;
    padding: 0 .7rem;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink-2);
    transition: all var(--t-fast);
}
.pagination__link:hover { border-color: var(--sindoor); color: var(--sindoor); }
.pagination__link.is-current { background: var(--sindoor); border-color: var(--sindoor); color: #fff; }
.pagination__gap { display: grid; place-items: center; min-width: 28px; color: var(--ink-4); }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,.68);
    padding-top: var(--s-11);
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute; inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--saffron) 0%, #fff 33%, var(--leaf) 66%, var(--gold) 100%);
}
.footer a { color: rgba(255,255,255,.68); transition: color var(--t-fast); }
.footer a:hover { color: var(--gold-light); }
.footer h4 {
    color: #fff;
    font-size: var(--fs-md);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: var(--s-5);
}
html[lang^="hi"] .footer h4 { font-family: var(--font-deva); text-transform: none; letter-spacing: 0; }

.footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
    gap: var(--s-8);
    padding-bottom: var(--s-9);
}
.footer__links li { margin-bottom: var(--s-3); font-size: var(--fs-sm); }
.footer__contact-item { display: flex; gap: var(--s-3); margin-bottom: var(--s-4); font-size: var(--fs-sm); line-height: 1.6; }
.footer__contact-item .icon { flex: none; margin-top: 3px; color: var(--gold-light); }

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-4);
    padding-block: var(--s-6);
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: var(--fs-xs);
    color: rgba(255,255,255,.46);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--s-5); }

.social { display: flex; gap: var(--s-3); }
.social a {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    transition: all var(--t);
}
.social a:hover { background: var(--sindoor); border-color: var(--sindoor); color: #fff; transform: translateY(-3px); }

.newsletter-form { display: flex; gap: var(--s-2); margin-top: var(--s-4); }
.newsletter-form .input {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.17);
    color: #fff;
}
.newsletter-form .input::placeholder { color: rgba(255,255,255,.42); }
.newsletter-form .input:focus { border-color: var(--gold-light); box-shadow: 0 0 0 4px rgba(227,193,105,.16); background: rgba(255,255,255,.12); }

@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s-7); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; text-align: center; } }

/* --------------------------------------------------------------------------
   FLOATING ACTIONS
   -------------------------------------------------------------------------- */
.fab-stack {
    position: fixed;
    right: var(--s-5); bottom: var(--s-5);
    z-index: 90;
    display: flex; flex-direction: column; gap: var(--s-3);
}
.fab {
    display: grid; place-items: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #1EA952;
    color: #fff;
    box-shadow: 0 8px 26px rgba(30,169,82,.42);
    transition: transform var(--t), box-shadow var(--t);
    position: relative;
}
.fab:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(30,169,82,.52); }
.fab--call { background: var(--sindoor); box-shadow: 0 8px 26px rgba(179,18,44,.4); }
.fab--call:hover { box-shadow: 0 12px 32px rgba(179,18,44,.5); }
.fab--top { background: var(--ink); box-shadow: var(--sh-md); width: 46px; height: 46px; opacity: 0; visibility: hidden; }
.fab--top.is-visible { opacity: 1; visibility: visible; }

.fab::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 2px solid currentColor;
    opacity: 0;
    animation: fab-ring 2.6s ease-out infinite;
}
.fab--top::after { display: none; }
@keyframes fab-ring {
    0%   { transform: scale(1);   opacity: .5; }
    70%  { transform: scale(1.45); opacity: 0; }
    100% { opacity: 0; }
}

/* Mobile sticky action bar on landing pages */
.mobile-cta {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 95;
    display: none;
    gap: var(--s-2);
    padding: var(--s-3) var(--s-4) calc(var(--s-3) + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(60,40,20,.1);
}
.mobile-cta .btn { flex: 1; padding-inline: .5rem; font-size: var(--fs-sm); }

@media (max-width: 860px) {
    .mobile-cta.is-active { display: flex; }
    body.has-mobile-cta { padding-bottom: 76px; }
    body.has-mobile-cta .fab-stack { bottom: 86px; }
    .fab { width: 50px; height: 50px; }
}

/* --------------------------------------------------------------------------
   DECORATIVE MOTIFS
   -------------------------------------------------------------------------- */
.jaali-bg { position: relative; isolation: isolate; }
.jaali-bg::before {
    content: '';
    position: absolute; inset: 0;
    z-index: -1;
    opacity: .5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23D9C9A8' stroke-width='.9' opacity='.6'%3E%3Cpath d='M32 0v64M0 32h64'/%3E%3Ccircle cx='32' cy='32' r='15'/%3E%3Cpath d='M32 17c8 0 15 7 15 15s-7 15-15 15-15-7-15-15 7-15 15-15z'/%3E%3Cpath d='M0 0l32 32L0 64M64 0L32 32l32 32'/%3E%3C/g%3E%3C/svg%3E");
}

.divider-motif {
    display: flex; align-items: center; justify-content: center;
    gap: var(--s-4);
    margin-block: var(--s-7);
    color: var(--gold);
}
.divider-motif::before, .divider-motif::after {
    content: '';
    height: 1px; width: min(140px, 22vw);
    background: linear-gradient(90deg, transparent, var(--gold-light));
}
.divider-motif::after { background: linear-gradient(270deg, transparent, var(--gold-light)); }

.gold-rule {
    height: 3px;
    width: 64px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--sindoor), var(--saffron), var(--gold));
}

/* Responsive grid collapse */
@media (max-width: 1020px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .section { padding-block: var(--s-9); }
    .section--lg { padding-block: var(--s-10); }
}
@media (max-width: 620px) {
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .container { padding-inline: var(--s-4); }
    .card { padding: var(--s-5); }
}

/* --------------------------------------------------------------------------
   STACKED LABEL / VALUE PAIRS
   These are authored as <span> for flexible markup, so they need an explicit
   block display to sit on their own lines.
   -------------------------------------------------------------------------- */
.stat__value,
.stat__label,
.trust-bar__title,
.trust-bar__sub,
.nav__menu-title,
.nav__menu-desc,
.quote-card__name,
.quote-card__role,
.card__text {
    display: block;
}


/* --------------------------------------------------------------------------
   OVERFLOW GUARD
   Grid and flex children default to min-width:auto, which lets long words,
   tables and images push the page wider than the phone. This stops that.
   -------------------------------------------------------------------------- */
.grid > *,
.flex > * { min-width: 0; }

html, body { max-width: 100%; }

pre, code { overflow-x: auto; max-width: 100%; }
