/* ================================================================
   DESIGN TOKENS â€” DARK & LIGHT
================================================================ */
:root {
  --transition-theme: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  /* Readable on screen + Hindi (Devanagari); avoids thin display fonts for older readers */
  --font-sans: "Noto Sans", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;
}

[data-theme="dark"] {
  --bg-base:      #020B18;
  --bg-mid:       #071428;
  --bg-surface:   rgba(8,22,48,0.72);
  --bg-card:      rgba(10,26,52,0.8);
  --bg-hover:     rgba(0,212,255,0.06);
  --border:       rgba(255,255,255,0.08);
  --border-accent:rgba(0,212,255,0.2);
  --text-primary: #E8F4FD;
  --text-secondary:rgba(232,244,253,0.78);
  --text-muted:   rgba(232,244,253,0.5);
  --accent:       #00D4FF;
  --accent-2:     #00C4A0;
  --accent-gold:  #F5A623;
  --accent-danger:#FF5757;
  --shadow-card:  0 8px 32px rgba(0,0,0,0.5);
  --shadow-glow:  0 0 40px rgba(0,212,255,0.15);
  --nb-bg:        rgba(0,212,255,0.1);
  --nb-border:    rgba(0,212,255,0.2);
  --nb-text:      #00D4FF;
  --input-bg:     rgba(255,255,255,0.05);
  --scrollbar:    rgba(0,212,255,0.3);
}

[data-theme="light"] {
  --bg-base:      #F0F4F8;
  --bg-mid:       #E8EDF4;
  --bg-surface:   rgba(255,255,255,0.85);
  --bg-card:      rgba(255,255,255,0.95);
  --bg-hover:     rgba(0,100,200,0.05);
  --border:       rgba(0,0,0,0.08);
  --border-accent:rgba(0,100,200,0.25);
  --text-primary: #0A1628;
  --text-secondary:rgba(10,22,40,0.78);
  --text-muted:   rgba(10,22,40,0.52);
  --accent:       #0066CC;
  --accent-2:     #008B6E;
  --accent-gold:  #D4880A;
  --accent-danger:#E53535;
  --shadow-card:  0 4px 24px rgba(0,0,0,0.1);
  --shadow-glow:  0 4px 24px rgba(0,100,200,0.12);
  --nb-bg:        rgba(0,100,200,0.08);
  --nb-border:    rgba(0,100,200,0.2);
  --nb-text:      #0066CC;
  --input-bg:     rgba(0,0,0,0.04);
  --scrollbar:    rgba(0,100,200,0.3);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: var(--transition-theme);
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scrollbar); border-radius: 10px; }

/* ================================================================
   BG CANVAS
================================================================ */
#bg-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 1; transition: opacity 0.4s;
}
[data-theme="light"] #bg-canvas { opacity: 0.3; }

/* ================================================================
   UTILITIES
================================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.components-mount { display: contents; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2); border-radius: 100px; padding: 5px 14px;
  margin-bottom: 20px;
}
[data-theme="light"] .tag { background: rgba(0,100,200,0.08); border-color: rgba(0,100,200,0.2); }
.tag::before { content:''; width:6px; height:6px; background:var(--accent); border-radius:50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.section-title {
  font-family: var(--font-sans); font-size: clamp(30px,4.2vw,46px); font-weight: 800;
  line-height: 1.18; color: var(--text-primary); margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-sub { color: var(--text-secondary); font-size: 17px; max-width: 560px; line-height: 1.75; margin-bottom: 48px; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  padding: 14px 26px; border-radius: 100px; cursor: pointer; border: none;
  text-decoration: none; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn::after {
  content:''; position:absolute; inset:0; background:rgba(255,255,255,0.15);
  opacity:0; transition: opacity 0.2s;
}
.btn:hover::after { opacity:1; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 4px 20px rgba(0,212,255,0.25);
}
[data-theme="light"] .btn-primary { color: #fff; box-shadow: 0 4px 20px rgba(0,100,200,0.2); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,212,255,0.4); }

.btn-ghost {
  background: transparent; color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--border-accent); background: var(--bg-hover); }

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #e89a20);
  color: #fff; box-shadow: 0 4px 20px rgba(245,166,35,0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,166,35,0.4); }

.glass-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.reveal { opacity:0; transform:translateY(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity:1; transform:none; }
.reveal-left { opacity:0; transform:translateX(-28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-left.in { opacity:1; transform:none; }
.reveal-right { opacity:0; transform:translateX(28px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-right.in { opacity:1; transform:none; }

/* ================================================================
   NOTIFICATION BAR
================================================================ */
#notif-bar {
  position: relative; z-index: 200;
  background: var(--nb-bg); border-bottom: 1px solid var(--nb-border);
  padding: 10px 0; overflow: hidden;
}
.notif-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: nowrap;
}
.notif-badge {
  flex-shrink: 0;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  padding: 3px 10px; border-radius: 100px; text-transform: uppercase;
}
.notif-scroll { flex:1; overflow:hidden; }
.notif-track { display:flex; animation: notif-move 30s linear infinite; }
.notif-track:hover { animation-play-state: paused; }
.notif-item {
  white-space: nowrap; padding: 0 40px; font-size: 14px; color: var(--nb-text); font-weight: 500;
  display: flex; align-items: center; gap: 8px;
}
.notif-item a { color: inherit; text-decoration: underline; }
@keyframes notif-move { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.notif-close {
  flex-shrink:0; background:none; border:none; cursor:pointer;
  color: var(--text-muted); font-size: 18px; padding: 4px 8px; line-height:1;
}
.notif-close:hover { color: var(--text-primary); }

/* ================================================================
   NAVBAR
================================================================ */
#navbar {
  position: sticky; top: 0; z-index: 100;
  transition: all 0.3s ease;
}
#navbar.scrolled {
  background: var(--bg-surface); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border); box-shadow: 0 4px 32px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1200px; margin: 0 auto; padding: 0 24px;
}

.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img {
  width: 44px; height: 44px; object-fit: contain; border-radius: 12px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="dark"] .nav-logo-img {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.footer-logo-img {
  width: 48px; height: 48px; object-fit: contain; border-radius: 12px;
  flex-shrink: 0; border: 1px solid var(--border); background: var(--bg-surface);
}
.nav-logo-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink:0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-weight: 800; font-size: 14px; color: #fff;
}
.nav-logo-name { font-family: var(--font-sans); font-weight: 700; font-size: 16px; color: var(--text-primary); line-height: 1.15; }
.nav-logo-sub { font-size: 12px; color: var(--text-muted); line-height: 1.3; }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); font-size: 15px; font-weight: 500;
  text-decoration: none; padding: 7px 12px; border-radius: 8px; transition: all 0.2s;
}
.nav-links a:hover { color: var(--text-primary); background: var(--bg-hover); }
.nav-links a.nav-active {
  color: var(--accent);
  background: rgba(0,212,255,0.08);
  font-weight: 600;
}
[data-theme="light"] .nav-links a.nav-active {
  background: rgba(0,100,200,0.1);
}

