/* ==========================================================================
   Acharya Mahipati Joshi — Premium Vedic Design System
   Shared stylesheet for all pages.
   Sections: 1 Tokens · 2 Base · 3 Decoration · 4 Header · 5 Buttons
             6 Cards · 7 Dividers · 8 Hero · 9 Sliders · 10 Accordion
             11 Forms · 12 Gallery · 13 Footer · 14 Motion · 15 Responsive
   ========================================================================== */

/* ---------------------------------------------------------------- 1 TOKENS */
:root {
    /* Temple palette */
    --saffron:      #C87400;
    --saffron-deep: #A45F00;
    --saffron-lite: #E89320;
    --maroon:       #6B1E1E;
    --maroon-deep:  #4E1414;
    --gold:         #D8A63D;
    --gold-lite:    #EBC873;
    --gold-deep:    #B0812A;
    --cream:        #FFF8EE;
    --offwhite:     #FCFBF8;
    --brown:        #332018;
    --success:      #4A7C59;
    --muted:        #666666;
    --alt:          #F8F3EA;

    /* Derived surfaces */
    --line:         rgba(216, 166, 61, .28);
    --line-soft:    rgba(216, 166, 61, .16);
    --ink-70:       rgba(51, 32, 24, .74);
    --ink-55:       rgba(51, 32, 24, .58);

    /* Elevation */
    --sh-sm:  0 2px 10px rgba(51, 32, 24, .06);
    --sh-md:  0 10px 30px -12px rgba(51, 32, 24, .18);
    --sh-lg:  0 26px 60px -24px rgba(51, 32, 24, .30);
    --sh-gold:0 14px 34px -12px rgba(200, 116, 0, .45);

    /* Rhythm */
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-xl: 40px;
    --shell: 1240px;

    /* Type */
    --f-display: "Cinzel", "Cormorant Garamond", serif;
    --f-serif:   "Cormorant Garamond", Georgia, serif;
    --f-sub:     "Noto Serif", Georgia, serif;
    --f-body:    "Inter", system-ui, -apple-system, sans-serif;
    --f-btn:     "Poppins", "Inter", sans-serif;
    --f-deva:    "Noto Serif Devanagari", "Noto Serif", serif;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ 2 BASE */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 140px; }

