/* ==========================================================
   ವಿಶ್ವಾಸ — modern theme
   Colours come from content.js → settings.primaryColor / accentColor
   ========================================================== */
:root {
  --primary: #1F6670;
  --accent: #EE7A1B;
  --deep: #0B2E33;
  --ink: #10272B;
  --muted: #5B6E71;
  --bg: #F7F5F0;
  --soft: #EEF3F1;
  --card: #fff;
  --line: rgba(16, 39, 43, .09);
  --r: 28px;
  --shadow: 0 1px 2px rgba(11, 46, 51, .05), 0 18px 40px -18px rgba(11, 46, 51, .22);
  --display: "Anek Kannada", "Noto Sans Kannada", system-ui, sans-serif;
  --body: "Noto Sans Kannada", "Anek Kannada", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: .75em 1.4em; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.3; border: 2px solid transparent; cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, color .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .i { transform: translateX(3px); }
.btn .i { transition: transform .25s; }
.btn-lg { font-size: 1.1rem; padding: .9em 1.8em; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -12px var(--accent); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-wa { background: #25D366; color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
.btn.wide { width: 100%; }

/* ---------- Floating nav ---------- */
.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; pointer-events: none; }
.nav-bar { pointer-events: auto; width: min(1200px, 100% - 24px); margin: auto; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid rgba(255, 255, 255, .8); box-shadow: 0 8px 30px -14px rgba(11, 46, 51, .25); transition: box-shadow .3s, background .3s; }
.nav-wrap.scrolled .nav-bar { background: rgba(255, 255, 255, .9); box-shadow: 0 14px 40px -16px rgba(11, 46, 51, .35); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #fff, 0 4px 14px -4px rgba(0, 0, 0, .35); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-weight: 800; font-size: 1.45rem; color: var(--deep); }
.brand-text small { font-size: .78rem; color: var(--accent); font-weight: 700; }
.brand.light strong { color: #fff; }
.brand.light small { color: #ffb57a; }
.nav { margin-left: auto; display: flex; gap: 2px; }
.nav a { padding: 8px 16px; border-radius: 999px; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: #34494d; transition: background .2s, color .2s; }
.nav a:hover { background: var(--soft); color: var(--primary); }
.nav-cta { padding: .65em 1.3em; }
.lang-btn { font-family: var(--display); font-weight: 700; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 150px 0 0; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(16, 39, 43, .12) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%); }
.mesh i { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; }
.mesh .m1 { width: 520px; height: 520px; background: #7cc9cf; top: -160px; right: -80px; animation: float 16s ease-in-out infinite alternate; }
.mesh .m2 { width: 420px; height: 420px; background: #ffc08a; top: 120px; left: -160px; animation: float 20s ease-in-out infinite alternate-reverse; }
.mesh .m3 { width: 300px; height: 300px; background: #ffd9b8; bottom: 40px; right: 30%; opacity: .5; animation: float 18s ease-in-out infinite alternate; }
@keyframes float { to { transform: translate(40px, 30px) scale(1.08); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-bottom: 80px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: #34494d; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .2); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 2s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.hero h1 { font-size: clamp(2.9rem, 6.6vw, 5.7rem); font-weight: 800; line-height: 1.12; margin: 26px 0 22px; letter-spacing: -.01em; }
.hero h1 span { display: block; }
.hero h1 .l1 { color: var(--deep); }
.hero h1 .l2 { background: linear-gradient(100deg, var(--accent) 10%, #f59e0b 45%, var(--primary) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .08em; }
.lead { font-size: 1.2rem; color: #3f5558; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .92rem; }
.trust .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--primary); color: #fff; stroke-width: 3; }

/* Bento */
.bento { display: grid; grid-template-columns: 1.1fr 1fr; grid-auto-rows: auto; gap: 16px; }
.b-gold, .b-status { min-height: 160px; }
.b { position: relative; border-radius: var(--r); padding: 22px; overflow: hidden; display: flex; flex-direction: column; gap: 4px; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.b:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow); }
.b b { font-family: var(--display); font-size: 1.3rem; line-height: 1.3; }
.b small { font-size: .92rem; opacity: .85; line-height: 1.45; }
.b-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: auto; }
.b-fd { grid-row: span 2; color: #fff; background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--primary) 60%, #4fd1c5) 0%, transparent 55%), linear-gradient(160deg, var(--primary), var(--deep)); box-shadow: 0 30px 60px -28px var(--deep); padding: 26px; }
.b-top { display: flex; align-items: center; gap: 10px; }
.b-logo { width: 48px; height: 48px; border-radius: 14px; background: #fff; padding: 3px; object-fit: contain; }
.chip-l { font-size: .9rem; font-weight: 600; background: rgba(255, 255, 255, .14); padding: 4px 12px; border-radius: 999px; line-height: 1.4; }
.b-rate { margin-top: auto; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.b-rate b { font-size: clamp(3.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.b-rate sup { font-size: .45em; margin-left: 2px; color: #ffb57a; }
.b-rate > span { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: #ffb57a; }
.b-fd p { margin: 6px 0 70px; font-size: .95rem; opacity: .85; position: relative; z-index: 1; }
.spark { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; }
.b-gold { background: linear-gradient(150deg, #f59e0b, var(--accent)); color: #fff; }
.b-gold .b-ico { background: rgba(255, 255, 255, .2); }
.b-status { background: #fff; border: 1px solid var(--line); }
.status-dot { width: 14px; height: 14px; border-radius: 50%; background: #22c55e; margin-bottom: auto; box-shadow: 0 0 0 6px rgba(34, 197, 94, .18); }
.status-dot.break { background: #f59e0b; box-shadow: 0 0 0 6px rgba(245, 158, 11, .18); }
.status-dot.closed { background: #ef4444; box-shadow: 0 0 0 6px rgba(239, 68, 68, .15); }
.b-status small { color: var(--muted); }
.b-call { grid-column: span 2; flex-direction: row; align-items: center; gap: 14px; background: var(--ink); color: #fff; min-height: 0; }
.b-call .b-ico { background: var(--accent); margin: 0; }
.b-call small { order: 3; margin-left: auto; background: rgba(255, 255, 255, .1); padding: 6px 14px; border-radius: 999px; opacity: 1; font-weight: 700; }
.b-call b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }

/* Ticker */
.ticker { position: relative; background: var(--deep); color: #fff; padding: 16px 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: scroll 40s linear infinite; font-family: var(--display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.ticker-track span { display: inline-flex; align-items: center; }
.ticker-track span::after { content: "✦"; color: var(--accent); margin: 0 28px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section.soft { background: var(--soft); }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 13%, transparent); color: #c25a05; font-family: var(--display); font-weight: 700; font-size: .95rem; margin-bottom: 14px; }
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.kicker.light { background: rgba(255, 255, 255, .12); color: #ffc896; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; color: var(--deep); line-height: 1.22; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.head-row h2 { max-width: 680px; }
.head-row.center { justify-content: center; text-align: center; }
.head-row.center h2 { margin-inline: auto; }

/* Segmented control */
.seg { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.seg button { border: 0; background: none; padding: 8px 20px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--muted); cursor: pointer; transition: .25s; }
.seg button.active { background: var(--deep); color: #fff; }
.seg.light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .15); margin-top: 8px; }
.seg.light button { color: #cfe3e2; }
.seg.light button.active { background: var(--accent); color: #fff; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media > img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 36px; box-shadow: var(--shadow); background: #111; transform: rotate(-2deg); }
.seal { position: absolute; right: -36px; bottom: 50px; width: 160px; height: 160px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.seal text { font-family: var(--display); font-weight: 700; font-size: 17px; fill: var(--deep); letter-spacing: 1px; }
.seal img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-copy > p { font-size: 1.08rem; color: #3f5558; }
.values { display: grid; gap: 12px; margin-top: 28px; }
.value { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.value:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.value b { display: block; font-family: var(--display); font-size: 1.2rem; color: var(--deep); line-height: 1.3; }
.value small { color: var(--muted); font-size: .95rem; }
.v-ico { width: 50px; height: 50px; flex: none; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; color: #fff; background: linear-gradient(140deg, var(--primary), var(--deep)); }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 18px; }
.svc { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s, border-color .35s; min-height: 230px; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc .s-ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.5rem; background: var(--soft); color: var(--primary); margin-bottom: 10px; transition: .35s; }
.svc[data-group="loan"] .s-ico { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.svc:hover .s-ico { transform: rotate(-8deg) scale(1.08); }
.svc h3 { font-size: 1.4rem; color: var(--deep); }
.svc p { color: var(--muted); margin: 0; }
.svc .tag { position: absolute; top: 22px; right: 22px; font-size: .8rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--soft); color: var(--primary); }
.svc[data-group="loan"] .tag { background: color-mix(in srgb, var(--accent) 12%, #fff); color: #c25a05; }
.svc.feat { grid-column: span 2; background: linear-gradient(150deg, var(--primary), var(--deep)); color: #fff; border: 0; justify-content: flex-end; }
.svc.feat[data-group="loan"] { background: linear-gradient(150deg, #f59e0b, var(--accent) 60%, #c2410c); }
.svc.feat h3 { color: #fff; font-size: 1.9rem; }
.svc.feat p { color: rgba(255, 255, 255, .85); max-width: 440px; font-size: 1.05rem; }
.svc.feat .s-ico, .svc.feat[data-group="loan"] .s-ico { background: rgba(255, 255, 255, .16); color: #fff; margin-bottom: auto; }
.svc.feat .tag, .svc.feat[data-group="loan"] .tag { background: rgba(255, 255, 255, .16); color: #fff; }
.svc.feat::after { content: ""; position: absolute; width: 260px; height: 260px; right: -70px; bottom: -110px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.svc.hide { display: none; }
.svc-cta { background: var(--ink); color: #fff; border: 0; justify-content: space-between; }
.svc-cta h3 { color: #fff; }
.svc-cta .btn { align-self: flex-start; }

/* Rates */
.rates { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; }
.rate-card { background: #fff; border-radius: var(--r); padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rate-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; color: var(--deep); margin-bottom: 18px; }
.rate-card h3 small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.h-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--primary); font-size: 1.2rem; }
.dep-row { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.dep-row:last-child { border-bottom: 0; }
.dr-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dr-top > span { font-weight: 600; }
.num { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; }
.num::after { content: "%"; font-size: .7em; opacity: .7; margin-left: 1px; }
.dr-top .num { font-size: 1.6rem; color: var(--primary); line-height: 1.2; }
.dr-bar { height: 8px; border-radius: 99px; background: var(--soft); margin: 8px 0; overflow: hidden; }
.dr-bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: 99px; background: linear-gradient(90deg, var(--primary), #3fb7c2); transform-origin: left; animation: grow 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleX(0); } }
.sr { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: #c25a05; background: color-mix(in srgb, var(--accent) 10%, #fff); padding: 2px 12px; border-radius: 999px; font-weight: 600; }
.sr .num { font-size: 1rem; }
.rate-card.dark { background: linear-gradient(160deg, var(--deep), #071d20); color: #fff; border: 0; }
.rate-card.dark h3 { color: #fff; }
.rate-card.dark h3 small { color: #9fbfbd; }
.rate-card.dark .h-ico { background: rgba(255, 255, 255, .1); color: #ffb57a; }
.loan-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.loan-row .num { font-size: 1.1rem; background: var(--accent); color: #fff; padding: 4px 14px; border-radius: 999px; }
.note { display: flex; gap: 10px; margin: 20px 0 0; font-size: .88rem; color: #9fbfbd; line-height: 1.6; }
.note .i { color: #ffb57a; margin-top: 3px; }
.note b { color: #fff; }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: st; }
.steps::before { content: ""; position: absolute; top: 58px; left: 16%; right: 16%; border-top: 2px dashed color-mix(in srgb, var(--primary) 35%, transparent); }
.step { position: relative; background: #fff; border-radius: var(--r); padding: 30px 26px; text-align: center; border: 1px solid var(--line); transition: .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step .st-n { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.6rem; font-weight: 800; color: #fff; background: linear-gradient(140deg, var(--accent), #f59e0b); box-shadow: 0 0 0 8px var(--soft), 0 10px 20px -8px var(--accent); }
.step h3 { font-size: 1.35rem; color: var(--deep); margin-bottom: 6px; }
.step p { color: var(--muted); margin: 0; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 56px; border-radius: 40px; color: #fff; background: radial-gradient(80% 90% at 100% 100%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 60%), linear-gradient(150deg, var(--primary), var(--deep)); position: relative; overflow: hidden; }
.calc h2 { color: #fff; margin-bottom: 10px; }
.field { display: block; margin-top: 26px; }
.field > span { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; color: #d6e8e7; margin-bottom: 10px; }
.field output { font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: #fff; background: rgba(255, 255, 255, .12); padding: 2px 14px; border-radius: 10px; font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 8px; border-radius: 99px; outline: none; background: linear-gradient(to right, var(--accent) var(--p, 50%), rgba(255, 255, 255, .18) var(--p, 50%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--accent); cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 6px solid var(--accent); cursor: pointer; }
.calc-out { background: #fff; color: var(--ink); border-radius: 32px; padding: 32px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .5); }
.donut { --a: 50%; width: min(250px, 100%); aspect-ratio: 1; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) 0 var(--a), var(--primary) var(--a) 100%); transition: --a .4s; }
.donut > div { width: 74%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; padding: 10px; }
.donut small { color: var(--muted); font-weight: 600; line-height: 1.3; }
.donut b { font-family: var(--display); font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; color: var(--deep); font-variant-numeric: tabular-nums; line-height: 1.3; }
.legend { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.legend > div { background: var(--soft); border-radius: 16px; padding: 12px 14px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.lg-a { background: var(--primary); }
.lg-b { background: var(--accent); }
.legend small { color: var(--muted); font-size: .85rem; }
.legend b { display: block; font-family: var(--display); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.tiny { font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* Why */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why-item { background: #fff; border-radius: var(--r); padding: 30px 24px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: .35s; }
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-item .w-ico { width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: linear-gradient(140deg, var(--primary), var(--deep)); margin-bottom: 18px; }
.why-item:nth-child(even) .w-ico { background: linear-gradient(140deg, #f59e0b, var(--accent)); }
.why-item h3 { font-size: 1.3rem; color: var(--deep); margin-bottom: 4px; }
.why-item p { color: var(--muted); margin: 0; }
.why-item .wn { position: absolute; right: 18px; top: 8px; font-family: var(--display); font-weight: 800; font-size: 3.4rem; color: var(--soft); line-height: 1.2; }

/* Directors */

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 52px; border-radius: 40px; background: radial-gradient(70% 80% at 0% 0%, color-mix(in srgb, var(--primary) 70%, transparent), transparent 70%), var(--deep); color: #fff; }
.contact h2 { color: #fff; margin-bottom: 24px; }
.ci { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ci small { color: #9fbfbd; font-weight: 600; font-size: .85rem; }
.ci p { margin: 0; font-weight: 600; font-size: 1.05rem; }
.ci .muted { color: #9fbfbd; font-weight: 500; font-size: .95rem; }
.ci-ico { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #ffb57a; font-size: 1.2rem; }
.ci-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.form { background: #fff; color: var(--ink); border-radius: 30px; padding: 32px; display: grid; gap: 14px; align-self: start; }
.form h3 { font-size: 1.6rem; color: var(--deep); }
.form > p { margin: -8px 0 4px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; color: #34494d; }
.form input, .form select, .form textarea { font: inherit; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); width: 100%; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 15%, transparent); background: #fff; }
.map { margin-top: 22px; height: 340px; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.footer { background: var(--deep); color: #9fbfbd; padding-top: 70px; overflow: hidden; }
.footer-in { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 40px; }
.footer p { margin-top: 14px; }
.footer h4 { color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.footer-in > div > a:not(.brand) { display: block; padding: 3px 0; transition: color .2s; }
.footer a:hover { color: #fff; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 24vw, 20rem); line-height: 1; text-align: center; margin: 40px 0 -0.25em; background: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.copy { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .88rem; text-align: center; }

/* Floating WhatsApp + mobile dock */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7); animation: wa 2.4s infinite; }
@keyframes wa { 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.dock { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .8, .2, 1), transform .9s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav { position: fixed; top: 84px; left: 12px; right: 12px; flex-direction: column; padding: 10px; border-radius: 26px; background: #fff; box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .25s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 18px; font-size: 1.1rem; }
  .burger { display: flex; }
  .nav-cta { margin-left: auto; }
  .hero-grid, .about, .rates, .calc, .contact { grid-template-columns: 1fr; }
  .hero-grid { gap: 40px; }
  .about { gap: 56px; }
  .about-media { max-width: 480px; margin: auto; }
  .seal { right: -10px; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .nav-cta { display: none; }
  .burger { margin-left: auto; }
  .hero { padding-top: 116px; }
  .hero h1 { margin-top: 18px; }
  .lead { font-size: 1.08rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .b { padding: 18px; border-radius: 22px; }
  .b-fd { grid-column: span 2; grid-row: auto; }
  .b-fd p { margin-bottom: 60px; }
  .b-call b { font-size: 1.1rem; }
  .b-call small { display: none; }
  .section { padding: 76px 0; }
  .svc-grid, .why, .steps { grid-template-columns: 1fr; }
  .svc.feat { grid-column: auto; }
  .steps::before { display: none; }
  .calc, .contact { padding: 26px 20px; border-radius: 30px; }
  .calc-out, .form { padding: 22px; border-radius: 24px; }
  .seal { width: 120px; height: 120px; right: 0; bottom: 20px; }
  .seal text { font-size: 16px; }
  .seal img { width: 48px; height: 48px; }
  .footer-in { grid-template-columns: 1fr; }
  .wa-float { display: none; }
  .dock { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45; padding: 6px; gap: 6px; border-radius: 22px; background: rgba(11, 46, 51, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .5); }
  .dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 16px; color: #fff; font-family: var(--display); font-weight: 700; font-size: .85rem; line-height: 1.3; }
  .dock a .i { font-size: 1.25rem; }
  .dock a.wa { background: #25D366; }
  body { padding-bottom: 84px; }
}

/* ===== Edit mode (index.html?edit) ===== */
.edit-bar { position: fixed; z-index: 1000; left: 50%; bottom: 16px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 24px); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; background: #101b1d; color: #fff; padding: 10px 12px; border-radius: 18px; box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .5); font-size: .88rem; }
.edit-bar b { padding: 0 8px; color: #ffc28c; }
.edit-bar button { font: inherit; font-weight: 700; border: 0; border-radius: 10px; padding: 8px 12px; cursor: pointer; background: #24363a; color: #fff; }
.edit-bar button.go { background: var(--accent); }
.edit-bar button:hover { filter: brightness(1.15); }
body.editing { padding-bottom: 90px; }
body.editing .wa-float, body.editing .dock { display: none; }
body.editing [data-k] { outline: 1.5px dashed color-mix(in srgb, var(--accent) 70%, transparent); outline-offset: 3px; border-radius: 4px; cursor: text; min-width: 1em; }
body.editing [data-k]:focus { outline: 2px solid var(--accent); background: rgba(238, 122, 27, .08); }
body.editing [data-img], body.editing [data-src], body.editing [data-icon] { cursor: pointer; outline: 2px dashed #3fb7c2; outline-offset: 2px; }
body.editing [data-section].off { opacity: .35; }
body.editing .reveal { opacity: 1; transform: none; }
.ed-del { position: absolute; top: 10px; left: 10px; z-index: 5; width: 28px; height: 28px; border-radius: 50%; border: 0; background: #d33; color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.dep-row, .loan-row { position: relative; }
.dep-row .ed-del, .loan-row .ed-del { position: static; width: 24px; height: 24px; margin-top: 6px; }
.ed-add { display: block; margin: 18px auto 0; font: inherit; font-weight: 700; border: 2px dashed var(--accent); color: var(--accent); background: transparent; padding: 10px 20px; border-radius: 12px; cursor: pointer; }
.ed-panel { position: fixed; z-index: 1001; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; color: var(--ink); box-shadow: -20px 0 50px rgba(0, 0, 0, .25); padding: 24px; overflow-y: auto; transform: translateX(105%); transition: transform .3s; }
.ed-panel.open { transform: none; }
.ed-panel h3 { font-size: 1.4rem; margin-bottom: 4px; color: var(--deep); }
.ed-panel .hint { color: var(--muted); font-size: .88rem; }
.ed-panel label { display: grid; gap: 4px; margin: 12px 0; font-weight: 600; font-size: .9rem; }
.ed-panel input[type=text], .ed-panel select { font: inherit; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; }
.ed-panel input[type=color] { width: 60px; height: 38px; border: 0; padding: 0; background: none; }
.ed-panel .row { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-weight: 600; font-size: .92rem; }
.ed-panel .close { position: absolute; top: 14px; right: 14px; border: 0; background: var(--soft); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; }
.ed-panel ol { padding-left: 20px; font-size: .92rem; color: #3f5558; }
.ed-toast { position: fixed; z-index: 1002; top: 20px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 12px; font-weight: 600; box-shadow: var(--shadow); max-width: calc(100% - 32px); }
@media (max-width: 760px) {
  .edit-bar { left: 8px; right: 8px; width: auto; transform: none; justify-content: center; font-size: .78rem; padding: 8px; }
  .edit-bar button { padding: 6px 9px; }
  body.editing { padding-bottom: 150px; }
}

/* Branches */
.branches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.branch { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px; display: flex; flex-direction: column; gap: 6px; transition: transform .35s, box-shadow .35s; }
.branch:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.br-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.br-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.4rem; color: #fff; background: linear-gradient(140deg, #f59e0b, var(--accent)); }
.br-tag { font-size: .85rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: var(--soft); color: var(--primary); }
.branch h3 { font-size: 1.6rem; color: var(--deep); }
.br-addr { color: var(--muted); margin: 0 0 6px; font-size: .97rem; line-height: 1.65; }
.br-lines { display: grid; gap: 4px; margin-bottom: 14px; }
.br-line { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; word-break: break-all; }
.br-line .i { color: var(--accent); }
.br-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.btn-sm { font-size: .92rem; padding: .55em 1.1em; }
.btn-soft { background: var(--soft); color: var(--deep); }
.branch.main { background: linear-gradient(155deg, var(--primary), var(--deep)); color: #fff; border: 0; }
.branch.main h3 { color: #fff; }
.branch.main .br-addr { color: rgba(255, 255, 255, .78); }
.branch.main .br-tag { background: rgba(255, 255, 255, .15); color: #fff; }
.branch.main .br-line .i { color: #ffb57a; }
.branch.main .btn-soft { background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 1060px) { .branches { grid-template-columns: repeat(2, 1fr); } .branch.main { grid-column: 1 / -1; } }
@media (max-width: 680px) { .branches { grid-template-columns: 1fr; } }

/* Rates — schemes */
.dr-name { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-weight: 600; }
.dr-tag { font-size: .8rem; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: linear-gradient(90deg, #e0f2fe, #ede9fe); color: #4338ca; }
.dr-new { font-size: .72rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: #7c3aed; color: #fff; animation: ping-new 2s infinite; }
@keyframes ping-new { 50% { box-shadow: 0 0 0 5px rgba(124, 58, 237, .18); } }
.dep-row.is-new .dr-top .num { color: #6d28d9; }
.dep-row.is-new .dr-bar i { background: linear-gradient(90deg, #7c3aed, #c084fc); }
.dr-note { display: block; font-size: .85rem; color: #6d28d9; font-weight: 600; margin-bottom: 4px; }
.perk { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); font-weight: 600; font-size: .95rem; }
.perk b { font-family: var(--display); font-size: 1.25rem; color: #4ade80; white-space: nowrap; }
.perk.warn b { color: #fca5a5; }

/* Loan rates */
.loan-card { margin-top: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow); }
.loan-card h3 { display: flex; align-items: center; gap: 12px; font-size: 1.5rem; color: var(--deep); margin-bottom: 18px; }
.loan-card h3 small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.loan-card .h-ico { background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.loan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.loan-tile { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.loan-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; background: #fff; }
.lt-ico { width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; font-size: 1.15rem; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.lt-body { flex: 1; min-width: 0; line-height: 1.4; }
.lt-name { display: block; font-weight: 700; font-size: .98rem; }
.lt-note { display: block; font-size: .8rem; color: var(--muted); }
.loan-tile .num { font-size: 1.25rem; color: #c2410c; white-space: nowrap; }
@media (max-width: 1060px) { .loan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .loan-grid { grid-template-columns: 1fr; } .loan-card { padding: 22px 16px; } }
.ph-l { font-size: .82rem; font-weight: 700; padding: 1px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #ffb57a; margin-right: 4px; }
.branch:not(.main) .ph-l { background: var(--soft); color: var(--primary); }

/* Official name line (as on the society's letterhead) */
.org-line { font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 2.3vw, 1.7rem); line-height: 1.35; color: #7a1f2b; margin: 0 0 16px; letter-spacing: .01em; }
.org-line .org-place { color: #1e2a5a; }


/* Directors — photo card with name below */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px; }
.person { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 10px 10px 16px; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.person .ph { position: relative; aspect-ratio: 1 / 1.08; border-radius: 18px; overflow: hidden; background: linear-gradient(160deg, var(--soft), #dfe9e7); }
.person .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transition: transform .6s; }
.person:hover .ph img { transform: scale(1.05); }
.person .ph::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to top, rgba(11, 46, 51, .18), transparent); pointer-events: none; }
.person .meta { padding: 14px 6px 0; }
.person b { display: block; font-family: var(--display); font-size: 1.12rem; font-weight: 700; color: var(--deep); line-height: 1.35; min-height: 2.7em; display: flex; align-items: center; justify-content: center; }
.person small { display: inline-block; margin-top: 8px; padding: 2px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--soft); color: var(--primary); }
.person.lead { background: linear-gradient(170deg, #fff7ef, #fff 55%); border: 2px solid var(--accent); box-shadow: 0 18px 36px -20px var(--accent); }
.person.lead small { background: var(--accent); color: #fff; }
.ph-badge { position: absolute; top: 10px; right: 10px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.ph-badge .i { fill: currentColor; stroke-width: 1.5; }
@media (max-width: 680px) {
  .people { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .person { padding: 8px 8px 12px; border-radius: 20px; }
  .person .ph { border-radius: 14px; }
  .person b { font-size: .98rem; }
  .person small { font-size: .78rem; padding: 2px 10px; }
}
/* Leaders (President, Vice-President) on their own centered row */
.people { grid-template-columns: repeat(10, minmax(0, 1fr)); }
.people > .person { grid-column: span 2; }
.people > .person.lead:nth-child(1) { grid-column: 3 / span 3; }
.people > .person.lead:nth-child(2) { grid-column: 6 / span 3; }
.people > .person:nth-child(3) { grid-column: 1 / span 2; }
.person.lead b { font-size: 1.35rem; }
.person.lead small { font-size: .95rem; padding: 3px 18px; }
.people > .ed-add, .people > button { grid-column: 1 / -1; }
@media (max-width: 1060px) {
  .people { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .people > .person.lead:nth-child(1) { grid-column: 1 / span 3; }
  .people > .person.lead:nth-child(2) { grid-column: 4 / span 3; }
}
@media (max-width: 680px) {
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people > .person, .people > .person.lead:nth-child(1), .people > .person.lead:nth-child(2) { grid-column: auto; }
  .people > .person:nth-child(3) { grid-column: auto; }
  .person.lead b { font-size: 1.05rem; }
}
.person b { overflow-wrap: break-word; }

/* Events gallery */
.head-row .sub { color: var(--muted); margin: 8px 0 0; max-width: 620px; }
#galTabs { flex-wrap: wrap; border-radius: 22px; }
@media (max-width: 760px) {
  #galTabs { display: flex; flex-wrap: nowrap; max-width: 100%; overflow-x: auto; border-radius: 999px; scrollbar-width: none; }
  #galTabs::-webkit-scrollbar { display: none; }
  #galTabs button { flex: 0 0 auto; white-space: nowrap; padding: 8px 16px; }
}
.gallery { columns: 4 240px; column-gap: 16px; }
.gal-item { position: relative; break-inside: avoid; margin: 0 0 16px; border-radius: 22px; overflow: hidden; cursor: zoom-in; background: var(--soft); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: transform .35s, box-shadow .35s; }
.gal-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gal-item img { width: 100%; height: auto; display: block; transition: transform .6s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; background: linear-gradient(to top, rgba(11, 46, 51, .85), transparent); display: flex; flex-direction: column; gap: 2px; }
.gal-item figcaption b { font-family: var(--display); font-size: 1.05rem; line-height: 1.3; }
.gal-item figcaption small { font-size: .82rem; opacity: .85; }
.gal-item.hide { display: none; }
body.editing .gal-item { cursor: default; }
.lightbox { position: fixed; inset: 0; z-index: 900; background: rgba(5, 18, 20, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; animation: lbIn .25s; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); border-radius: 16px; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox figcaption { text-align: center; color: #fff; display: flex; flex-direction: column; gap: 2px; }
.lightbox figcaption b { font-family: var(--display); font-size: 1.25rem; }
.lightbox figcaption small { color: #9fbfbd; }
.lb-btn { position: absolute; border: 0; cursor: pointer; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lb-btn:hover { background: var(--accent); }
.lb-close { top: 16px; right: 16px; font-size: 1.3rem; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 680px) {
  .gallery { columns: 2; column-gap: 10px; }
  .gal-item { margin-bottom: 10px; border-radius: 16px; }
  .gal-item figcaption { padding: 28px 10px 10px; }
  .gal-item figcaption b { font-size: .9rem; }
  .lightbox { padding: 60px 8px 90px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}

/* ---------- Greeting of the day + finance thought ---------- */
.thought-band { padding: 56px 0 0; }
.thought { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr) auto; align-items: center; gap: 32px; padding: 34px 40px; border-radius: var(--r); color: #fff; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--primary) 85%, #fff 0%) 0%, var(--deep) 70%); box-shadow: var(--shadow); }
.thought::after { content: "“"; position: absolute; right: 26px; top: -46px; font: 800 13rem/1 Georgia, serif; color: rgba(255, 255, 255, .06); pointer-events: none; }
.th-greet { display: flex; align-items: center; gap: 16px; padding-right: 30px; border-right: 1px solid rgba(255, 255, 255, .14); }
.th-greet b { display: block; font-family: var(--display); font-size: 1.2rem; line-height: 1.35; color: #fff; }
.th-greet small { display: block; margin-top: 4px; color: #a9cbc8; font-size: .9rem; }
.th-sun { flex: 0 0 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd79a, var(--accent)); box-shadow: 0 0 0 8px rgba(238, 122, 27, .15), 0 0 40px rgba(238, 122, 27, .45); }
.thought.festive .th-greet b { color: #ffc896; }
.th-quote { margin: 0; position: relative; z-index: 1; }
.th-quote .kicker { margin-bottom: 10px; }
.th-quote blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.5; color: #fff; }
.th-quote figcaption { margin-top: 8px; color: #ffc896; font-weight: 600; font-size: .95rem; }
.th-share { position: relative; z-index: 1; background: #25D366; color: #fff; box-shadow: 0 12px 28px -12px #25D366; }
.th-share:hover { transform: translateY(-2px); }
@media (max-width: 900px) {
  .thought { grid-template-columns: 1fr; gap: 20px; padding: 26px 22px; }
  .th-greet { padding: 0 0 18px; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .th-greet b { font-size: 1.15rem; }
  .th-sun { flex-basis: 42px; height: 42px; }
  .th-share { justify-self: start; }
  .thought-band { padding-top: 36px; }
}