.nav-right { display: flex; align-items: center; gap: 8px; }

.lang-switch, .mob-lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.mob-lang { margin-bottom: 4px; }
.lang-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.2;
}
.lang-btn:hover { color: var(--text-primary); background: var(--bg-hover); }
.lang-btn.lang-active {
  background: var(--accent);
  color: #fff;
}

/* Theme toggle */
.theme-toggle {
  width: 44px; height: 24px; border-radius: 100px; cursor: pointer; border: none;
  background: var(--border); position: relative; flex-shrink:0; transition: background 0.3s;
}
.theme-toggle::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  display: flex; align-items: center; justify-content: center;
}
[data-theme="light"] .theme-toggle::after { transform: translateX(20px); background: var(--accent); }
.theme-icon { font-size: 14px; position: absolute; top: 50%; transform: translateY(-50%); pointer-events: none; }
.theme-icon-moon { left: 5px; }
.theme-icon-sun { right: 5px; }

.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:8px; background:none; border:none; }
.hamburger span { display:block; width:22px; height:2px; background:var(--text-primary); border-radius:2px; transition:all 0.3s; }

@media(max-width:960px) {
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .nav-right .btn-ghost { display:none; }
  .nav-right .lang-switch { display:none; }
}

/* ================================================================
   MOBILE OVERLAY NAV
================================================================ */
#mob-nav {
  display:none; position:fixed; inset:0; z-index:999;
  background: var(--bg-base); backdrop-filter:blur(20px);
  flex-direction:column; align-items:center; justify-content:center; gap:24px;
}
#mob-nav.open { display:flex; }
#mob-nav a { font-family:var(--font-sans); font-size:24px; font-weight:700; color:var(--text-secondary); text-decoration:none; transition:color 0.2s; }
#mob-nav a:hover { color:var(--accent); }
#mob-close { position:absolute; top:20px; right:20px; font-size:24px; background:none; border:none; cursor:pointer; color:var(--text-muted); }
#mob-nav .mob-lang { position:absolute; top:20px; left:20px; margin:0; }

/* ================================================================
   HERO
================================================================ */
#hero {
  position: relative; z-index: 1;
  min-height: calc(100vh - 68px); padding: 80px 0 60px;
  display: flex; align-items: center;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.hero-title {
  font-family: var(--font-sans); font-size: clamp(36px,5.5vw,64px);
  font-weight: 800; line-height: 1.08; margin-bottom: 20px; color: var(--text-primary);
}
.hero-desc { font-size: 18px; color: var(--text-secondary); max-width: 480px; line-height: 1.75; margin-bottom: 36px; }
.hero-ctas { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:44px; }

.hero-trust { display:flex; gap:10px; flex-wrap:wrap; }
.trust-pill {
  display:flex; align-items:center; gap:7px;
  background: var(--bg-surface); border: 1px solid var(--border);
  border-radius:100px; padding: 7px 16px; font-size: 13px; font-weight: 500;
  color: var(--text-secondary); backdrop-filter:blur(12px);
}
.trust-pill .dot { width:6px; height:6px; border-radius:50%; background:var(--accent-2); }

/* Floating card */
.hero-visual { position:relative; }
.h-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 28px; backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: float-y 5s ease-in-out infinite;
}
@keyframes float-y { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

.hc-top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:22px; }
.hc-chip { width:38px; height:28px; border-radius:6px; background:linear-gradient(135deg,var(--accent-gold),#e8950a); box-shadow:0 2px 10px rgba(245,166,35,0.4); }
.hc-label { font-size:12px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.06em; }
.hc-name { font-family:var(--font-sans); font-weight:700; font-size:16px; color:var(--text-primary); margin-top:3px; }
.hc-amount { font-family:var(--font-mono); font-size:34px; font-weight:600; line-height:1; font-variant-numeric: tabular-nums; }
.hc-amount-label { font-size:12px; color:var(--text-muted); margin-bottom:6px; letter-spacing:0.05em; }
.hc-divider { height:1px; background:var(--border); margin:18px 0; }
.hc-row { display:flex; justify-content:space-between; }
.hc-stat-val { font-family:var(--font-mono); font-size:17px; font-weight:600; color:var(--accent); text-align:center; }
.hc-stat-key { font-size:12px; color:var(--text-muted); text-align:center; margin-top:3px; }

.mini-float {
  position:absolute; bottom:-16px; right:-20px;
  background: rgba(0,196,160,0.12); border: 1px solid rgba(0,196,160,0.3);
  border-radius:16px; backdrop-filter:blur(16px); padding:16px 20px; min-width:170px;
  animation: float-y 5s 1s ease-in-out infinite reverse;
}
[data-theme="light"] .mini-float { background: rgba(0,139,110,0.08); border-color: rgba(0,139,110,0.2); }
.mf-title { font-size:12px; color:var(--accent-2); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:4px; }
.mf-val { font-family:var(--font-mono); font-size:22px; font-weight:600; color:var(--text-primary); font-variant-numeric: tabular-nums; }
.mf-sub { font-size:12px; color:var(--text-muted); }
.mf-badge { display:inline-block; margin-top:8px; background:rgba(0,196,160,0.2); color:var(--accent-2); border-radius:100px; font-size:12px; padding:4px 11px; font-weight:600; }

@media(max-width:900px) { .hero-grid { grid-template-columns:1fr; } .hero-visual { display:none; } }

/* ================================================================
   MARQUEE / NOTICES
================================================================ */
#marquee-bar {
  position:relative; z-index:1;
  background: rgba(0,212,255,0.04); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 12px 0; overflow: hidden;
}
[data-theme="light"] #marquee-bar { background: rgba(0,100,200,0.04); }
.mq-label {
  position:absolute; left:0; top:0; bottom:0; z-index:2;
  display:flex; align-items:center; padding:0 18px;
  background: linear-gradient(90deg, var(--bg-mid) 65%, transparent);
  font-family:var(--font-mono); font-size:11px; font-weight:600;
  color:var(--accent); letter-spacing:0.08em; gap:7px; white-space:nowrap;
}
.mq-label::before { content:''; width:6px; height:6px; background:var(--accent); border-radius:50%; animation:blink 1.5s infinite; }
.mq-track { display:flex; animation: mq-scroll 40s linear infinite; padding-left:120px; }
.mq-track:hover { animation-play-state:paused; }
.mq-item { white-space:nowrap; padding:0 44px; font-size:14px; color:var(--text-secondary); display:flex; align-items:center; gap:8px; }
.mq-item a { color:var(--accent); text-decoration:none; }
.mq-item a:hover { text-decoration:underline; }
.mq-dot { color:var(--accent); opacity:0.4; }
@keyframes mq-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ================================================================
   SECTION SHARED
================================================================ */
.section { position:relative; z-index:1; padding: 96px 0; }
.section-divider { height:1px; background:linear-gradient(90deg,transparent,var(--border),transparent); }

/* ================================================================
   SERVICES
================================================================ */
.svc-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.svc-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px; cursor:pointer;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1); position:relative; overflow:hidden;
}
.svc-card::before {
  content:''; position:absolute; inset:0; border-radius:inherit;
  background: linear-gradient(135deg, rgba(0,212,255,0.06), transparent 60%);
  opacity:0; transition: opacity 0.3s; pointer-events:none; z-index:0;
}
.svc-card:hover { border-color: var(--border-accent); transform: translateY(-5px); box-shadow: var(--shadow-glow); }
.svc-card:hover::before { opacity:1; }