body {
    margin: 0;
    background: var(--offwhite);
    color: var(--brown);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, .font-display { font-family: var(--f-display); font-weight: 600; letter-spacing: .01em; }
h1, h2, h3, h4 { line-height: 1.18; color: var(--maroon); margin: 0; text-wrap: balance; }
.font-sub  { font-family: var(--f-sub); }
.font-serif-alt { font-family: var(--f-serif); }
.font-deva { font-family: var(--f-deva); }
.font-btn  { font-family: var(--f-btn); }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: #fff; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 20px; }
.section { position: relative; padding-block: clamp(64px, 8vw, 116px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-alt   { background: var(--alt); }
.bg-cream { background: var(--cream); }
.bg-deep  { background: linear-gradient(150deg, var(--maroon-deep) 0%, var(--maroon) 55%, #7A2A1C 100%); color: #fff; }
.bg-saff  { background: linear-gradient(140deg, var(--saffron-deep) 0%, var(--saffron) 60%, var(--saffron-lite) 100%); color: #fff; }
.bg-deep h1, .bg-deep h2, .bg-deep h3, .bg-saff h1, .bg-saff h2, .bg-saff h3 { color: #fff; }

.muted { color: var(--muted); }
.ink-70 { color: var(--ink-70); }

/* Fluid display scale */
.d-1 { font-size: clamp(2.3rem, 5.6vw, 4.15rem); }
.d-2 { font-size: clamp(1.95rem, 4vw, 3.1rem); }
.d-3 { font-size: clamp(1.45rem, 2.4vw, 2.05rem); }
.d-4 { font-size: clamp(1.2rem, 1.7vw, 1.45rem); }
.lead { font-size: clamp(1.02rem, 1.15vw, 1.16rem); line-height: 1.85; color: var(--ink-70); }

/* Gold gradient text */
.gold-text {
    background: linear-gradient(96deg, var(--gold-deep), var(--gold-lite) 45%, var(--gold));
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* Eyebrow chip */
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-btn); font-size: .705rem; font-weight: 600;
    letter-spacing: .22em; text-transform: uppercase;
    color: var(--saffron);
    background: rgba(216, 166, 61, .10);
    border: 1px solid var(--line);
    padding: 8px 18px; border-radius: 999px;
}
.eyebrow::before {
    content: ""; width: 7px; height: 7px; flex: none;
    background: linear-gradient(135deg, var(--gold-lite), var(--gold-deep));
    transform: rotate(45deg); border-radius: 1px;
}
.on-dark .eyebrow, .bg-deep .eyebrow, .bg-saff .eyebrow {
    color: var(--gold-lite);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(235, 200, 115, .38);
}

.diamond {
    display: inline-block; width: 9px; height: 9px; flex: none;
    background: linear-gradient(135deg, var(--gold-lite), var(--gold-deep));
    transform: rotate(45deg); border-radius: 1px;
}

/* Skip link */
.skip {
    position: absolute; left: -9999px; top: 0; z-index: 999;
    background: var(--maroon); color: #fff; padding: 12px 22px; border-radius: 0 0 var(--r-sm) 0;
    font-family: var(--f-btn); font-size: .85rem;
}
.skip:focus { left: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ----------------------------------------------------------- 3 DECORATION */
/* Low-opacity sacred motifs, all pure CSS backgrounds. */

.deco { position: absolute; pointer-events: none; z-index: 0; }
.deco-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.above { position: relative; z-index: 1; }

/* Mandala — 12-petal concentric wheel */
.deco-mandala {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cdefs%3E%3Cpath id='p' d='M100 6 C116 40 116 58 100 76 C84 58 84 40 100 6Z'/%3E%3Cpath id='q' d='M100 34 C110 56 110 66 100 78 C90 66 90 56 100 34Z'/%3E%3C/defs%3E%3Cg fill='none' stroke='%23D8A63D' stroke-width='1.1'%3E%3Ccircle cx='100' cy='100' r='97'/%3E%3Ccircle cx='100' cy='100' r='90'/%3E%3Ccircle cx='100' cy='100' r='60'/%3E%3Ccircle cx='100' cy='100' r='26'/%3E%3Ccircle cx='100' cy='100' r='9'/%3E%3Cuse href='%23p'/%3E%3Cuse href='%23p' transform='rotate(30 100 100)'/%3E%3Cuse href='%23p' transform='rotate(60 100 100)'/%3E%3Cuse href='%23p' transform='rotate(90 100 100)'/%3E%3Cuse href='%23p' transform='rotate(120 100 100)'/%3E%3Cuse href='%23p' transform='rotate(150 100 100)'/%3E%3Cuse href='%23p' transform='rotate(180 100 100)'/%3E%3Cuse href='%23p' transform='rotate(210 100 100)'/%3E%3Cuse href='%23p' transform='rotate(240 100 100)'/%3E%3Cuse href='%23p' transform='rotate(270 100 100)'/%3E%3Cuse href='%23p' transform='rotate(300 100 100)'/%3E%3Cuse href='%23p' transform='rotate(330 100 100)'/%3E%3Cuse href='%23q' transform='rotate(15 100 100)'/%3E%3Cuse href='%23q' transform='rotate(75 100 100)'/%3E%3Cuse href='%23q' transform='rotate(135 100 100)'/%3E%3Cuse href='%23q' transform='rotate(195 100 100)'/%3E%3Cuse href='%23q' transform='rotate(255 100 100)'/%3E%3Cuse href='%23q' transform='rotate(315 100 100)'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: contain;
}

/* Lotus — eight petal bloom */
.deco-lotus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 140'%3E%3Cg fill='none' stroke='%23D8A63D' stroke-width='1.4' stroke-linejoin='round'%3E%3Cpath d='M130 18 C150 52 150 88 130 122 C110 88 110 52 130 18Z'/%3E%3Cpath d='M130 122 C104 104 88 74 88 40 C112 54 128 84 130 122Z'/%3E%3Cpath d='M130 122 C156 104 172 74 172 40 C148 54 132 84 130 122Z'/%3E%3Cpath d='M130 124 C96 118 66 98 48 68 C82 68 116 92 130 124Z'/%3E%3Cpath d='M130 124 C164 118 194 98 212 68 C178 68 144 92 130 124Z'/%3E%3Cpath d='M130 126 C92 128 52 118 22 98 C58 88 104 100 130 126Z'/%3E%3Cpath d='M130 126 C168 128 208 118 238 98 C202 88 156 100 130 126Z'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: contain;
}

/* Om watermark */
.deco-om {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ctext x='100' y='150' text-anchor='middle' font-family='Noto Serif Devanagari, Nirmala UI, serif' font-size='170' fill='%23C87400'%3E%26%232384;%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: contain; background-position: center;
}

/* Temple / shikhara skyline outline */
.deco-temple {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%23D8A63D' stroke-width='2'%3E%3Cpath d='M0 218 L0 170 L60 170 L60 120 L110 120 L110 170 L170 170 L170 218'/%3E%3Cpath d='M170 218 L170 150 L210 150 C210 96 240 62 258 26 C276 62 306 96 306 150 L346 150 L346 218'/%3E%3Cpath d='M346 218 L346 160 L400 160 L400 108 L446 62 L492 108 L492 160 L546 160 L546 218'/%3E%3Cpath d='M546 218 L546 140 L590 140 C590 74 626 40 650 4 C674 40 710 74 710 140 L754 140 L754 218'/%3E%3Cpath d='M754 218 L754 160 L806 160 L806 108 L852 62 L898 108 L898 160 L950 160 L950 218'/%3E%3Cpath d='M950 218 L950 150 L992 150 C992 96 1022 62 1040 26 C1058 62 1088 96 1088 150 L1130 150 L1130 218'/%3E%3Cpath d='M1130 218 L1130 170 L1200 170 L1200 218'/%3E%3Cpath d='M258 26 L258 6 M650 4 L650 -14 M1040 26 L1040 6 M446 62 L446 42 M852 62 L852 42'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: 100% 100%; background-position: bottom;
}

/* Sacred geometry lattice — tiled */
.bg-geo {
    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='%23C87400' stroke-width='.8'%3E%3Cpath d='M32 2 L62 32 L32 62 L2 32 Z'/%3E%3Cpath d='M32 18 L46 32 L32 46 L18 32 Z'/%3E%3Ccircle cx='32' cy='32' r='5'/%3E%3Cpath d='M0 0 L4 4 M64 0 L60 4 M0 64 L4 60 M64 64 L60 60'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat; background-size: 64px 64px;
}

/* Subtle Sanskrit texture — tiled devanagari syllables */
.bg-sanskrit {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='190' height='120' viewBox='0 0 190 120'%3E%3Cg font-family='Noto Serif Devanagari, Nirmala UI, serif' font-size='26' fill='%23C87400'%3E%3Ctext x='4' y='34'%3E%26%232384;%3C/text%3E%3Ctext x='66' y='34'%3E%26%232358;%26%232381;%26%232352;%26%232368;%3C/text%3E%3Ctext x='140' y='34'%3E%26%232384;%3C/text%3E%3Ctext x='30' y='94'%3E%26%232358;%26%232367;%26%232357;%3C/text%3E%3Ctext x='106' y='94'%3E%26%232361;%26%232352;%26%232367;%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat; background-size: 190px 120px;
}

/* Traditional scalloped temple border strip */
.border-temple {
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='14' viewBox='0 0 40 14'%3E%3Cg fill='none' stroke='%23D8A63D' stroke-width='1.2'%3E%3Cpath d='M0 13 L0 8 C0 3 4 1 8 1 C12 1 16 3 16 8 L16 13'/%3E%3Cpath d='M20 13 L20 8 C20 3 24 1 28 1 C32 1 36 3 36 8 L36 13'/%3E%3Cpath d='M18 13 L18 5 M38 13 L38 5'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat-x; background-size: 40px 14px;
    opacity: .5;
}

/* Blurred glowing orbs */
.glow {
    position: absolute; border-radius: 50%;
    filter: blur(70px); pointer-events: none; z-index: 0;
}
.glow-gold   { background: radial-gradient(circle, rgba(216,166,61,.42), transparent 68%); }
.glow-saff   { background: radial-gradient(circle, rgba(200,116,0,.34),  transparent 68%); }
.glow-maroon { background: radial-gradient(circle, rgba(107,30,30,.32),  transparent 68%); }

/* Corner mandala frame accents */
.corner-mandala { width: 120px; height: 120px; opacity: .16; }

/* Section heading block */
.head { max-width: 720px; }
.head-center { max-width: 760px; margin-inline: auto; text-align: center; }
.head h2 { margin-top: 18px; }
.head p  { margin-top: 16px; }

/* Ornamental rule: line · diamond · line */
.rule-om { display: flex; align-items: center; gap: 14px; justify-content: center; }
.rule-om::before, .rule-om::after {
    content: ""; height: 1px; flex: 1; max-width: 130px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.rule-om::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.rule-om > * { color: var(--gold); font-size: 1.15rem; }

/* ---------------------------------------------------------------- 4 HEADER */
.topbar {
    background: linear-gradient(100deg, var(--maroon-deep), var(--maroon) 48%, #7A2A1C);
    color: rgba(255, 255, 255, .9);
    font-size: .78rem;
    position: relative; z-index: 60;
}
.topbar a { transition: color .25s var(--ease); }
.topbar a:hover { color: var(--gold-lite); }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 44px; flex-wrap: wrap; }
.topbar-info { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar [data-lucide] { width: 14px; height: 14px; color: var(--gold-lite); }

.social-dot {
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid rgba(235, 200, 115, .34);
    color: var(--gold-lite);
    transition: all .3s var(--ease);
}
.social-dot:hover { background: var(--gold); border-color: var(--gold); color: var(--maroon-deep); transform: translateY(-2px); }
.social-dot svg { width: 15px; height: 15px; }

/* Floating glass navigation */
.nav-wrap {
    position: sticky; top: 12px; z-index: 55;
    padding-inline: 20px;
    margin-top: 14px;
    margin-bottom: -84px;   /* let hero sit beneath the floating bar */
    transition: top .35s var(--ease);
}
.nav-shell {
    max-width: var(--shell); margin-inline: auto;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 10px 12px 10px 16px;
    border-radius: var(--r-lg);
    background: rgba(255, 248, 238, .82);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(216, 166, 61, .34);
    box-shadow: 0 18px 44px -22px rgba(51, 32, 24, .42), inset 0 1px 0 rgba(255, 255, 255, .7);
    transition: background .35s var(--ease), box-shadow .35s var(--ease), padding .35s var(--ease);
}
.is-stuck .nav-shell {
    background: rgba(255, 248, 238, .95);
    box-shadow: 0 22px 52px -20px rgba(51, 32, 24, .5), inset 0 1px 0 rgba(255, 255, 255, .8);
    padding-block: 7px;
}

.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand-mark {
    width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(216, 166, 61, .16);
}
.brand-name { font-family: var(--f-display); font-size: 1.06rem; font-weight: 700; color: var(--maroon); line-height: 1.15; letter-spacing: .01em; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link {
    position: relative;
    font-family: var(--f-btn); font-size: .815rem; font-weight: 500;
    color: var(--brown); padding: 10px 13px; border-radius: 999px;
    white-space: nowrap;
    transition: color .28s var(--ease), background .28s var(--ease);
}
.nav-link::after {
    content: ""; position: absolute; left: 50%; bottom: 5px;
    width: 0; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-lite));
    transform: translateX(-50%);
    transition: width .32s var(--ease);
}
.nav-link:hover { color: var(--saffron); }
.nav-link:hover::after, .nav-link.is-active::after { width: 22px; }
.nav-link.is-active { color: var(--maroon); font-weight: 600; }

.burger {
    width: 46px; height: 46px; border-radius: 14px; flex: none;
    display: none; place-items: center; gap: 5px;
    background: var(--maroon); border: 0; cursor: pointer;
}
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--cream); transition: transform .3s var(--ease), opacity .25s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer-veil {
    position: fixed; inset: 0; z-index: 70;
    background: rgba(51, 32, 24, .55);
    backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
}
.drawer-veil.is-open { opacity: 1; visibility: visible; }

.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 80;
    width: min(340px, 88vw);
    background: linear-gradient(170deg, var(--cream), var(--offwhite));
    border-left: 1px solid var(--line);
    box-shadow: -30px 0 70px -30px rgba(51, 32, 24, .5);
    transform: translateX(105%);
    transition: transform .42s var(--ease);
    display: flex; flex-direction: column;
    overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line-soft); }
.drawer-close { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--maroon); display: grid; place-items: center; cursor: pointer; }
.drawer-nav { padding: 12px 20px 24px; display: flex; flex-direction: column; }
.drawer-nav a.d-link {
    font-family: var(--f-btn); font-size: .95rem; font-weight: 500;
    padding: 15px 4px; border-bottom: 1px solid var(--line-soft);
    color: var(--brown);
    display: flex; align-items: center; justify-content: space-between;
    opacity: 0; transform: translateX(18px);
}
.drawer.is-open .d-link { animation: dSlide .42s var(--ease) forwards; }
.drawer-nav a.d-link.is-active { color: var(--saffron); font-weight: 600; }
.drawer-nav a.d-link svg { width: 15px; height: 15px; color: var(--gold); }
@keyframes dSlide { to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- 5 BUTTONS */
.btn {
    position: relative; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--f-btn); font-size: .875rem; font-weight: 600; letter-spacing: .015em;
    padding: 14px 30px; border-radius: 999px; border: 1.5px solid transparent;
    cursor: pointer; text-align: center;
    transition: transform .3s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:hover { transform: translateY(-3px); }

.btn-primary {
    background: linear-gradient(112deg, var(--saffron-deep) 0%, var(--saffron) 45%, var(--gold) 100%);
    color: #fff;
    box-shadow: var(--sh-gold);
}
.btn-primary:hover { box-shadow: 0 18px 40px -10px rgba(200, 116, 0, .62), 0 0 0 4px rgba(216, 166, 61, .22); }

.btn-maroon { background: var(--maroon); color: var(--cream); box-shadow: 0 12px 30px -14px rgba(107, 30, 30, .8); }
.btn-maroon:hover { background: var(--maroon-deep); box-shadow: 0 18px 38px -12px rgba(107, 30, 30, .85), 0 0 0 4px rgba(107, 30, 30, .16); }

.btn-outline { background: transparent; color: var(--maroon); border-color: var(--maroon); }
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: var(--sh-gold); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .72); }
.btn-ghost:hover { background: var(--gold); border-color: var(--gold); color: var(--maroon-deep); }

.btn-wa { background: #1FA855; color: #fff; box-shadow: 0 12px 30px -14px rgba(31, 168, 85, .9); }
.btn-wa:hover { background: #178F46; box-shadow: 0 18px 38px -12px rgba(31, 168, 85, .95); }

.btn-sm { padding: 11px 22px; font-size: .8rem; }
.btn-block { width: 100%; }

/* Ripple */
.ripple {
    position: absolute; border-radius: 50%; transform: scale(0);
    background: rgba(255, 255, 255, .45); pointer-events: none;
    animation: ripple .62s var(--ease) forwards;
}
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* Animated "Learn More" link */
.link-more {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--f-btn); font-size: .8rem; font-weight: 600;
    color: var(--maroon);
}
.link-more svg { width: 15px; height: 15px; transition: transform .32s var(--ease); }
.link-more .bar {
    display: inline-block; width: 0; height: 1.5px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-lite));
    transition: width .38s var(--ease);
}
.group:hover .link-more .bar, .card-svc:hover .link-more .bar { width: 26px; }
.group:hover .link-more { color: var(--saffron); }
.group:hover .link-more svg { transform: translateX(6px); }

/* ----------------------------------------------------------------- 6 CARDS */
/* Premium service card */
.card-svc {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column;
    padding: 34px 30px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    transition: transform .42s var(--ease), box-shadow .42s var(--ease), border-color .42s var(--ease);
}
.card-svc::before {   /* background illustration */
    content: ""; position: absolute; right: -34px; bottom: -34px;
    width: 170px; height: 170px; z-index: -1;
    opacity: .07;
    transition: opacity .45s var(--ease), transform .55s var(--ease);
}
.card-svc::after {    /* gold top sheen */
    content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0; transition: opacity .4s var(--ease);
}
.card-svc:hover { transform: translateY(-10px); box-shadow: var(--sh-lg); border-color: rgba(216, 166, 61, .62); }
.card-svc:hover::before { opacity: .13; transform: rotate(-8deg) scale(1.06); }
.card-svc:hover::after { opacity: 1; }

.icon-badge {
    width: 60px; height: 60px; flex: none;
    display: grid; place-items: center;
    border-radius: 18px;
    background: linear-gradient(150deg, rgba(216, 166, 61, .18), rgba(200, 116, 0, .10));
    border: 1px solid var(--line);
    color: var(--saffron);
    transition: all .4s var(--ease);
}
.icon-badge svg { width: 26px; height: 26px; stroke-width: 1.6; }
.icon-badge-lg { width: 74px; height: 74px; border-radius: 22px; }
.icon-badge-lg svg { width: 32px; height: 32px; }
.group:hover .icon-badge, .card-svc:hover .icon-badge {
    background: linear-gradient(150deg, var(--saffron), var(--gold));
    color: #fff; border-color: transparent;
    transform: rotate(-6deg) scale(1.05);
    box-shadow: var(--sh-gold);
}

/* Glass card (dark surfaces) */
.card-glass {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--r-md);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
    transition: transform .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.card-glass:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .14); border-color: rgba(235, 200, 115, .48); }

