/* =====================================================================
   BNI Krishna, Greater Surat
   BNI red + white first; a Krishna touch: temple gold, peacock blue,
   lotus dividers, arches (jharokha), feathers and slow mandalas.
   ===================================================================== */

:root {
    --red: #cf2030;
    --red-600: #b31a28;
    --red-700: #8f1320;
    --red-900: #5c0a14;
    --red-50: #fdf0f1;
    --white: #ffffff;
    --ivory: #fffaf3;
    --cream: #fbf3e6;
    --sand: #f3e6cf;
    --gold: #c9a24b;
    --gold-600: #a8832f;
    --gold-200: #ecd9a6;
    --ink: #1d1a1e;
    --ink-2: #3a3438;
    --muted: #6d6469;
    --line: #eadfce;
    --krishna: #1f4fa3;
    --peacock: #0b7a83;
    --leaf: #2f8f5b;
    --wa: #25d366;

    --radius: 18px;
    --radius-lg: 28px;
    --shadow-sm: 0 2px 10px rgba(60, 20, 20, .06);
    --shadow: 0 14px 40px -12px rgba(92, 10, 20, .18);
    --shadow-lg: 0 30px 70px -20px rgba(92, 10, 20, .32);
    --ease: cubic-bezier(.22, .8, .24, 1);
    --font-display: "Cinzel", "Times New Roman", serif;
    --font-script: "Cormorant Garamond", Georgia, serif;
    --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-2);
    background: var(--white);
    overflow-x: clip;   /* clip, not hidden: hidden would break the sticky menu */
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--red); text-decoration: none; transition: color .25s; }
a:hover { color: var(--red-700); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon.solid { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 900px; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.tight { padding: clamp(44px, 6vw, 72px) 0; }
.section.ivory { background: var(--ivory); }
.section.cream { background: linear-gradient(180deg, var(--ivory), var(--cream)); }
.section.red { background: var(--red); color: #fff; }
.center { text-align: center; }
.justify p, p.justify { text-align: justify; }

/* ---------- Headings with the Krishna touch ---------- */
.kicker {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--font-script); font-style: italic; font-weight: 600;
    font-size: 1.25rem; color: var(--red); margin-bottom: .4em;
}
.kicker::before, .kicker::after { content: ""; width: 34px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.kicker::after { transform: scaleX(-1); }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head.left .kicker::before { display: none; }
.lotus { display: block; width: min(320px, 70%); height: auto; margin: 14px auto 18px; opacity: .95; }
.title-red { color: var(--red); }
.title-gold {
    background: linear-gradient(180deg, #e9c874, #b8862d 60%, #8a6018);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
    --b: var(--red);
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 28px; border-radius: 999px; border: 2px solid var(--b);
    font: 600 .95rem/1 var(--font-body); letter-spacing: .02em;
    color: #fff; background: var(--b); cursor: pointer;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s, background .3s;
    box-shadow: 0 10px 24px -10px rgba(207, 32, 48, .7);
    white-space: nowrap;
}
.btn::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.45) 40%, transparent 60%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 18px 34px -12px rgba(207, 32, 48, .75); }
.btn:hover::after { transform: translateX(120%); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .icon.go { transform: translateX(4px); }
.btn.ghost { background: transparent; color: var(--red); box-shadow: none; }
.btn.ghost:hover { background: var(--red); color: #fff; }
.btn.white { --b: #fff; color: var(--red); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35); }
.btn.white:hover { color: var(--red-700); }
.btn.outline-white { background: transparent; border-color: rgba(255,255,255,.75); color: #fff; box-shadow: none; }
.btn.outline-white:hover { background: #fff; color: var(--red); }
.btn.gold { --b: var(--gold); box-shadow: 0 10px 24px -10px rgba(168, 131, 47, .8); }
.btn.wa { --b: var(--wa); box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .7); }
.btn.sm { padding: 10px 18px; font-size: .85rem; }
.btn.block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Page loader: flute + feather ---------- */
.loader {
    position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
    background: radial-gradient(circle at 50% 45%, #fff 0%, var(--ivory) 60%, var(--cream) 100%);
    transition: opacity .6s var(--ease), visibility .6s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: grid; justify-items: center; gap: 18px; }
.loader-logo { width: 190px; opacity: .9; }
.loader-bar { width: 160px; height: 3px; border-radius: 3px; background: var(--sand); overflow: hidden; }
.loader-bar::after { content: ""; display: block; height: 100%; width: 40%; background: linear-gradient(90deg, var(--red), var(--gold)); animation: loadBar 1.1s ease-in-out infinite; }
@keyframes loadBar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Top strip + header ---------- */
.topbar { background: var(--red); color: #fff; font-size: .82rem; position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar a { color: #fff; }
.topbar .social { gap: 6px; }
.topbar .social a { width: 28px; height: 28px; background: rgba(255,255,255,.12); }
.topbar .social a:hover { background: #fff; color: var(--red); }

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .35s, border-color .35s, background .35s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(92, 10, 20, .35); border-color: var(--line); }
.site-header::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--red), var(--gold), transparent);
    transform: scaleX(0); transition: transform .6s var(--ease);
}
.site-header.scrolled::after { transform: scaleX(1); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; transition: height .35s; }
.site-header.scrolled .nav-wrap { height: 70px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 52px; width: auto; transition: height .35s; }
.site-header.scrolled .brand img { height: 44px; }

.nav { display: flex; align-items: center; gap: 0; min-width: 0; }
.nav > a, .nav .dd > button {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 11px; border: 0; background: none; cursor: pointer;
    font: 500 .93rem/1 var(--font-body); color: var(--ink); border-radius: 999px;
    white-space: nowrap;
    transition: color .25s, background .25s;
}
.nav > a::after, .nav .dd > button::after {
    content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 2px; border-radius: 2px;
    background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav > a:hover, .nav .dd > button:hover, .nav > a.active, .nav .dd.active > button { color: var(--red); }
.nav > a:hover::after, .nav > a.active::after, .nav .dd.active > button::after { transform: scaleX(1); }
.nav .dd { position: relative; }
.nav .dd > button .icon { width: 14px; height: 14px; transition: transform .3s; }
.nav .dd:hover > button .icon, .nav .dd.open > button .icon { transform: rotate(180deg); }
.dd-menu {
    position: absolute; top: calc(100% + 12px); left: 50%; min-width: 270px;
    background: #fff; border-radius: 18px; padding: 10px; border: 1px solid var(--line);
    box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden;
    transform: translate(-50%, 10px); transition: all .3s var(--ease);
}
.dd-menu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.dd-menu::after {
    content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; background: #fff;
    border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: translateX(-50%) rotate(45deg);
}
.nav .dd:hover .dd-menu, .nav .dd.open .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-menu a {
    display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
    color: var(--ink); font-size: .92rem; font-weight: 500; transition: background .25s, color .25s, padding .25s;
}
.dd-menu a .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-200); transition: background .25s, transform .25s; }
.dd-menu a:hover, .dd-menu a.active { background: var(--red-50); color: var(--red); padding-left: 18px; }
.dd-menu a:hover .dot, .dd-menu a.active .dot { background: var(--red); transform: scale(1.3); }
/* The "Visit a Meeting" button: never squeezed, never wrapped. The header gets a little more room on large screens. */
.nav-cta { margin-left: 8px; flex: none; white-space: nowrap; }
.site-header .container { max-width: 1360px; }
.menu-toggle {
    display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
    background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(29, 10, 14, .5); opacity: 0; visibility: hidden; transition: .35s; z-index: 80; }
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); z-index: 90;
    background: #fff; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
    display: flex; flex-direction: column; overflow-y: auto;
}
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head img { height: 42px; width: auto; }
.drawer nav { padding: 12px; display: grid; gap: 2px; }
.drawer nav a, .drawer nav summary {
    display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 12px;
    color: var(--ink); font-weight: 500; cursor: pointer; list-style: none;
}
.drawer nav summary::-webkit-details-marker { display: none; }
.drawer nav a:hover, .drawer nav a.active { background: var(--red-50); color: var(--red); }
.drawer nav details a { padding-left: 28px; font-size: .93rem; }
.drawer nav details[open] summary .icon { transform: rotate(180deg); }
.drawer-foot { margin-top: auto; padding: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
body.drawer-open { overflow: hidden; }

/* ---------- Decorative pieces ---------- */
.mandala {
    position: absolute; border-radius: 50%; pointer-events: none;
    background:
        radial-gradient(circle, transparent 28%, rgba(201,162,75,.18) 28.5%, transparent 29.5%),
        radial-gradient(circle, transparent 45%, rgba(201,162,75,.16) 45.5%, transparent 46.5%),
        radial-gradient(circle, transparent 62%, rgba(201,162,75,.14) 62.5%, transparent 63.5%),
        repeating-conic-gradient(from 0deg, rgba(201,162,75,.16) 0deg 3deg, transparent 3deg 15deg);
    -webkit-mask: radial-gradient(circle, #000 0 69%, transparent 70%);
    mask: radial-gradient(circle, #000 0 69%, transparent 70%);
    animation: spin 90s linear infinite;
}
.mandala.red {
    background:
        radial-gradient(circle, transparent 30%, rgba(255,255,255,.14) 30.5%, transparent 31.5%),
        radial-gradient(circle, transparent 50%, rgba(255,255,255,.12) 50.5%, transparent 51.5%),
        repeating-conic-gradient(from 0deg, rgba(255,255,255,.12) 0deg 3deg, transparent 3deg 15deg);
}
@keyframes spin { to { transform: rotate(360deg); } }
.feather { position: absolute; pointer-events: none; width: 60px; height: 150px; filter: drop-shadow(0 8px 14px rgba(11, 122, 131, .25)); }
.feather.float { animation: featherFloat 9s ease-in-out infinite; }
@keyframes featherFloat {
    0%, 100% { transform: translate(0, 0) rotate(var(--r, 18deg)); }
    50% { transform: translate(12px, -18px) rotate(calc(var(--r, 18deg) - 10deg)); }
}
@keyframes featherSway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
.wave-bottom { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; z-index: 2; }
.wave-bottom svg { width: 100%; height: clamp(40px, 6vw, 90px); }
.gold-line { height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); border: 0; margin: 28px 0; }

/* Petal / note particles in the hero */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.particles i {
    position: absolute; bottom: -30px; width: 10px; height: 14px; border-radius: 60% 0 60% 0;
    background: linear-gradient(135deg, var(--gold-200), var(--gold)); opacity: .0;
    animation: rise linear infinite;
}
.particles i:nth-child(3n) { background: linear-gradient(135deg, #ff9aa5, var(--red)); width: 8px; height: 11px; }
.particles i:nth-child(4n) { background: linear-gradient(135deg, #7ed3d9, var(--peacock)); border-radius: 50%; width: 6px; height: 6px; }
@keyframes rise {
    0% { transform: translateY(0) rotate(0); opacity: 0; }
    10% { opacity: .85; }
    90% { opacity: .7; }
    100% { transform: translateY(-110vh) translateX(60px) rotate(540deg); opacity: 0; }
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="zoom"] { transform: scale(.88); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Home hero ---------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    background:
        radial-gradient(1100px 600px at 85% 10%, rgba(207, 32, 48, .09), transparent 60%),
        radial-gradient(900px 500px at 0% 100%, rgba(201, 162, 75, .16), transparent 60%),
        linear-gradient(180deg, #fff, var(--ivory));
    padding: clamp(40px, 6vw, 80px) 0 clamp(90px, 10vw, 150px);
}
.hero .mandala { width: 760px; height: 760px; right: -220px; top: -160px; z-index: -1; }
.hero .mandala.small { width: 420px; height: 420px; left: -180px; bottom: -120px; top: auto; right: auto; animation-direction: reverse; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; position: relative; z-index: 2; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-size: .85rem; font-weight: 500; color: var(--ink); margin-bottom: 22px;
}
.hero-badge b { background: var(--red); color: #fff; border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: .75rem; letter-spacing: .06em; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; animation-delay: var(--d, .2s); }
@keyframes lineUp { to { transform: none; } }
.hero h1 .welcome { font-size: .42em; letter-spacing: .32em; color: var(--ink-2); font-weight: 600; }
.hero h1 .bni { color: var(--red); }
.hero h1 .krishna { font-size: 1.28em; }
.hero-shloka { font-family: "Noto Serif Devanagari", serif; color: var(--gold-600); font-size: 1.05rem; margin-bottom: 10px; }
.hero-lead { font-size: 1.08rem; color: var(--muted); max-width: 560px; margin-bottom: 30px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-family: var(--font-display); font-size: .8rem; letter-spacing: .12em; color: var(--ink); }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before { content: ""; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); }

.hero-visual { position: relative; }
.arch {
    position: relative; border-radius: 999px 999px 26px 26px; overflow: hidden;
    padding: 8px; background: linear-gradient(160deg, #f7e2a8, var(--gold) 35%, #8a6018 70%, #f4d98e);
    box-shadow: var(--shadow-lg);
}
.arch > img, .arch > .arch-in { border-radius: 999px 999px 20px 20px; width: 100%; height: 100%; object-fit: cover; }
.hero-arch { aspect-ratio: 4 / 4.6; max-width: 520px; margin-left: auto; }
.hero-arch img { transform: scale(1.08); animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.08) translate(0, 0); } to { transform: scale(1.18) translate(-2%, 2%); } }
.hero-photo {
    position: absolute; left: -4%; bottom: -8%; width: 60%; border-radius: 22px; overflow: hidden;
    border: 6px solid #fff; box-shadow: var(--shadow-lg); animation: floatY 7s ease-in-out infinite;
}
.hero-photo img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.hero-chip {
    position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
    background: rgba(255,255,255,.95); box-shadow: var(--shadow); border: 1px solid var(--line); z-index: 3;
    animation: floatY 6s ease-in-out infinite;
}
.hero-chip .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; }
.hero-chip small { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.hero-chip strong { font-size: 1.05rem; color: var(--ink); line-height: 1.2; }
.hero-chip.one { top: 8%; left: -6%; }
.hero-chip.two { bottom: 6%; right: -5%; animation-delay: -3s; }   /* low on the right: never over the face */
.hero-chip.two .ic { background: var(--gold); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.hero .feather.f1 { top: 6%; right: 2%; --r: 24deg; width: 70px; height: 170px; z-index: 3; }
.hero .feather.f2 { bottom: 16%; left: 44%; --r: -30deg; width: 46px; height: 112px; animation-delay: -4s; opacity: .85; }

/* ---------- Ribbon marquee ---------- */
.ribbon { background: var(--red); color: #fff; padding: 18px 0; overflow: hidden; position: relative; transform: rotate(-1.2deg); margin: -26px -10px 0; box-shadow: 0 16px 30px -18px rgba(143, 19, 32, .8); z-index: 3; }
.ribbon.alt { background: var(--ink); transform: rotate(1deg); margin-top: -50px; z-index: 2; opacity: .96; }
.marquee { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ribbon.alt .marquee { animation-direction: reverse; animation-duration: 46s; }
.marquee span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.35rem); letter-spacing: .08em; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--gold-200); font-size: .8em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats-wrap { position: relative; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat {
    position: relative; overflow: hidden; padding: 30px 24px; border-radius: var(--radius-lg); background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center;
    transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.stat::before { content: ""; position: absolute; inset: auto -40% -60% -40%; height: 120%; background: radial-gradient(circle, rgba(207,32,48,.08), transparent 60%); transition: transform .6s var(--ease); }
.stat:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.stat:hover::before { transform: translateY(-20%); }
.stat .ic { width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 18px; display: grid; place-items: center; color: var(--red); background: var(--red-50); position: relative; }
.stat .ic .icon { width: 28px; height: 28px; }
.stat .num { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 700; color: var(--ink); line-height: 1.1; position: relative; }
.stat .num small { font-size: .5em; color: var(--red); margin-left: 2px; }
.stat .lbl { color: var(--muted); font-size: .92rem; position: relative; }
.stats.dark .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.stats.dark .stat .num { color: #fff; }
.stats.dark .stat .lbl { color: rgba(255,255,255,.75); }
.stats.dark .stat .ic { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- Split / about blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split.rev { grid-template-columns: 1.1fr 1fr; }
.art-frame { position: relative; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-lg); }
.art-frame img { width: 100%; height: auto; display: block; }
.art-frame.tall { max-width: 440px; margin: 0 auto; }
.art-stack { position: relative; }
.art-stack .badge-float {
    position: absolute; right: -18px; bottom: 30px; background: var(--red); color: #fff; padding: 18px 22px; border-radius: 20px;
    box-shadow: var(--shadow-lg); max-width: 230px; animation: floatY 6s ease-in-out infinite;
}
.art-stack .badge-float strong { display: block; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; }
.vm-cards { display: grid; gap: 18px; margin-top: 26px; }
.vm-card { display: flex; gap: 18px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), border-color .4s; }
.vm-card:hover { transform: translateX(8px); border-color: var(--gold-200); }
.vm-card .ic { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-700)); color: #fff; }
.vm-card h3 { margin-bottom: 4px; font-size: 1.2rem; }
.vm-card p { margin: 0; color: var(--muted); font-size: .95rem; text-align: justify; }

/* ---------- Person cards (members, teams) ---------- */
.grid { display: grid; gap: 26px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c5 { grid-template-columns: repeat(5, 1fr); }

.person {
    position: relative; display: flex; flex-direction: column; border-radius: 26px; background: #fff;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
    transform-style: preserve-3d;
}
.person:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: var(--gold-200); }
.person-photo {
    position: relative; display: block; margin: 14px 14px 0; border-radius: 999px 999px 18px 18px; overflow: hidden;
    aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--cream), var(--sand));
}
.person-photo::before {
    content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
    box-shadow: inset 0 0 0 3px rgba(201, 162, 75, .55);
}
.person-photo::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, transparent 55%, rgba(92, 10, 20, .65));
    opacity: 0; transition: opacity .5s;
}
.person:hover .person-photo::after { opacity: 1; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .9s var(--ease); }
.person:hover .person-photo img { transform: scale(1.08); }
.person-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; font: 700 2.6rem var(--font-display); color: var(--gold-600); }
.person-photo .view {
    position: absolute; left: 50%; bottom: 16px; z-index: 2; transform: translate(-50%, 20px); opacity: 0;
    background: #fff; color: var(--red); border-radius: 999px; padding: 8px 16px; font-size: .8rem; font-weight: 600;
    display: inline-flex; gap: 6px; align-items: center; transition: all .45s var(--ease); white-space: nowrap;
}
.person:hover .person-photo .view { opacity: 1; transform: translate(-50%, 0); }
.person-body { padding: 18px 20px 20px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.person-role {
    align-self: center; display: inline-block; margin-bottom: 10px; padding: 5px 14px; border-radius: 999px;
    font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    color: #fff; background: linear-gradient(135deg, var(--red), var(--red-700));
}
.person-role.gold { background: linear-gradient(135deg, var(--gold), var(--gold-600)); }
.person h3 { font-size: 1.12rem; margin-bottom: 2px; }
.person h3 a { color: var(--ink); }
.person h3 a:hover { color: var(--red); }
.person .cat { color: var(--red); font-weight: 500; font-size: .88rem; line-height: 1.4; }
.person .biz { color: var(--muted); font-size: .84rem; line-height: 1.4; margin-top: 2px; }
.person-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pins-mini { display: flex; justify-content: center; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.pin-dot {
    --c: var(--red); display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 4px; border-radius: 999px;
    font-size: .68rem; font-weight: 600; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff);
    border: 1px solid color-mix(in srgb, var(--c) 30%, #fff); line-height: 1.4;
}
.pin-dot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 18%, var(--c) 20%); }
.pin-dot img { width: 16px; height: 16px; object-fit: contain; }
.pin-dot.has-img::before { display: none; }

.wa-fab {
    position: absolute; top: 24px; right: 24px; z-index: 3; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 24px -8px rgba(37, 211, 102, .8);
    transition: transform .35s var(--ease);
}
.wa-fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.2s var(--ease) infinite; }
.wa-fab:hover { transform: scale(1.12); color: #fff; }
.wa-fab .icon { width: 24px; height: 24px; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }

.social { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.social a {
    width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2);
    background: var(--cream); transition: transform .3s var(--ease), background .3s, color .3s;
}
.social a:hover { transform: translateY(-3px); background: var(--red); color: #fff; }
.social a .icon { width: 17px; height: 17px; }
.social a.wa:hover { background: var(--wa); }
.social a.fb:hover { background: #1877f2; }
.social a.ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social a.in:hover { background: #0a66c2; }
.social a.yt:hover { background: #ff0000; }

/* Leadership cards on the home page */
.leader { text-align: center; }
.leader .person-photo { aspect-ratio: 3 / 4; }

/* Member strip marquee (home) */
.member-marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.member-marquee + .member-marquee { margin-top: 22px; }
.member-track { display: flex; gap: 22px; width: max-content; animation: marquee 70s linear infinite; padding: 10px 0 24px; }
.member-marquee.rev .member-track { animation-direction: reverse; animation-duration: 80s; }
.member-marquee:hover .member-track { animation-play-state: paused; }
.mini-card {
    width: 250px; display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 999px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink);
    transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--red); color: var(--ink); }
.mini-card img, .mini-card .av { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: top; flex: none; border: 2px solid var(--gold-200); }
.mini-card .av { display: grid; place-items: center; background: var(--cream); font: 700 1.1rem var(--font-display); color: var(--gold-600); }
.mini-card strong { display: block; font-size: .95rem; line-height: 1.25; }
.mini-card small { display: block; color: var(--red); font-size: .78rem; line-height: 1.3; }

/* ---------- Meetings ---------- */
.meeting-card {
    position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 0; border-radius: 26px; overflow: hidden;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s;
}
.meeting-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.date-block {
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 10px;
    background: linear-gradient(160deg, var(--red), var(--red-700)); color: #fff; text-align: center; position: relative; overflow: hidden;
}
.date-block::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.25); right: -80px; bottom: -80px; }
.date-block .d { font: 700 2.6rem/1 var(--font-display); }
.date-block .m { font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; margin-top: 4px; }
.date-block .y { font-size: .78rem; opacity: .8; }
.meeting-body { padding: 22px 24px; }
.meeting-body .type { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--gold-600); margin-bottom: 4px; }
.meeting-body h3 { margin-bottom: 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .88rem; margin-bottom: 12px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .icon { color: var(--red); width: 16px; height: 16px; }
.speakers { display: flex; align-items: center; gap: 10px; margin: 6px 0 14px; flex-wrap: wrap; }
.speakers .avs { display: flex; }
.speakers .avs img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid #fff; margin-left: -10px; box-shadow: var(--shadow-sm); }
.speakers .avs img:first-child { margin-left: 0; }
.speakers small { color: var(--muted); font-size: .82rem; }
.tag-fee { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: var(--red-50); color: var(--red); }
.tag-fee.free { background: #e9f7ef; color: var(--leaf); }

.countdown { display: flex; gap: 10px; flex-wrap: wrap; }
.countdown div { min-width: 74px; padding: 12px 10px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); }
.countdown b { display: block; font: 700 1.8rem/1 var(--font-display); }
.countdown small { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

.next-meeting {
    position: relative; overflow: hidden; border-radius: 34px; padding: clamp(28px, 5vw, 56px);
    background: linear-gradient(130deg, var(--red-700), var(--red) 55%, #e2394a); color: #fff; box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; align-items: center;
}
.next-meeting .mandala { width: 520px; height: 520px; right: -140px; top: -180px; }
.next-meeting h2 { color: #fff; }
.next-meeting .meta { color: rgba(255,255,255,.9); }
.next-meeting .meta .icon { color: var(--gold-200); }
.next-meeting .kicker { color: var(--gold-200); }
.next-meeting .feather { right: 34px; bottom: -10px; width: 70px; height: 170px; --r: 20deg; }

/* ---------- Pins / hall of fame ---------- */
.pin-card { position: relative; padding: 28px 22px 24px; border-radius: 26px; background: #fff; border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s; overflow: hidden; }
.pin-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--c, var(--red)); }
.pin-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pin-medal {
    --c: var(--red); width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle at 32% 30%, #fff 0 8%, color-mix(in srgb, var(--c) 55%, #fff) 30%, var(--c) 70%, color-mix(in srgb, var(--c) 70%, #000));
    box-shadow: 0 12px 24px -10px color-mix(in srgb, var(--c) 80%, transparent), inset 0 0 0 4px rgba(255,255,255,.35);
    color: #fff; position: relative; animation: medal 5s ease-in-out infinite;
}
.pin-medal img { width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.pin-medal.has-img { background: none; box-shadow: none; }
.pin-medal .icon { width: 40px; height: 40px; }
@keyframes medal { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.pin-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.pin-card .count { color: var(--muted); font-size: .85rem; margin-bottom: 12px; }
.avatar-stack { display: flex; justify-content: center; flex-wrap: wrap; padding-left: 10px; }
.avatar-stack a { margin-left: -10px; transition: transform .3s var(--ease); }
.avatar-stack a:hover { transform: translateY(-4px) scale(1.08); z-index: 2; }
.avatar-stack img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: top; border: 2px solid #fff; box-shadow: var(--shadow-sm); }

/* ---------- Feature cards (why join, about BNI) ---------- */
.feature {
    position: relative; padding: 30px 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line);
    box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s, background .45s, color .45s; overflow: hidden;
}
.feature::after {
    content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(150deg, var(--red), var(--red-700));
    clip-path: circle(0% at 100% 0%); transition: clip-path .7s var(--ease);
}
.feature > * { position: relative; z-index: 1; }
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: rgba(255,255,255,.9); }
.feature:hover::after { clip-path: circle(150% at 100% 0%); }
.feature:hover h3 { color: #fff; }
.feature .ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--red-50); color: var(--red); margin-bottom: 18px; transition: background .45s, color .45s, transform .45s var(--ease); }
.feature:hover .ic { background: rgba(255,255,255,.16); color: #fff; transform: rotate(-8deg) scale(1.06); }
.feature .ic .icon { width: 28px; height: 28px; }
.feature h3 { font-size: 1.15rem; transition: color .45s; }
.feature p { margin: 0; font-size: .95rem; text-align: justify; }
.feature .no { position: absolute; top: 18px; right: 22px; font: 700 2.4rem var(--font-display); color: var(--sand); z-index: 1; transition: color .45s; }
.feature:hover .no { color: rgba(255,255,255,.15); }

.value-card { display: flex; gap: 16px; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.value-card .ic { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gold); color: var(--gold-600); background: #fffdf7; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.value-card p { margin: 0; font-size: .92rem; color: var(--muted); }

.steps { counter-reset: s; display: grid; gap: 18px; }
.step { position: relative; display: flex; gap: 18px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font: 700 1rem var(--font-display); }
.step h3 { font-size: 1.02rem; margin: 4px 0 2px; }
.step p { margin: 0; font-size: .92rem; color: var(--muted); text-align: justify; }

.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff;
    border: 1px dashed var(--gold); font-weight: 500; font-size: .92rem; color: var(--ink); transition: all .3s var(--ease);
}
.chip:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.chip .icon { width: 15px; height: 15px; color: var(--red); }
.chip:hover .icon { color: #fff; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
    padding: clamp(70px, 10vw, 130px) 0 clamp(90px, 12vw, 160px);
    background:
        radial-gradient(900px 400px at 80% 0%, rgba(255, 255, 255, .12), transparent 60%),
        linear-gradient(135deg, var(--red-900), var(--red-700) 35%, var(--red) 75%, #e03445);
}
.page-hero .mandala { width: 620px; height: 620px; right: -160px; top: -220px; z-index: -1; }
.page-hero .mandala.small { width: 380px; height: 380px; left: -140px; bottom: -160px; top: auto; right: auto; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { max-width: 680px; margin: 0 auto; color: rgba(255,255,255,.9); font-size: 1.08rem; }
.page-hero .kicker { color: var(--gold-200); }
.page-hero .kicker::before, .page-hero .kicker::after { background: linear-gradient(90deg, transparent, var(--gold-200)); }
.breadcrumb { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: .85rem; margin-top: 22px; color: rgba(255,255,255,.75); }
.breadcrumb a { color: #fff; }
.breadcrumb span::before { content: "/"; margin-right: 8px; opacity: .6; }
.page-hero .feather { --r: 22deg; right: 8%; bottom: 18%; }
.page-hero .feather.l { --r: -28deg; left: 6%; right: auto; top: 24%; bottom: auto; width: 42px; height: 104px; opacity: .85; }

.sub-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: -34px auto 0; position: relative; z-index: 4; }
.sub-nav a { padding: 11px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 500; font-size: .9rem; box-shadow: var(--shadow); border: 1px solid var(--line); transition: all .3s var(--ease); }
.sub-nav a:hover, .sub-nav a.active { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-3px); }

/* ---------- Members directory ---------- */
.filter-bar {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 12px; padding: 14px; border-radius: 24px; background: #fff;
    box-shadow: var(--shadow); border: 1px solid var(--line); margin: -40px auto 40px; position: relative; z-index: 4; max-width: 1040px;
}
.field { position: relative; }
.field .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.input, .select, textarea.input {
    width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
    font: 400 .95rem var(--font-body); color: var(--ink); transition: border-color .25s, box-shadow .25s; appearance: none;
}
.field .icon + .input { padding-left: 44px; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d6469' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.input:focus, .select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(207, 32, 48, .1); }
textarea.input { min-height: 140px; resize: vertical; }
.result-line { text-align: center; color: var(--muted); margin-bottom: 26px; }
.result-line b { color: var(--red); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty .icon { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--gold); }

/* ---------- Member profile ---------- */
.profile-hero { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, var(--red-900), var(--red-700) 40%, var(--red)); color: #fff; padding: clamp(50px, 7vw, 90px) 0 clamp(120px, 12vw, 170px); }
.profile-hero .mandala { width: 640px; height: 640px; right: -180px; top: -200px; z-index: -1; }
.profile-top { display: grid; grid-template-columns: 330px 1fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.profile-photo { position: relative; }
.profile-photo .arch { aspect-ratio: 4/5; }
.profile-photo .arch img { object-position: top; }
.profile-photo .badge-pin { position: absolute; right: -14px; bottom: 26px; width: 88px; animation: medal 5s ease-in-out infinite; filter: drop-shadow(0 10px 16px rgba(0,0,0,.35)); }
.profile-hero h1 { color: #fff; margin-bottom: 6px; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.profile-hero .cat { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); font-weight: 600; letter-spacing: .03em; margin-bottom: 10px; }
.profile-hero .biz { font-family: var(--font-script); font-style: italic; font-size: 1.5rem; color: var(--gold-200); margin-bottom: 16px; }
.profile-hero .roles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.profile-hero .roles a { padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--red); font-size: .8rem; font-weight: 600; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.profile-actions .btn.white { color: var(--red); }
.profile-body { margin-top: -90px; position: relative; z-index: 3; }
.profile-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start; }
.card { background: #fff; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 34px); }
.card + .card { margin-top: 26px; }
.card-title { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin-bottom: 18px; }
.card-title .icon { color: var(--red); width: 26px; height: 26px; }
.card .text p { text-align: justify; }
.logo-box { display: grid; place-items: center; padding: 20px; border-radius: 20px; background: #fff; border: 1px dashed var(--gold-200); }
.logo-box img { max-height: 220px; width: auto; object-fit: contain; }
.contact-list { display: grid; gap: 12px; }
.contact-list a, .contact-list div { display: flex; align-items: flex-start; gap: 14px; color: var(--ink-2); padding: 10px; border-radius: 14px; transition: background .25s; word-break: break-word; }
.contact-list a:hover { background: var(--red-50); color: var(--red); }
.contact-list .ic { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.contact-list small { display: block; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--red), var(--gold), transparent); }
.tl-item { position: relative; padding: 0 0 24px; }
.tl-item::before { content: ""; position: absolute; left: -29px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--red); box-shadow: 0 0 0 5px var(--red-50); }
.tl-item.gold::before { border-color: var(--gold); box-shadow: 0 0 0 5px #fbf3df; }
.tl-item h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin: 0 0 2px; color: var(--ink); }
.tl-item small { color: var(--red); font-weight: 500; }
.tl-item p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }

.pin-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.pin-tile { text-align: center; padding: 18px 12px; border-radius: 20px; background: var(--ivory); border: 1px solid var(--line); }
.pin-tile .pin-medal { width: 70px; height: 70px; margin-bottom: 10px; }
.pin-tile .pin-medal img { width: 66px; height: 66px; }
.pin-tile .pin-medal .icon { width: 30px; height: 30px; }
.pin-tile strong { display: block; font-size: .92rem; color: var(--ink); line-height: 1.3; }
.pin-tile small { color: var(--muted); font-size: .78rem; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 44px); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--red), var(--gold), var(--red)); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group label { display: block; font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.form-group label .req { color: var(--red); }
.field-error { display: block; color: var(--red); font-size: .82rem; margin-top: 5px; }
.input.invalid { border-color: var(--red); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 16px; margin-bottom: 20px; font-size: .95rem; }
.alert.error { background: var(--red-50); color: var(--red-700); border: 1px solid #f6c7cc; }
.alert.success { background: #e9f7ef; color: #1d6b43; border: 1px solid #bfe6cf; }
.alert .icon { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pay-box { display: grid; grid-template-columns: 200px 1fr; gap: 22px; align-items: center; padding: 20px; border-radius: 22px; background: linear-gradient(135deg, #fff, var(--ivory)); border: 1.5px dashed var(--gold); }
.pay-box img { width: 200px; height: 200px; object-fit: contain; border-radius: 16px; background: #fff; padding: 8px; border: 1px solid var(--line); }
.pay-box .amt { font: 700 2rem var(--font-display); color: var(--red); }
.upload {
    position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px;
    border: 2px dashed var(--line); background: #fff; cursor: pointer; transition: border-color .25s, background .25s;
}
.upload:hover, .upload.has { border-color: var(--red); background: var(--red-50); }
.upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; }
.upload .name { font-size: .88rem; color: var(--muted); }
.upload img.preview { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; display: none; }
.upload.has img.preview { display: block; }

.share-box { display: flex; gap: 8px; align-items: center; padding: 8px 8px 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.share-box input { flex: 1; min-width: 0; border: 0; font: 400 .88rem var(--font-body); color: var(--muted); background: transparent; }
.share-box input:focus { outline: none; }

/* Meeting details */
.meeting-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; text-align: left; }
.meeting-hero-grid .meta { color: rgba(255,255,255,.92); font-size: 1rem; }
.meeting-hero-grid .meta .icon { color: var(--gold-200); }
.banner-frame { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid rgba(255,255,255,.9); }
.banner-frame img { width: 100%; height: auto; }
.info-list { display: grid; gap: 14px; }
.info-list div { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.info-list small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.info-list strong { color: var(--ink); font-weight: 600; }

/* ---------- Reels ---------- */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reel {
    position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; cursor: pointer; border: 0; padding: 0;
    background: linear-gradient(160deg, var(--red-700), var(--red), var(--gold)); box-shadow: var(--shadow); color: #fff; text-align: left;
    transition: transform .45s var(--ease), box-shadow .45s;
}
.reel:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.reel:hover img { transform: scale(1.07); }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 50%, rgba(0,0,0,.72)); }
.reel .play { position: absolute; top: 50%; left: 50%; z-index: 2; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; transform: translate(-50%, -50%); background: rgba(255,255,255,.22); backdrop-filter: blur(6px); border: 1.5px solid rgba(255,255,255,.7); transition: transform .4s var(--ease), background .4s; }
.reel:hover .play { transform: translate(-50%, -50%) scale(1.12); background: var(--red); }
.reel .play .icon { width: 26px; height: 26px; margin-left: 3px; }
.reel .cap { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; font-size: .82rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.reel .ig { position: absolute; top: 12px; left: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(0,0,0,.35); }
.reel .ig .icon { width: 18px; height: 18px; }
.reel .ph { position: absolute; inset: 0; display: grid; place-items: center; font: 600 1.1rem var(--font-display); padding: 20px; text-align: center; }

/* ---------- Modal (reels, popups) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(20, 6, 10, .78); opacity: 0; visibility: hidden; transition: .35s; }
.modal.open { opacity: 1; visibility: visible; }
.modal-box { position: relative; width: min(420px, 100%); max-height: 92vh; transform: scale(.9) translateY(20px); transition: transform .45s var(--ease); }
.modal.open .modal-box { transform: none; }
.modal-box.wide { width: min(640px, 100%); }
.modal-close { position: absolute; top: -16px; right: -16px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--red); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.modal-frame { width: 100%; aspect-ratio: 9 / 16; max-height: 86vh; border: 0; border-radius: 20px; background: #000; }
.popup-slide { display: none; }
.popup-slide.active { display: block; animation: popIn .5s var(--ease); }
.popup-slide img { width: 100%; max-height: 82vh; object-fit: contain; border-radius: 20px; background: #fff; box-shadow: var(--shadow-lg); }
.popup-nav { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.popup-nav button { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: all .3s; }
.popup-nav button.active { width: 28px; background: #fff; }
@keyframes popIn { from { opacity: 0; transform: scale(.94); } }

/* ---------- Sponsor + quote ---------- */
.sponsor { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: 34px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.sponsor img { border-radius: 22px; box-shadow: var(--shadow); position: relative; z-index: 1; width: 100%; height: auto; display: block; }
.sponsor .mandala { width: 460px; height: 460px; right: -160px; bottom: -200px; }
.quote-band { position: relative; overflow: hidden; border-radius: 34px; background: linear-gradient(120deg, var(--ivory), var(--cream)); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 280px; align-items: center; }
.quote-band blockquote { margin: 0; padding: clamp(28px, 5vw, 60px); font-family: "Hind Vadodara", var(--font-body); font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.8; color: var(--ink); position: relative; }
.quote-band blockquote .icon { width: 50px; height: 50px; color: var(--red); opacity: .25; margin-bottom: 8px; }
.quote-band img { align-self: end; max-height: 340px; width: 100%; object-fit: contain; object-position: bottom; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; padding: clamp(36px, 6vw, 70px); background: linear-gradient(120deg, var(--red-900), var(--red-700) 40%, var(--red)); color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; }
.cta-band .mandala { width: 520px; height: 520px; left: -200px; top: -240px; z-index: -1; }
.cta-band .feather { right: 30%; top: 12%; --r: 30deg; opacity: .9; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #1a0b0f; color: rgba(255,255,255,.72); padding: 90px 0 0; margin-top: 0; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--red), var(--gold), var(--red)); }
.site-footer .mandala { width: 600px; height: 600px; right: -220px; bottom: -260px; opacity: .6; z-index: -1; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-logo { display: inline-block; background: #fff; padding: 14px 18px; border-radius: 18px; margin-bottom: 18px; }
.footer-logo img { height: 48px; width: auto; }
.site-footer h4 { font-family: var(--font-display); color: #fff; font-size: 1.05rem; margin-bottom: 18px; letter-spacing: .06em; }
.site-footer h4::after { content: ""; display: block; width: 40px; height: 2px; margin-top: 10px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: 8px; transition: color .25s, transform .25s; }
.footer-links a:hover { color: #fff; transform: translateX(5px); }
.footer-links a::before { content: ""; width: 6px; height: 6px; background: var(--red); transform: rotate(45deg); }
.footer-contact { display: grid; gap: 14px; }
.footer-contact div, .footer-contact a { display: flex; gap: 12px; color: rgba(255,255,255,.75); }
.footer-contact .icon { color: var(--gold); margin-top: 4px; }
.site-footer .social a { background: rgba(255,255,255,.08); color: #fff; }
.site-footer .social { justify-content: flex-start; margin-top: 20px; }
.footer-bottom { margin-top: 60px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .88rem; }
.dev-by { display: inline-flex; align-items: baseline; gap: 6px; }
.webixa { position: relative; display: inline-block; white-space: nowrap; font-weight: 700; letter-spacing: .14em; color: #fff; transition: color .3s; }
.webixa:hover { color: var(--gold-200); }
.webixa .a { display: inline; letter-spacing: 0; }
.webixa .tm { display: inline-block; font-size: .42em; line-height: 1; font-weight: 700; letter-spacing: 0; vertical-align: .95em; margin-left: .06em; }

/* Floating WhatsApp + back to top */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 70; display: grid; gap: 12px; }
.float-actions a, .float-actions button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: var(--shadow-lg); transition: transform .35s var(--ease), opacity .35s; }
.float-actions .wa { background: var(--wa); color: #fff; }
.float-actions .wa .icon { width: 28px; height: 28px; }
.float-actions .top { background: #fff; color: var(--red); opacity: 0; pointer-events: none; transform: translateY(10px); }
.float-actions .top.show { opacity: 1; pointer-events: auto; transform: none; }
.float-actions a:hover, .float-actions button:hover { transform: translateY(-4px) scale(1.05); }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); z-index: 300; padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .9rem; opacity: 0; transition: all .4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Error page */
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.error-page .big { font: 700 clamp(5rem, 16vw, 9rem)/1 var(--font-display); }

/* ---------- Responsive ---------- */
/* Eight menu items: tighten step by step before the drawer takes over. */
@media (max-width: 1440px) {
    .nav { gap: 0; }
    .nav > a, .nav .dd > button { padding: 10px 9px; font-size: .88rem; }
    .nav > a::after, .nav .dd > button::after { left: 9px; right: 9px; }
    .nav-wrap { gap: 12px; }
}
@media (max-width: 1280px) {
    .nav > a, .nav .dd > button { padding: 9px 7px; font-size: .82rem; }
    .nav > a::after, .nav .dd > button::after { left: 7px; right: 7px; }
    .brand img { height: 44px; }
    .nav-cta { margin-left: 4px; padding-left: 14px; padding-right: 14px; }
}
@media (max-width: 1160px) {
    .nav, .nav-cta { display: none; }
    .menu-toggle { display: inline-flex; }
}
@media (max-width: 1180px) {
    .grid.c5 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1060px) {
    .nav, .nav-cta { display: none; }
    .menu-toggle { display: inline-flex; }
    .hero-grid, .split, .split.rev, .next-meeting, .meeting-hero-grid { grid-template-columns: 1fr; }
    .hero-visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
    .hero-arch { margin: 0 auto; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .grid.c4, .grid.c5 { grid-template-columns: repeat(3, 1fr); }
    .reels { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr 1fr; }
    .cta-band { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    :root { --header-h: 70px; }
    body { font-size: 15px; }
    .container { padding: 0 16px; }
    .topbar-info span.hide-sm { display: none; }
    .topbar .social { display: none; }
    .brand img { height: 42px; }
    .grid.c2, .grid.c3 { grid-template-columns: 1fr; }
    .grid.c4, .grid.c5 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .person-body { padding: 14px 12px 16px; }
    .person h3 { font-size: .98rem; }
    .person .cat { font-size: .8rem; }
    .wa-fab { width: 40px; height: 40px; top: 20px; right: 20px; }
    .social a { width: 32px; height: 32px; }
    .reels { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stats { gap: 12px; }
    .stat { padding: 22px 12px; }
    .hero-chip.one { left: 0; }
    .hero-chip.two { right: -5%; bottom: -2%; padding: 9px 12px; gap: 9px; }
    .hero-chip.two .ic { width: 34px; height: 34px; }
    .hero-photo { left: -2%; width: 50%; }
    .profile-top { grid-template-columns: 1fr; text-align: center; }
    .profile-photo { max-width: 280px; margin: 0 auto; }
    .profile-hero .roles, .profile-actions { justify-content: center; }
    .form-grid { grid-template-columns: 1fr; }
    .pay-box { grid-template-columns: 1fr; text-align: center; }
    .pay-box img { margin: 0 auto; }
    .meeting-card { grid-template-columns: 1fr; }
    .date-block { flex-direction: row; gap: 10px; padding: 14px; }
    .date-block .d { font-size: 1.8rem; }
    .sponsor, .quote-band { grid-template-columns: 1fr; }
    .quote-band img { max-height: 260px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .filter-bar { grid-template-columns: 1fr; margin-top: -30px; }
    .ribbon { margin: -18px -10px 0; }
    .countdown div { min-width: 64px; }
    .float-actions { right: 12px; bottom: 12px; }
}
@media (max-width: 380px) {
    .hero-photo { width: 46%; }
    .hero-chip.two { padding: 7px 10px; gap: 7px; }
    .hero-chip.two .ic { width: 30px; height: 30px; }
    .hero-chip.two small { font-size: .6rem; }
    .hero-chip.two strong { font-size: .92rem; }
    .grid.c4, .grid.c5 { grid-template-columns: 1fr 1fr; gap: 10px; }
    .btn { padding: 13px 20px; }
}

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

/* Fee table (Why Join) */
.fee-table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 520px; }
.fee-table th { background: var(--red); color: #fff; font-weight: 600; text-align: left; padding: 12px 14px; }
.fee-table th:first-child { border-radius: 12px 0 0 0; }
.fee-table th:last-child { border-radius: 0 12px 0 0; }
.fee-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.fee-table tr:nth-child(even) td { background: var(--ivory); }
.fee-table tr.total td { font-weight: 700; color: var(--red); background: var(--red-50); }

/* ===== Key words: bold with a gold marker that draws in ===== */
.hl {
    font-weight: 700; color: var(--red-700);
    background: linear-gradient(transparent 60%, rgba(201, 162, 75, .38) 0) no-repeat 0 0 / 0% 100%;
    transition: background-size 1.1s var(--ease) .25s; padding: 0 2px; border-radius: 2px;
}
.hl.lit { background-size: 100% 100%; }
.dark-hl .hl, .section.red .hl, .page-hero .hl, .next-meeting .hl, .cta-band .hl { color: #fff; background-image: linear-gradient(transparent 62%, rgba(236, 217, 166, .45) 0); }
.glow-num { background: linear-gradient(90deg, var(--red), var(--gold-600), var(--red)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 4s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* ===== WEBIXA™ wherever it appears ===== */
.tm-brand { display: inline; white-space: nowrap; }
.tm-brand .a { display: inline; }
/* WEBIXA TM: small TM at the top-right corner of the A (cap-height aligned, takes its own space) */
.tm-brand .tm { display: inline-block; font-size: .42em; line-height: 1; font-weight: 700; letter-spacing: 0; vertical-align: .95em; margin-left: .06em; }

/* ===== Pin holders: extra visibility ===== */
.person.pinned { border: 0; padding: 2px; background: conic-gradient(from var(--ang, 0deg), var(--gold), #fff3cf, var(--red), var(--gold-200), var(--gold)); animation: ring 6s linear infinite; }
.person.pinned > * { position: relative; }
.person.pinned::before { content: ""; position: absolute; inset: 2px; border-radius: 24px; background: #fff; z-index: 0; }
.person.pinned > .person-photo, .person.pinned > .person-body, .person.pinned > .wa-fab { z-index: 1; }
.person.pinned .person-photo { margin: 12px 12px 0; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes ring { to { --ang: 360deg; } }
.pin-ribbon {
    position: absolute; top: 18px; left: -6px; z-index: 3; display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px 6px 10px; border-radius: 0 999px 999px 0; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: #5a3c06; background: linear-gradient(135deg, #f7df9a, var(--gold)); box-shadow: 0 6px 14px -6px rgba(168, 131, 47, .9);
}
.pin-ribbon .icon { width: 14px; height: 14px; }
.spotlight { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; }
.spot { position: relative; display: block; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 4; color: #fff; box-shadow: var(--shadow); isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s; }
.spot:hover { transform: translateY(-8px) scale(1.02); box-shadow: var(--shadow-lg); color: #fff; }
.spot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; z-index: -2; transition: transform .9s var(--ease); }
.spot:hover img { transform: scale(1.08); }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(60, 6, 14, .92)); }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 3px rgba(233, 207, 139, .8); }
.spot .info { position: absolute; left: 14px; right: 14px; bottom: 14px; }
.spot strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; }
.spot small { display: block; color: var(--gold-200); font-size: .78rem; margin-bottom: 8px; }
.spot .medals { display: flex; flex-wrap: wrap; gap: 4px; }
.spot .medals span { font-size: .62rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.spot .count { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #f7df9a, var(--gold)); color: #5a3c06; font-weight: 800; font-size: .85rem; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.pin-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: -10px 0 26px; }
.pin-filter a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; font-size: .85rem; transition: all .3s var(--ease); }
.pin-filter a .d { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, #fff); }
.pin-filter a:hover, .pin-filter a.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); transform: translateY(-2px); }

/* ===== Highlighted meeting (e.g. Mega Visitors Day) ===== */
.meeting-card.hot { border: 0; padding: 3px; background: conic-gradient(from var(--ang, 0deg), var(--red), var(--gold), #fff1c9, var(--red)); animation: ring 5s linear infinite; }
.meeting-card.hot > * { background: #fff; }
.meeting-card.hot > .date-block { background: linear-gradient(160deg, var(--gold-600), var(--red)); border-radius: 23px 0 0 23px; }
.meeting-card.hot > .meeting-body { border-radius: 0 23px 23px 0; }
.hot-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--red), #ff5a3c); box-shadow: 0 8px 18px -8px rgba(207, 32, 48, .9); animation: pulse 2s ease-in-out infinite; margin-bottom: 8px; }
.hot-badge .icon { width: 14px; height: 14px; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (max-width: 760px) {
    .meeting-card.hot > .date-block { border-radius: 23px 23px 0 0; }
    .meeting-card.hot > .meeting-body { border-radius: 0 0 23px 23px; }
    .spotlight { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
.feature:hover .hl { color: #fff; background-image: linear-gradient(transparent 62%, rgba(255,255,255,.28) 0); }

/* ===== Member directory card (3 per row, every detail visible) ===== */
.grid.members-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.mcard {
    position: relative; display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #fff;
    border: 1px solid var(--line); box-shadow: 0 14px 34px -22px rgba(92, 10, 20, .35);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.mcard:hover { transform: translateY(-8px); box-shadow: 0 26px 50px -24px rgba(92, 10, 20, .45); border-color: var(--gold-200); }
.mcard.pinned { border: 2px solid var(--gold); box-shadow: 0 0 0 5px rgba(201, 162, 75, .14), 0 16px 36px -22px rgba(168, 131, 47, .7); }
.mcard-photo { position: relative; display: block; aspect-ratio: 4 / 4.2; overflow: hidden; background: linear-gradient(160deg, var(--cream), var(--sand)); }
.mcard-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .9s var(--ease); }
.mcard:hover .mcard-photo img { transform: scale(1.06); }
.mcard-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(40, 6, 12, .55)); }
.mcard-photo .initials { position: absolute; inset: 0; display: grid; place-items: center; font: 700 3rem var(--font-display); color: var(--gold-600); }
.mcard-ribbon {
    position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 12px;
    border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #5a3c06;
    background: linear-gradient(135deg, #f9e6ab, var(--gold)); box-shadow: 0 8px 18px -8px rgba(90, 60, 6, .8);
}
.mcard-ribbon .icon { width: 15px; height: 15px; }
.mcard-ribbon b { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--red); font-size: .74rem; }
.mcard-view {
    position: absolute; left: 50%; bottom: 16px; z-index: 2; transform: translate(-50%, 14px); opacity: 0;
    display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; border-radius: 999px; background: #fff; color: var(--red);
    font-size: .82rem; font-weight: 600; transition: all .4s var(--ease); white-space: nowrap;
}
.mcard:hover .mcard-view { opacity: 1; transform: translate(-50%, 0); }
.mcard-body { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 22px 16px; }
.mcard-cat {
    display: inline-block; max-width: 100%; padding: 5px 14px; border-radius: 999px; margin-bottom: 10px;
    background: var(--red-50); color: var(--red); font-size: .78rem; font-weight: 600; letter-spacing: .02em; line-height: 1.35;
}
.mcard h3 { font-size: 1.28rem; margin: 0 0 8px; }
.mcard h3 a { color: var(--ink); }
.mcard h3 a:hover { color: var(--red); }
.mcard-biz { display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink-2); font-weight: 500; font-size: .95rem; line-height: 1.35; }
.mcard-biz img { width: 38px; height: 38px; object-fit: contain; border-radius: 10px; background: #fff; border: 1px solid var(--line); padding: 3px; flex: none; }
.mcard-tag { margin: 8px 0 0; color: var(--muted); font-size: .86rem; line-height: 1.5; font-style: italic; }
.mcard .pins-mini { margin-top: 12px; }
.mcard .pin-dot { font-size: .72rem; padding: 4px 10px 4px 5px; }
.mcard-social { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.mcard-social a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink-2); transition: all .3s var(--ease); }
.mcard-social a:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.mcard-social a.ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.mcard-social a.fb:hover { background: #1877f2; }
.mcard-social a.in:hover { background: #0a66c2; }
.mcard-social a.yt:hover { background: #ff0000; }
.mcard-social .icon { width: 16px; height: 16px; }
.mcard-actions { display: flex; border-top: 1px solid var(--line); }
.mcard-actions .act {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 14px 8px;
    font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: background .3s, color .3s;
}
.mcard-actions .act + .act { border-left: 1px solid var(--line); }
.mcard-actions .act .icon { width: 17px; height: 17px; }
.mcard-actions .act.wa { color: #1a9e4d; }
.mcard-actions .act.wa:hover { background: var(--wa); color: #fff; }
.mcard-actions .act:hover { background: var(--red-50); color: var(--red); }
.mcard-actions .act.main { color: var(--red); }
.mcard-actions .act.main:hover { background: var(--red); color: #fff; }
@media (max-width: 1060px) { .grid.members-grid { grid-template-columns: repeat(2, 1fr); } }
/* Phones: two compact cards per row, so 29 members are a short scroll, not 25 screens. */
@media (max-width: 620px) {
    .grid.members-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .mcard { border-radius: 18px; }
    .mcard:hover { transform: none; }
    .mcard-photo { aspect-ratio: 1; }
    .mcard-view { display: none; }
    .mcard-ribbon { top: 8px; left: 8px; padding: 4px 6px 4px 8px; gap: 4px; letter-spacing: .02em; }
    .mcard-ribbon .icon { width: 12px; height: 12px; }
    .mcard-ribbon b { min-width: 18px; height: 18px; }
    .mcard-body { padding: 12px 10px 10px; }
    .mcard-cat { padding: 4px 10px; margin-bottom: 6px; }
    .mcard h3 { font-size: 1rem; margin-bottom: 6px; }
    .mcard-biz { gap: 6px; font-size: .8rem; }
    .mcard-biz img { width: 26px; height: 26px; border-radius: 7px; padding: 2px; }
    .mcard-tag { display: none; }
    .mcard .pins-mini { margin-top: 8px; gap: 4px; }
    .mcard-social { gap: 6px; margin-top: 8px; flex-wrap: wrap; }
    .mcard-social a { width: 30px; height: 30px; }
    .mcard-social .icon { width: 14px; height: 14px; }
    .mcard-actions .act { padding: 11px 4px; font-size: .8rem; gap: 5px; }
    .mcard-actions .act .icon { width: 17px; height: 17px; }
    /* WhatsApp and Call show just their icon on the small card; "Profile" keeps its word. */
    .mcard-actions .act.wa, .mcard-actions .act:not(.main) { flex: 0 0 44px; }
    .mcard-actions .act .lbl { display: none; }
}
@media (max-width: 380px) {
    .grid.members-grid { gap: 10px; }
    .mcard-actions .act.wa, .mcard-actions .act:not(.main) { flex-basis: 38px; }
    .mcard-actions .act.main { gap: 3px; padding-left: 2px; padding-right: 2px; }
    .mcard-actions .act.main .icon { width: 14px; height: 14px; }
}
@media (max-width: 340px) {
    .grid.members-grid { grid-template-columns: 1fr; }
}

/* ===== Back link on detail pages ===== */
.back-link {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px 9px 14px; border-radius: 999px;
    font-size: .88rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
    backdrop-filter: blur(6px); transition: all .3s var(--ease); margin-bottom: 18px;
}
.back-link:hover { background: #fff; color: var(--red); transform: translateX(-4px); }
.back-link .back-ic { transform: rotate(180deg); width: 17px; height: 17px; }
.back-row { text-align: left; }
.back-link.dark { color: var(--red); background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); }
.back-link.dark:hover { background: var(--red); color: #fff; }

/* ===== Loader: real peacock feather, small, floating, swaying and shimmering ===== */
.pf2 { position: relative; width: 70px; height: 80px; animation: pf2In .7s cubic-bezier(.34, 1.56, .64, 1) both, pf2Float 2.8s ease-in-out .7s infinite; }
.pf2 img, .pf2-shine { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 85% 95%; animation: pf2Sway 2.2s ease-in-out infinite; }
.pf2 img { filter: drop-shadow(0 6px 10px rgba(20, 110, 80, .28)); }
.pf2-shine {
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .85) 50%, transparent 65%) no-repeat;
    background-size: 250% 100%; background-position: 150% 0;
    -webkit-mask: url(/img/brand/peacock-feather.png) center / contain no-repeat; mask: url(/img/brand/peacock-feather.png) center / contain no-repeat;
    animation: pf2Sway 2.2s ease-in-out infinite, pf2Shine 1.8s ease-in-out infinite;
}
.pf2-glow { position: absolute; left: 22%; top: 18%; width: 48px; height: 48px; border-radius: 50%; background: radial-gradient(circle, rgba(38, 190, 200, .45), transparent 70%); animation: pf2Glow 1.8s ease-in-out infinite; }
.pf2 i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-200); opacity: 0; animation: pf2Spark 1.8s ease-in-out infinite; }
.pf2 i.s1 { left: -8px; top: 10px; }
.pf2 i.s2 { right: -6px; top: 30px; animation-delay: .6s; background: #7fe0e8; }
.pf2 i.s3 { left: 6px; bottom: -2px; animation-delay: 1.2s; background: #ffb3bb; }
@keyframes pf2In { from { opacity: 0; transform: translateY(14px) rotate(-25deg) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes pf2Float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes pf2Sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes pf2Shine { 0% { background-position: 150% 0; } 100% { background-position: -60% 0; } }
@keyframes pf2Glow { 0%, 100% { opacity: .4; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes pf2Spark { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1.3) translateY(-5px); } }

/* ===== Hover on red: every text turns white so it stays readable ===== */
.feature:hover, .feature:hover h3, .feature:hover p, .feature:hover span:not(.ic), .feature:hover strong, .feature:hover a { color: #fff !important; }
.feature:hover p { opacity: .95; }
.feature:hover .ic { color: #fff !important; }
.chip:hover, .chip:hover * { color: #fff !important; }
.sub-nav a:hover, .sub-nav a.active { color: #fff !important; }
.mcard-actions .act.main:hover, .mcard-actions .act.wa:hover, .mcard-actions .act.main:hover .icon, .mcard-actions .act.wa:hover .icon { color: #fff; }
.btn.ghost:hover, .btn.ghost:hover .icon { color: #fff; }
.dd-menu a:hover { color: var(--red-700); }
.pin-filter a.on, .pin-filter a:hover { color: var(--ink) !important; }

/* ---------- Open Categories page: main category -> sub category search ---------- */
.oc-tools { display: grid; grid-template-columns: 1fr minmax(220px, 320px); gap: 12px; max-width: 860px; margin: 0 auto 16px; }
.oc-search { display: flex; align-items: center; gap: 10px; padding: 0 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line, #eadfd2); box-shadow: 0 10px 30px -18px rgba(92,10,20,.35); transition: border-color .3s, box-shadow .3s; }
.oc-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(207,32,48,.12); }
.oc-search .icon { width: 20px; height: 20px; color: var(--red); flex: none; }
.oc-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 15px 0; font: 500 1rem var(--font-body); color: var(--ink); }
.oc-select { border-radius: 999px; border: 1.5px solid var(--line, #eadfd2); background: #fff; padding: 0 16px; min-height: 52px; font: 500 .95rem var(--font-body); color: var(--ink); }
.oc-pills { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 12px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.oc-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line, #eadfd2); background: #fff; color: var(--ink); font: 500 .85rem var(--font-body); cursor: pointer; transition: all .25s var(--ease); }
.oc-pill b { font-size: .75rem; padding: 1px 7px; border-radius: 999px; background: var(--cream, #fbf5ec); color: var(--red-700, #8f1320); }
.oc-pill:hover, .oc-pill.on { background: var(--red); border-color: var(--red); color: #fff !important; }
.oc-pill:hover b, .oc-pill.on b { background: rgba(255,255,255,.2); color: #fff; }
.oc-count { text-align: center; color: var(--muted); font-size: .9rem; margin: 4px 0 18px; min-height: 1.2em; }
.oc-grid { columns: 2 380px; column-gap: 22px; }
.oc-card { break-inside: avoid; margin: 0 0 22px; background: #fff; border-radius: 22px; padding: 20px 20px 22px; border: 1px solid var(--line, #eadfd2); box-shadow: 0 16px 40px -28px rgba(92,10,20,.35); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.oc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -26px rgba(92,10,20,.45); }
.oc-card[hidden], .oc-subs .chip[hidden] { display: none; }
.oc-card header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--gold); }
.oc-card h3 { margin: 0; flex: 1; font-size: 1.05rem; }
.oc-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-700, #8f1320)); flex: none; }
.oc-ic .icon { width: 20px; height: 20px; color: #fff; }
.oc-n { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.oc-n b { color: var(--red); font-size: 1rem; }
.oc-subs { display: flex; flex-wrap: wrap; gap: 8px; }
.oc-subs .chip { padding: 7px 13px; font-size: .85rem; }
.oc-subs .chip.hit { border-style: solid; border-color: var(--red); background: #fff4f4; }
.oc-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.oc-empty .icon { width: 40px; height: 40px; color: var(--gold); }
.oc-empty[hidden] { display: none; }
/* ---------- About BNI: maps beside the figures (globe, India, Gujarat) ---------- */
.geo-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: clamp(28px, 5vw, 56px); }
.geo-row.rev .geo-map { order: 2; }
.geo-map { position: relative; aspect-ratio: 1; border-radius: 32px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(92,10,20,.55); isolation: isolate; }
.geo-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.geo-map > svg path, .geo-map > svg circle, .geo-map > svg text { transition: opacity .3s; }
.geo-space { background:
    radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 78% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 88% 64%, #ffe7a6 50%, transparent 51%), radial-gradient(1px 1px at 22% 82%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 46% 6%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 6% 52%, #ffe7a6 50%, transparent 51%),
    radial-gradient(1px 1px at 64% 92%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 94% 34%, #fff 50%, transparent 51%),
    radial-gradient(ellipse at 50% 45%, #4a0a14 0%, #1d0408 60%, #0d0204 100%); cursor: grab; }
.geo-space.grab { cursor: grabbing; }
.geo-land { background: radial-gradient(ellipse at 30% 20%, #fff 0%, #fff8f0 55%, #f8eadb 100%); border: 1px solid #f0e2d0; }
.geo-tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    background: rgba(255,255,255,.92); color: var(--ink); font: 600 .82rem var(--font-body); box-shadow: 0 8px 20px -10px rgba(0,0,0,.35); }
.geo-tag .icon { width: 16px; height: 16px; color: var(--red); }
.geo-hint { position: absolute; right: 16px; bottom: 20px; z-index: 2; font-size: .75rem; color: rgba(255,255,255,.55); letter-spacing: .08em; text-transform: uppercase; }

.geo-sphere { stroke: rgba(255,255,255,.25); stroke-width: 1; }
.geo-grat { fill: none; stroke: rgba(155,20,34,.14); stroke-width: .6; }
.geo-globe-land { stroke: rgba(255,255,255,.55); stroke-width: .5; }
.geo-arc { fill: none; stroke: #ffcc4d; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 5 7; animation: geoFlow 1.4s linear infinite; filter: drop-shadow(0 0 3px rgba(255,204,77,.8)); }
@keyframes geoFlow { to { stroke-dashoffset: -24; } }
.geo-city { fill: #fff; stroke: #cf2030; stroke-width: 1.6; }

.geo-pulse .dot { fill: #cf2030; stroke: #fff; stroke-width: 2; }
.geo-pulse .ring { fill: none; stroke: #cf2030; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: geoPing 2.2s ease-out infinite; }
.geo-pulse .ring.r2 { animation-delay: 1.1s; }
.geo-pulse.home .dot { fill: #ffcc4d; stroke: #cf2030; stroke-width: 2.5; }
.geo-pulse.home .ring { stroke: #ffcc4d; stroke-width: 2; }
.geo-pulse.small .dot { fill: #e9c46a; stroke: #fff; stroke-width: 1.2; }
.geo-pulse.small .ring { stroke: #e9c46a; stroke-width: 1; }
@keyframes geoPing { from { transform: scale(.35); opacity: .95; } to { transform: scale(1.25); opacity: 0; } }

.geo-state { fill: #f6e3d3; stroke: none; transition: filter .25s; }
.geo-state:hover { filter: brightness(.94); }
.geo-state.home { fill: #cf2030; }
.geo-borders { fill: none; stroke: #8f1320; stroke-width: .7; stroke-opacity: .55; stroke-linejoin: round; }
.geo-outline { fill: none; stroke: #8f1320; stroke-width: 1.3; stroke-linejoin: round; }
.geo-label.state { font: 600 10.5px var(--font-body); fill: #5a2a22; stroke: rgba(255,250,244,.85); stroke-width: 3px; }
.geo-label.state.code { font-weight: 700; letter-spacing: .04em; }
.geo-label.state.tiny { font-size: 9px; }
.geo-label.state.home { fill: #fff; stroke: rgba(120,10,20,.55); font-weight: 700; }
.geo-district { fill: #fdf3ea; stroke: none; transition: fill .25s; }
.geo-district:hover { fill: #f8e2d0; }
.geo-district.home { fill: #cf2030; }
.geo-district-borders { fill: none; stroke: #d9a7a0; stroke-width: .7; stroke-linejoin: round; }
.geo-state-border { fill: none; stroke: #cf2030; stroke-width: 2.6; stroke-linejoin: round; filter: drop-shadow(0 4px 8px rgba(207,32,48,.3)); }
.geo-map.ready .geo-state-border { stroke-dasharray: 3000; stroke-dashoffset: 3000; animation: geoDraw 2.6s .2s var(--ease) forwards; }
@keyframes geoDraw { to { stroke-dashoffset: 0; } }
.geo-label.district { font: 500 8.5px var(--font-body); fill: #a07a6c; stroke: rgba(253,243,234,.9); stroke-width: 2.5px; }
.geo-label.town { font: 700 15px var(--font-body); fill: #8f1320; stroke: #fff; stroke-width: 4px; }
.geo-label.town.main { font: 700 18px var(--font-display); }
.geo-leader { stroke: #8f1320; stroke-width: 1.1; stroke-dasharray: 3 3; }
.geo-map.ready .geo-states .geo-state, .geo-map.ready .geo-states .geo-district { animation: geoState .7s var(--ease) both; }
@keyframes geoState { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.geo-map.ready .geo-cities .geo-pulse { animation: geoFade .6s ease both; }
@keyframes geoFade { from { opacity: 0; } to { opacity: 1; } }
.geo-sea { fill: #e9f2f6; }
.geo-region { fill: rgba(207,32,48,.08); stroke: #cf2030; stroke-width: 1.6; stroke-dasharray: 6 6; animation: geoFlow 2.4s linear infinite; }
.geo-label { font: 600 13px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 4px; stroke-linejoin: round; }
.geo-label.strong { font: 700 15px var(--font-display); fill: #fff; stroke: rgba(120,10,20,.5); stroke-width: 3px; letter-spacing: .04em; }
.geo-label.strong.big { font-size: 26px; }
.geo-label.sea { font: italic 500 14px var(--font-script); fill: #5f8aa0; stroke: none; letter-spacing: .12em; }
.geo-label.city { font-size: 15px; }
.geo-label.city.main { font: 700 18px var(--font-display); fill: var(--red-700, #8f1320); }
.geo-label.caption { font: 600 12px var(--font-body); letter-spacing: .14em; text-transform: uppercase; fill: var(--red); stroke: none; }
.geo-callout line { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.geo-callout text { font: 600 13px var(--font-body); fill: var(--red-700, #8f1320); paint-order: stroke; stroke: #fff; stroke-width: 4px; }
.geo-map:not(.ready) > svg { opacity: 0; }
.geo-map.ready > svg { opacity: 1; transition: opacity .6s; }

.geo-body h3 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 6px 0 8px; }
.geo-body > p { color: var(--muted); margin: 0 0 20px; text-align: justify; }
.geo-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.geo-kicker::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.geo-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.geo-stat { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 18px; border-radius: 20px; background: #fff;
    border: 1px solid #f0e2d0; box-shadow: 0 14px 34px -26px rgba(92,10,20,.4); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.geo-stat::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 4px; border-radius: 0 4px 4px 0; background: linear-gradient(var(--red), var(--gold)); }
.geo-stat:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -24px rgba(92,10,20,.45); }
.geo-stat .ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red-50); color: var(--red); }
.geo-stat .ic .icon { width: 24px; height: 24px; }
.geo-stat b { font: 700 clamp(1.25rem, 2.2vw, 1.65rem)/1.15 var(--font-display); color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.geo-stat small { color: var(--muted); font-size: .82rem; line-height: 1.3; }
@media (max-width: 900px) {
    .geo-row, .geo-row.rev { grid-template-columns: 1fr; }
    .geo-row.rev .geo-map { order: 0; }
    .geo-map { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 420px) {
    .geo-stats { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .geo-arc, .geo-region, .geo-pulse .ring { animation: none; }
}

@media (max-width: 640px) {
    .oc-tools { grid-template-columns: 1fr; }
    .oc-card { padding: 16px; border-radius: 18px; }
}

/* ---------- Phones: form fields at 16px (iPhone zooms the page into any smaller field) and
   no label smaller than 12px. ---------- */
@media (max-width: 768px) {
    input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), select, textarea { font-size: 16px !important; }
    .person-role, .mcard-ribbon, .mcard .pin-dot, .pin-dot, .meeting-body .type { font-size: 12px; }
}

/* ---------- Phones: reading comfort ----------
   Justified text leaves big holes between words on a narrow screen, so paragraphs are left-aligned there;
   text-heavy cards take the full width; icons sit above their text instead of beside it; the floating
   WhatsApp / back-to-top buttons are smaller and never cover the footer's last line. */
@media (max-width: 640px) {
    .justify p, p.justify, .vm-card p, .feature p, .step p, .card .text p, .text p, .geo-body > p { text-align: left; }
    .grid.c3:has(> .feature), .grid.c4:has(> .feature) { grid-template-columns: 1fr; }
    .feature .no { font-size: 2rem; top: 14px; right: 16px; }
    .vm-card { flex-direction: column; gap: 12px; padding: 18px; }
    .vm-card:hover { transform: none; }
    .value-card { flex-direction: column; gap: 10px; padding: 16px; }
    .value-card .ic { width: 46px; height: 46px; }
    .float-actions { gap: 8px; right: 12px; bottom: 12px; }
    .float-actions a, .float-actions button { width: 46px; height: 46px; }
    .float-actions .wa .icon { width: 24px; height: 24px; }
    .footer-bottom { padding-bottom: 72px; }
}

/* ---------- Profile: formatted About / journey, General Ask, proud customers ---------- */
.text.rich > :first-child { margin-top: 0; }
.text.rich p { margin: 0 0 .9em; }
.text.rich h2, .text.rich h3, .text.rich h4 { font-family: var(--font-display); color: var(--red-700); margin: 1.1em 0 .45em; line-height: 1.3; }
.text.rich h2 { font-size: 1.25rem; } .text.rich h3 { font-size: 1.1rem; }
.text.rich ul, .text.rich ol { margin: 0 0 1em; padding-left: 1.4em; }
.text.rich ul { list-style: none; padding-left: 0; }
.text.rich ul li { position: relative; padding-left: 1.5em; margin-bottom: .35em; }
.text.rich ul li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .5em; height: .5em; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--gold)); }
.text.rich ol li { margin-bottom: .35em; padding-left: .2em; }
.text.rich ol li::marker { color: var(--red); font-weight: 700; }
.text.rich blockquote { margin: 1em 0; padding: .8em 1.1em; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 12px 12px 0; font-family: var(--font-script); font-style: italic; font-size: 1.15em; color: var(--ink-2); }
.text.rich a { color: var(--red); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold-200); text-underline-offset: 3px; }
.text.rich p.ql-align-center, .text.rich .ql-align-center { text-align: center; } .text.rich p.ql-align-right, .text.rich .ql-align-right { text-align: right; } .text.rich p.ql-align-justify { text-align: justify; }
.text.rich .ql-indent-1 { padding-left: 3em; } .text.rich .ql-indent-2 { padding-left: 6em; } .text.rich .ql-indent-3 { padding-left: 9em; }

.ask-intro { color: var(--muted); margin: -4px 0 14px; }
.ask-list { list-style: none; counter-reset: ask; margin: 0; padding: 0; display: grid; gap: 10px; }
.ask-list li { counter-increment: ask; position: relative; padding: 12px 14px 12px 54px; border-radius: 14px; background: linear-gradient(90deg, var(--red-50), #fff 70%); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.ask-list li::before { content: counter(ask); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-700)); color: #fff; font-weight: 700; font-size: .85rem; box-shadow: 0 6px 12px -6px rgba(207, 32, 48, .8); }
.ask-list li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }

.cust-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.cust { position: relative; display: grid; place-items: center; gap: 8px; height: 130px; padding: 16px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .3s; }
.cust img { max-width: 100%; max-height: 72px; width: auto; object-fit: contain; filter: grayscale(.25); transition: filter .3s, transform .4s var(--ease); }
.cust span { font-size: .78rem; font-weight: 600; text-align: center; line-height: 1.25; color: var(--muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cust:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-200); }
.cust:hover img { filter: none; transform: scale(1.06); }
a.cust::after { content: "↗"; position: absolute; top: 8px; right: 10px; font-size: .8rem; color: var(--gold-600); opacity: 0; transform: translate(-4px, 4px); transition: .3s var(--ease); }
a.cust:hover::after { opacity: 1; transform: none; }
@media (max-width: 520px) { .cust-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cust { height: 112px; } }
.self-edit { margin: 14px 0 0; font-size: .85rem; color: var(--muted); } .self-edit a { color: var(--red); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.cust.nologo { background: linear-gradient(160deg, #fff, var(--cream)); }
.cust-mono { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-700)); color: #fff; font: 700 1.05rem var(--font-display); box-shadow: 0 8px 16px -8px rgba(207, 32, 48, .7); transition: transform .4s var(--ease); }
.cust.nologo span { color: var(--ink); font-size: .85rem; white-space: normal; }
.cust.nologo:hover .cust-mono { transform: scale(1.08) rotate(-6deg); }

/* ---------- Inquiry Now ---------- */
.inquiry-btn { animation: inqPulse 2.6s ease-in-out infinite; }
@keyframes inqPulse { 0%, 100% { box-shadow: 0 10px 24px -10px rgba(168, 131, 47, .8); } 50% { box-shadow: 0 0 0 8px rgba(201, 162, 75, .25), 0 10px 24px -10px rgba(168, 131, 47, .8); } }
.inq-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: end center; background: rgba(29, 26, 30, 0); transition: background .25s; }
.inq-modal[hidden] { display: none; }
.inq-modal.on { background: rgba(29, 26, 30, .6); }
.inq-box { position: relative; width: 100%; max-width: 560px; max-height: 100dvh; overflow-y: auto; background: #fff; border-radius: 26px 26px 0 0; padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); transform: translateY(40px); opacity: 0; transition: transform .35s var(--ease), opacity .3s; }
.inq-modal.on .inq-box { transform: none; opacity: 1; }
.inq-box::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--red), var(--gold), var(--red)); }
.inq-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 12px; background: var(--cream); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: .2s; }
.inq-close:hover { background: var(--red); color: #fff; }
.inq-head { display: flex; gap: 14px; align-items: center; margin: 4px 40px 18px 0; }
.inq-photo { width: 58px; height: 58px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--gold)); color: #fff; font-weight: 700; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--gold-200); }
.inq-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.inq-kicker { font-family: var(--font-script); font-style: italic; color: var(--gold-600); font-size: 1.05rem; }
.inq-head h3 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.inq-head small { color: var(--muted); }
.inq-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 16px; }
.inq-grid label { display: grid; gap: 5px; }
.inq-grid label > span { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.inq-grid label > span b { color: var(--red); }
.inq-grid input, .inq-grid textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 16px/1.5 var(--font-body); color: var(--ink); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s; }
.inq-grid textarea { resize: vertical; min-height: 100px; }
.inq-grid input:focus, .inq-grid textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px rgba(207, 32, 48, .1); }
.inq-form .btn.block { width: 100%; justify-content: center; }
.inq-form .btn.busy { opacity: .7; pointer-events: none; }
.inq-note { display: block; text-align: center; color: var(--muted); margin-top: 10px; font-size: .8rem; }
.inq-err { background: var(--red-50); color: var(--red-700); padding: 10px 14px; border-radius: 12px; font-size: .9rem; margin: 0 0 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.inq-done { text-align: center; padding: 10px 0 6px; }
.inq-done h4 { font-family: var(--font-display); font-size: 1.35rem; margin: 10px 0 6px; }
.inq-done p { color: var(--muted); margin: 0 0 16px; }
.inq-tick { display: inline-grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #2fae63; color: #fff; font-size: 30px; box-shadow: 0 14px 26px -12px rgba(47, 174, 99, .8); }
.inq-tick .icon { stroke-width: 3; }
.inq-done.pop { animation: inqPop .45s var(--ease); }
@keyframes inqPop { from { transform: scale(.9); opacity: 0; } }
@media (min-width: 600px) {
    .inq-modal { place-items: center; padding: 20px; }
    .inq-box { border-radius: 24px; padding: 28px 28px 24px; max-height: calc(100dvh - 40px); }
    .inq-grid { grid-template-columns: 1fr 1fr; }
    .inq-grid .wide { grid-column: 1 / -1; }
}
.inquiry-side { width: 100%; justify-content: center; margin: 0 0 16px; }