.svc-icon { width:48px; height:48px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:18px; }
.svc-card h3 { font-family:var(--font-sans); font-weight:700; font-size:18px; margin-bottom:8px; color:var(--text-primary); }
.svc-card p { font-size:15px; color:var(--text-secondary); line-height:1.65; margin-bottom:16px; }
.svc-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:18px; }
.svc-tag { font-size:12px; background:var(--bg-hover); border:1px solid var(--border); color:var(--text-secondary); border-radius:6px; padding:4px 11px; }
a.svc-tag {
  text-decoration:none; cursor:pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
a.svc-tag:hover { border-color: var(--border-accent); color: var(--accent); background: var(--bg-card); }
.svc-card-overlay {
  position:absolute; inset:0; z-index:1; border-radius:inherit;
  text-indent:-9999px; overflow:hidden; outline:none;
}
.svc-card-inner { position:relative; z-index:2; pointer-events:none; }
.svc-card-inner .svc-tags a,
.svc-card-inner .svc-link { pointer-events:auto; }
.svc-link { font-size:14px; font-weight:600; color:var(--accent); text-decoration:none; display:inline-flex; align-items:center; gap:5px; transition:gap 0.2s; }
.svc-link:hover { gap:9px; }

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

/* ================================================================
   STATS
================================================================ */
#stats { background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(0,196,160,0.04)); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.stat-item { padding:32px 20px; text-align:center; border-right:1px solid var(--border); }
.stat-item:last-child { border-right:none; }
.stat-num {
  font-family:var(--font-mono); font-size:clamp(30px,4vw,46px); font-weight:600; line-height:1;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.stat-label { font-size:14px; color:var(--text-secondary); margin-top:6px; font-weight:500; }
.stat-sub { font-size:12px; color:var(--text-muted); margin-top:3px; }
@media(max-width:680px) { .stats-grid { grid-template-columns:1fr 1fr; } .stat-item { border-right:none; border-bottom:1px solid var(--border); } .stat-item:last-child { border-bottom:none; } }

/* ================================================================
   ABOUT
================================================================ */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.about-text blockquote {
  border-left: 2px solid var(--accent); padding: 14px 18px;
  background: var(--bg-hover); border-radius: 0 10px 10px 0;
  margin: 24px 0; font-size:14.5px; color:var(--text-secondary); font-style:italic; line-height:1.7;
}
.founder-card {
  display:flex; align-items:center; gap:14px; background:var(--bg-surface);
  border:1px solid var(--border); border-radius:14px; padding:14px 18px; margin-top:24px;
}
.founder-av { width:46px; height:46px; border-radius:50%; background:linear-gradient(135deg,var(--accent-gold),#e8950a); display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.founder-name { font-family:var(--font-sans); font-weight:700; font-size:14px; color:var(--text-primary); }
.founder-role { font-size:12px; color:var(--text-muted); }

.about-highlights { display:flex; flex-direction:column; gap:14px; }
.hl-card { display:flex; gap:14px; background:var(--bg-card); border:1px solid var(--border); border-radius:14px; padding:20px; transition:all 0.25s; }
.hl-card:hover { border-color:var(--border-accent); background:var(--bg-hover); }
.hl-ico { font-size:24px; flex-shrink:0; }
.hl-title { font-weight:600; font-size:15px; color:var(--text-primary); margin-bottom:4px; }
.hl-desc { font-size:14px; color:var(--text-secondary); line-height:1.6; }
@media(max-width:900px) { .about-grid { grid-template-columns:1fr; gap:48px; } }

/* ================================================================
   LOAN CALCULATOR
================================================================ */
#calculator { background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,212,255,0.05), transparent 70%); }
.calc-wrap { max-width: 780px; margin: 0 auto; }
.calc-card { background:var(--bg-card); border:1px solid var(--border); border-radius:24px; padding:40px; }
.calc-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-bottom:28px; }
.calc-group label { font-size:13px; font-weight:600; color:var(--text-secondary); text-transform:uppercase; letter-spacing:0.05em; display:block; margin-bottom:8px; }
.calc-input-wrap { position:relative; }
.calc-prefix { position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:15px; color:var(--text-muted); font-family:var(--font-mono); }
input[type="number"], input[type="range"] { width:100%; }
input[type="number"] {
  background: var(--input-bg); border:1px solid var(--border); color:var(--text-primary);
  border-radius:12px; padding: 12px 14px 12px 32px; font-size:15px; font-family:var(--font-mono);
  outline:none; transition: border-color 0.2s;
  -moz-appearance: textfield; appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance:none; }
input[type="number"]:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(0,212,255,0.1); }
input[type="range"] {
  -webkit-appearance:none; height:4px; background: var(--border); border-radius:4px; outline:none; margin-top:8px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance:none; width:18px; height:18px; background:var(--accent);
  border-radius:50%; cursor:pointer; box-shadow:0 0 8px rgba(0,212,255,0.4);
}
.range-labels { display:flex; justify-content:space-between; font-size:12px; color:var(--text-muted); font-family:var(--font-mono); margin-top:4px; }

.emi-result {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,196,160,0.06));
  border: 1px solid var(--border-accent); border-radius:16px; padding:28px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px; text-align:center;
}
.emi-val { font-family:var(--font-mono); font-size:clamp(18px,2.5vw,26px); font-weight:600; color:var(--accent); }
.emi-key { font-size:12px; color:var(--text-muted); margin-top:4px; }
.emi-divider { width:1px; background:var(--border); align-self:stretch; margin:0 auto; }
@media(max-width:600px) { .calc-grid{grid-template-columns:1fr;} .emi-result{grid-template-columns:1fr;} .emi-divider{display:none;height:1px;width:100%;} }

/* ================================================================
   DIGITAL / INTERNET BANKING
================================================================ */
.digital-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.d-features { display:flex; flex-direction:column; gap:14px; margin-top:24px; }
.d-feat { display:flex; gap:14px; background:var(--bg-card); border:1px solid var(--border); border-radius:14px; padding:18px; transition:all 0.25s; }
.d-feat:hover { border-color:var(--border-accent); }
.d-ico { font-size:22px; flex-shrink:0; }
.d-title { font-weight:600; font-size:15px; color:var(--text-primary); margin-bottom:3px; }
.d-desc { font-size:14px; color:var(--text-secondary); line-height:1.6; }