/* Soft gradient card (light surfaces) */
.card-soft {
    background: linear-gradient(158deg, #fff, var(--cream));
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    box-shadow: var(--sh-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card-soft:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: var(--line); }

/* Floating stat card */
.stat-card {
    background: rgba(255, 248, 238, .93);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--sh-lg);
    padding: 18px 22px;
}
.stat-num { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 700; color: var(--saffron); line-height: 1; }

/* Decorative image frame */
.frame-gold {
    position: relative;
    border-radius: var(--r-lg);
    padding: 10px;
    background: linear-gradient(150deg, rgba(216, 166, 61, .34), rgba(200, 116, 0, .12) 45%, rgba(216, 166, 61, .34));
    box-shadow: var(--sh-lg);
}
.frame-gold > * { border-radius: calc(var(--r-lg) - 8px); overflow: hidden; }
.frame-gold::before, .frame-gold::after {
    content: ""; position: absolute; width: 34px; height: 34px; border: 2px solid var(--gold); border-radius: 3px;
}
.frame-gold::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.frame-gold::after  { bottom: -7px; right: -7px; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }

.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform .7s var(--ease); }
.img-zoom:hover img, .group:hover .img-zoom img { transform: scale(1.07); }

/* Timeline (about) */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
    content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px;
    background: linear-gradient(180deg, var(--gold), rgba(216, 166, 61, .12));
    border-radius: 2px;
}
.t-item { position: relative; padding-bottom: 30px; }
.t-item:last-child { padding-bottom: 0; }
.t-item::before {
    content: ""; position: absolute; left: -32px; top: 7px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--cream); border: 2.5px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(216, 166, 61, .14);
}

/* Golden quote block */
.quote-gold {
    position: relative;
    padding: 34px 34px 34px 66px;
    border-radius: var(--r-md);
    background: linear-gradient(150deg, rgba(216, 166, 61, .12), rgba(255, 248, 238, .9));
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    font-family: var(--f-serif);
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
    font-style: italic; line-height: 1.6;
    color: var(--maroon);
}
.quote-gold::before {
    content: "\201C";
    position: absolute; left: 20px; top: 10px;
    font-family: var(--f-display); font-size: 4.2rem; line-height: 1;
    color: var(--gold); opacity: .55;
}

/* Bullet list with gold marker */
.list-vedic { display: grid; gap: 13px; }
.list-vedic li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-70); }
.list-vedic li svg { width: 17px; height: 17px; flex: none; margin-top: 5px; color: var(--gold); }
.list-vedic li strong { color: var(--brown); }

/* Region / info tile */
.tile {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px 20px; border-radius: var(--r-sm);
    background: rgba(255, 255, 255, .72);
    border: 1px solid var(--line-soft);
    transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.tile:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--sh-sm); }
.tile svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 3px; }

/* ------------------------------------------------------------- 7 DIVIDERS */
.curve-bottom, .curve-top { position: absolute; inset-inline: 0; line-height: 0; z-index: 2; pointer-events: none; }
.curve-bottom { bottom: -1px; }
.curve-top { top: -1px; }
.curve-bottom svg, .curve-top svg { display: block; width: 100%; height: clamp(48px, 6vw, 92px); }
.curve-top svg { transform: rotate(180deg); }