.ib-card { background:var(--bg-card); border:1px solid var(--border); border-radius:24px; padding:36px; text-align:center; }
.ib-ico { font-size:52px; margin-bottom:18px; }
.ib-title { font-family:var(--font-sans); font-weight:800; font-size:22px; margin-bottom:8px; }
.ib-desc { font-size:15px; color:var(--text-secondary); line-height:1.7; margin-bottom:24px; }
.ib-secure { font-size:12px; color:var(--text-muted); margin-top:12px; display:flex; align-items:center; justify-content:center; gap:5px; }
.ib-qr { margin: 18px auto 0; display:flex; flex-direction:column; align-items:center; gap:8px; }
.ib-qr-wrap { display:inline-block; padding:8px; border-radius:14px; background:#fff; border:1px solid var(--border); line-height:0; }
[data-theme="dark"] .ib-qr-wrap { background: var(--bg-surface); }
.ib-qr-wrap img { width: 120px; height:auto; display:block; }
.ib-qr-hint { font-size:12px; color:var(--text-muted); line-height:1.4; max-width:180px; }
@media(max-width:900px) { .digital-grid{grid-template-columns:1fr;} }

/* ================================================================
   BRANCH LOCATOR (home)
================================================================ */
#branches {}
.branch-home-wrap {
  border-radius: 24px;
  padding: 28px 24px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.branch-home-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: start;
}
@media (max-width: 960px) {
  .branch-home-inner {
    grid-template-columns: 1fr;
  }
}
.branch-map-col {
  position: relative;
}
.branch-map-placeholder {
  position: relative;
  height: min(300px, 42vw);
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 30% 40%, rgba(0, 212, 255, 0.14), transparent 55%),
    radial-gradient(ellipse 70% 50% at 75% 65%, rgba(0, 196, 160, 0.1), transparent 50%),
    linear-gradient(165deg, var(--bg-surface) 0%, var(--bg-card) 100%);
}
.bm-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.35) 1px, transparent 1px);
  background-size: 28px 28px;
}
.bm-shine {
  position: absolute;
  inset: -40% -20%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  animation: mapShine 8s ease-in-out infinite;
}
@keyframes mapShine {
  0%, 100% { transform: translateX(-8%) rotate(0deg); }
  50% { transform: translateX(8%) rotate(0deg); }
}
.map-pin {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.18);
  animation: pinPulse 2.4s ease-in-out infinite;
}
.map-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 14px;
  margin-left: -1px;
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.55), transparent);
}
.pin-1 { left: 22%; top: 38%; animation-delay: 0s; }
.pin-2 { left: 48%; top: 52%; animation-delay: 0.4s; }
.pin-3 { left: 68%; top: 34%; animation-delay: 0.8s; }
.pin-4 { left: 38%; top: 68%; animation-delay: 1.2s; }
.pin-5 { left: 58%; top: 22%; animation-delay: 1.6s; }
@keyframes pinPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}
.map-cta-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-family: var(--font-mono);
}
.branch-map-caption {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Scatter-style branch map (glowing pins + labels) */
.branch-map-placeholder.loc-scatter-board {
  height: min(380px, 52vw);
  min-height: 280px;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(0, 212, 255, 0.08), transparent 60%),
    linear-gradient(180deg, #e8eef4 0%, #dfe8f0 100%);
}
[data-theme="dark"] .branch-map-placeholder.loc-scatter-board {
  background:
    radial-gradient(ellipse 80% 60% at 40% 40%, rgba(0, 212, 255, 0.12), transparent 55%),
    linear-gradient(165deg, var(--bg-surface) 0%, var(--bg-card) 100%);
}
.loc-scatter-inner {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.loc-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}
.loc-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
}
.loc-marker--blue .loc-dot {
  background: #2563eb;
  box-shadow:
    0 0 0 3px rgba(37, 99, 235, 0.2),
    0 0 22px 5px rgba(37, 99, 235, 0.45);
}
.loc-marker--teal .loc-dot {
  background: #14b8a6;
  box-shadow:
    0 0 0 3px rgba(20, 184, 166, 0.22),
    0 0 22px 5px rgba(20, 184, 166, 0.42);
}
.loc-marker--amber .loc-dot {
  background: #f59e0b;
  box-shadow:
    0 0 0 3px rgba(245, 158, 11, 0.22),
    0 0 22px 5px rgba(245, 158, 11, 0.4);
}
.loc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  background: #fff;
  color: #1e3a5f;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.01em;
  padding: 7px 11px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(15, 40, 70, 0.14);
  pointer-events: auto;
}
[data-theme="dark"] .loc-tag {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.loc-pin {
  font-size: 10px;
  line-height: 1;
  filter: saturate(1.1);
}
.loc-scatter-cta {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  padding: 11px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(90deg, #2563eb, #0f766e);
  box-shadow: 0 8px 22px rgba(15, 60, 100, 0.38);
  pointer-events: auto;
  transition: filter 0.2s, transform 0.2s;
}
.loc-scatter-cta:hover {
  filter: brightness(1.07);
  transform: translateX(-50%) translateY(-1px);
}
.branch-home-cta {
  margin-top: 18px;
  text-align: center;
}
.branch-home-cta-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.branch-home-cta-link:hover {
  text-decoration: underline;
}

/* DICGC trust strip (home) */
.dicgc-trust-section {
  padding: 56px 0;
}
.dicgc-trust-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
@media (max-width: 720px) {
  .dicgc-trust-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .dicgc-trust-copy .section-title {
    text-align: center !important;
  }
  .dicgc-trust-qr {
    justify-self: center;
  }
}
.dicgc-trust-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 560px;
}
.dicgc-trust-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--accent);
  text-decoration: none;
}
.dicgc-trust-link:hover {
  text-decoration: underline;
}
.dicgc-qr-wrap {
  display: inline-block;
  padding: 10px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  line-height: 0;
  transition: box-shadow 0.2s, border-color 0.2s;
}
[data-theme="dark"] .dicgc-qr-wrap {
  background: var(--bg-surface);
}
.dicgc-qr-wrap:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}
.dicgc-qr-wrap img {
  width: min(176px, 42vw);
  height: auto;
  display: block;
}

/* Two QR codes inside the home Deposit Insurance card */
.dicgc-trust-qr--two {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.dicgc-qr-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dicgc-trust-qr--two .dicgc-qr-wrap {
  padding: 8px;
}
.dicgc-trust-qr--two .dicgc-qr-wrap img {
  width: 132px;
}
.dicgc-trust-qr--two .dicgc-qr-hint {
  max-width: 210px;
  margin-top: 8px;
}
@media (max-width: 720px) {
  .dicgc-trust-qr--two {
    flex-direction: column;
    align-items: center;
  }
}

/* Footer QR is intentionally smaller to avoid increasing footer height */
.footer-qr {
  margin-top: 12px;
}
.footer-explore-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.footer-qr--explore {
  margin-top: 0;
}
.footer-qr--explore .footer-qr-hint {
  font-size: 11px;
  max-width: 160px;
}
.footer-qr--explore .footer-qr-wrap img {
  width: 110px;
}
.footer-qr-wrap {
  padding: 6px;
}
.footer-qr-wrap img {
  width: 110px;
}
.footer-qr-hint {
  margin-top: 6px;
  max-width: 180px;
}

.footer-powered-link:hover {
  color: var(--accent) !important;
}
.dicgc-qr-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-muted);
  max-width: 200px;
  line-height: 1.45;
}
@media (max-width: 720px) {
  .dicgc-qr-hint {
    max-width: none;
  }
}

@media (min-width: 640px) {
  .branch-home-wrap {
    padding: 32px 32px 36px;
  }
}
#branches .loc-branches-panel-head {
  margin-bottom: 20px;
  padding-bottom: 14px;
}
.branch-list--home {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (max-width: 700px) {
  .branch-list--home {
    grid-template-columns: 1fr;
  }
}
#branches .branch-home-wrap .b-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px 20px 20px 24px;
  border-radius: 18px;
  overflow: hidden;
}
#branches .branch-home-wrap .b-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: 18px 0 0 18px;
}
.b-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.25s;
}
.b-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}
.b-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.b-hq {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.b-addr {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.b-phone-line {
  font-size: 13px;
  color: var(--accent);
  margin: 10px 0 0;
  line-height: 1.5;
}
.b-phone-line a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.b-phone-line a:hover {
  text-decoration: underline;
}
.b-note {
  font-size: 12px;
  color: var(--accent-2);
  font-weight: 600;
  margin: 8px 0 0;
}
#branches .branch-home-wrap .bc-dir {
  margin-top: 14px;
}
.branch-home-cta {
  margin-top: 28px;
  text-align: center;
}
.branch-list {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .branch-list {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   DOWNLOADS
================================================================ */
.dl-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.dl-card { background:var(--bg-card); border:1px solid var(--border); border-radius:16px; padding:22px; display:flex; gap:14px; align-items:flex-start; transition:all 0.25s; text-decoration:none; }
.dl-card:hover { border-color:var(--border-accent); transform:translateY(-3px); box-shadow:var(--shadow-glow); }
.dl-ico { width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.dl-name { font-size:14px; font-weight:600; color:var(--text-primary); margin-bottom:4px; }
.dl-type { font-size:12px; color:var(--text-muted); font-family:var(--font-mono); }
@media(max-width:700px) { .dl-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:460px) { .dl-grid{grid-template-columns:1fr;} }

/* Downloads page — rich cards (scoped so home #downloads links unchanged) */
#downloads-page {
  position: relative;
  z-index: 1;
}
#downloads-page .downloads-section h2 {
  font-family: var(--font-sans);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
#downloads-page .dl-grid {
  gap: 18px;
}
#downloads-page .dl-card {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 26px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  text-decoration: none;
}
#downloads-page .dl-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
#downloads-page .dl-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  background: linear-gradient(145deg, rgba(0,212,255,0.12), rgba(0,196,160,0.08));
  border: 1px solid var(--border);
  flex-shrink: 0;
}
[data-theme="light"] #downloads-page .dl-icon {
  background: linear-gradient(145deg, rgba(0,100,200,0.1), rgba(0,139,110,0.06));
}
#downloads-page .dl-info {
  flex: 1;
  min-width: min(100%, 220px);
}
#downloads-page .dl-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 6px;
  line-height: 1.35;
}
#downloads-page .dl-sub {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}
#downloads-page a.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 16px rgba(0,212,255,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  margin-left: auto;
}
[data-theme="light"] #downloads-page a.dl-btn {
  box-shadow: 0 4px 16px rgba(0,100,200,0.18);
}
#downloads-page a.dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,212,255,0.35);
  color: #fff !important;
}
#downloads-page a.dl-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  margin: 0;
}
@media (max-width: 640px) {
  #downloads-page a.dl-btn {
    width: 100%;
    margin-left: 0;
  }
}

/* ================================================================
   TESTIMONIALS
================================================================ */
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.testi-card { background:var(--bg-card); border:1px solid var(--border); border-radius:18px; padding:24px; transition:all 0.25s; }
.testi-card:hover { border-color:var(--border-accent); }
.testi-stars { color:var(--accent-gold); font-size:14px; margin-bottom:12px; }
.testi-text { font-size:15px; color:var(--text-secondary); line-height:1.7; margin-bottom:18px; font-style:italic; }
.testi-author { display:flex; align-items:center; gap:10px; }
.testi-av { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; flex-shrink:0; }
.testi-name { font-size:14px; font-weight:600; color:var(--text-primary); }
.testi-since { font-size:12px; color:var(--text-muted); }
@media(max-width:800px) { .testi-grid{grid-template-columns:1fr;} }

/* ================================================================
   RATES CTA
================================================================ */
.rates-box {
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,196,160,0.06));
  border: 1px solid var(--border-accent); border-radius:24px; padding:52px;
  display:flex; justify-content:space-between; align-items:center; gap:36px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.rates-box::before { content:''; position:absolute; top:-60px; right:-60px; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle,rgba(0,212,255,0.1),transparent 70%); }
.rates-box h2 { font-family:var(--font-sans); font-size:clamp(20px,3vw,32px); font-weight:800; margin-bottom:8px; }
.rates-box p { color:var(--text-secondary); font-size:16px; line-height:1.65; }
.rates-actions { display:flex; gap:12px; flex-wrap:wrap; flex-shrink:0; }

/* ================================================================
   CONTACT
================================================================ */
.contact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.ct-card { background:var(--bg-card); border:1px solid var(--border); border-radius:18px; padding:28px; transition:all 0.25s; }
.ct-card:hover { border-color:var(--border-accent); }
.ct-card--plain {
  border-radius: 10px;
  padding: 22px 20px;
  background: var(--bg-surface);
  box-shadow: none;
}
.ct-card--plain:hover {
  border-color: var(--border);
  box-shadow: none;
}
.ct-ico--plain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 20px;
  background: transparent;
  border: 1px solid var(--border);
  opacity: 0.95;
  margin-bottom: 12px;
}
.ct-ico { font-size:30px; margin-bottom:14px; }
.ct-card h4 { font-family:var(--font-sans); font-weight:700; font-size:15px; color:var(--text-primary); margin-bottom:10px; }
.ct-label { font-size:12px; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.06em; margin-bottom:4px; margin-top:10px; }
.ct-card p, .ct-card a { font-size:14px; color:var(--text-secondary); line-height:1.65; text-decoration:none; display:block; }
.ct-card a:hover { color:var(--accent); }
@media(max-width:900px) { .contact-grid{grid-template-columns:1fr;} }