.diag-sep { position: relative; }
.diag-sep::after {
    content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 90px;
    background: inherit; clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

/* --------------------------------------------------------------- 8 HERO */
.hero {
    position: relative; overflow: hidden;
    /* shorter than the window — height follows the content, with a floor so the
       slide never collapses on wide/short screens */
    min-height: clamp(560px, 78vh, 720px);
    display: flex; flex-direction: column; justify-content: center;
    padding-top: clamp(110px, 10vw, 140px);
    padding-bottom: clamp(70px, 7vw, 100px);
    background:
        radial-gradient(1100px 620px at 78% 18%, rgba(216, 166, 61, .30), transparent 62%),
        radial-gradient(900px 560px at 8% 76%, rgba(200, 116, 0, .22), transparent 60%),
        linear-gradient(168deg, var(--cream) 0%, #FDF2E0 46%, var(--alt) 100%);
}
.hero-portrait {
    position: relative;
    border-radius: 50% 50% 46% 46% / 46% 46% 50% 50%;
    background: linear-gradient(160deg, var(--maroon) 0%, #8A2C22 55%, var(--saffron-deep) 100%);
    box-shadow: var(--sh-lg), 0 0 0 12px rgba(255, 255, 255, .5), 0 0 0 13px rgba(216, 166, 61, .5);
    overflow: hidden;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-mantra {
    position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
    white-space: nowrap; z-index: 3;
    background: rgba(78, 20, 20, .92);
    border: 1px solid rgba(235, 200, 115, .6);
    color: var(--gold-lite);
    font-family: var(--f-deva); font-size: .82rem;
    padding: 7px 20px; border-radius: 999px;
    box-shadow: var(--sh-md);
}

/* ------------------------------------------------------------- 9 SLIDERS */
.slider { position: relative; }
.slider-view { overflow: hidden; }
.slider-track { display: flex; transition: transform .62s var(--ease); will-change: transform; }
.slide { flex: 0 0 100%; min-width: 0; padding-inline: 10px; }

.dots { display: flex; align-items: center; gap: 9px; }
.dot {
    width: 9px; height: 9px; border-radius: 50%; padding: 0; cursor: pointer;
    background: rgba(200, 116, 0, .28); border: 0;
    transition: all .34s var(--ease);
}
.dot.is-active { width: 30px; border-radius: 999px; background: linear-gradient(90deg, var(--saffron), var(--gold)); }
.on-dark .dot { background: rgba(255, 255, 255, .3); }
.on-dark .dot.is-active { background: linear-gradient(90deg, var(--gold), var(--gold-lite)); }

.nav-arrow {
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center;
    background: #fff; border: 1px solid var(--line); color: var(--maroon);
    box-shadow: var(--sh-sm);
    transition: all .32s var(--ease);
}
.nav-arrow:hover { background: var(--maroon); color: var(--cream); border-color: var(--maroon); transform: translateY(-2px); }
.nav-arrow svg { width: 18px; height: 18px; }
.on-dark .nav-arrow { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .28); color: #fff; backdrop-filter: blur(8px); }
.on-dark .nav-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--maroon-deep); }

/* Hero carousel — the two sections slide horizontally, copy + portrait together.
   Each slide keeps its own grid layout untouched; only the track moves. */
.hero-slides {
    position: relative;
    overflow: hidden;            /* fallback for older engines */
    overflow: clip visible;      /* clip sideways, let float/mandala breathe vertically */
}
.hero-track {
    display: flex;
    width: 100%;
    transition: transform .8s var(--ease);
    will-change: transform;
}
/* one slide = one window width; the inner gutter reproduces .shell so the copy
   sits exactly where it did before the track went full-bleed */
.hero-slide {
    flex: 0 0 100%; width: 100%; min-width: 100%;
    padding-inline: max(20px, calc((100% - var(--shell)) / 2));
}
.hero-slide.is-active .h-anim { animation: heroUp .8s var(--ease) both; }
.h-d1 { animation-delay: .05s !important; }
.h-d2 { animation-delay: .16s !important; }
.h-d3 { animation-delay: .27s !important; }
.h-d4 { animation-delay: .38s !important; }
.h-d5 { animation-delay: .49s !important; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Discourse / media card */
.media-card {
    position: relative; overflow: hidden;
    border-radius: var(--r-lg);
    background: #fff;
    border: 1px solid var(--line-soft);
    box-shadow: var(--sh-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.media-card:hover { transform: translateY(-9px); box-shadow: var(--sh-lg); border-color: var(--line); }
.media-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(150deg, var(--maroon), var(--saffron-deep)); }
.media-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.media-card:hover .media-thumb img { transform: scale(1.08); }
.media-thumb::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(78, 20, 20, 0) 32%, rgba(51, 32, 24, .82) 100%);
}
.play-gold {
    position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.92);
    width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(140deg, var(--gold-lite), var(--saffron));
    color: #fff; box-shadow: 0 12px 30px -8px rgba(200, 116, 0, .8);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.play-gold svg { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.media-card:hover .play-gold, .g-item:hover .play-gold { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 16px 40px -8px rgba(200, 116, 0, .95); }
.tag-cat {
    position: absolute; z-index: 2; left: 16px; top: 16px;
    font-family: var(--f-btn); font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    background: rgba(255, 248, 238, .93); color: var(--maroon);
    border: 1px solid var(--line);
    padding: 6px 13px; border-radius: 999px;
}

/* Testimonial card */
.card-testi {
    position: relative; height: 100%;
    display: flex; flex-direction: column;
    padding: 34px 30px 28px;
    border-radius: var(--r-lg);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(216, 166, 61, .34);
    box-shadow: var(--sh-md), inset 0 1px 0 rgba(255, 255, 255, .8);
    transition: transform .42s var(--ease), box-shadow .42s var(--ease);
}
.card-testi:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.quote-mark { color: var(--gold); opacity: .85; }
.quote-mark svg { width: 38px; height: 38px; }
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { width: 16px; height: 16px; fill: currentColor; }
.avatar {
    width: 58px; height: 58px; border-radius: 50%; flex: none;
    display: grid; place-items: center;
    font-family: var(--f-display); font-size: 1.2rem; font-weight: 700; color: #fff;
    background: linear-gradient(145deg, var(--maroon), var(--saffron));
    border: 2px solid var(--gold);
    box-shadow: 0 0 0 4px rgba(216, 166, 61, .15);
}

/* World-map / global section */
.map-panel {
    position: relative; overflow: hidden;
    border-radius: var(--r-xl);
    background: linear-gradient(158deg, var(--maroon-deep) 0%, var(--maroon) 52%, #7E2A1B 100%);
    box-shadow: var(--sh-lg);
    padding: 34px;
}
.map-photo {
    position: relative; overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: var(--r-lg);
    border: 1px solid rgba(235, 200, 115, .38);
    box-shadow: 0 20px 46px -18px rgba(0, 0, 0, .55);
}
.map-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.map-photo figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; align-items: center; gap: 9px;
    padding: 30px 18px 15px;
    font-size: .78rem; color: rgba(255, 255, 255, .94); line-height: 1.4;
    background: linear-gradient(to top, rgba(58, 14, 14, .88) 0%, rgba(58, 14, 14, .55) 55%, transparent 100%);
}
.map-photo figcaption i { width: 16px; height: 16px; flex: none; color: var(--gold-lite); }
.map-photo figcaption em { color: var(--gold-lite); font-style: italic; }

.flag-chip {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    padding: 7px 14px; border-radius: 999px;
}
.flag-chip b { font-size: 1rem; line-height: 1; }

/* ------------------------------------------------------------ 10 ACCORDION */
.acc-item {
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-md);
    margin-bottom: 14px;
    box-shadow: var(--sh-sm);
    overflow: hidden;
    transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.acc-item.is-open { border-color: var(--line); box-shadow: var(--sh-md); }
.acc-btn {
    width: 100%; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 22px 24px; text-align: left;
    background: transparent; border: 0;
    font-family: var(--f-sub); font-size: 1rem; font-weight: 600; color: var(--maroon);
    transition: color .3s var(--ease);
}
.acc-btn:hover { color: var(--saffron); }
.acc-ico {
    width: 36px; height: 36px; flex: none; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(150deg, rgba(216, 166, 61, .2), rgba(200, 116, 0, .1));
    border: 1px solid var(--line);
    color: var(--saffron);
    transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease);
}
.acc-ico svg { width: 17px; height: 17px; }
.acc-item.is-open .acc-ico { transform: rotate(135deg); background: linear-gradient(150deg, var(--saffron), var(--gold)); color: #fff; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .48s var(--ease); }
.acc-panel > div { padding: 0 24px 24px; color: var(--ink-70); font-size: .94rem; line-height: 1.8; }

/* --------------------------------------------------------------- 11 FORMS */
.field-label {
    display: block; margin-bottom: 8px;
    font-family: var(--f-btn); font-size: .72rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--maroon);
}
.field-label .req { color: var(--saffron); }
.field-label .hint { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); font-size: .74rem; }
.field {
    width: 100%; display: block;
    font-family: var(--f-body); font-size: .93rem; color: var(--brown);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 17px;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.field::placeholder { color: #a99a8e; }
.field:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216, 166, 61, .16); }
.field:user-invalid, .field.has-error { border-color: #C0392B; box-shadow: 0 0 0 4px rgba(192, 57, 43, .1); }
select.field { appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23C87400' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
textarea.field { resize: vertical; min-height: 130px; }
.field-error { display: none; margin-top: 6px; font-size: .76rem; color: #C0392B; }
.field-error.is-shown { display: block; }

.alert {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 16px 18px; border-radius: var(--r-sm);
    font-size: .88rem; line-height: 1.65;
}
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.alert-ok { background: rgba(74, 124, 89, .1); border: 1px solid rgba(74, 124, 89, .38); color: #2F5B3C; }

/* -------------------------------------------------------------- 12 GALLERY */
.g-filter {
    font-family: var(--f-btn); font-size: .8rem; font-weight: 500; cursor: pointer;
    padding: 10px 22px; border-radius: 999px;
    background: #fff; color: var(--brown);
    border: 1px solid var(--line);
    transition: all .32s var(--ease);
}
.g-filter:hover { border-color: var(--gold); color: var(--saffron); transform: translateY(-2px); }
.g-filter.is-active {
    background: linear-gradient(112deg, var(--saffron-deep), var(--saffron) 55%, var(--gold));
    border-color: transparent; color: #fff; box-shadow: var(--sh-gold);
}

.g-item {
    position: relative; overflow: hidden; cursor: pointer;
    border-radius: var(--r-md);
    border: 1px solid var(--line-soft);
    box-shadow: var(--sh-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .35s var(--ease);
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-item:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.g-item:hover img { transform: scale(1.09); }
.g-item.is-hidden { display: none; }
.g-overlay {
    position: absolute; inset: 0; display: flex; align-items: flex-end;
    padding: 18px;
    background: linear-gradient(180deg, rgba(51, 32, 24, 0) 45%, rgba(51, 32, 24, .88) 100%);
    opacity: 0; transition: opacity .4s var(--ease);
}
.g-item:hover .g-overlay { opacity: 1; }
.g-overlay span { color: #fff; font-family: var(--f-sub); font-size: .88rem; transform: translateY(10px); transition: transform .4s var(--ease); }
.g-item:hover .g-overlay span { transform: none; }
.g-zoom {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center;
    background: rgba(255, 248, 238, .92); color: var(--maroon);
    border: 1px solid var(--line);
    opacity: 0; transform: scale(.7);
    transition: all .38s var(--ease);
}
.g-item:hover .g-zoom { opacity: 1; transform: none; }
.g-zoom svg { width: 16px; height: 16px; }

.lightbox {
    position: fixed; inset: 0; z-index: 120;
    display: grid; place-items: center;
    padding: 24px;
    background: rgba(31, 18, 12, .93);
    backdrop-filter: blur(6px);
    opacity: 0; visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(94vw, 1000px); max-height: 78vh; border-radius: var(--r-md); border: 1px solid rgba(216, 166, 61, .5); box-shadow: var(--sh-lg); }
.lightbox figcaption { margin-top: 16px; text-align: center; color: var(--gold-lite); font-family: var(--f-sub); font-size: .92rem; }
.lb-close {
    position: absolute; top: 22px; right: 22px;
    width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(235, 200, 115, .4); color: var(--gold-lite);
    transition: all .3s var(--ease);
}
.lb-close:hover { background: var(--gold); color: var(--maroon-deep); }

/* --------------------------------------------------------------- 13 FOOTER */
.footer {
    position: relative; overflow: hidden;
    background: linear-gradient(168deg, #2A1A13 0%, var(--brown) 40%, #43261A 100%);
    color: rgba(255, 248, 238, .78);
}
.footer h3, .footer h4 { color: var(--cream); }
.footer a { transition: color .28s var(--ease), padding-left .28s var(--ease); }
.footer .f-link:hover { color: var(--gold-lite); padding-left: 6px; }
.f-title {
    font-family: var(--f-btn); font-size: .74rem; font-weight: 600;
    letter-spacing: .2em; text-transform: uppercase; color: var(--gold-lite);
    display: flex; align-items: center; gap: 10px;
}
.f-title::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, rgba(216, 166, 61, .5), transparent); }
.f-link { display: inline-flex; align-items: center; gap: 9px; font-size: .875rem; }
.f-link svg { width: 13px; height: 13px; color: var(--gold); flex: none; }
.f-contact { display: flex; gap: 13px; font-size: .875rem; line-height: 1.65; }
.f-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; margin-top: 4px; }

.f-newsletter {
    border-radius: var(--r-lg);
}

/* Floating action rail */
.fab-rail { position: fixed; right: 18px; bottom: 20px; z-index: 90; display: grid; gap: 12px; }
.fab {
    width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
    display: grid; place-items: center;
    color: #fff; border: 0;
    box-shadow: var(--sh-lg);
    transition: transform .32s var(--ease), box-shadow .32s var(--ease);
}
.fab:hover { transform: translateY(-4px) scale(1.06); }
.fab svg { width: 23px; height: 23px; }
.fab-wa { background: linear-gradient(145deg, #25D366, #128C46); }
.fab-call { background: linear-gradient(145deg, var(--saffron), var(--gold-deep)); }
.fab-top {
    background: linear-gradient(145deg, var(--maroon), var(--maroon-deep));
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: all .38s var(--ease);
}
.fab-top.is-shown { opacity: 1; visibility: visible; transform: none; }

/* --------------------------------------------------------------- 14 MOTION */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-l { opacity: 0; transform: translateX(-42px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-r { opacity: 0; transform: translateX(42px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-s { opacity: 0; transform: scale(.9); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.is-in { opacity: 1 !important; transform: none !important; }
.d1 { transition-delay: .1s; }  .d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }  .d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }  .d6 { transition-delay: .6s; }

.float { animation: float 7s ease-in-out infinite; }
.float-slow { animation: float 11s ease-in-out infinite; }
.float-rev { animation: float 9s ease-in-out infinite reverse; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.spin-slow { animation: spin 46s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .reveal, .reveal-l, .reveal-r, .reveal-s { opacity: 1; transform: none; }
}

/* ----------------------------------------------------------- 15 RESPONSIVE */
@media (max-width: 1100px) {
    .nav-links { display: none; }
    .burger { display: grid; }
    .nav-wrap { margin-bottom: -78px; }
}
@media (max-width: 860px) {
    .topbar-row { justify-content: center; text-align: center; }
    .topbar-info { justify-content: center; gap: 14px; row-gap: 4px; }
    .brand-name { font-size: .95rem; }
    .quote-gold { padding: 28px 22px 28px 52px; }
    .map-panel { padding: 22px; }
    .fab { width: 46px; height: 46px; }
    .fab svg { width: 20px; height: 20px; }
}
@media (max-width: 560px) {
    .btn { padding: 13px 24px; font-size: .82rem; }
    .card-svc { padding: 26px 22px; }
    .hero-mantra { font-size: .72rem; padding: 6px 14px; }
}

/* Print */
@media print {
    .nav-wrap, .topbar, .fab-rail, .drawer, .drawer-veil, .curve-bottom, .curve-top, .deco-layer { display: none !important; }
    body { background: #fff; }
}

/* ==========================================================================
   16 PAGE MODULES — services index, katha plates, panchang, mantra list,
   contact blocks, YouTube grid. (Shared here so Blade pages stay markup-only.)
   ========================================================================== */

/* --- Services: sticky quick index ---------------------------------------- */
.svc-index {
    position: sticky; top: 92px; z-index: 40;
    padding-block: 12px;
    background: rgba(255, 248, 238, .86);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    border-block: 1px solid var(--line);
}
.svc-index .row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.svc-index .row::-webkit-scrollbar { display: none; }
.idx-pill {
    white-space: nowrap; flex: none;
    font-family: var(--f-btn); font-size: .78rem; font-weight: 500;
    padding: 9px 18px; border-radius: 999px;
    background: #fff; color: var(--brown);
    border: 1px solid var(--line);
    transition: all .3s var(--ease);
}
.idx-pill:hover, .idx-pill.is-active {
    background: linear-gradient(112deg, var(--saffron-deep), var(--saffron) 55%, var(--gold));
    border-color: transparent; color: #fff;
    box-shadow: var(--sh-gold);
    transform: translateY(-2px);
}
.svc-block { scroll-margin-top: 170px; }

/* Service artwork — identical ratio in every block, icon badge overlapping the
   lower-left corner so the service name still reads directly under the image. */
.svc-figure { position: relative; overflow: visible; }
.svc-figure-badge {
    position: absolute; left: -14px; bottom: -22px; z-index: 2;
    /* opaque base so the badge reads as raised now that the frame is gone */
    background: linear-gradient(150deg, rgba(216, 166, 61, .20), rgba(200, 116, 0, .12)), var(--cream);
    border-color: rgba(216, 166, 61, .45);
    box-shadow: var(--sh-md);
}
@media (max-width: 640px) {
    .svc-figure-badge { left: -8px; bottom: -18px; transform: scale(.86); transform-origin: bottom left; }
}

/* Borderless photo — depth comes from the radius and shadow, not a frame */
.svc-photo {
    border-radius: var(--r-lg);
    overflow: hidden;
    background: linear-gradient(150deg, var(--maroon), var(--saffron));
    box-shadow: var(--sh-lg);
}

/* Heading column type — deliberately a step below the section display size so
   the artwork leads and the title reads as a label beneath it. */
.svc-head { max-width: 32rem; }
.svc-block .svc-title {
    font-size: clamp(1.28rem, 1.85vw, 1.72rem);
    line-height: 1.3;
    letter-spacing: .012em;
}
.svc-rule {
    display: block; width: 56px; height: 2px; margin-top: 15px; border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), rgba(216, 166, 61, 0));
}

/* Flipped (right-hand) blocks mirror the column at lg and up */
@media (min-width: 1024px) {
    .svc-head-end { margin-left: auto; }
    .svc-head-end .svc-rule { margin-left: auto; background: linear-gradient(270deg, var(--gold), rgba(216, 166, 61, 0)); }
}

/* --- Discourses: katha thumbnail plate ------------------------------------ */
.katha-plate {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background: linear-gradient(148deg, var(--maroon-deep) 0%, var(--maroon) 45%, var(--saffron-deep) 100%);
}
.katha-plate .ring {
    position: absolute; inset: 8%;
    background-repeat: no-repeat; background-size: contain; background-position: center;
    opacity: .3;
    transition: transform .8s var(--ease), opacity .5s var(--ease);
}
.media-card:hover .katha-plate .ring { transform: rotate(22deg) scale(1.08); opacity: .45; }
.katha-plate .om { font-family: var(--f-deva); font-size: 3.4rem; color: rgba(255, 248, 238, .4); line-height: 1; }

/* --- Discourses: panchang ------------------------------------------------- */
.panchang { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-md); background: #fff; }
.panchang-head {
    position: relative; overflow: hidden;
    background: linear-gradient(140deg, var(--maroon-deep), var(--maroon) 55%, var(--saffron-deep));
    color: #fff; padding: 22px 26px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.p-row { padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); }
.p-row dt { font-family: var(--f-btn); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron); }
.p-row dd { margin: 4px 0 0; font-family: var(--f-sub); font-weight: 600; color: var(--maroon); font-size: .93rem; }

/* --- Discourses: mantra list ---------------------------------------------- */
.mantra-list { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-sm); }
.mantra-row {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line-soft);
    transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.mantra-row:last-child { border-bottom: 0; }
.mantra-row:hover { background: var(--cream); padding-left: 26px; }
.mantra-row .name { display: flex; align-items: center; gap: 13px; font-size: .92rem; color: var(--brown); }
.mantra-row .name svg { width: 17px; height: 17px; color: var(--gold); flex: none; }
.mantra-row .meta { display: flex; align-items: center; gap: 12px; font-size: .74rem; color: var(--saffron); }
.mantra-row .meta svg { width: 15px; height: 15px; opacity: .45; }

/* --- Contact -------------------------------------------------------------- */
.contact-row {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 20px 22px; border-radius: var(--r-md);
    background: #fff; border: 1px solid var(--line-soft);
    box-shadow: var(--sh-sm);
    transition: transform .38s var(--ease), border-color .38s var(--ease), box-shadow .38s var(--ease);
}
.contact-row:hover { transform: translateY(-4px); border-color: var(--line); box-shadow: var(--sh-md); }
.contact-row .icon-badge { width: 50px; height: 50px; border-radius: 15px; }
.contact-row .icon-badge svg { width: 21px; height: 21px; }
.contact-row .label { font-family: var(--f-sub); font-weight: 600; color: var(--maroon); font-size: .95rem; }
.contact-row .value { font-size: .875rem; color: var(--ink-70); margin-top: 4px; line-height: 1.6; }

.wa-note {
    display: flex; gap: 15px; align-items: flex-start;
    padding: 22px; border-radius: var(--r-md);
    background: linear-gradient(150deg, rgba(31, 168, 85, .10), rgba(255, 248, 238, .9));
    border: 1px solid rgba(31, 168, 85, .3);
    border-left: 4px solid #1FA855;
}
.wa-note > svg { width: 26px; height: 26px; color: #1FA855; flex: none; }

.mandir-plate {
    position: relative; overflow: hidden;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    box-shadow: var(--sh-md);
    aspect-ratio: 16 / 9;
    background: linear-gradient(150deg, var(--maroon-deep) 0%, var(--maroon) 48%, var(--saffron-deep) 100%);
    display: grid; place-items: center;
}
.mandir-plate .arch {
    position: absolute; inset: auto 0 0 0; height: 78%;
    background-repeat: no-repeat; background-size: 100% 100%; background-position: bottom;
    opacity: .5;
}
.mandir-plate .cap { position: relative; z-index: 2; text-align: center; padding: 22px; color: var(--cream); }
.mandir-plate .cap .om { font-family: var(--f-deva); font-size: 2.4rem; color: rgba(216, 166, 61, .95); line-height: 1; }
.mandir-plate .cap p { font-family: var(--f-sub); font-size: .9rem; margin-top: 10px; line-height: 1.6; }

.form-shell {
    position: relative; overflow: hidden;
    border-radius: var(--r-xl);
    background: linear-gradient(158deg, #fff, var(--cream));
    border: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    padding: clamp(26px, 4vw, 44px);
}
.alert-err { background: rgba(192, 57, 43, .08); border: 1px solid rgba(192, 57, 43, .34); color: #94271C; }

/* --- YouTube feed grid (live from the channel) ---------------------------- */
.yt-card { display: block; }
.yt-thumb {
    position: relative; overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-md);
    border: 1px solid rgba(255, 255, 255, .16);
    background: linear-gradient(150deg, var(--maroon), var(--saffron-deep));
    box-shadow: var(--sh-md);
}
.yt-thumb.is-vertical { aspect-ratio: 9 / 16; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.yt-card:hover .yt-thumb img { transform: scale(1.08); }
.yt-thumb::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(78, 20, 20, 0) 45%, rgba(51, 32, 24, .8) 100%);
}
.yt-card:hover .play-gold { transform: translate(-50%, -50%) scale(1.08); }
.yt-tag {
    position: absolute; z-index: 2; left: 12px; top: 12px;
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--f-btn); font-size: .62rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    background: rgba(255, 248, 238, .93); color: var(--maroon);
    border: 1px solid var(--line);
    padding: 5px 11px; border-radius: 999px;
}
.yt-tag svg { width: 12px; height: 12px; }
.yt-title {
    margin-top: 12px; font-family: var(--f-sub); font-size: .88rem; line-height: 1.5;
    color: rgba(255, 248, 238, .92);
    transition: color .3s var(--ease);
}
.yt-card:hover .yt-title { color: var(--gold-lite); }
.yt-date { margin-top: 6px; display: flex; align-items: center; gap: 7px; font-size: .74rem; color: rgba(255, 248, 238, .6); }
.yt-date svg { width: 14px; height: 14px; color: var(--gold); }

@media (max-width: 860px) {
    .svc-index { top: 78px; }
    .svc-block { scroll-margin-top: 150px; }
}

/* ==========================================================================
   19  PUJA CATALOGUE — the 100-service master list on the Services page
   Every selector is `pk-` prefixed and lives inside #master-list, so no
   other page or component is affected.
   ========================================================================== */

.pk-wrap { scroll-margin-top: 150px; }

/* --- Search + purpose filters --------------------------------------------- */
.pk-controls {
    margin-top: 46px;
    background: linear-gradient(158deg, #fff, var(--cream));
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    padding: 26px 28px 22px;
}
.pk-search { position: relative; max-width: 560px; margin: 0 auto; }
.pk-search > svg {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px; color: var(--saffron); pointer-events: none;
}
.pk-search input {
    width: 100%; display: block;
    font-family: var(--f-body); font-size: .93rem; color: var(--brown);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 14px 46px 14px 48px;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.pk-search input::placeholder { color: #a99a8e; }
.pk-search input::-webkit-search-cancel-button { display: none; }
.pk-search input:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(216, 166, 61, .16); }
.pk-clear {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; display: grid; place-items: center;
    border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(216, 166, 61, .16); color: var(--maroon);
    transition: background .3s var(--ease), color .3s var(--ease);
}
.pk-clear:hover { background: var(--saffron); color: #fff; }
.pk-clear svg { width: 15px; height: 15px; }

.pk-purpose {
    margin-top: 16px;
    padding: 4px 0 6px;
    --pk-marquee-dur: 42s;
}
.pk-purpose .pk-marquee-set { gap: 9px; padding-right: 9px; }
.pk-chip {
    flex: none; white-space: nowrap;
    font-family: var(--f-btn); font-size: .74rem; font-weight: 500; cursor: pointer;
    padding: 8px 17px; border-radius: 999px;
    background: #fff; color: var(--brown);
    border: 1px solid var(--line);
    transition: all .3s var(--ease);
}
.pk-chip:hover { border-color: var(--gold); color: var(--saffron); transform: translateY(-2px); }
.pk-chip.is-active {
    background: linear-gradient(112deg, var(--saffron-deep), var(--saffron) 55%, var(--gold));
    border-color: transparent; color: #fff; box-shadow: var(--sh-gold);
}
.pk-count {
    margin-top: 18px; text-align: center;
    font-family: var(--f-btn); font-size: .72rem; font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55);
}

/* --- Marquee tag scroll (shared by the purpose chips + the jump rail) ------ */
.pk-marquee {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.pk-marquee-track {
    display: flex; width: max-content;
    animation: pk-marquee var(--pk-marquee-dur, 45s) linear infinite;
    will-change: transform;
}
.pk-marquee-set { flex: none; display: flex; align-items: center; }
.pk-marquee:hover .pk-marquee-track,
.pk-marquee:focus-within .pk-marquee-track { animation-play-state: paused; }
@keyframes pk-marquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .pk-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .pk-marquee-track { animation: none; }
    .pk-marquee-set + .pk-marquee-set { display: none; }
}

/* --- Category jump rail --------------------------------------------------- */
.pk-rail {
    margin-top: 22px;
    padding: 6px 2px 14px;
    --pk-marquee-dur: 58s;
}
.pk-rail .pk-marquee-set { gap: 10px; padding-right: 10px; }
.pk-rail-pill {
    flex: none; display: inline-flex; align-items: center; gap: 9px;
    white-space: nowrap;
    font-family: var(--f-btn); font-size: .77rem; font-weight: 500;
    padding: 8px 14px 8px 8px; border-radius: 999px;
    background: #fff; color: var(--brown);
    border: 1px solid var(--line);
    transition: all .3s var(--ease);
}
.pk-rail-letter {
    width: 26px; height: 26px; flex: none; display: grid; place-items: center;
    border-radius: 50%;
    font-family: var(--f-display); font-size: .78rem; font-weight: 700;
    background: linear-gradient(150deg, rgba(216, 166, 61, .22), rgba(200, 116, 0, .12));
    color: var(--saffron);
    transition: all .3s var(--ease);
}
.pk-rail-num {
    font-size: .68rem; color: var(--ink-55);
    border-left: 1px solid var(--line); padding-left: 9px;
    transition: color .3s var(--ease), border-color .3s var(--ease);
}
.pk-rail-pill:hover, .pk-rail-pill.is-active {
    background: linear-gradient(112deg, var(--saffron-deep), var(--saffron) 55%, var(--gold));
    border-color: transparent; color: #fff;
    box-shadow: var(--sh-gold); transform: translateY(-2px);
}
.pk-rail-pill:hover .pk-rail-letter, .pk-rail-pill.is-active .pk-rail-letter {
    background: rgba(255, 255, 255, .9); color: var(--saffron-deep);
}
.pk-rail-pill:hover .pk-rail-num, .pk-rail-pill.is-active .pk-rail-num {
    color: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .35);
}

/* --- Category band -------------------------------------------------------- */
.pk-cats { margin-top: 40px; display: flex; flex-direction: column; gap: 30px; }
.pk-cat {
    scroll-margin-top: 160px;
    background: linear-gradient(158deg, #fff, var(--cream));
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    padding: 26px;
    transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.pk-cat:hover { border-color: var(--line); box-shadow: var(--sh-md); }
.pk-cat.is-hidden { display: none; }

.pk-cat-head { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .pk-cat-head { grid-template-columns: 340px 1fr; gap: 38px; } }

.pk-cat-figure { position: relative; }
.pk-cat-photo {
    position: relative; aspect-ratio: 4 / 3;
    border-radius: var(--r-md); overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--sh-md);
}
.pk-cat-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(200deg, rgba(107, 30, 30, .04) 40%, rgba(51, 32, 24, .30) 100%);
}
.pk-cat-badge {
    position: absolute; right: -14px; bottom: -14px;
    background: linear-gradient(150deg, var(--cream), #fff);
    box-shadow: var(--sh-md);
}

.pk-cat-intro .eyebrow { margin-bottom: 16px; }
.pk-facts {
    margin-top: 22px; display: grid; gap: 14px;
    border-top: 1px solid var(--line-soft); padding-top: 20px;
}
@media (min-width: 640px) { .pk-facts { grid-template-columns: 1fr 1fr; gap: 22px; } }
.pk-facts dt {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--f-btn); font-size: .68rem; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase; color: var(--maroon);
}
.pk-facts dt svg { width: 14px; height: 14px; color: var(--gold-deep); }
.pk-facts dd { margin-top: 7px; font-size: .84rem; line-height: 1.65; color: var(--ink-70); }

/* --- "View Services" toggle + collapsible card panel ------------------------ */
.pk-toggle {
    margin-top: 24px;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 13px 22px; border-radius: 999px; cursor: pointer;
    font-family: var(--f-btn); font-size: .82rem; font-weight: 600; letter-spacing: .03em;
    background: var(--brown); color: #fff;
    border: 1px solid transparent;
    box-shadow: var(--sh-sm);
    transition: background .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.pk-toggle:hover, .pk-toggle:focus-visible {
    outline: 0; background: var(--maroon);
    box-shadow: var(--sh-md); transform: translateY(-2px);
}
.pk-toggle-count {
    min-width: 26px; padding: 2px 8px; border-radius: 999px; text-align: center;
    font-size: .72rem; line-height: 1.5;
    background: rgba(255, 255, 255, .18); color: var(--gold-lite);
}
.pk-toggle-ico { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.pk-cat.is-open .pk-toggle { background: var(--maroon); }
.pk-cat.is-open .pk-toggle-ico { transform: rotate(180deg); }

/* 0fr → 1fr row animates the height without measuring it in JS */
.pk-collapse {
    display: grid; grid-template-rows: 0fr; visibility: hidden;
    transition: grid-template-rows .5s var(--ease), visibility 0s linear .5s;
}
.pk-collapse-clip { min-height: 0; overflow: hidden; margin: 0 -10px; }
.pk-collapse-in   { padding: 0 10px 18px; }
.pk-cat.is-open .pk-collapse {
    grid-template-rows: 1fr; visibility: visible;
    transition: grid-template-rows .5s var(--ease), visibility 0s;
}
/* a search or purpose filter shows every matching band, whatever is open */
.pk-cats.is-filtering .pk-collapse {
    grid-template-rows: 1fr; visibility: visible; transition: none;
}
.pk-cats.is-filtering .pk-toggle { display: none; }

@media (prefers-reduced-motion: reduce) {
    .pk-collapse, .pk-cat.is-open .pk-collapse { transition: none; }
    .pk-toggle-ico { transition: none; }
}

/* --- Service cards -------------------------------------------------------- */
.pk-grid {
    margin-top: 28px; padding-top: 36px;
    border-top: 1px dashed var(--line);
    display: grid; gap: 34px 18px;
    grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
    list-style: none;
}
.pk-tile-wrap.is-hidden { display: none; }
.pk-tile {
    position: relative;
    width: 100%; height: 100%; cursor: pointer; text-align: left;
    display: flex; flex-direction: column; align-items: flex-start;
    padding: 34px 22px 22px;
    background: #fff;
    border: 1px solid var(--line-soft);
    border-radius: var(--r-sm);
    box-shadow: var(--sh-sm);
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease),
                transform .3s var(--ease);
}
.pk-tile:hover, .pk-tile:focus-visible {
    outline: 0;
    border-color: var(--gold);
    box-shadow: var(--sh-md);
    transform: translateY(-4px);
}
/* badge that straddles the card's top edge */
.pk-tile-meta {
    position: absolute; top: -12px; left: 16px;
    display: inline-flex; align-items: center; gap: 6px;
    max-width: calc(100% - 32px);
    padding: 5px 13px; border-radius: 999px;
    font-family: var(--f-btn); font-size: .62rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase; line-height: 1.3;
    background: var(--maroon); color: var(--cream);
    box-shadow: 0 6px 14px -8px rgba(107, 30, 30, .8);
}
.pk-tile-meta svg { width: 11px; height: 11px; flex: none; color: var(--gold-lite); }
.pk-tile-n {
    width: 42px; height: 42px; flex: none; display: grid; place-items: center;
    margin-bottom: 20px;
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(216, 166, 61, .18), rgba(200, 116, 0, .09));
    border: 1px solid var(--line-soft);
    color: var(--saffron);
    transition: all .35s var(--ease);
}
.pk-tile-n svg {
    width: 20px; height: 20px; stroke-width: 1.7;
    transition: transform .35s var(--ease);
}
.pk-tile:hover .pk-tile-n {
    background: linear-gradient(150deg, var(--saffron), var(--gold));
    border-color: transparent; color: #fff;
}
.pk-tile:hover .pk-tile-n svg { transform: scale(1.08); }
.pk-tile-body { display: block; width: 100%; min-width: 0; flex: 1; }
.pk-tile-name {
    display: block;
    font-family: var(--f-sub); font-size: 1.02rem; font-weight: 600; line-height: 1.35;
    color: var(--brown);
    transition: color .3s var(--ease);
}
.pk-tile:hover .pk-tile-name { color: var(--maroon); }
.pk-tile-desc {
    display: -webkit-box; margin-top: 9px;
    -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    font-size: .84rem; line-height: 1.65; color: var(--ink-70);
}
.pk-tile-go {
    display: block; width: 100%; margin-top: 22px;
    padding: 12px 16px; border-radius: 9px; text-align: center;
    font-family: var(--f-btn); font-size: .78rem; font-weight: 600; letter-spacing: .02em;
    background: var(--brown); color: #fff;
    transition: background .3s var(--ease);
}
.pk-tile:hover .pk-tile-go, .pk-tile:focus-visible .pk-tile-go { background: var(--maroon); }

/* --- Empty state ---------------------------------------------------------- */
.pk-empty {
    margin-top: 34px; text-align: center;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--f-sub); font-size: .95rem; color: var(--ink-70);
}
.pk-empty svg { width: 20px; height: 20px; color: var(--saffron); }
.pk-empty a { color: var(--maroon); font-weight: 600; text-decoration: underline; }

/* --- Detail dialog -------------------------------------------------------- */
.pk-modal {
    position: fixed; inset: 0; z-index: 130;
    display: grid; place-items: center;
    padding: 20px;
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
}
.pk-modal.is-open { opacity: 1; visibility: visible; }
.pk-modal-veil { position: absolute; inset: 0; background: rgba(31, 18, 12, .78); backdrop-filter: blur(6px); }
.pk-modal-card {
    position: relative;
    width: 80vw; height: 80vh;
    overflow-y: auto; overscroll-behavior: contain;
    background: linear-gradient(168deg, #fff, var(--cream));
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-lg);
    transform: translateY(18px) scale(.985);
    transition: transform .38s var(--ease);
}
.pk-modal.is-open .pk-modal-card { transform: none; }
.pk-modal-close {
    position: absolute; z-index: 3; right: 16px; top: 16px;
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 50%; cursor: pointer;
    background: rgba(255, 248, 238, .92); color: var(--maroon);
    border: 1px solid var(--line);
    transition: all .3s var(--ease);
}
.pk-modal-close:hover { background: var(--maroon); color: var(--cream); border-color: transparent; transform: rotate(90deg); }
.pk-modal-close svg { width: 17px; height: 17px; }

.pk-m-head {
    padding: 34px 34px 26px;
    border-bottom: 1px solid var(--line-soft);
    background: linear-gradient(150deg, rgba(216, 166, 61, .10), rgba(200, 116, 0, .04));
    border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.pk-m-crumb {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--f-btn); font-size: .66rem; font-weight: 600;
    letter-spacing: .16em; text-transform: uppercase; color: var(--saffron);
}
.pk-m-crumb svg { width: 13px; height: 13px; }
.pk-m-title {
    margin-top: 12px; padding-right: 44px;
    font-family: var(--f-display); font-size: clamp(1.5rem, 3.4vw, 2.05rem);
    font-weight: 600; line-height: 1.2; color: var(--maroon);
}
.pk-m-title .pk-m-n {
    display: inline-grid; place-items: center;
    width: 34px; height: 34px; margin-right: 12px; vertical-align: 3px;
    border-radius: 10px;
    background: linear-gradient(150deg, var(--saffron), var(--gold)); color: #fff;
}
.pk-m-title .pk-m-n svg { width: 18px; height: 18px; stroke-width: 1.8; }
.pk-m-meaning { margin-top: 16px; font-family: var(--f-serif); font-size: 1.1rem; line-height: 1.72; color: var(--ink-70); }
.pk-m-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 7px; }
.pk-m-tag {
    font-family: var(--f-btn); font-size: .64rem; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    background: rgba(255, 255, 255, .8); color: var(--maroon);
    border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px;
}

.pk-m-body { padding: 0 0 32px; }
.pk-m-note {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 15px 18px; margin: 22px 34px 0;
    border-radius: var(--r-sm);
    background: rgba(216, 166, 61, .10);
    border-left: 3px solid var(--gold);
    font-size: .87rem; line-height: 1.65; color: var(--brown);
}
.pk-m-note svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--saffron); }

/* ruled accordion rows — title left, count and +/− toggle right */
.pk-m-accs { margin-top: 0; }
.pk-m-note + .pk-m-accs { margin-top: 22px; border-top: 1px solid var(--line-soft); }
.pk-m-acc { border-bottom: 1px solid var(--line-soft); }
.pk-m-acc-btn {
    width: 100%; display: flex; align-items: center; gap: 16px;
    padding: 20px 34px; cursor: pointer; text-align: left;
    background: transparent;
    transition: background .3s var(--ease);
}
.pk-m-acc-btn:hover, .pk-m-acc-btn:focus-visible { outline: 0; background: rgba(216, 166, 61, .08); }
.pk-m-acc.is-open > .pk-m-acc-btn { background: rgba(216, 166, 61, .10); }
.pk-m-acc-title {
    flex: 1; min-width: 0;
    font-family: var(--f-sub); font-size: 1rem; font-weight: 600; line-height: 1.35;
    color: var(--brown);
}
.pk-m-acc.is-open .pk-m-acc-title { color: var(--maroon); }
.pk-m-acc-count {
    font-family: var(--f-btn); font-size: .74rem; font-weight: 500;
    letter-spacing: .06em; color: var(--ink-55);
}
.pk-m-acc-ico { position: relative; width: 13px; height: 13px; flex: none; }
.pk-m-acc-ico::before, .pk-m-acc-ico::after {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 100%; height: 1.5px; margin-top: -.75px;
    background: var(--maroon);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.pk-m-acc-ico::after { transform: rotate(90deg); }
.pk-m-acc.is-open .pk-m-acc-ico::after { transform: rotate(0); opacity: 0; }

.pk-m-acc-panel {
    display: grid; grid-template-rows: 0fr;
    transition: grid-template-rows .4s var(--ease);
}
.pk-m-acc.is-open .pk-m-acc-panel { grid-template-rows: 1fr; }
/* closed rows must not stay tabbable, so hide them once the collapse finishes */
.pk-m-acc-clip { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .4s; }
.pk-m-acc.is-open .pk-m-acc-clip { visibility: visible; transition-delay: 0s; }
.pk-m-acc-in { padding: 2px 34px 26px; }
.pk-m-acc-in p { font-size: .9rem; line-height: 1.75; color: var(--ink-70); }

.pk-m-steps { counter-reset: pkstep; list-style: none; }
.pk-m-steps li {
    counter-increment: pkstep;
    position: relative; padding: 7px 0 7px 40px;
    font-size: .89rem; line-height: 1.6; color: var(--ink-70);
}
.pk-m-steps li::before {
    content: counter(pkstep);
    position: absolute; left: 0; top: 6px;
    width: 26px; height: 26px; display: grid; place-items: center;
    border-radius: 50%;
    font-family: var(--f-display); font-size: .7rem; font-weight: 700;
    background: linear-gradient(150deg, rgba(216, 166, 61, .2), rgba(200, 116, 0, .1));
    border: 1px solid var(--line-soft); color: var(--saffron);
}
.pk-m-steps li::after {
    content: ""; position: absolute; left: 13px; top: 34px; bottom: -2px; width: 1px;
    background: linear-gradient(180deg, var(--line), rgba(216, 166, 61, 0));
}
.pk-m-steps li:last-child::after { display: none; }

.pk-m-list { list-style: none; display: grid; gap: 9px; }
.pk-m-list li {
    position: relative; padding-left: 24px;
    font-size: .88rem; line-height: 1.65; color: var(--ink-70);
}
.pk-m-list li::before {
    content: ""; position: absolute; left: 4px; top: 9px;
    width: 7px; height: 7px; border-radius: 1px; transform: rotate(45deg);
    background: linear-gradient(135deg, var(--gold-lite), var(--gold-deep));
}

.pk-m-related { display: flex; flex-wrap: wrap; gap: 8px; }
.pk-m-rel {
    cursor: pointer;
    font-family: var(--f-btn); font-size: .74rem; font-weight: 500;
    padding: 8px 15px; border-radius: 999px;
    background: #fff; color: var(--brown); border: 1px solid var(--line);
    transition: all .3s var(--ease);
}
.pk-m-rel:hover { border-color: var(--gold); color: var(--saffron); transform: translateY(-2px); }

.pk-m-foot { padding: 28px 34px 0; }
.pk-m-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.pk-m-disc { margin-top: 16px; font-size: .78rem; line-height: 1.65; color: var(--ink-55); font-style: italic; }

@media (max-width: 620px) {
    .pk-controls { padding: 20px 16px 18px; }
    .pk-cat { padding: 18px; }
    .pk-grid { grid-template-columns: 1fr; }
    .pk-m-head { padding: 30px 22px 22px; }
    .pk-m-acc-btn { padding: 18px 22px; }
    .pk-m-acc-in, .pk-m-foot { padding-left: 22px; padding-right: 22px; }
    .pk-m-note { margin-left: 22px; margin-right: 22px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   JYOTISH — INFORMATION ARCHITECTURE (services page)
   All rules are `jy-` prefixed or scoped inside #jyotish-ia, so the shared
   .acc-* accordion styling this section reuses is left untouched elsewhere.
   ═══════════════════════════════════════════════════════════════════════════ */
.jy-wrap { background: linear-gradient(180deg, #fff, var(--cream) 55%, #fff); }
.jy-count {
    margin-top: 18px; text-align: center;
    font-family: var(--f-btn); font-size: .72rem; font-weight: 500;
    letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55);
}

.jy-grid {
    margin-top: 38px;
    display: grid; gap: 22px;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    align-items: stretch;   /* every card in a row ends on the same line */
}
.jy-cat {
    display: flex; flex-direction: column;
    /* No fixed min-height: `align-items: stretch` on .jy-grid already matches
       every card to the tallest one in its own row, so a row of short
       categories stays short instead of padding out to the tallest card
       anywhere on the page. */
    background: linear-gradient(158deg, #fff, var(--cream));
    border: 1px solid var(--line-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-sm);
    padding: 24px 22px 20px;
    transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.jy-cat:hover { border-color: rgba(216, 166, 61, .5); box-shadow: var(--sh-md); }

.jy-cat-head { display: flex; align-items: center; gap: 15px; flex: none; }
.jy-cat-badge { width: 52px; height: 52px; border-radius: 16px; }
.jy-cat-badge svg { width: 23px; height: 23px; }
.jy-cat:hover .jy-cat-badge {
    background: linear-gradient(150deg, var(--saffron), var(--gold));
    color: #fff; border-color: transparent;
    transform: rotate(-6deg) scale(1.05);
}
.jy-cat-titles { min-width: 0; }
.jy-cat-name {
    margin-top: 4px;
    font-family: var(--f-display); font-size: 1.16rem; font-weight: 600;
    line-height: 1.3; color: var(--maroon);
}

.jy-list {
    flex: 1 1 auto;
    margin-top: 18px; padding-top: 16px;
    border-top: 1px dashed var(--line);
}
#jyotish-ia .jy-item {
    margin-bottom: 9px;
    border-radius: var(--r-sm);
    box-shadow: none;
    background: rgba(255, 255, 255, .72);
}
#jyotish-ia .jy-item:last-child { margin-bottom: 0; }
#jyotish-ia .jy-item.is-open {
    background: #fff;
    border-color: rgba(216, 166, 61, .55);
    box-shadow: var(--sh-sm);
}
#jyotish-ia .jy-q {
    gap: 12px; padding: 13px 14px;
    font-family: var(--f-sub); font-size: .9rem; font-weight: 600; line-height: 1.45;
    color: var(--brown);
}
#jyotish-ia .jy-q:hover { color: var(--maroon); }
.jy-q-ic {
    width: 32px; height: 32px; flex: none; display: grid; place-items: center;
    border-radius: 10px;
    background: linear-gradient(150deg, rgba(216, 166, 61, .18), rgba(200, 116, 0, .09));
    border: 1px solid var(--line-soft);
    color: var(--saffron);
    transition: all .35s var(--ease);
}
.jy-q-ic svg { width: 16px; height: 16px; stroke-width: 1.7; }
#jyotish-ia .jy-item.is-open .jy-q-ic,
#jyotish-ia .jy-q:hover .jy-q-ic {
    background: linear-gradient(150deg, var(--saffron), var(--gold));
    border-color: transparent; color: #fff;
}
.jy-q-t { flex: 1; min-width: 0; }
#jyotish-ia .jy-q-x { width: 27px; height: 27px; }
#jyotish-ia .jy-q-x svg { width: 14px; height: 14px; }

#jyotish-ia .jy-a > div { padding: 0 14px 14px 58px; }
.jy-a-text { font-size: .88rem; line-height: 1.75; color: var(--ink-70); }
/* Both actions always share a single row, on every card width. */
.jy-a-cta {
    margin-top: 14px; margin-left: -44px;   /* pull back out of the text indent */
    display: flex; flex-wrap: nowrap; align-items: stretch; gap: 9px;
}
#jyotish-ia .jy-a-cta .btn {
    flex: 1 1 0; min-width: 0;
    padding: 9px 12px; gap: 7px;
    font-size: .7rem; line-height: 1.3; text-align: center;
}
#jyotish-ia .jy-a-cta .btn svg { width: 14px; height: 14px; }

@media (max-width: 620px) {
    .jy-cat { padding: 20px 16px 16px; min-height: 0; }
    .jy-grid { grid-template-columns: 1fr; }
    #jyotish-ia .jy-a > div { padding: 0 14px 14px 14px; }
    #jyotish-ia .jy-a-cta { margin-left: 0; gap: 7px; }
    #jyotish-ia .jy-a-cta .btn { padding: 9px 10px; font-size: .66rem; gap: 6px; }
}