/* ================================================================
   FOOTER
================================================================ */
#footer { background: rgba(0,0,0,0.25); border-top:1px solid var(--border); padding:60px 0 28px; position:relative; z-index:1; }
[data-theme="light"] #footer { background: rgba(0,0,0,0.04); }
.footer-grid { display:grid; grid-template-columns:2fr 0.7fr 1fr 1fr 1fr; gap:44px; margin-bottom:40px; }
.footer-tagline { font-size:14px; color:var(--text-secondary); line-height:1.7; margin:12px 0 18px; }
.dicgc-box { background:rgba(245,166,35,0.08); border:1px solid rgba(245,166,35,0.2); border-radius:10px; padding:12px 14px; font-size:13px; color:rgba(245,166,35,0.9); line-height:1.55; display:flex; gap:8px; }
.footer-col h5 { font-family:var(--font-sans); font-size:13px; font-weight:700; color:var(--text-primary); text-transform:uppercase; letter-spacing:0.07em; margin-bottom:14px; }
.footer-col ul { list-style:none; display:flex; flex-direction:column; gap:9px; }
.footer-col ul a { font-size:14px; color:var(--text-secondary); text-decoration:none; transition:color 0.2s; }
.footer-col ul a:hover { color:var(--accent); }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; padding-top:20px; border-top:1px solid var(--border); flex-wrap:wrap; gap:12px; }
.footer-copy { font-size:13px; color:var(--text-muted); }
@media(max-width:900px) { .footer-grid{grid-template-columns:1fr 1fr;} }
@media(max-width:500px) { .footer-grid{grid-template-columns:1fr;} }

/* Keep QR compact when it sits in its own footer column */
.footer-qr-col { padding-top: 6px; padding-left: 12px; }
.footer-qr { margin: 0; }
.footer-qr-hint { margin-top: 8px; }

/* ================================================================
   CHATBOT
================================================================ */
#chat-fab {
  position:fixed; bottom:28px; right:28px; z-index:500;
  width:56px; height:56px; border-radius:50%; border:none; cursor:pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 24px rgba(0,212,255,0.4); font-size:22px;
  display:flex; align-items:center; justify-content:center; transition:all 0.3s;
}
#chat-fab:hover { transform:scale(1.08); box-shadow: 0 8px 32px rgba(0,212,255,0.5); }
.chat-notif {
  position:absolute; top:-6px; right:-4px; width:18px; height:18px; border-radius:50%;
  background:var(--accent-danger); color:#fff; font-size:10px; font-weight:700;
  display:flex; align-items:center; justify-content:center; border:2px solid var(--bg-base);
  animation:blink 2s infinite;
}

#chat-window {
  position:fixed; bottom:96px; right:28px; z-index:500; width:360px;
  background:var(--bg-card); border:1px solid var(--border); border-radius:20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4); display:none; flex-direction:column;
  overflow:hidden; transition:var(--transition-theme);
  max-height: 520px;
}
#chat-window.open { display:flex; animation: chat-pop 0.25s cubic-bezier(0.4,0,0.2,1); }
@keyframes chat-pop { from{opacity:0;transform:translateY(16px) scale(0.97)} to{opacity:1;transform:none} }

.chat-head {
  display:flex; align-items:center; gap:12px; padding:16px 18px;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(0,196,160,0.08));
  border-bottom:1px solid var(--border); flex-shrink:0;
}
.chat-av { width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,var(--accent),var(--accent-2)); display:flex; align-items:center; justify-content:center; font-size:17px; }
.chat-hname { font-family:var(--font-sans); font-weight:700; font-size:14px; color:var(--text-primary); }
.chat-hstatus { font-size:12px; color:var(--accent-2); display:flex; align-items:center; gap:4px; }
.chat-hstatus::before { content:''; width:6px; height:6px; background:var(--accent-2); border-radius:50%; animation:blink 2s infinite; }
.chat-hclose { margin-left:auto; background:none; border:none; cursor:pointer; color:var(--text-muted); font-size:18px; }

.chat-body { flex:1; overflow-y:auto; padding:16px; display:flex; flex-direction:column; gap:12px; }
.chat-msg { max-width:82%; padding:10px 14px; border-radius:14px; font-size:15px; line-height:1.6; }
.chat-msg.bot { background:var(--bg-surface); color:var(--text-primary); border:1px solid var(--border); align-self:flex-start; border-bottom-left-radius:4px; }
.chat-msg.user { background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.chat-msg.typing { display:flex; align-items:center; gap:4px; padding: 12px 16px; }
.dot-typing { width:6px; height:6px; border-radius:50%; background:var(--text-muted); animation: typing-bounce 1.2s ease-in-out infinite; }
.dot-typing:nth-child(2) { animation-delay:0.2s; }
.dot-typing:nth-child(3) { animation-delay:0.4s; }
@keyframes typing-bounce { 0%,60%,100%{transform:translateY(0);opacity:0.4} 30%{transform:translateY(-6px);opacity:1} }

.chat-faqs { padding:0 16px 12px; display:flex; flex-wrap:wrap; gap:6px; flex-shrink:0; }
.chat-faq { background:var(--bg-hover); border:1px solid var(--border); border-radius:100px; padding:5px 12px; font-size:12px; color:var(--accent); cursor:pointer; transition:all 0.2s; white-space:nowrap; }
.chat-faq:hover { background:rgba(0,212,255,0.1); border-color:var(--border-accent); }

.chat-foot { display:flex; gap:8px; padding:12px 14px; border-top:1px solid var(--border); flex-shrink:0; }
#chat-input {
  flex:1; background:var(--input-bg); border:1px solid var(--border); color:var(--text-primary);
  border-radius:100px; padding:10px 18px; font-size:15px; outline:none; font-family:var(--font-sans);
  transition: border-color 0.2s;
}
#chat-input:focus { border-color:var(--accent); }
#chat-input::placeholder { color:var(--text-muted); }
#chat-send { background:linear-gradient(135deg,var(--accent),var(--accent-2)); border:none; border-radius:50%; width:36px; height:36px; cursor:pointer; font-size:15px; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:all 0.2s; }
#chat-send:hover:not(:disabled) { transform:scale(1.08); }
#chat-send:disabled { opacity:0.55; cursor:not-allowed; transform:none; }

@media(max-width:400px) { #chat-window{width:calc(100vw - 32px); right:16px; bottom:88px;} #chat-fab{right:16px; bottom:16px;} }

/* ================================================================
   SCROLL TO TOP
================================================================ */
#to-top {
  position:fixed; bottom:96px; right:28px; z-index:400; width:40px; height:40px; border-radius:50%;
  background:var(--bg-card); border:1px solid var(--border); cursor:pointer; font-size:16px;
  display:flex; align-items:center; justify-content:center; color:var(--text-secondary);
  opacity:0; transform:translateY(10px); transition:all 0.3s;
}
#to-top.vis { opacity:1; transform:none; }
#to-top:hover { border-color:var(--border-accent); color:var(--accent); }

/* Section bg alternation for light */
[data-theme="light"] .section:nth-child(even) { background: rgba(0,0,0,0.02); }

/* ================================================================
   INNER PAGES / ABOUT
================================================================ */
.page-main { position: relative; z-index: 1; min-height: 52vh; }

.page-hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% -10%, rgba(0,212,255,0.12), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(0,196,160,0.08), transparent 45%);
  pointer-events: none;
  z-index: 0;
}
[data-theme="light"] .page-hero::before {
  background:
    radial-gradient(ellipse 80% 60% at 15% -10%, rgba(0,100,200,0.14), transparent 50%),
    radial-gradient(ellipse 60% 50% at 92% 15%, rgba(0,139,110,0.1), transparent 45%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-kicker {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.page-title {
  font-family: var(--font-sans);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800; line-height: 1.08; margin-bottom: 16px;
  color: var(--text-primary);
}
.page-lead {
  font-size: 18px; color: var(--text-secondary);
  max-width: 580px; line-height: 1.75;
}

.about-story {
  padding: 88px 0;
  position: relative;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 960px) {
  .about-story-grid { grid-template-columns: 1fr; gap: 48px; }
}

.story-quote-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 36px;
  margin: 28px 0;
  position: relative;
  box-shadow: var(--shadow-card);
}
.story-quote-wrap::before {
  content: '"';
  position: absolute;
  top: 8px; left: 20px;
  font-family: var(--font-sans); font-size: 72px; font-weight: 800;
  line-height: 1; color: var(--accent); opacity: 0.2;
}
.story-quote {
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.75;
  color: var(--text-primary);
  font-style: italic;
  padding-top: 20px;
  position: relative;
}

.founder-spotlight {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,196,160,0.06));
  border: 1px solid var(--border-accent);
  margin-top: 28px;
}
[data-theme="light"] .founder-spotlight {
  background: linear-gradient(135deg, rgba(0,100,200,0.09), rgba(0,139,110,0.06));
}
.founder-spotlight-ico {
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-gold), #d4880a);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(245,166,35,0.25);
}
.founder-spotlight h3 {
  font-family: var(--font-sans); font-weight: 700; font-size: 18px;
  margin-bottom: 4px; color: var(--text-primary);
}
.founder-spotlight p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

.pillars-grid {
  display: grid;
  gap: 16px;
}
.pillar-card {
  display: flex; gap: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.pillar-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.pillar-emoji {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
  background: var(--bg-hover);
  border: 1px solid var(--border);
}
.pillar-card h4 {
  font-family: var(--font-sans); font-size: 16px; font-weight: 700;
  margin-bottom: 6px; color: var(--text-primary);
}
.pillar-card p {
  font-size: 15px; color: var(--text-secondary); line-height: 1.65;
}

.board-section {
  padding: 88px 0 100px;
  background: linear-gradient(180deg, transparent, rgba(0,212,255,0.04));
  border-top: 1px solid var(--border);
}
[data-theme="light"] .board-section {
  background: linear-gradient(180deg, transparent, rgba(0,100,200,0.04));
}
.board-head { text-align: center; margin-bottom: 48px; }
.board-date {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent); font-weight: 600;
  padding: 6px 14px; border-radius: 100px;
  border: 1px solid var(--border-accent);
  background: var(--bg-surface);
}

.directors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .directors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .directors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .directors-grid { grid-template-columns: 1fr; } }

.director-card {
  position: relative;
  border-radius: 20px;
  padding: 22px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.director-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0.85;
}
.director-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}
.director-av {
  width: 48px; height: 48px; border-radius: 14px;
  font-family: var(--font-sans); font-weight: 800; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.director-av--photo {
  padding: 0;
  overflow: hidden;
  background: var(--bg-hover);
}
.director-av--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Profile / board — large photo cards */
.director-card--profile {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.director-card--profile::before {
  z-index: 1;
  border-radius: 20px 20px 0 0;
}
.director-card--profile .director-av {
  width: 100%;
  margin: 0;
  border-radius: 0;
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
  min-height: 200px;
  max-height: none;
  height: auto;
}
/* Show full portrait without cropping faces (contain inside padded frame) */
.director-card--profile .director-av--photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  box-sizing: border-box;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-hover) 100%);
  overflow: hidden;
}
.director-card--profile .director-av--photo img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(300px, 55vw);
  object-fit: contain;
  object-position: center top;
}
.director-card--profile .director-name {
  padding: 18px 20px 0;
  margin-bottom: 6px;
}
.director-card--profile .director-role {
  padding: 0 20px;
  margin-bottom: 12px;
  min-height: 0;
}
.director-card--profile .director-phone {
  margin: 0 20px 20px;
  align-self: flex-start;
}
.board-official {
  margin: 12px 0 0;
  font-size: 14px;
}
.board-official a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.board-official a:hover {
  text-decoration: underline;
}
.director-name {
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  color: var(--text-primary); line-height: 1.25; margin-bottom: 6px;
}
.director-role {
  font-size: 13px; color: var(--accent-2); font-weight: 600;
  margin-bottom: 14px; min-height: 2.4em;
}
.director-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 12px; border-radius: 10px;
  background: var(--bg-hover); border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.director-phone:hover { color: var(--accent); border-color: var(--border-accent); }

.placeholder-block {
  padding: 100px 0 120px; text-align: center;
}
.placeholder-block h1 {
  font-family: var(--font-sans); font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 12px;
}
.placeholder-block p { color: var(--text-secondary); margin-bottom: 24px; }

.home-about-teaser {
  padding: 72px 0;
  position: relative;
  z-index: 1;
}
.teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 52px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--bg-card), var(--bg-surface));
  box-shadow: var(--shadow-card);
}
@media (max-width: 900px) { .teaser-inner { grid-template-columns: 1fr; padding: 36px 28px; } }
.teaser-inner h2 {
  font-family: var(--font-sans); font-size: clamp(24px, 3vw, 34px);
  font-weight: 800; margin-bottom: 14px;
}
.teaser-inner p { color: var(--text-secondary); font-size: 15px; line-height: 1.75; margin-bottom: 20px; }

/* ================================================================
   SERVICES PAGE (detailed)
================================================================ */
#services-page {
  position: relative;
  z-index: 1;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px 26px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  box-shadow: var(--shadow-card);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
  outline: none;
}
.service-card-inner {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.service-card-inner a {
  pointer-events: auto;
}
.service-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.service-card h3 {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.35;
  flex-wrap: wrap;
}
.service-card h3 img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.service-list li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.service-list li a:hover {
  color: var(--accent);
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.cyber-security-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 32px 36px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(0,196,160,0.07));
  border: 1px solid var(--border-accent);
}
[data-theme="light"] .cyber-security-banner {
  background: linear-gradient(135deg, rgba(0,100,200,0.1), rgba(0,139,110,0.06));
}
.cyber-security-banner h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}
.cyber-security-banner p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0;
}
a.cyber-btn {
  flex-shrink: 0;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 4px 20px rgba(0,212,255,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
a.cyber-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,212,255,0.35);
  color: #fff !important;
}
[data-theme="light"] a.cyber-btn {
  box-shadow: 0 4px 20px rgba(0,100,200,0.2);
}

/* ================================================================
   RATES & CHARGES PAGE
================================================================ */
#rates-page {
  position: relative;
  z-index: 1;
}
.rc-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.rc-tab {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.rc-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-accent);
  background: var(--bg-hover);
}
.rc-tab.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(0,212,255,0.25);
}
[data-theme="light"] .rc-tab.active {
  box-shadow: 0 4px 18px rgba(0,100,200,0.2);
}
.rc-content {
  display: none;
}
.rc-content.active {
  display: block;
}
.rates-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s;
}
.rates-table-wrap:hover {
  border-color: rgba(0,212,255,0.15);
}
.rt-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(90deg, rgba(0,212,255,0.12), rgba(0,196,160,0.06));
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
[data-theme="light"] .rt-header {
  background: linear-gradient(90deg, rgba(0,100,200,0.1), rgba(0,139,110,0.05));
}
.rt-header span:first-child {
  font-size: 1.25rem;
  line-height: 1;
}
.rt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.rt-table th {
  text-align: left;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.rt-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}
.rt-table tbody tr:last-child td {
  border-bottom: none;
}
.rt-table tbody tr:hover td {
  background: var(--bg-hover);
}
.rt-val {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: normal;
}
.rt-val-acc {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
  font-size: 14px;
}
.rt-sub {
  display: block;
  font-size: 11px;
  font-weight: 400;
  font-family: var(--font-sans);
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}
a.rt-pdf {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
a.rt-pdf:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
a.rt-pdf img {
  width: 24px;
  height: 24px;
  margin: 0;
  object-fit: contain;
}

/* ================================================================
   CONTACT PAGE
================================================================ */
#contact-page {
  position: relative;
  z-index: 1;
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 80px;
}
.contact-cards-grid--pro {
  gap: 22px;
}
/* Contact page — polished channel cards */
.contact-card-pro {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow:
    0 2px 8px rgba(0, 40, 80, 0.06),
    0 12px 40px rgba(0, 60, 120, 0.08);
  transition: transform 0.28s ease, border-color 0.28s, box-shadow 0.28s;
}
[data-theme="dark"] .contact-card-pro {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}
.contact-card-pro:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow:
    0 4px 16px rgba(0, 80, 160, 0.1),
    0 20px 48px rgba(0, 100, 180, 0.12);
}
.contact-card-pro__accent {
  height: 5px;
  background: linear-gradient(90deg, #0ea5e9, #06b6d4 45%, #059669);
  opacity: 0.95;
}
.contact-card-pro__body {
  padding: 22px 22px 26px;
}
.contact-card-pro__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(145deg, rgba(0, 212, 255, 0.14), rgba(0, 196, 160, 0.1));
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .contact-card-pro__icon {
  background: linear-gradient(145deg, rgba(0, 100, 200, 0.12), rgba(0, 139, 110, 0.08));
}
.contact-card-pro h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  color: var(--text-primary);
  margin: 0 0 12px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.contact-card-pro p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
.contact-card-pro__phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card-pro__phones a {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.contact-card-pro__phones a:hover {
  text-decoration: underline;
}
.contact-card-pro__emails {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-card-pro__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 10px;
}
.contact-card-pro__label:first-child {
  margin-top: 0;
}
.contact-card-pro__emails a {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.contact-card-pro__emails a:hover {
  text-decoration: underline;
}
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px 24px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.contact-box:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}
.cb-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(145deg, rgba(0,212,255,0.12), rgba(0,196,160,0.08));
  border: 1px solid var(--border);
}
[data-theme="light"] .cb-icon {
  background: linear-gradient(145deg, rgba(0,100,200,0.1), rgba(0,139,110,0.06));
}
.contact-box h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.25;
}
.contact-box p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.contact-box a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.contact-box a:hover {
  text-decoration: underline;
}
.contact-box--plain {
  border-radius: 8px;
  padding: 20px 18px;
  box-shadow: none;
  background: var(--bg-surface);
  border: 1px solid rgba(0, 0, 0, 0.12);
}
[data-theme="dark"] .contact-box--plain {
  border-color: var(--border);
}
.contact-box--plain:hover {
  transform: none;
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.18);
}
[data-theme="dark"] .contact-box--plain:hover {
  border-color: var(--border-accent);
}
.cb-icon--plain {
  width: auto;
  height: auto;
  padding: 0;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1;
  border: none;
  border-radius: 0;
  background: none;
}
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.branch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 22px 22px 24px;
  padding-top: 20px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}
.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.9;
}
.branch-card:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}
.bc-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.85;
}
.bc-title {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 12px;
  padding-right: 28px;
  line-height: 1.3;
}
.bc-addr {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 14px;
}
.bc-phone {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.bc-phone a {
  color: var(--text-primary);
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--bg-hover);
  border: 1px solid var(--border);
  transition: color 0.2s, border-color 0.2s;
}
.bc-phone a:hover {
  color: var(--accent);
  border-color: var(--border-accent);
}

/* Contact page — branch network (cards only) */
.loc-network {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
}
.loc-network-inner {
  border-radius: 24px;
  padding: 36px 28px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
@media (min-width: 640px) {
  .loc-network-inner {
    padding: 40px 36px 44px;
  }
}
.loc-network-head {
  text-align: center;
  margin-bottom: 28px;
}
.loc-network-head .tag {
  margin-bottom: 16px;
}
.loc-network-sub {
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 0 !important;
}
.loc-branches-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.loc-branches-panel-head h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}
.loc-branch-count {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--border-accent);
  background: var(--bg-hover);
}
#contact-page .branch-grid--contact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
@media (max-width: 400px) {
  #contact-page .branch-grid--contact {
    grid-template-columns: 1fr;
  }
}
#contact-page .branch-grid--contact .branch-card {
  min-height: 100%;
  padding: 24px 22px 22px 26px;
}
.bc-dir {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
}
.bc-dir::after {
  content: "↗";
  font-size: 12px;
  opacity: 0.85;
}
.bc-dir:hover {
  text-decoration: underline;
  color: var(--accent-2);
}
