/* =====================================================================
   UrbanFiling Services — Design System v4.0
   Professional · Responsive · Pixel-perfect
   Desktop (1280px+) | Tablet (768–1280px) | Mobile (< 768px)
   ===================================================================== */

/* Professional Font System:
   Inter        — Max Readability / Tech (body, UI labels, nav)
   Roboto       — Friendly / E-commerce (cards, CTAs, prices)
   Poppins      — Modern / Stylish (headings, hero, display)
   Open Sans    — Professional / Legal (legal pages, forms, disclaimers)
   Montserrat   — Bold / Trustworthy (brand name, badges, section titles)
*/
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Inter:wght@400;500;600;700;800&family=Poppins:wght@600;700;800;900&family=Montserrat:wght@700;800;900&display=swap&font-display=swap');

/* ── TOKENS ─────────────────────────────────────────────────────────── */
:root {
  /* Brand colours */
  --p:       #0B6E84;
  --p-dark:  #084F60;
  --p-mid:   #0A8EA6;
  --teal:    #00B4A6;
  --gold:    #F59E0B;
  --red:     #E53935;
  --navy:    #0C1F35;
  --slate:   #475569;
  --border:  #D1D9E0;
  --light:   #F4F8FB;
  --white:   #FFFFFF;
  --text:    #1A2E42;

  /* Gradients */
  --grad:     linear-gradient(135deg, #0B6E84 0%, #00B4A6 100%);
  --grad-r:   linear-gradient(135deg, #00B4A6 0%, #0B6E84 100%);

  /* Shadows */
  --sh-xs: 0 1px 4px rgba(11,110,132,.07);
  --sh-sm: 0 3px 12px rgba(11,110,132,.10);
  --sh-md: 0 8px 28px rgba(11,110,132,.14);
  --sh-lg: 0 16px 56px rgba(11,110,132,.18);
  --sh-xl: 0 24px 72px rgba(11,110,132,.22);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* Typography — Professional 5-font system */
  --f-display: 'Poppins', sans-serif;     /* Modern/Stylish — headings, hero */
  --f-brand:   'Montserrat', sans-serif;  /* Bold/Trustworthy — brand, badges */
  --f-body:    'Inter', sans-serif;       /* Max Readability — body, nav, UI */
  --f-prose:   'Open Sans', sans-serif;   /* Professional — legal, forms, fine print */
  --f-card:    'Roboto', sans-serif;      /* Friendly — cards, CTA, prices */
  --f-mono:    'Roboto', monospace;
}

/* ── RESET ──────────────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--p); text-decoration: none; transition: color .2s; }
button { cursor: pointer; }
ul { list-style: none; }

/* ── TOPBAR ─────────────────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  padding: 8px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar span,
.topbar a {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,.78);
}
.topbar a:hover { color: #fff; }
.tb-right { display: flex; gap: 20px; align-items: center; }
.tb-phone { color: var(--teal) !important; font-weight: 700 !important; }

/* ── NAVIGATION ─────────────────────────────────────────────────────── */
nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 8000;
  box-shadow: 0 2px 20px rgba(11,110,132,.08);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Logo */
.logo {
  font-family: var(--f-brand);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--p);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 1;
}
.logo em { color: var(--red); font-style: normal; }
.logo-badge {
  font-family: var(--f-brand);
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  background: var(--p);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  margin-top: 2px;
  text-transform: uppercase;
  align-self: flex-start;
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
  list-style: none;
}
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  font-family: var(--f-body);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all .2s;
}
.nav-menu > li > a:hover,
.nav-menu > li > a.active {
  color: var(--p);
  background: rgba(11,110,132,.07);
}
.arrow { font-size: .6rem; opacity: .6; }

/* Dropdowns */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  padding: 20px;
  z-index: 9000;
  min-width: 220px;
}
.dropdown.wide {
  display: none;
  left: -100px;
  transform: none;
  display: none;
  width: 860px;
  display: none;
}
.nav-menu > li:hover .dropdown { display: flex; gap: 8px; }
.dd-col { min-width: 190px; }
.dd-col h5 {
  font-family: var(--f-body);
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--slate);
  padding: 0 10px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.dd-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  transition: all .18s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.dd-link:hover {
  background: linear-gradient(135deg, rgba(11,110,132,.06), rgba(0,180,166,.06));
  color: var(--p);
  border-color: rgba(11,110,132,.12);
  transform: translateX(2px);
}
/* Icon box within dropdown */
.di {
  font-size: 1.1rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, rgba(11,110,132,.1), rgba(0,180,166,.1));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .18s;
}
.dd-link:hover .di {
  background: linear-gradient(135deg, var(--p), var(--teal));
  filter: saturate(1.2);
}
.dp { font-family: var(--f-card); font-size: 0.68rem; font-weight: 700; color: var(--p); display: block; margin-top: 1px; }

/* Nav right */
.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.btn-contact {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  white-space: nowrap;
  transition: all .2s;
}
.btn-contact:hover { border-color: var(--p); color: var(--p); }
.btn-cta {
  font-family: var(--f-body);
  background: var(--red);
  color: #fff !important;
  border: none;
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all .2s;
  animation: nav-cta-pulse 2.4s infinite;
  position: relative;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,57,53,.5); background: #c62828; }
@keyframes nav-cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229,57,53,.5); }
  50% { box-shadow: 0 0 0 7px rgba(229,57,53,0); }
}

/* Nav links simple (service pages) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  padding: 7px 11px;
  border-radius: 7px;
  white-space: nowrap;
  transition: all .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--p); background: rgba(11,110,132,.07); }
.nav-btn, .back-btn {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--red);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s;
  animation: nav-cta-pulse 2.4s infinite;
  text-decoration: none;
  display: inline-block;
}
.nav-btn:hover, .back-btn:hover { background: #c62828; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,57,53,.5); }
/* ── NAV FREE CONSULTATION BUTTON — consistent red animated across all pages ── */
.btn-consult {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--red);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  animation: nav-cta-pulse 2.4s infinite;
}
.btn-consult:hover { background: #c62828; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,57,53,.5); }


/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 10001;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 10000;
  padding: 80px 24px 40px;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  padding: 14px 16px;
  border-radius: 10px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-nav a:hover { background: var(--light); color: var(--p); }
.mobile-nav .m-cta {
  margin-top: 16px;
  background: var(--grad);
  color: #fff !important;
  text-align: center;
  border-radius: 10px;
  font-weight: 700;
  border-bottom: none;
  justify-content: center;
}

/* ── PAGE HERO ──────────────────────────────────────────────────────── */
.page-hero {
  background: var(--grad);
  padding: 68px 48px 76px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 560px; height: 560px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  left: -80px; bottom: -80px;
  width: 360px; height: 360px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}
.breadcrumb {
  font-family: var(--f-body);
  font-size: 0.77rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,.88); }
.page-hero h1 {
  font-family: var(--f-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 18px;
  letter-spacing: -.5px;
}
.page-hero p {
  font-family: var(--f-prose);
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto;
}
/* Hero tags pill row */
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 22px;
}
.htag {
  font-family: var(--f-body);
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
}

/* ── PAGE BODY WRAPPER ──────────────────────────────────────────────── */
.page-body {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 48px 80px;
}

/* ── SECTION HEADER ─────────────────────────────────────────────────── */
.sec-hd {
  text-align: center;
  margin-bottom: 40px;
}
.eyebrow {
  display: inline-block;
  font-family: var(--f-brand);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--p);
  background: rgba(11,110,132,.09);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.sec-hd h2 {
  font-family: var(--f-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: -.3px;
}
.sec-hd p {
  font-family: var(--f-prose);
  font-size: 0.95rem;
  color: var(--slate);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.78;
}

/* ── SERVICE CARDS (Used on all 4 service pages) ────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch; /* equal-height cards */
}

/* Unified card — used for svc-card (taxation/ip/loans) */
.svc-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 0;           /* zero — inner sections handle spacing */
  display: flex;
  flex-direction: column;
  height: 100%;         /* fill grid cell height */
  min-height: 0;        /* prevent accidental stretch in flex/grid parents */
  position: relative;
  overflow: hidden;
  transition: box-shadow .28s, transform .28s, border-color .28s;
  box-shadow: var(--sh-sm);
}
.svc-card:hover {
  border-color: var(--p);
  box-shadow: var(--sh-lg);
  transform: translateY(-5px);
}

/* Coloured top stripe */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  z-index: 1;
}

/* Card inner sections */
.card-body {
  padding: 28px 26px 0;
  flex: 1 1 auto;       /* grow and shrink; min-height:0 prevents overflow clipping */
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
}
.card-body .sc-icon {
  margin-bottom: 16px;
  flex-shrink: 0;
}
.card-footer {
  padding: 18px 26px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--light);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  margin-top: auto;
}

/* Icon */
/* Icon Box style for service cards */
.sc-icon {
  /* Visual styles — size governed by icon system block below */
  background: linear-gradient(135deg, rgba(11,110,132,.1) 0%, rgba(0,180,166,.12) 100%);
  border: 1.5px solid rgba(11,110,132,.12);
  margin-bottom: 16px;
  transition: all .22s ease;
}
.svc-card:hover .sc-icon {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(11,110,132,.25);
  filter: saturate(1.2) brightness(1.05);
  transform: scale(1.05);
}

/* Card title */
.svc-card h3 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}

/* Time badge */
.svc-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--p-dark);
  background: rgba(11,110,132,.09);
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* Numbered feature list */
.svc-list {
  list-style: none;
  counter-reset: svc-cnt;
  margin-bottom: 20px;
  flex: 1;
}
.svc-list li {
  counter-increment: svc-cnt;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--f-prose);
  font-size: 0.84rem;
  color: #3D5166;
  line-height: 1.55;
  border-bottom: 1px solid #EEF3F7;
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li::before {
  content: counter(svc-cnt);
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  line-height: 1;
}

/* Price block */
.price-wrap { display: flex; flex-direction: column; gap: 2px; }
.price-from {
  font-family: var(--f-card);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--slate);
}
.price-amt {
  font-family: var(--f-card);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--p);
  line-height: 1.1;
}

/* Apply button */
.btn-apply {
  font-family: var(--f-card);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 9px;
  white-space: nowrap;
  transition: all .2s;
  flex-shrink: 0;
  cursor: pointer;
  letter-spacing: 0.2px;
}
.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11,110,132,.38);
  filter: brightness(1.05);
}
.btn-apply:active {
  transform: translateY(0);
}
.btn-apply:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(11,110,132,.35); }

/* Card badge (Most Popular, NEW, etc.) */
.card-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  z-index: 2;
  background: #FFF3E0;
  color: #BF360C;
}
.card-badge.green { background: #E8F5E9; color: #1B5E20; }
.card-badge.blue  { background: #E3F2FD; color: #0D47A1; }

/* ── REGISTRATION CARD GRID ─────────────────────────────────────────── */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

/* reg-card shares same structure as svc-card */
.reg-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow .28s, transform .28s, border-color .28s;
  box-shadow: var(--sh-sm);
}
.reg-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  z-index: 1;
}
.reg-card:hover {
  border-color: var(--p);
  box-shadow: var(--sh-lg);
  transform: translateY(-6px);
}
.reg-card h3 {
  font-family: var(--f-display);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.28;
  margin-bottom: 10px;
  padding-right: 68px;   /* room for badge */
}

/* Numbered list for reg-cards */
.rc-list {
  list-style: none;
  counter-reset: rc-cnt;
  margin-bottom: 20px;
  flex: 1;
}
.rc-list li {
  counter-increment: rc-cnt;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--f-prose);
  font-size: 0.83rem;
  color: #3D5166;
  line-height: 1.55;
  border-bottom: 1px solid #EEF3F7;
}
.rc-list li:last-child { border-bottom: none; }
.rc-list li::before {
  content: counter(rc-cnt);
  font-family: var(--f-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  line-height: 1;
}

/* rc-time shares svc-time */
.rc-time {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--p-dark);
  background: rgba(11,110,132,.09);
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 16px;
}

/* rc-footer mirrors card-footer */
.rc-footer {
  padding: 18px 26px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--light);
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  margin-top: auto;
}
.rc-price-from {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--slate);
}
.rc-price {
  font-family: var(--f-mono);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--p);
  line-height: 1.1;
}
.rc-badge {
  position: absolute;
  top: 12px; right: 12px;
  font-family: var(--f-mono);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 6px;
  z-index: 2;
  background: #FFF3E0;
  color: #BF360C;
}
.rc-badge.green { background: #E8F5E9; color: #1B5E20; }

/* ── LOAN HERO STATS ────────────────────────────────────────────────── */
.loan-hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 44px;
}
.loan-hero-card {
  background: var(--grad);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  color: #fff;
  box-shadow: var(--sh-md);
}
.loan-hero-card .lhc-num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.loan-hero-card .lhc-label {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,.84);
}

/* ── PROCESS STEPS ──────────────────────────────────────────────────── */
.process-section {
  background: var(--light);
  border-radius: var(--r-xl);
  padding: 52px 44px;
  margin-top: 60px;
  border: 1.5px solid var(--border);
}
.process-section h2 {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -.3px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: var(--grad);
  z-index: 0;
}
.pstep { text-align: center; position: relative; z-index: 1; }
.pstep-num {
  /* Visual styles — size governed by icon system block */
  background: var(--grad);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(11,110,132,.3);
}
.pstep h4 {
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.pstep p {
  font-family: var(--f-prose);
  font-size: 0.79rem;
  color: var(--slate);
  line-height: 1.65;
}

/* ── HOME PAGE ──────────────────────────────────────────────────────── */
.hero {
  background: var(--grad);
  padding: 64px 48px 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; right: -80px; top: -80px;
  width: 500px; height: 500px;
  background: rgba(255,255,255,.05);
  border-radius: 50%;
}
.hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-family: var(--f-display);
  font-size: 2.65rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-badge {
  font-family: var(--f-body);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-sub {
  font-family: var(--f-prose);
  color: rgba(255,255,255,.88);
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: 28px;
  max-width: 560px;
}
.hero-stats { display: flex; gap: 28px; margin-bottom: 30px; flex-wrap: wrap; }
.hs .n {
  font-family: var(--f-display);
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
}
.hs .n em { color: var(--gold); font-style: normal; }
.hs .l {
  font-family: var(--f-mono);
  font-size: 0.63rem;
  color: rgba(255,255,255,.7);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 1px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hb-primary {
  font-family: var(--f-body);
  background: #fff;
  color: var(--p);
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.hb-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.hb-secondary {
  font-family: var(--f-body);
  background: transparent;
  border: 2px solid rgba(255,255,255,.45);
  color: #fff;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all .2s;
}
.hb-secondary:hover { background: rgba(255,255,255,.14); }

/* Lead form card */
.lf-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 30px;
  box-shadow: 0 24px 64px rgba(0,0,0,.2);
  position: relative;
}
.lf-card::before {
  content: '🔒 Secure & Confidential';
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 10px;
  white-space: nowrap;
}
.lf-card h3 {
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin-bottom: 4px;
}
.lf-card .sub {
  font-family: var(--f-prose);
  font-size: 0.76rem;
  color: var(--slate);
  text-align: center;
  margin-bottom: 18px;
}
.fg { margin-bottom: 13px; }
.fg label {
  display: block;
  font-family: var(--f-body);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 5px;
}
.fg input, .fg select, .fg textarea {
  width: 100%;
  font-family: var(--f-body);
  font-size: 0.88rem;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--p); }
.fg select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.btn-submit, .btn-sub {
  font-family: var(--f-display);
  width: 100%;
  background: var(--grad);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 10px;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  margin-top: 4px;
}
.btn-submit:hover, .btn-sub:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.form-note, .fn {
  font-family: var(--f-prose);
  text-align: center;
  font-size: 0.69rem;
  color: var(--slate);
  margin-top: 8px;
}

/* Trust bar */
.trust-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 10px 48px; }
.trust-inner { max-width: 1320px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; box-sizing: border-box; }
.ti { font-family: var(--f-body); font-size: 0.77rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 7px; }

/* Sections */
.sec { padding: 72px 48px; }
.container { max-width: 1320px; margin: 0 auto; }
.sec-hd, .section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-family: var(--f-display); font-size: 1.9rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; letter-spacing: -.3px; }
.section-header p { font-family: var(--f-prose); color: var(--slate); font-size: 0.92rem; max-width: 540px; margin: 0 auto; line-height: 1.78; }

/* Home service icon cards */
.svc-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.tab-btn {
  font-family: var(--f-body);
  padding: 7px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all .2s;
}
.tab-btn.active, .tab-btn:hover { background: var(--p); color: #fff; border-color: var(--p); }
.home-svc-grid, .svc-icon-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 14px; }
.svc-icon-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 18px 14px;
  border: 1.5px solid var(--border);
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  transition: all .25s;
}
.svc-icon-card:hover { border-color: var(--p); box-shadow: var(--sh-md); transform: translateY(-4px); }
/* Icon box in service quick-select cards (homepage grid) */
.svc-icon-card .si {
  /* Visual styles — size governed by icon system block below */
  background: linear-gradient(135deg, rgba(11,110,132,.1), rgba(0,180,166,.12));
  border: 1.5px solid rgba(11,110,132,.1);
  margin: 0 auto 10px;
  transition: all .22s ease;
}
.svc-icon-card:hover .si {
  background: var(--grad);
  border-color: transparent;
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 3px 8px rgba(11,110,132,.3));
}
.svc-icon-card h4 { font-family: var(--f-display); font-size: 0.77rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.3; }
.svc-icon-card .price { font-family: var(--f-card); font-size: 0.71rem; font-weight: 700; color: var(--p); }
.svc-icon-card .badge { position: absolute; top: 7px; right: 7px; font-family: var(--f-brand); font-size: 0.56rem; font-weight: 700; padding: 2px 6px; border-radius: 5px; text-transform: uppercase; }
.bp { background: #FFF3E0; color: #BF360C; }
.bn { background: #E8F5E9; color: #1B5E20; }
.bc { background: #EDE7F6; color: #4527A0; }

/* Corporate advisory */
.corp-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.cc {
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .25s;
}
.cc:hover { transform: translateY(-5px); }
.cc .ci { font-size: 2rem; margin-bottom: 14px; display: block; }
.cc h4 { font-family: var(--f-display); font-size: 0.95rem; font-weight: 800; margin-bottom: 8px; }
.cc p { font-family: var(--f-prose); font-size: 0.79rem; color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: 14px; }
.cc ul { list-style: none; margin-bottom: 18px; }
.cc ul li { font-family: var(--f-prose); font-size: 0.75rem; color: rgba(255,255,255,.78); padding: 4px 0; display: flex; align-items: flex-start; gap: 7px; }
.cc ul li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.cc a { font-family: var(--f-body); display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 8px 16px; border-radius: 8px; font-size: 0.77rem; font-weight: 600; text-decoration: none; transition: all .2s; }
.cc:hover a { background: var(--teal); }
.cc.ac { background: var(--grad); }
.cc.rc { background: linear-gradient(135deg, #7c3aed, #4f46e5); }

/* Why Us */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 36px; }
.wc { background: #fff; border-radius: var(--r-md); padding: 26px; text-align: center; border: 1.5px solid var(--border); transition: all .25s; }
.wc:hover { border-color: var(--teal); box-shadow: 0 6px 24px rgba(0,180,166,.1); }
.wc .wi { font-size: 2.1rem; margin-bottom: 12px; }
.wc h4 { font-family: var(--f-body); font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.wc p { font-family: var(--f-prose); font-size: 0.78rem; color: var(--slate); line-height: 1.6; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 36px; }
.tc { background: #fff; border-radius: var(--r-md); padding: 28px; border: 1.5px solid var(--border); transition: all .25s; position: relative; }
.tc:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.tc .qi { font-size: 2.4rem; color: var(--light); position: absolute; top: 16px; right: 20px; line-height: 1; font-family: serif; }
.tc .stars { font-family: var(--f-mono); color: var(--gold); font-size: 0.82rem; margin-bottom: 10px; }
.tc p { font-family: var(--f-prose); font-size: 0.83rem; color: var(--slate); line-height: 1.72; margin-bottom: 16px; font-style: italic; }
.tc .au { display: flex; align-items: center; gap: 10px; }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--f-display); font-size: 0.8rem; font-weight: 800; flex-shrink: 0; }
.au .name { font-family: var(--f-body); font-weight: 700; font-size: 0.85rem; color: var(--text); }
.au .role { font-family: var(--f-prose); font-size: 0.72rem; color: var(--slate); }

/* Partner tags */
.ptn-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.ptag { font-family: var(--f-body); background: #fff; border: 1.5px solid var(--border); padding: 7px 16px; border-radius: 8px; font-size: 0.78rem; font-weight: 600; color: var(--text); transition: all .2s; }
.ptag:hover { border-color: var(--p); color: var(--p); }

/* FAQ */
.faq-inner { max-width: 800px; margin: 36px auto 0; }
.fi { border: 1.5px solid var(--border); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; transition: all .2s; }
.fi.open { border-color: var(--p); }
.fq { font-family: var(--f-body); padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.fq:hover { background: var(--light); }
.ft { width: 26px; height: 26px; background: rgba(11,110,132,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 1rem; color: var(--p); transition: transform .3s; flex-shrink: 0; }
.fi.open .ft { transform: rotate(45deg); background: var(--p); color: #fff; }
.fa { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.fi.open .fa { max-height: 250px; }
.fa p { font-family: var(--f-prose); padding: 0 20px 16px; font-size: 0.84rem; color: var(--slate); line-height: 1.75; }

/* CTA section */
.cta-sec { padding: 64px 48px; background: var(--grad); text-align: center; }
.cta-sec h2 { font-family: var(--f-display); font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 10px; letter-spacing: -.3px; }
.cta-sec p { font-family: var(--f-prose); color: rgba(255,255,255,.88); margin-bottom: 28px; font-size: 0.95rem; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cb-w { font-family: var(--f-display); background: #fff; color: var(--p); padding: 13px 30px; border-radius: 10px; font-weight: 800; font-size: 0.9rem; text-decoration: none; transition: all .2s; }
.cb-w:hover { transform: translateY(-2px); }
.cb-o { font-family: var(--f-body); background: transparent; border: 2px solid rgba(255,255,255,.5); color: #fff; padding: 13px 30px; border-radius: 10px; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: all .2s; }
.cb-o:hover { background: rgba(255,255,255,.14); }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  padding: 56px 48px 24px;
}
.fi-inner { max-width: 1320px; margin: 0 auto; }
.fg-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.fb-brand p { font-family: var(--f-prose); font-size: 0.8rem; line-height: 1.78; margin: 12px 0 18px; color: rgba(255,255,255,.58); }
.fc-links { display: flex; flex-direction: column; gap: 6px; }
.fc-links a { font-family: var(--f-body); font-size: 0.8rem; color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.fc-links a:hover { color: var(--teal); }
.fc h4 { font-family: var(--f-body); font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.1); }
.fc a { font-family: var(--f-prose); display: block; color: rgba(255,255,255,.58); font-size: 0.78rem; margin-bottom: 8px; text-decoration: none; transition: color .2s; }
.fc a:hover { color: var(--teal); }
.fb { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-family: var(--f-prose); font-size: 0.74rem; color: rgba(255,255,255,.45); }
.fb a { color: rgba(255,255,255,.42); margin-left: 16px; transition: color .2s; }
.fb a:hover { color: var(--teal); }

/* Simple page footer */
footer.page-footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  padding: 36px 48px;
  text-align: center;
  font-size: 0.82rem;
  line-height: 2.2;
}
footer.page-footer p { color: rgba(255,255,255,.82); margin-bottom: 10px; }
footer.page-footer a { color: var(--teal); text-decoration: none; margin: 0 8px; }
footer.page-footer .footer-note { font-size: 0.71rem; color: rgba(255,255,255,.35); margin-top: 10px; line-height: 1.65; }

/* ── LEGAL PAGES ────────────────────────────────────────────────────── */
.legal-content { max-width: 860px; margin: 0 auto; padding: 60px 48px; }
.legal-content h1 { font-family: var(--f-display); color: var(--navy); font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.legal-content h2 { font-family: var(--f-body); color: var(--navy); font-size: 1.12rem; font-weight: 700; margin: 28px 0 10px; }
.legal-content p, .legal-content li { font-family: var(--f-prose); font-size: 0.92rem; color: #374151; line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { padding-left: 20px; list-style: disc; }
.legal-date { font-family: var(--f-mono); font-size: 0.78rem; color: var(--slate); font-weight: 500; margin-bottom: 32px; }

/* ── CONTACT / ABOUT ────────────────────────────────────────────────── */
.contact-hero { background: var(--grad); border-radius: 24px; padding: 60px; color: #fff; margin: 40px 0; }
.contact-hero h2 { font-family: var(--f-display); font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; }
.contact-hero p { font-family: var(--f-prose); color: rgba(255,255,255,.88); margin-bottom: 36px; font-size: 0.95rem; line-height: 1.7; }
.contact-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.contact-item { background: rgba(255,255,255,.12); border-radius: var(--r-md); padding: 24px; border: 1px solid rgba(255,255,255,.2); }
.contact-item h4 { font-family: var(--f-body); font-size: 0.88rem; font-weight: 700; margin-bottom: 8px; }
.contact-item p, .contact-item a { font-family: var(--f-prose); font-size: 0.84rem; color: rgba(255,255,255,.84); text-decoration: none; }
.contact-item a { font-family: var(--f-mono); color: #FFE082; font-weight: 600; }

.form-section { padding: 72px 48px; background: var(--light); }
.about-section { padding: 72px 48px; }
.about-section.alt { background: var(--light); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-info h2 { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.form-info p { font-family: var(--f-prose); font-size: 0.9rem; color: var(--slate); line-height: 1.8; margin-bottom: 20px; }
.form-benefit { font-family: var(--f-prose); display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--text); margin-bottom: 10px; }
.form-benefit::before { content: '✓'; color: var(--teal); font-weight: 900; font-size: 1rem; }
.cf { background: #fff; border-radius: var(--r-xl); padding: 32px; border: 1.5px solid var(--border); box-shadow: var(--sh-sm); }
.cf h3 { font-family: var(--f-display); font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 22px; text-align: center; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { background: var(--grad); border-radius: 24px; padding: 60px; text-align: center; font-size: 6rem; }
.about-text h2 { font-family: var(--f-display); font-size: 1.7rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.about-text p { font-family: var(--f-prose); font-size: 0.93rem; color: var(--slate); line-height: 1.85; margin-bottom: 14px; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-card { background: #fff; border-radius: var(--r-lg); padding: 30px; border: 1.5px solid var(--border); transition: all .25s; }
.value-card:hover { border-color: var(--teal); box-shadow: 0 6px 24px rgba(0,180,166,.1); }
.value-icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h4 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-card p { font-family: var(--f-prose); font-size: 0.84rem; color: var(--slate); line-height: 1.7; }
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.team-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 24px; text-align: center; transition: all .25s; }
.team-card:hover { border-color: var(--p); box-shadow: var(--sh-sm); }
.team-avatar { width: 68px; height: 68px; background: var(--grad); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 14px; }
.team-name { font-family: var(--f-body); font-weight: 700; font-size: 0.92rem; margin-bottom: 4px; color: var(--navy); }
.team-role { font-family: var(--f-mono); font-size: 0.76rem; color: var(--p); font-weight: 700; margin-bottom: 6px; }
.team-qual { font-family: var(--f-prose); font-size: 0.74rem; color: var(--slate); }

/* Stats row */
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin: 50px 0; }
.stat-card { background: #fff; border: 1.5px solid var(--border); border-radius: var(--r-md); padding: 28px; text-align: center; }
.stat-num { font-family: var(--f-display); font-size: 2rem; font-weight: 900; color: var(--p); }
.stat-label { font-family: var(--f-body); font-size: 0.82rem; color: var(--slate); font-weight: 600; margin-top: 6px; }

/* ── ANIMATIONS ─────────────────────────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── FLOATING BUTTONS ───────────────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  background: #25D366;
  color: #fff;
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 990;
  transition: all .2s;
}
.wa-float:hover { transform: scale(1.1); }
.call-float {
  position: fixed; bottom: 88px; right: 24px;
  background: var(--p);
  color: #fff;
  padding: 9px 16px;
  border-radius: 20px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--sh-md);
  z-index: 990;
  display: flex; align-items: center; gap: 6px;
  transition: all .2s;
  white-space: nowrap;
}
.call-float:hover { background: var(--p-dark); }

/* ── CHAT WIDGET ────────────────────────────────────────────────────── */
/* 
  Layout (bottom-right, stacked top-to-bottom):
  ┌────────────────┐
  │ [Chat Box]     │  ← opens upward from toggle
  │ [💬 Chat]      │  bottom: 172px  (chat toggle)
  │ [📞 Call]      │  bottom: 88px   (call float)
  │ [WhatsApp]     │  bottom: 24px   (wa-float)
  └────────────────┘
*/
.chat-widget { position: fixed; bottom: 172px; right: 24px; z-index: 995; }
.chat-box {
  display: none;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  width: 320px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  margin-bottom: 10px;
}
.chat-header { background: var(--grad); padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.chat-header-info .ch-name { font-family: var(--f-body); color: #fff; font-weight: 700; font-size: 0.88rem; }
.chat-header-info .ch-status { font-family: var(--f-prose); color: rgba(255,255,255,.75); font-size: 0.67rem; margin-top: 2px; }
.chat-close { background: none; border: none; color: #fff; font-size: 1.1rem; cursor: pointer; }
.chat-messages { height: 220px; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.cm-bot { font-family: var(--f-prose); background: var(--light); border-radius: 10px 10px 10px 2px; padding: 10px 13px; font-size: 0.8rem; color: var(--text); max-width: 90%; line-height: 1.6; }
.cm-user { font-family: var(--f-prose); background: var(--grad); border-radius: 10px 10px 2px 10px; padding: 10px 13px; font-size: 0.8rem; color: #fff; max-width: 90%; align-self: flex-end; line-height: 1.6; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 14px 10px; }
.cq-btn { font-family: var(--f-body); background: rgba(11,110,132,.09); color: var(--p); border: none; padding: 4px 9px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; cursor: pointer; }
.cq-btn:hover { background: var(--p); color: #fff; }
.chat-input-row { padding: 10px 14px; border-top: 1px solid var(--border); display: flex; gap: 7px; }
.chat-input-row input { font-family: var(--f-body); flex: 1; border: 1.5px solid var(--border); border-radius: 7px; padding: 8px 11px; font-size: 0.8rem; outline: none; }
.chat-input-row input:focus { border-color: var(--p); }
.chat-send-btn { background: var(--grad); color: #fff; border: none; border-radius: 7px; padding: 8px 13px; font-weight: 700; cursor: pointer; }
.chat-toggle-btn { background: var(--grad); color: #fff; border: none; border-radius: 50%; width: 52px; height: 52px; font-size: 1.4rem; cursor: pointer; box-shadow: var(--sh-md); display: flex; align-items: center; justify-content: center; position: relative; }
.chat-notif { position: absolute; top: -4px; right: -3px; background: var(--red); color: #fff; border-radius: 50%; width: 18px; height: 18px; font-family: var(--f-mono); font-size: 0.6rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ── SUCCESS MODAL ──────────────────────────────────────────────────── */
/* .modal — full-screen overlay used by insurance & share-samadhan success modals */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-ov { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 9998; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal-ov.show { opacity: 1; pointer-events: all; }
.modal-box { background: #fff; border-radius: var(--r-xl); padding: 36px; max-width: 400px; width: 90%; text-align: center; transform: scale(.92); transition: transform .3s; }
.modal-ov.show .modal-box { transform: scale(1); }
.modal-icon { font-size: 2.8rem; margin-bottom: 10px; }
.modal-box h3 { font-family: var(--f-display); font-size: 1.25rem; font-weight: 800; color: var(--navy); margin-bottom: 7px; }
.modal-box p { font-family: var(--f-prose); font-size: 0.85rem; color: var(--slate); line-height: 1.6; margin-bottom: 20px; }
.modal-close { font-family: var(--f-body); background: var(--grad); color: #fff; border: none; padding: 11px 26px; border-radius: 9px; font-size: 0.88rem; font-weight: 700; cursor: pointer; }

/* ── RESPONSIVE: TABLET 768–1024px ─────────────────────────────────── */
@media (max-width: 1024px) {
  .topbar, .trust-bar { padding: 8px 24px; }
  nav { padding: 0; }
  .nav-inner { padding: 0 24px; height: 62px; }
  .page-hero { padding: 52px 28px 60px; }
  .page-body { padding: 48px 28px 64px; }
  .sec { padding: 56px 28px; }
  .cta-sec { padding: 52px 28px; }
  .form-section, .about-section { padding: 56px 28px; }
  footer.page-footer { padding: 30px 24px; }
  footer { padding: 44px 28px 20px; }
  .legal-content { padding: 48px 28px; }

  .nav-menu > li > a { font-size: 0.78rem; padding: 7px 9px; }
  .nav-menu .dropdown.wide { width: 700px; }
  .reg-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .home-svc-grid, .svc-icon-grid { grid-template-columns: repeat(4, 1fr); }
  .corp-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .fg-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .loan-hero-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

/* ── RESPONSIVE: MOBILE < 768px ─────────────────────────────────────── */
@media (max-width: 768px) {
  .topbar { padding: 7px 16px; font-size: 0.72rem; }
  nav .nav-inner { padding: 0 16px; height: 58px; }
  .nav-links, .nav-menu, .nav-right, .back-btn, .nav-btn { display: none; }
  .hamburger { display: flex; }

  .page-hero { padding: 44px 20px 52px; }
  .page-hero h1 { font-size: 1.85rem; }
  .page-hero p { font-size: 0.92rem; }

  .page-body { padding: 32px 16px 56px; }

  .reg-grid { grid-template-columns: 1fr; gap: 18px; }
  .svc-grid  { grid-template-columns: 1fr; gap: 18px; }
  .home-svc-grid, .svc-icon-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  .card-body { padding: 22px 18px 0; }
  .card-footer { padding: 16px 18px 20px; flex-direction: column; align-items: stretch; gap: 12px; }
  .card-footer .btn-apply { width: 100%; text-align: center; }
  .rc-footer { flex-direction: column; align-items: stretch; gap: 12px; }
  .rc-footer .btn-apply { width: 100%; text-align: center; }

  .loan-hero-cards { grid-template-columns: 1fr; gap: 12px; }
  .loan-hero-card { padding: 22px 16px; }
  .loan-hero-card .lhc-num { font-size: 1.8rem; }

  .process-section { padding: 28px 18px; margin-top: 40px; }
  .process-section h2 { font-size: 1.25rem; margin-bottom: 28px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process-steps::before { display: none; }

  .corp-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .fg-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 44px 20px 52px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-stats { gap: 16px; }
  .lf-card { display: none; }

  .sec { padding: 44px 20px; }
  .cta-sec { padding: 44px 20px; }
  .form-section, .about-section { padding: 44px 20px; }
  footer.page-footer { padding: 28px 16px; }
  footer { padding: 40px 16px 18px; }
  .chat-box { width: 280px; }
  .legal-content { padding: 40px 16px; }
  .trust-bar { padding: 10px 16px; }
}

/* ── RESPONSIVE: SMALL MOBILE < 480px ──────────────────────────────── */
@media (max-width: 480px) {
  .page-hero h1 { font-size: 1.55rem; }
  .hero h1 { font-size: 1.6rem; }
  .topbar .tb-right { display: none; }
  .loan-hero-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
  .loan-hero-card .lhc-num { font-size: 1.5rem; }
  .process-steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .home-svc-grid, .svc-icon-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── CORPORATE ADVISORY / SERVICE DETAIL CARDS ─────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}
.svc-detail-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1.5px solid var(--border);
  box-shadow: var(--sh-sm);
  transition: all .2s;
  display: flex;
  flex-direction: column;
}
.svc-detail-card:hover {
  border-color: rgba(11,110,132,.3);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
/* Icon box for svc-detail-card (corporate advisory, stressed asset cards) */
.svc-icon {
  /* Visual styles — size governed by icon system block below */
  background: linear-gradient(135deg, rgba(11,110,132,.1), rgba(0,180,166,.12));
  border: 1.5px solid rgba(11,110,132,.12);
  margin-bottom: 16px;
  transition: all .22s ease;
}
.svc-detail-card:hover .svc-icon {
  background: var(--grad);
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(11,110,132,.25);
}
.svc-detail-card h3 {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.svc-desc {
  font-family: var(--f-prose);
  font-size: 0.84rem;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 14px;
}
.svc-features {
  list-style: none;
  flex: 1;
  margin-bottom: 16px;
}
.svc-features li {
  font-family: var(--f-prose);
  font-size: 0.82rem;
  color: #3D5166;
  padding: 5px 0;
  border-bottom: 1px solid #EEF3F7;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.svc-features li:last-child { border-bottom: none; }
.svc-features li::before {
  content: '✓';
  color: var(--p);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.svc-enquire {
  display: inline-block;
  font-family: var(--f-card);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--p);
  padding: 8px 16px;
  border: 2px solid var(--p);
  border-radius: 8px;
  transition: all .18s;
  text-align: center;
  margin-top: auto;
}
.svc-enquire:hover {
  background: var(--p);
  color: #fff;
}
/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.stat-box {
  background: #fff;
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  border: 1.5px solid var(--border);
  box-shadow: var(--sh-xs);
}
.stat-box .num {
  font-family: var(--f-brand);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--p);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-box .lbl {
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: var(--slate);
  font-weight: 500;
}
.hero-stat-item { text-align: center; }
.hero-stat-item .num {
  font-family: var(--f-brand);
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
}
.hero-stat-item .lbl {
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,.75);
}
.hero-stats-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
@media (max-width: 900px) {
  .service-detail-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .service-detail-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .hero-stats-row { gap: 18px; }
}

/* ===== CORRECTIONS: Enhanced Service Cards & Process Steps ===== */

/* svc-icon-card category colors — original white/teal palette kept as-is */

/* Process grid styling for corporate-advisory page */
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.process-step {
  background: #fff;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 12px rgba(11,110,132,.08);
  position: relative;
  transition: all .2s;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(11,110,132,.15);
  border-color: var(--p);
}
.process-step:nth-child(1) { border-top: 4px solid #0B6E84; }
.process-step:nth-child(2) { border-top: 4px solid #00B4A6; }
.process-step:nth-child(3) { border-top: 4px solid #F59E0B; }
.process-step:nth-child(4) { border-top: 4px solid #6366F1; }
.process-step:nth-child(5) { border-top: 4px solid #10B981; }

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-brand);
  font-size: 1.2rem;
  font-weight: 900;
  margin: 0 auto 14px;
  color: #fff;
}
.process-step:nth-child(1) .step-num { background: linear-gradient(135deg,#0B6E84,#00B4A6); }
.process-step:nth-child(2) .step-num { background: linear-gradient(135deg,#00B4A6,#34D399); }
.process-step:nth-child(3) .step-num { background: linear-gradient(135deg,#F59E0B,#F97316); }
.process-step:nth-child(4) .step-num { background: linear-gradient(135deg,#6366F1,#8B5CF6); }
.process-step:nth-child(5) .step-num { background: linear-gradient(135deg,#10B981,#059669); }
.process-step h4 {
  font-family: var(--f-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.5;
}

/* IBC sub-service card enhancements */
.ibc-card-colorful {
  border-top: 4px solid;
}
.ibc-card-colorful:nth-child(1) { border-top-color: #F59E0B; }
.ibc-card-colorful:nth-child(2) { border-top-color: #6366F1; }
.ibc-card-colorful:nth-child(3) { border-top-color: #10B981; }
.ibc-card-colorful:nth-child(4) { border-top-color: #EF4444; }

/* svc-detail-card color variations for service pages */
.svc-detail-card.card-green { border-top: 4px solid #10B981; background: linear-gradient(160deg,#F0FDF4,#fff); }
.svc-detail-card.card-blue  { border-top: 4px solid #3B82F6; background: linear-gradient(160deg,#EFF6FF,#fff); }
.svc-detail-card.card-purple{ border-top: 4px solid #8B5CF6; background: linear-gradient(160deg,#F5F3FF,#fff); }
.svc-detail-card.card-orange{ border-top: 4px solid #F97316; background: linear-gradient(160deg,#FFF7ED,#fff); }
.svc-detail-card.card-teal  { border-top: 4px solid #0B6E84; background: linear-gradient(160deg,#F0FDFA,#fff); }
.svc-detail-card.card-pink  { border-top: 4px solid #EC4899; background: linear-gradient(160deg,#FDF2F8,#fff); }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

/* reg-card and svc-card use original brand gradient (defined in base styles) */

/* ===== STICKY PAGE SECTION NAV (for service pages) ===== */
.page-sec-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1.5px solid var(--border);
  box-shadow: 0 2px 12px rgba(11,110,132,.08);
  padding: 0 24px;
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.page-sec-nav::-webkit-scrollbar { display: none; }
.psn-btn {
  flex-shrink: 0;
  padding: 14px 20px;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.psn-btn:hover { color: var(--p); border-bottom-color: rgba(11,110,132,.3); }
.psn-btn.active { color: var(--p); border-bottom-color: var(--p); font-weight: 700; }

/* ===== ICON BASE HELPERS (non-size overrides) ===== */
/* All icon display/size properties are in the ICON SYSTEM v18 block below */
/* This block intentionally left minimal — do not add sizes here */

/* ===== CALC GRID 3 (SIP/Investment section) ===== */
.calc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
@media(max-width:960px) { .calc-grid-3 { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .calc-grid-3 { grid-template-columns: 1fr; } }

/* ===== CONTACT SECTION - Horizontal cards ===== */
.contact-section {
  background: linear-gradient(135deg, #F0FDFA 0%, #EFF6FF 100%);
  padding: 56px 24px;
}
.contact-section .container { max-width: 960px; margin: 0 auto; text-align: center; }
.contact-section h2 {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.contact-section > .container > p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 36px;
  font-family: var(--f-prose);
}
.contact-methods {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 28px 32px;
  text-decoration: none;
  color: inherit;
  min-width: 170px;
  flex: 1;
  max-width: 220px;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(11,110,132,.08);
  position: relative;
  overflow: hidden;
}
.contact-method::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s;
}
.contact-method:hover {
  border-color: var(--p);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11,110,132,.18);
}
.contact-method:hover::before { opacity: 1; }
.c-icon {
  font-size: 1.75rem;
  width: 56px; height: 56px;
  min-width: 56px; min-height: 56px;
  background: linear-gradient(135deg, rgba(11,110,132,.1), rgba(0,180,166,.14));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s;
  border: 1.5px solid rgba(11,110,132,.12);
  box-sizing: border-box; flex-shrink: 0; overflow: hidden;
}
.contact-method:hover .c-icon {
  background: linear-gradient(135deg, #0B6E84, #00B4A6);
  border-color: transparent;
  transform: scale(1.08) rotate(-3deg);
}
.c-label {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate);
}
.c-val {
  font-family: var(--f-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--p);
  text-align: center;
}

/* ===== STRESSED ASSETS SECTION — Improved card colors for dark bg ===== */
.stressed-card {
  background: rgba(255,255,255,0.08) !important;
  border: 1.5px solid rgba(100,200,230,0.30) !important;
  border-radius: 16px;
  padding: 28px;
}
.stressed-card h3 { color: #E0F7FA !important; font-size: 1.05rem; }
.stressed-card p { color: rgba(220,240,255,0.85) !important; }
.stressed-card ul li { color: rgba(210,240,255,0.82) !important; }
/* Icon box: bright cyan-blue background for visibility on dark bg */
.stressed-card .svc-icon {
  background: linear-gradient(135deg, rgba(0,210,200,0.25), rgba(64,196,255,0.30)) !important;
  border: 1.5px solid rgba(0,229,204,0.40) !important;
  border-radius: 12px !important;
  width: 52px !important; height: 52px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 1.5rem !important;
  filter: brightness(1.2) saturate(1.3);
}
.stressed-card .svc-enquire {
  border-color: rgba(0,229,204,0.50) !important;
  color: #00E5CC !important;
  font-weight: 700 !important;
}
.stressed-card .svc-enquire:hover {
  background: rgba(0,229,204,0.15) !important;
  color: #fff !important;
  border-color: #00E5CC !important;
}

/* ===== NAV DROPDOWN for service pages (nav-links upgrade to dropdowns) ===== */
.nav-links { position: relative; }
.nav-links > li { position: relative; }
.nav-links li .nav-dd {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
  padding: 14px;
  z-index: 9000;
  min-width: 240px;
  flex-direction: column;
  gap: 3px;
}
.nav-links li:hover .nav-dd { display: flex; }
.nav-dd a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text) !important;
  background: none !important;
  text-decoration: none;
  transition: all .15s;
  white-space: nowrap;
}
.nav-dd a:hover {
  background: rgba(11,110,132,.07) !important;
  color: var(--p) !important;
  padding-left: 14px;
}
.nav-dd .dd-icon { font-size: 1.05rem; width:30px; height:30px; min-width:30px; min-height:30px; background:rgba(11,110,132,.1); border-radius:7px; display:flex;align-items:center;justify-content:center; flex-shrink:0; transition:background .2s; box-sizing:border-box; }
.nav-dd-title { font-size:0.66rem; font-weight:700; text-transform:uppercase; letter-spacing:1.2px; color:var(--slate); padding:4px 10px; border-bottom:1px solid var(--border); margin-bottom:4px; }
.has-dd > a::after { content:"▾"; font-size:0.6rem; opacity:0.6; margin-left:3px; }

/* ===== WIDE MEGA NAV DROPDOWN (Business Setup) ===== */
.nav-dd-wide {
  flex-direction: row !important;
  gap: 0 !important;
  min-width: 820px !important;
  padding: 20px !important;
}
.nav-dd-cols {
  display: flex;
  gap: 8px;
  width: 100%;
}
.nav-dd-col {
  flex: 1;
  min-width: 0;
}
.nav-dd-col .nav-dd-title {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--slate);
  padding: 4px 8px 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
  display: block;
}
/* Position wide dropdown to not go off-screen */
.has-dd:hover .nav-dd-wide {
  left: -200px;
}

/* ===== STRESSED ASSETS SECTION — WHITE THEME ===== */
.stressed-section-light {
  background: #fff !important;
}
.stressed-section-light .eyebrow {
  background: rgba(11,110,132,0.1) !important;
  color: var(--p) !important;
}
.stressed-section-light h2 { color: var(--navy) !important; }
.stressed-section-light > .container > p { color: var(--slate) !important; }
.stressed-card-light {
  background: var(--light) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 16px;
  padding: 28px;
}
.stressed-card-light h3 { color: var(--navy) !important; font-size: 1.05rem; }
.stressed-card-light p { color: var(--slate) !important; }
.stressed-card-light ul li { color: var(--text) !important; }
.stressed-card-light .svc-icon {
  background: linear-gradient(135deg,rgba(11,110,132,.12),rgba(0,180,166,.15)) !important;
  border: 1.5px solid rgba(11,110,132,.15) !important;
  border-radius: 12px !important;
  width: 52px !important; height: 52px !important;
  display: flex !important; align-items: center !important; justify-content: center !important;
  font-size: 1.5rem !important;
}
.stressed-card-light .svc-enquire {
  border-color: var(--p) !important;
  color: var(--p) !important;
  font-weight: 700 !important;
}
.stressed-card-light .svc-enquire:hover {
  background: var(--p) !important;
  color: #fff !important;
}

/* ===== CORPORATE ADVISORY PAGE FOOTER FIX ===== */
footer.corp-footer {
  background: var(--navy);
  padding: 28px 48px;
  text-align: center;
}
footer.corp-footer p, footer.corp-footer a {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-family: var(--f-body);
}
footer.corp-footer a { margin: 0 10px; }
footer.corp-footer a:hover { color: var(--teal); }

/* ===== QUICK LINKS PAGES NAV FIX ===== */
.nav-links-full { display: flex; align-items: center; gap: 0; list-style: none; flex: 1; justify-content: center; }

/* ===== MOBILE NAV-DD TOGGLE ===== */
@media (max-width: 900px) {
  .nav-dd-wide { min-width: 94vw !important; left: -80px !important; max-height: 70vh; overflow-y: auto; }
  .nav-dd-cols { flex-direction: column; }
}

/* ===== STANDARDIZED WIDE DROPDOWN - Taxation & IP ===== */
/* Make Taxation dropdown match Business Setup wide style */
.nav-links li.has-dd:nth-child(3) .nav-dd,
.nav-links li.has-dd:nth-child(4) .nav-dd {
  min-width: 560px;
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0;
  padding: 20px;
}
.nav-links li.has-dd:nth-child(3):hover .nav-dd,
.nav-links li.has-dd:nth-child(4):hover .nav-dd {
  display: flex;
}
/* Taxation gets 2-col layout */
.nav-links li.has-dd:nth-child(3) .nav-dd {
  min-width: 580px;
  column-count: 2;
  display: none;
}
.nav-links li.has-dd:nth-child(3):hover .nav-dd {
  display: block;
}
.nav-links li.has-dd:nth-child(3) .nav-dd a,
.nav-links li.has-dd:nth-child(4) .nav-dd a {
  display: flex;
  break-inside: avoid;
}

/* Universal nav-dd improvement - consistent icon+hover */
.nav-dd .dd-icon {
  font-size: 1rem;
  width: 28px; height: 28px;
  background: rgba(11,110,132,.1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all .15s;
}
.nav-dd a:hover .dd-icon { /* Hover handled by parent link */ 
  background: var(--p);
  transform: scale(1.1);
}
.nav-dd-title {
  font-size: 0.64rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: var(--slate);
  padding: 6px 10px 5px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
  display: block;
  background: var(--light);
  border-radius: 6px 6px 0 0;
}

/* ===== LEAD DATA EXPORT STYLES ===== */
.lead-export-btn {
  display: none; /* Shown only to admin via URL param */
  position: fixed; top: 80px; right: 16px;
  background: #10B981; color: #fff;
  padding: 8px 14px; border-radius: 8px;
  font-size: 0.75rem; font-weight: 700;
  cursor: pointer; z-index: 9999;
  border: none; box-shadow: 0 4px 12px rgba(16,185,129,.4);
}

/* ===== FAQ CATEGORY BADGE ===== */
.fq-cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(11,110,132,.1);
  color: var(--p);
  border-radius: 20px;
  padding: 2px 8px;
  margin-right: 8px;
  white-space: nowrap;
  vertical-align: middle;
}
.fi .fq { align-items: flex-start !important; }

/* ===== CORP ADVISORY FORM RESPONSIVE ===== */
@media (max-width: 640px) {
  #corp-enquiry-form > div:first-child {
    grid-template-columns: 1fr !important;
  }
}

/* =====================================================================
   UrbanFiling v14 — Enhancement Pack
   1. Service Icon Grid + Enquiry Integration
   2. Free Consultation Popup Fix
   3. Disclaimer Page Styling
   4. Footer Standardization
   5. About Page Styling
   ===================================================================== */

/* ── SERVICE ICON GRID (category pages) ──────────────────────────────── */
.svc-icon-section {
  padding: 60px 0;
  background: var(--white);
}
.svc-icon-section.alt-bg {
  background: var(--light);
}
.svc-icon-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.svc-section-header {
  text-align: center;
  margin-bottom: 44px;
}
.svc-section-header .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(11,110,132,.1);
  color: var(--p);
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.svc-section-header h2 {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}
.svc-section-header p {
  font-family: var(--f-prose);
  font-size: 0.97rem;
  color: var(--slate);
  max-width: 620px;
  margin: 0 auto;
}

/* Icon Grid Layout */
.svc-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
.svc-icon-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  height: 100%;         /* fill grid cell so equal-height rows work */
  min-height: 0;
  transition: all .25s ease;
  cursor: pointer;
  position: relative;
  overflow: visible;    /* was hidden — was clipping text in narrow layouts */
  text-decoration: none;
}
.svc-icon-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0;
  transition: opacity .25s;
  z-index: 0;
  border-radius: inherit;   /* clips within card corners without overflow:hidden */
  pointer-events: none;
}
.svc-icon-card:hover {
  border-color: var(--p);
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
}
.svc-icon-card:hover::before {
  opacity: 0.04;
}
.svc-icon-card > * { position: relative; z-index: 1; }

.sic-icon {
  /* Visual styles — size governed by icon system block below */
  background: linear-gradient(135deg, rgba(11,110,132,.1), rgba(0,180,166,.12));
  transition: all .25s ease;
}
.svc-icon-card:hover .sic-icon {
  background: var(--grad);
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 4px 10px rgba(11,110,132,.3));
}
.sic-name {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.sic-price {
  font-family: var(--f-card);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--p);
  background: rgba(11,110,132,.07);
  padding: 2px 10px;
  border-radius: 20px;
}
.sic-enquire {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  width: 100%;
  justify-content: center;
  letter-spacing: 0.3px;
}
.sic-enquire:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 14px rgba(11,110,132,.35);
}

/* Category filter tabs */
.svc-cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 32px;
}
.cat-tab {
  padding: 8px 20px;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  transition: all .2s;
}
.cat-tab:hover, .cat-tab.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 12px rgba(11,110,132,.25);
}

/* ── ENQUIRY POPUP MODAL ──────────────────────────────────────────────── */
.enq-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(12,31,53,.65);
  backdrop-filter: blur(4px);
  z-index: 99000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.enq-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.enq-modal-box {
  background: #fff;
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 32px 96px rgba(0,0,0,.25);
  overflow: hidden;
  transform: scale(.92) translateY(20px);
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.enq-modal-overlay.open .enq-modal-box {
  transform: scale(1) translateY(0);
}
.enq-modal-header {
  background: var(--grad);
  padding: 24px 28px 20px;
  position: relative;
}
.enq-modal-header h3 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.enq-modal-header p {
  font-family: var(--f-prose);
  font-size: 0.82rem;
  color: rgba(255,255,255,.82);
}
.enq-modal-svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.18);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 8px;
}
.enq-modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.enq-modal-close:hover { background: rgba(255,255,255,.35); }
.enq-modal-body {
  padding: 24px 28px 28px;
}
.enq-field {
  margin-bottom: 14px;
}
.enq-field label {
  display: block;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.enq-field input, .enq-field select, .enq-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--f-prose);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}
.enq-field input:focus, .enq-field select:focus, .enq-field textarea:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(11,110,132,.1);
}
.enq-submit {
  width: 100%;
  padding: 13px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  margin-top: 4px;
}
.enq-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11,110,132,.4);
}
.enq-guarantee {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-family: var(--f-prose);
  font-size: 0.73rem;
  color: var(--slate);
  justify-content: center;
}

/* ── FREE CONSULTATION FLOATING BTN ─────────────────────────────────── */
.consult-float {
  position: fixed;
  left: 20px;
  bottom: 100px;
  z-index: 8500;
}
.consult-float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(11,110,132,.4);
  transition: all .25s;
  white-space: nowrap;
}
.consult-float-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(11,110,132,.5);
}
.consult-float-btn .cfb-icon {
  font-size: 1.2rem;
  animation: cfb-pulse 2s infinite;
}
@keyframes cfb-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ── STANDARDIZED FOOTER ─────────────────────────────────────────────── */
footer.uf-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-family: var(--f-body);
  font-size: 0.85rem;
  line-height: 1.7;
}
footer.uf-footer .footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 48px 0;
}
footer.uf-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
footer.uf-footer .fg-brand p {
  font-family: var(--f-prose);
  font-size: 0.82rem;
  color: rgba(255,255,255,.58);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 300px;
}
footer.uf-footer .fg-contact-links {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
footer.uf-footer .fg-contact-links a {
  color: rgba(255,255,255,.65);
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color .2s;
}
footer.uf-footer .fg-contact-links a:hover { color: var(--teal); }
footer.uf-footer .fg-col h4 {
  font-family: var(--f-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
footer.uf-footer .fg-col a {
  display: block;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,.58);
  margin-bottom: 7px;
  transition: color .18s, padding-left .18s;
}
footer.uf-footer .fg-col a:hover {
  color: var(--teal);
  padding-left: 4px;
}
footer.uf-footer .footer-bar {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
footer.uf-footer .footer-bar span {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: rgba(255,255,255,.4);
}
footer.uf-footer .footer-bar-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
footer.uf-footer .footer-bar-links a {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
footer.uf-footer .footer-bar-links a:hover { color: var(--teal); }
footer.uf-footer .footer-bar-links a.highlighted {
  color: var(--teal);
  font-weight: 700;
}

/* ── ABOUT PAGE ENHANCEMENTS ─────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--p) 100%);
  padding: 80px 48px 64px;
  position: relative;
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,166,.15) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.about-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.about-hero h1 {
  font-family: var(--f-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}
.about-hero h1 span {
  background: linear-gradient(135deg, #FF6B6B, #FFD93D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-hero p {
  font-family: var(--f-prose);
  font-size: 1.05rem;
  color: rgba(255,255,255,.82);
  max-width: 660px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.about-stats-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.about-stat {
  text-align: center;
}
.about-stat .as-num {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--teal);
  display: block;
}
.about-stat .as-lbl {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
  margin-top: 2px;
}
.about-body-section {
  padding: 64px 48px;
}
.about-body-section .container {
  max-width: 1100px;
  margin: 0 auto;
}
.about-body-section.alt { background: var(--light); }
.about-section-label {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--p);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about-section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--grad);
  display: block;
}
.about-h2 {
  font-family: var(--f-display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.25;
}
.about-intro-text {
  font-family: var(--f-prose);
  font-size: 0.97rem;
  color: var(--slate);
  line-height: 1.75;
  max-width: 700px;
  margin-bottom: 32px;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.about-value-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 20px;
  transition: all .25s;
}
.about-value-card:hover {
  border-color: var(--p);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.avc-icon {
  /* Values card icon — boxed emoji, 40px */
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(11,110,132,.1), rgba(0,180,166,.12));
  border-radius: 10px;
  border: 1.5px solid rgba(11,110,132,.1);
  margin-bottom: 14px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.avc-title {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 7px;
}
.avc-text {
  font-family: var(--f-prose);
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.6;
}
.about-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.about-team-card {
  text-align: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px 20px 20px;
  transition: all .25s;
}
.about-team-card:hover {
  border-color: var(--p);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}
.atc-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 14px;
}
.atc-name {
  font-family: var(--f-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}
.atc-role {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: var(--p);
  font-weight: 600;
  margin-top: 4px;
}
.atc-qual {
  font-family: var(--f-prose);
  font-size: 0.72rem;
  color: var(--slate);
  margin-top: 3px;
}

/* ── DISCLAIMER / LEGAL PAGE STANDARDIZATION ─────────────────────────── */
.legal-hero {
  background: var(--grad);
  padding: 56px 48px 48px;
}
.legal-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
.legal-breadcrumb {
  font-family: var(--f-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 14px;
}
.legal-breadcrumb a { color: rgba(255,255,255,.65); }
.legal-breadcrumb a:hover { color: #fff; }
.legal-breadcrumb span { margin: 0 6px; }
.legal-hero h1 {
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.legal-hero p {
  font-family: var(--f-prose);
  font-size: 0.95rem;
  color: rgba(255,255,255,.8);
  max-width: 600px;
}
.legal-doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 40px 64px;
}
.legal-meta-bar {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--f-body);
  font-size: 0.78rem;
  color: var(--slate);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal-meta-bar span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.legal-notice-box {
  background: linear-gradient(135deg, rgba(11,110,132,.07), rgba(0,180,166,.05));
  border: 1.5px solid rgba(11,110,132,.18);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin-bottom: 32px;
  font-family: var(--f-prose);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}
.legal-doc h2 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 32px;
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--p);
}
.legal-doc h3 {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 22px;
  margin-bottom: 8px;
}
.legal-doc p {
  font-family: var(--f-prose);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 14px;
}
.legal-doc ul {
  font-family: var(--f-prose);
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 20px;
  margin-bottom: 16px;
  line-height: 1.7;
  list-style: disc;
}
.legal-doc ul li { margin-bottom: 6px; }
.legal-doc a { color: var(--p); font-weight: 600; }
.legal-doc a:hover { color: var(--p-dark); }

/* ── SEO ADMIN PANEL ─────────────────────────────────────────────────── */
.seo-score-ring {
  width: 80px; height: 80px;
  position: relative;
}
.seo-score-ring svg {
  transform: rotate(-90deg);
}
.seo-score-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1.1rem;
  font-weight: 900;
}
.seo-field-group {
  background: #F8FAFC;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
}
.seo-field-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 7px;
}
.seo-field-group input,
.seo-field-group textarea,
.seo-field-group select {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--f-body);
  font-size: 0.87rem;
  outline: none;
  background: #fff;
  transition: border-color .2s;
}
.seo-field-group input:focus,
.seo-field-group textarea:focus { border-color: var(--p); }
.seo-field-group textarea { min-height: 80px; resize: vertical; }
.seo-char-counter {
  font-size: 0.7rem;
  color: var(--slate);
  text-align: right;
  margin-top: 4px;
}
.seo-char-counter.warn { color: var(--gold); }
.seo-char-counter.over { color: var(--red); }
.seo-metric-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.seo-metric-num {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 900;
}
.seo-metric-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-top: 4px;
}

/* ── DASHBOARD WIDGETS ───────────────────────────────────────────────── */
.dash-section-title {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dash-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.chart-placeholder {
  background: var(--light);
  border: 1.5px dashed var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 40px;
  font-family: var(--f-body);
  font-size: 0.8rem;
  color: var(--slate);
  text-align: center;
}

/* ── RESPONSIVE FIXES ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  footer.uf-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  footer.uf-footer .footer-inner { padding: 40px 24px 0; }
  footer.uf-footer .footer-bar { padding: 16px 24px; }
  .about-hero { padding: 56px 24px 48px; }
  .about-hero h1 { font-size: 2rem; }
  .svc-icon-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .legal-doc { padding: 32px 20px 48px; }
  .about-body-section { padding: 44px 24px; }
}
@media (max-width: 600px) {
  footer.uf-footer .footer-grid { grid-template-columns: 1fr; }
  .about-stats-row { gap: 20px; }
  .about-hero h1 { font-size: 1.6rem; }
  .svc-icon-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}


/* ===================================================================
   UrbanFiling v14 — UI UPGRADE PATCH
   - Mobile responsiveness fixes
   - Modern card styles
   - Animation improvements
   - Performance optimizations
   =================================================================== */

/* ── ENHANCED MOBILE NAV ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .topbar { padding: 6px 16px; font-size: 0.7rem; }
  .topbar .tb-right { gap: 10px; }
  .nav-inner { padding: 0 16px; height: 60px; }
  .nav-links { display: none; }
  .hamburger { display: flex !important; }
  
  /* Hero mobile */
  .hero { padding: 32px 16px 24px; }
  .hero-inner { grid-template-columns: 1fr !important; gap: 28px; }
  .hero h1 { font-size: clamp(1.6rem, 5vw, 2.4rem) !important; }
  .hero-stats { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .hero-btns { flex-direction: column; gap: 10px; }
  .hero-btns a { text-align: center; width: 100%; }
  
  /* Service grid mobile — scoped to homepage only; service pages handled separately */
  #svc-grid, .service-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }
  
  /* Section padding */
  .sec { padding: 40px 16px !important; }
  
  /* Footer mobile */
  .footer-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .footer-bar { flex-direction: column; text-align: center; gap: 10px; padding: 16px; }
  .uf-footer .footer-inner { padding: 40px 16px 24px; }
}

@media (max-width: 480px) {
  #svc-grid, .service-grid { grid-template-columns: 1fr !important; }
  .hero-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .lf-card { padding: 20px 16px !important; }
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ── IMPROVED CARD HOVER EFFECTS ─────────────────────────────────── */
.svc-card, .service-card, .pricing-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.svc-card:hover, .service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg) !important;
}

/* ── CTA PULSE ANIMATION ─────────────────────────────────────────── */
.btn-pulse {
  animation: pulse-cta 2s infinite;
}
@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 4px 20px rgba(11,110,132,.35); }
  50% { box-shadow: 0 8px 32px rgba(11,110,132,.55); }
}

/* ── TRUST BADGES ────────────────────────────────────────────────── */
.trust-strip {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
}
.trust-item .ti-icon {
  font-size: 1.1rem;
}
@media(max-width:768px) {
  .trust-strip { padding: 12px 16px; gap: 16px; }
  .trust-item { font-size: 0.75rem; }
}

/* ── PROCESS STEPS ───────────────────────────────────────────────── */
/* process-grid second block — kept for .ps-num / .ps-title / .ps-desc helper classes only */
/* Main .process-grid layout is defined above (repeat(5,1fr) gap:20px) — do not override */
.ps-num {
  width: 56px;
  height: 56px;
  background: var(--grad);
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(11,110,132,.3);
}
.ps-title { font-weight: 700; color: var(--text); margin-bottom: 6px; font-size: 0.95rem; }
.ps-desc { font-size: 0.82rem; color: var(--slate); line-height: 1.5; }

/* ── STATISTICS COUNTER ──────────────────────────────────────────── */
.stats-section {
  background: var(--grad);
  padding: 56px 48px;
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.stat-item .si-num {
  font-family: var(--f-display);
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .si-label {
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 500;
}
@media(max-width: 768px) {
  .stats-section { padding: 40px 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item .si-num { font-size: 2rem; }
}

/* ── PAGE HERO UPGRADE ───────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--p-dark) 60%, var(--p) 100%);
  padding: 60px 48px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,166,.15) 0%, transparent 70%);
}
.page-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.page-hero p {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 600px;
  line-height: 1.7;
}
.page-hero-breadcrumb {
  font-size: 0.8rem;
  opacity: 0.65;
  margin-bottom: 16px;
}
.page-hero-breadcrumb a { color: rgba(255,255,255,.8); }
.page-hero-breadcrumb a:hover { color: #fff; }
@media(max-width: 768px) {
  .page-hero { padding: 40px 16px; }
}

/* ── ADMIN PANEL BASE STYLES ─────────────────────────────────────── */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: #F1F5F9;
}
.admin-sidebar {
  background: var(--navy);
  padding: 0;
  display: flex;
  flex-direction: column;
}
.admin-main {
  padding: 28px;
  overflow-y: auto;
}
.admin-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--sh-sm);
}
@media(max-width: 768px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { 
    position: fixed; left: -240px; top: 0; bottom: 0; width: 240px; 
    z-index: 9000; transition: left 0.3s;
  }
  .admin-sidebar.open { left: 0; }
  .admin-main { padding: 16px; }
}

/* =====================================================================
   UrbanFiling v16 — RESPONSIVE & ALIGNMENT FIX PACK
   Fixes: nav overflow, tablet collapse, mobile alignment,
   dropdown positioning, insurance/share-samadhan responsive
   ===================================================================== */

/* ── NAV: Tighter spacing for 10-item nav ───────────────────────── */
.nav-links {
  gap: 0 !important;
}
.nav-links > li > a,
.nav-links a {
  font-size: 0.76rem !important;
  padding: 6px 8px !important;
  letter-spacing: -0.1px;
}
.has-dd > a::after {
  margin-left: 2px !important;
}

/* ── Logo tighter on crowded nav ─────────────────────────────────── */
.nav-inner {
  gap: 12px !important;
}
.logo {
  font-size: 1.2rem !important;
}

/* ── NAV RIGHT: compact buttons ──────────────────────────────────── */
.nav-right {
  gap: 6px !important;
}
.btn-contact {
  font-size: 0.74rem !important;
  padding: 6px 10px !important;
}
.btn-cta, .btn-consult, .back-btn, .nav-btn {
  font-size: 0.74rem !important;
  padding: 7px 14px !important;
}

/* ── Dropdown: prevent off-screen overflow ────────────────────────── */
.nav-links li .nav-dd {
  max-height: 80vh;
  overflow-y: auto;
}
/* Right-side items: dropdown opens to left */
.nav-links li:nth-last-child(-n+4) .nav-dd:not(.nav-dd-wide) {
  left: auto;
  right: 0;
}
.nav-links li:nth-last-child(-n+3) .nav-dd-wide {
  left: auto !important;
  right: -40px !important;
}

/* ── TABLET: 768–1200px ──────────────────────────────────────────── */
@media (max-width: 1200px) {
  .nav-links > li > a,
  .nav-links a {
    font-size: 0.72rem !important;
    padding: 5px 6px !important;
  }
  .nav-inner {
    padding: 0 16px !important;
    gap: 8px !important;
  }
  .logo { font-size: 1.1rem !important; }
  .logo-badge { font-size: 0.4rem !important; padding: 1px 4px !important; }
  .btn-contact { display: none !important; }
  .btn-cta, .btn-consult, .back-btn {
    font-size: 0.7rem !important;
    padding: 6px 12px !important;
  }
  .nav-dd-wide {
    min-width: 640px !important;
  }
  .topbar { padding: 6px 16px; }
  .topbar span { font-size: 0.68rem; }
}

/* ── TABLET PORTRAIT / SMALL LAPTOP: 768–1024px ─────────────────── */
@media (max-width: 1024px) {
  .nav-links > li > a,
  .nav-links a {
    font-size: 0.68rem !important;
    padding: 5px 5px !important;
  }
  .nav-inner { height: 56px !important; }
  .logo { font-size: 1rem !important; }
  .nav-dd-wide {
    min-width: 520px !important;
    left: -120px !important;
  }
  .nav-dd-cols { flex-wrap: wrap; }
  .nav-dd-col { min-width: 140px; flex: 1 1 45%; }
}

/* ── MOBILE: < 768px — hide nav, show hamburger ──────────────────── */
@media (max-width: 768px) {
  .nav-links,
  .nav-right,
  .btn-contact,
  .btn-cta {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
  .nav-inner {
    height: 54px !important;
    padding: 0 14px !important;
  }
  .logo { font-size: 1.15rem !important; }
  .topbar span { font-size: 0.65rem; }
  .topbar .tb-right { gap: 8px; }
  .topbar a { font-size: 0.65rem; }
}

/* ── MOBILE: < 480px ─────────────────────────────────────────────── */
@media (max-width: 480px) {
  .topbar { flex-direction: column; gap: 2px; text-align: center; padding: 5px 12px; }
  .topbar .tb-right { justify-content: center; }
  .nav-inner { height: 50px !important; }
}

/* ── FOOTER: responsive grid fix ─────────────────────────────────── */
footer.uf-footer .footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
  gap: 32px;
}
@media (max-width: 1024px) {
  footer.uf-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px;
  }
}
@media (max-width: 600px) {
  footer.uf-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  footer.uf-footer .footer-bar {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ── INSURANCE PAGE: responsive overrides ────────────────────────── */
@media (max-width: 1024px) {
  .ins-hero-inner { grid-template-columns: 1fr !important; }
  .ins-enquiry-card { max-width: 520px; }
  .ins-types-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .forum-grid { grid-template-columns: 1fr 1fr !important; }
  .results-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .ins-form-grid { grid-template-columns: 1fr !important; }
  .ins-full-form { max-width: 100%; }
}
@media (max-width: 768px) {
  .ins-hero { padding: 44px 16px 52px !important; }
  .ins-hero h1 { font-size: 1.7rem !important; }
  .ins-issues-section, .ins-how-section, .ins-forums-section,
  .ins-results-section, .ins-types-section, .ins-pricing-section,
  .ins-cta-section, .ins-faq-section, .ins-form-section { padding: 40px 16px !important; }
  .issue-grid, .forum-grid, .testimonials-grid, .pricing-grid { grid-template-columns: 1fr !important; }
  .how-steps { grid-template-columns: 1fr 1fr !important; }
  .how-steps::before { display: none !important; }
  .ins-types-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .results-grid { grid-template-columns: 1fr 1fr !important; }
  .ins-row { grid-template-columns: 1fr !important; }
  .ins-cta-section h2 { font-size: 1.5rem !important; }
  .ins-stats { flex-wrap: wrap; gap: 16px; }
  .ins-hero-btns { flex-direction: column; }
  .ins-hero-btns a { text-align: center; width: 100%; }
  .ins-cta-btns { flex-direction: column; align-items: center; }
  .ins-cta-btns a { width: 100%; max-width: 340px; text-align: center; }
}
@media (max-width: 480px) {
  .how-steps { grid-template-columns: 1fr !important; }
  .ins-hero h1 { font-size: 1.45rem !important; }
  .ins-types-grid { grid-template-columns: 1fr !important; }
  .results-grid { grid-template-columns: 1fr !important; }
}

/* ── SHARE SAMADHAN PAGE: responsive overrides ───────────────────── */
@media (max-width: 1024px) {
  .ss-hero-inner { grid-template-columns: 1fr !important; }
  .ss-enquiry-card { max-width: 520px; }
  .market-grid, .asset-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .page-share-samadhan .svc-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  .ss-hero { padding: 44px 16px 52px !important; }
  .ss-hero h1 { font-size: 1.7rem !important; }
  .ss-market-section, .ss-services-section, .ss-assets-section,
  .ss-how-section, .ss-cta-section, .ss-faq-section { padding: 40px 16px !important; }
  .market-grid, .asset-grid { grid-template-columns: 1fr 1fr !important; }
  .page-share-samadhan .svc-grid { grid-template-columns: 1fr !important; }
  .ss-how-steps { grid-template-columns: 1fr 1fr !important; }
  .ss-how-steps::before { display: none !important; }
  .ss-stats { flex-wrap: wrap; gap: 16px; }
  .ss-hero-btns { flex-direction: column; }
  .ss-hero-btns a { text-align: center; width: 100%; }
  .ss-cta-btns { flex-direction: column; align-items: center; }
  .ss-cta-btns a { width: 100%; max-width: 340px; text-align: center; }
  .ss-cta-section h2 { font-size: 1.5rem !important; }
}
@media (max-width: 480px) {
  .ss-how-steps { grid-template-columns: 1fr !important; }
  .ss-hero h1 { font-size: 1.45rem !important; }
  .market-grid, .asset-grid { grid-template-columns: 1fr !important; }
}

/* ── GLOBAL: Prevent horizontal overflow ─────────────────────────── */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
section, div, main, article, aside, footer, header, nav {
  max-width: 100vw;
}

/* ── TRUST BARS: horizontal scroll on small screens ──────────────── */
.ins-trust, .ss-trust {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 768px) {
  .ins-trust-inner, .ss-trust-inner {
    justify-content: flex-start !important;
    gap: 16px !important;
    padding: 0 8px;
  }
  .ins-ti, .ss-ti { font-size: 0.68rem !important; }
}

/* ── HERO FORM CARDS: full width on mobile ───────────────────────── */
@media (max-width: 768px) {
  .ins-enquiry-card, .ss-enquiry-card {
    max-width: 100% !important;
    margin: 0 auto;
  }
}

/* ── FAQ SECTIONS: mobile fix ────────────────────────────────────── */
@media (max-width: 768px) {
  .faq-list, .ss-faq-list { padding: 0; }
  .faq-q, .ss-faq-q { font-size: 0.84rem !important; padding: 12px 14px !important; }
  .faq-ans-inner, .ss-faq-ans-inner { font-size: 0.82rem !important; padding: 0 14px 14px !important; }
}


/* =====================================================================
   UrbanFiling v16.1 — NAV OVERFLOW + FOOTER QUICKLINKS + ALIGNMENT FIX
   ===================================================================== */

/* ── FOOTER: Quick Links horizontal bar ──────────────────────────── */
.footer-quicklinks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 8px;
}
.footer-quicklinks a {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,.55);
  transition: color .2s;
  white-space: nowrap;
}
.footer-quicklinks a:hover { color: var(--teal); }
.footer-quicklinks .fql-sep {
  color: rgba(255,255,255,.2);
  font-size: 0.7rem;
  user-select: none;
}
@media (max-width: 480px) {
  .footer-quicklinks { gap: 8px; }
  .footer-quicklinks a { font-size: 0.7rem; }
  .footer-quicklinks .fql-sep { font-size: 0.6rem; }
}

/* ── FOOTER GRID: 4-col → 3-col (brand wider) ───────────────────── */
footer.uf-footer .footer-grid {
  grid-template-columns: 1.6fr 1fr 1fr 0.7fr !important;
  gap: 28px !important;
}
@media (max-width: 1024px) {
  footer.uf-footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px !important;
  }
}
@media (max-width: 600px) {
  footer.uf-footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}
footer.uf-footer .footer-bar {
  justify-content: center !important;
  text-align: center;
}

/* ── NAV: Prevent overflow — constrain total width ───────────────── */
.nav-inner {
  max-width: 100% !important;
  overflow: visible;
}
.nav-links {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: visible;
}
/* Even tighter nav spacing for 10 items */
.nav-links > li > a,
.nav-links a {
  font-size: 0.74rem !important;
  padding: 5px 7px !important;
  white-space: nowrap !important;
}
/* has-dd arrow tighter */
.has-dd > a::after {
  font-size: 0.5rem !important;
  margin-left: 1px !important;
}

/* ── Homepage service icon grid: contained within viewport ───────── */
/* NOTE: scoped to #svc-grid (homepage only) — service-page .svc-grid keeps repeat(3,1fr) */
#svc-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
  gap: 14px !important;
  max-width: 100%;
}
.home-svc-grid, .svc-icon-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
  gap: 12px !important;
}
.svc-icon-card {
  min-width: 0 !important;
  overflow: hidden;
}
.svc-icon-card h4 {
  font-size: 0.72rem !important;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.svc-icon-card .price {
  font-size: 0.68rem !important;
}

/* ── Service tabs: scrollable on mobile ──────────────────────────── */
.svc-tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.svc-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  font-size: 0.72rem !important;
  padding: 5px 12px !important;
  flex-shrink: 0;
}

/* ── DROPDOWN: smart positioning to prevent overflow ─────────────── */
/* Left-side items: dropdown opens right-aligned */
.nav-links li:nth-child(n+6) .nav-dd:not(.nav-dd-wide) {
  left: auto !important;
  right: 0 !important;
}
/* Wide dropdowns on right-side items: constrain to viewport */
.nav-links li:nth-child(n+5) .nav-dd-wide {
  left: auto !important;
  right: -20px !important;
  max-width: 90vw !important;
}
/* Wide dropdown max width constraint */
.nav-dd-wide {
  max-width: min(820px, 92vw) !important;
}
/* All dropdowns: constrain height */
.nav-dd, .nav-dd-wide {
  max-height: 80vh;
  overflow-y: auto;
}

/* ── SECTION containers: prevent overflow ────────────────────────── */
.sec, section {
  overflow-x: hidden;
}
.container {
  max-width: 1280px !important;
  padding-left: 16px;
  padding-right: 16px;
  overflow: hidden;
}

/* ── 1400px+ DESKTOP: comfortable spacing ────────────────────────── */
@media (min-width: 1400px) {
  .nav-links > li > a, .nav-links a {
    font-size: 0.78rem !important;
    padding: 6px 9px !important;
  }
  .logo { font-size: 1.25rem !important; }
}

/* ── 1200-1400px: STANDARD LAPTOP ────────────────────────────────── */
@media (max-width: 1400px) and (min-width: 1201px) {
  .nav-links > li > a, .nav-links a {
    font-size: 0.73rem !important;
    padding: 5px 6px !important;
  }
  .logo { font-size: 1.1rem !important; }
  .btn-cta, .btn-consult, .back-btn {
    font-size: 0.72rem !important;
    padding: 6px 12px !important;
  }
}

/* ── 1024-1200px: SMALL LAPTOP / LARGE TABLET ────────────────────── */
@media (max-width: 1200px) and (min-width: 769px) {
  .nav-links > li > a, .nav-links a {
    font-size: 0.68rem !important;
    padding: 4px 4px !important;
  }
  .nav-inner { padding: 0 12px !important; gap: 6px !important; height: 54px !important; }
  .logo { font-size: 1rem !important; }
  .logo-badge { font-size: 0.38rem !important; padding: 1px 3px !important; margin-left: 3px !important; }
  .btn-contact { display: none !important; }
  .btn-cta, .btn-consult, .back-btn {
    font-size: 0.66rem !important;
    padding: 5px 10px !important;
  }
  .has-dd > a::after { display: none !important; }
  .nav-dd-wide { min-width: min(580px, 90vw) !important; }
}

/* ── TABLET / MOBILE < 768px: hamburger only ─────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-right, .btn-contact { display: none !important; }
  .hamburger { display: flex !important; }
  /* Ensure btn-cta is hidden but back-btn is also hidden */
  .btn-cta, .back-btn, .btn-consult { display: none !important; }
  .nav-inner { height: 52px !important; padding: 0 12px !important; }
  .logo { font-size: 1.1rem !important; }
  
  /* Homepage service grid (scoped to #svc-grid — service pages keep their own layout) */
  #svc-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .home-svc-grid, .svc-icon-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  
  /* Section padding */
  .sec { padding: 36px 14px !important; }
  .container { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ── SMALL MOBILE < 480px ────────────────────────────────────────── */
@media (max-width: 480px) {
  #svc-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 8px !important; }
  .svc-icon-card { padding: 10px 7px; }
  /* .si sizing at 480px handled by icon system below */
  .svc-icon-card h4 { font-size: 0.67rem; }
  .svc-icon-card .price { font-size: 0.63rem; }
}

/* ── GLOBAL: all section inner containers constrained ────────────── */
.ins-section-inner, .ss-section-inner {
  max-width: 1280px !important;
  padding: 0 16px;
  overflow: hidden;
}
@media (max-width: 768px) {
  .ins-section-inner, .ss-section-inner {
    padding: 0 !important;
  }
}

/* ── TOPBAR: prevent overflow on all sizes ───────────────────────── */
.topbar {
  overflow: hidden;
  max-width: 100vw;
}
@media (max-width: 600px) {
  .topbar { padding: 4px 10px !important; }
  .topbar span { font-size: 0.6rem !important; }
  .topbar a { font-size: 0.6rem !important; }
}


/* Removed v17 !important overrides — replaced by clean icon system below */

/* ═══════════════════════════════════════════════════════════════════
   v18 IMPROVEMENTS — Accessibility, Social, Mobile Nav, Performance
   ═══════════════════════════════════════════════════════════════════ */

/* ── FONT DISPLAY OPTIMIZATION ─────────────────────────────────── */
/* Applied via Google Fonts URL param &display=swap — already in import */

/* ── FOCUS ACCESSIBILITY ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--p);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--p);
  outline-offset: 2px;
}

/* ── SKIP TO MAIN CONTENT (Accessibility) ───────────────────────── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--p);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 99999;
  transition: top .2s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ── SOCIAL LINKS in footer ─────────────────────────────────────── */
.fg-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75) !important;
  font-family: var(--f-brand);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.15);
  transition: all .2s;
  flex-shrink: 0;
}
.social-link:hover {
  background: var(--teal);
  color: #fff !important;
  border-color: var(--teal);
  transform: translateY(-2px);
}

/* ── IMPROVED MOBILE NAV OVERLAY ────────────────────────────────── */
.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background .2s;
}
.mobile-nav-close:hover { background: var(--border); }
.mobile-nav-logo {
  font-family: var(--f-brand);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--p) !important;
  padding: 0 4px 16px !important;
  border-bottom: 2px solid var(--border) !important;
  margin-bottom: 8px;
  display: block;
}
.mobile-nav-logo em { color: var(--red); font-style: normal; }
.mn-section {
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.mn-title {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--slate);
  padding: 8px 16px 4px;
}
.m-cta-btn {
  border: none;
  cursor: pointer;
  font-size: 1rem !important;
  font-family: var(--f-body);
}

/* ── 1200px BREAKPOINT ───────────────────────────────────────────── */
@media (max-width: 1200px) {
  .nav-inner { padding: 0 32px; }
  .nav-links a { font-size: 0.78rem; padding: 6px 9px; }
  .topbar { padding: 8px 32px; }
  .container { padding: 0 32px; }
  .hero-inner { gap: 40px; }
  .corp-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── PRINT STYLES ────────────────────────────────────────────────── */
@media print {
  .topbar, nav, .wa-float, .call-float, .chat-widget,
  .consult-float, .enq-modal-overlay, .mobile-nav { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
  .hero, .cta-sec { background: #fff !important; color: #000 !important; }
}

/* ── INSIGHTS / BLOG PAGE STYLES ────────────────────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
.insight-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.insight-card:hover {
  border-color: var(--p);
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
}
.insight-card-img {
  height: 180px;
  background: linear-gradient(135deg, rgba(11,110,132,.12), rgba(0,180,166,.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.insight-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.insight-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.insight-cat {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  background: rgba(11,110,132,.1);
  color: var(--p);
  padding: 3px 10px;
  border-radius: 20px;
}
.insight-date { font-size: 0.72rem; color: var(--slate); }
.insight-card h3 {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}
.insight-card p { font-size: 0.82rem; color: var(--slate); line-height: 1.6; flex: 1; }
.insight-read-more {
  margin-top: 14px;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--p);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.insight-read-more:hover { color: var(--p-dark); }

/* ── CLIENT PORTAL PAGE ─────────────────────────────────────────── */
.portal-coming-soon {
  text-align: center;
  padding: 80px 24px;
  max-width: 600px;
  margin: 0 auto;
}
.portal-icon { font-size: 4rem; margin-bottom: 20px; }
.portal-coming-soon h2 {
  font-family: var(--f-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.portal-coming-soon p {
  font-family: var(--f-prose);
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ── CONTACT PAGE ────────────────────────────────────────────────── */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--light);
  border-radius: var(--r-xl);
  padding: 36px;
  border: 1.5px solid var(--border);
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.ci-icon {
  /* Visual styles — size governed by icon system block below */
  background: linear-gradient(135deg, rgba(11,110,132,.1), rgba(0,180,166,.12));
  border-radius: 10px;
}
.ci-label { font-size: 0.72rem; font-weight: 700; color: var(--slate); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 3px; }
.ci-value { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.ci-value a { color: var(--p); }

/* ── BREADCRUMB NAV ──────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-family: var(--f-body);
  font-size: 0.78rem;
  color: var(--slate);
  padding: 12px 0 0;
}
.breadcrumb a { color: var(--p); }
.breadcrumb a:hover { color: var(--p-dark); }
.breadcrumb-sep { color: var(--border); font-size: 0.7rem; }
.breadcrumb-current { color: var(--slate); font-weight: 600; }

/* ── RESPONSIVE ADDITIONS ────────────────────────────────────────── */
@media (max-width: 768px) {
  .insights-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ICON SYSTEM v18 — Single Source of Truth
   Replaces all previous conflicting overrides.
   DO NOT add icon size/style rules outside this block.
   ═══════════════════════════════════════════════════════════════════════════

   ICON CLASS REFERENCE:
   .sc-icon      — Service card icon (ip/loans/registration/taxation svc-card)  56px
   .sic-icon     — Service icon card icon (all-services grid on service pages)   56px
   .si            — Homepage quick-select service grid icon                       48px
   .svc-icon      — svc-detail-card icon (corporate-advisory, stressed assets)   52px
   .cc-icon       — Calculators page card icon                                   44px
   .wi            — Why-us / feature card icon (homepage)                         icon only, text-based
   .ci            — Corporate advisory feature icon                               icon only, text-based
   .dd-icon       — Navigation dropdown icon                                      30px
   .step-num      — Process step number badge (corporate-advisory)                48px
   .pstep-num     — Process step number (registration page)                       48px
   .how-num       — Insurance / share-samadhan how-it-works number                44px
   .c-icon        — Contact method icon (corporate advisory contact section)      56px
   .ins-benefit-icon — Insurance benefit icon                                     44px
   .issue-icon    — Insurance issue card icon                                     48px
   .ins-type-icon — Insurance type card icon                                      48px
   .forum-logo    — Insurance forum card icon                                     48px
   .pc-icon       — Insurance pricing tier icon                                   48px
   .asset-icon    — Share samadhan asset type icon                                48px
   .market-icon   — Share samadhan market icon                                    48px
   .svc-block-icon — Share samadhan service block icon                            48px
   .emp-icon      — Careers employee benefit icon                                 40px
   .avc-icon      — About page value card icon                                    40px
   .ci-icon       — Contact page contact info icon                                44px
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── BASE MIXIN (shared properties for all icon containers) ─────────────── */
.uf-icon-base,
.sc-icon, .sic-icon, .si, .svc-icon, .cc-icon,
.dd-icon, .c-icon, .ins-benefit-icon, .issue-icon, .ins-type-icon,
.forum-logo, .pc-icon, .asset-icon, .market-icon, .svc-block-icon,
.emp-icon, .avc-icon, .ci-icon, .how-num, .step-num, .pstep-num,
.svc-icon-card .si {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  overflow: hidden;
  line-height: 1;
}

/* ── SERVICE CARD ICON (.sc-icon) — 56px ───────────────────────────────── */
/* Used in svc-card on registration/ip/loans/taxation pages */
.sc-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  aspect-ratio: 1 / 1;   /* guarantee square on all browsers */
  font-size: 1.75rem;
  border-radius: 14px;
  /* bg/border already set in primary definition above */
}
@media (max-width: 768px) {
  .sc-icon { width: 48px; height: 48px; min-width: 48px; min-height: 48px; font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .sc-icon { width: 42px; height: 42px; min-width: 42px; min-height: 42px; font-size: 1.3rem; border-radius: 11px; }
}

/* ── SERVICE ICON CARD ICON (.sic-icon) — 56px ──────────────────────────── */
/* Used in svc-icon-card on taxation/ip/loans all-services grid */
.sic-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  aspect-ratio: 1 / 1;   /* guarantee square */
  font-size: 1.75rem;
  border-radius: 14px;
  /* bg already set in primary definition above */
}
@media (max-width: 768px) {
  .sic-icon { width: 48px; height: 48px; min-width: 48px; min-height: 48px; font-size: 1.5rem; }
}
@media (max-width: 480px) {
  .sic-icon { width: 40px; height: 40px; min-width: 40px; min-height: 40px; font-size: 1.3rem; border-radius: 10px; }
}

/* ── HOMEPAGE GRID ICON (.si) — 48px ────────────────────────────────────── */
/* Used in svc-icon-card on the homepage all-services grid */
.svc-icon-card .si {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  aspect-ratio: 1 / 1;   /* guarantee square */
  font-size: 1.5rem;
  border-radius: 12px;
  /* bg/border already set in primary definition above */
}
@media (max-width: 480px) {
  .svc-icon-card .si {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 1.25rem;
    border-radius: 9px;
  }
}

/* ── DETAIL CARD ICON (.svc-icon) — 52px ───────────────────────────────── */
/* Used in svc-detail-card on corporate-advisory and stressed-asset cards */
.svc-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  aspect-ratio: 1 / 1;   /* guarantee square */
  font-size: 1.6rem;
  border-radius: 13px;
}
@media (max-width: 480px) {
  .svc-icon { width: 44px; height: 44px; min-width: 44px; min-height: 44px; font-size: 1.4rem; }
}

/* ── CALCULATOR CARD ICON (.cc-icon) — 44px ─────────────────────────────── */
.cc-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.4rem;
  border-radius: 11px;
}

/* ── NAV DROPDOWN ICON (.dd-icon) — 30px ───────────────────────────────── */
.dd-icon {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  font-size: 1.05rem;
  border-radius: 7px;
  background: rgba(11,110,132,.1);
  transition: background .2s;
}
.nav-dd a:hover .dd-icon {
  background: rgba(11,110,132,.18);
}

/* ── CONTACT SECTION ICON (.c-icon) — 56px ─────────────────────────────── */
/* Defined in primary .c-icon block above — no override needed here */

/* ── INSURANCE ICONS — 48px ─────────────────────────────────────────────── */
/* .ins-benefit-icon, .issue-icon, .ins-type-icon, .forum-logo, .pc-icon */
.ins-benefit-icon,
.issue-icon,
.ins-type-icon,
.forum-logo,
.pc-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  font-size: 1.5rem;
  border-radius: 12px;
  /* bg handled by individual definitions */
}
@media (max-width: 480px) {
  .ins-benefit-icon, .issue-icon, .ins-type-icon, .forum-logo, .pc-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 1.25rem;
    border-radius: 10px;
  }
}

/* ── SHARE SAMADHAN ICONS — 48px ────────────────────────────────────────── */
.asset-icon,
.market-icon,
.svc-block-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  font-size: 1.5rem;
  border-radius: 12px;
}
@media (max-width: 480px) {
  .asset-icon, .market-icon, .svc-block-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 1.3rem;
  }
}

/* ── CAREERS EMPLOYEE BENEFIT ICON (.emp-icon) — text emoji display ──────── */
/* careers.html uses .emp-icon as a plain emoji display (no container box) */
.emp-icon {
  font-size: 2rem;
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

/* ── ABOUT PAGE VALUE CARD ICON (.avc-icon) — 40px ─────────────────────── */
/* Defined in primary .avc-icon block above — no override needed here */

/* ── CONTACT INFO ICON (.ci-icon) — 44px ───────────────────────────────── */
.ci-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.35rem;
  border-radius: 11px;
}

/* ── PROCESS STEP NUMBER (.step-num, .pstep-num, .how-num) — 48px ────────── */
/* These are circular number badges, not emoji icons */
.step-num,
.pstep-num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  font-size: 1.2rem;
  font-weight: 900;
  border-radius: 50%;
  /* bg set by nth-child rules above */
}
.how-num,
.ss-how-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
}

/* ── WHY-US / FEATURE ICON (.wi, .ci) — Text emoji, no container ────────── */
/* .wi and .ci are pure emoji text, not box containers */
.wi {
  font-size: 2rem;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.ci {
  font-size: 2.2rem;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
/* .why-icon used on careers page — same treatment as .wi */
.why-icon {
  font-size: 2.2rem;
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
@media (max-width: 768px) {
  .wi { font-size: 1.7rem; }
  .ci { font-size: 1.9rem; }
  .why-icon { font-size: 1.9rem; }
}

/* ── ICON ANIMATION — consistent hover scale ────────────────────────────── */
/* All boxed icons scale up smoothly on parent hover */
.svc-card:hover .sc-icon,
.svc-detail-card:hover .svc-icon,
.ins-benefit-card:hover .ins-benefit-icon,
.issue-card:hover .issue-icon {
  transform: scale(1.06);
}

/* ── RESPONSIVE: TABLET (768–1024px) ───────────────────────────────────── */
@media (max-width: 1024px) and (min-width: 769px) {
  .sc-icon  { width: 52px; height: 52px; min-width: 52px; min-height: 52px; font-size: 1.65rem; }
  .sic-icon { width: 52px; height: 52px; min-width: 52px; min-height: 52px; font-size: 1.65rem; }
  .svc-icon-card .si { width: 44px; height: 44px; min-width: 44px; min-height: 44px; font-size: 1.4rem; }
  .c-icon   { width: 52px; height: 52px; min-width: 52px; min-height: 52px; font-size: 1.65rem; }
}

/* ═══════════════════════════════════════════════════════════════════
   SERVICE ENQUIRY MODAL — v19
   Triggered by "Apply Now" buttons on taxation/ip/loans/share-samadhan
   ═══════════════════════════════════════════════════════════════════ */

/* Overlay backdrop */
.svc-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12, 31, 53, 0.62);
  z-index: 10100;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: svcModalFadeIn .22s ease;
}
.svc-modal-overlay.open {
  display: flex;
}
@keyframes svcModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Modal box */
.svc-modal-box {
  background: #fff;
  border-radius: 20px;
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(11,110,132,.28);
  position: relative;
  animation: svcModalSlideUp .26s cubic-bezier(.22,.68,0,1.2);
}
@keyframes svcModalSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

/* Modal header */
.svc-modal-header {
  background: linear-gradient(135deg, #0B6E84 0%, #00B4A6 100%);
  padding: 24px 28px 20px;
  border-radius: 20px 20px 0 0;
  position: relative;
}
.svc-modal-header h2 {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
  padding-right: 36px;
  line-height: 1.3;
}
.svc-modal-header p {
  font-family: var(--f-prose);
  font-size: 0.8rem;
  color: rgba(255,255,255,.82);
  margin: 0;
}
.svc-modal-svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 10px;
}

/* Close button */
.svc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1.5px solid rgba(255,255,255,.3);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  line-height: 1;
}
.svc-modal-close:hover {
  background: rgba(255,255,255,.32);
}

/* Modal body / form */
.svc-modal-body {
  padding: 28px;
}
.svc-modal-field {
  margin-bottom: 16px;
}
.svc-modal-field label {
  display: block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.svc-modal-field input,
.svc-modal-field select,
.svc-modal-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: var(--f-body);
  font-size: 0.87rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.svc-modal-field input:focus,
.svc-modal-field select:focus,
.svc-modal-field textarea:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(11,110,132,.1);
}
.svc-modal-field input.error,
.svc-modal-field select.error,
.svc-modal-field textarea.error {
  border-color: #E53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,.08);
}
.svc-modal-field .field-error {
  display: none;
  font-size: 0.72rem;
  color: #E53935;
  margin-top: 4px;
  font-family: var(--f-prose);
}
.svc-modal-field .field-error.show {
  display: block;
}
.svc-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.svc-modal-field textarea {
  resize: vertical;
  min-height: 80px;
}
.svc-modal-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B6E84' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Submit button */
.svc-modal-submit {
  width: 100%;
  background: linear-gradient(135deg, #0B6E84 0%, #00B4A6 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .22s;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 18px rgba(11,110,132,.35);
  margin-top: 4px;
}
.svc-modal-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11,110,132,.45);
}
.svc-modal-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}
.svc-modal-note {
  font-family: var(--f-prose);
  font-size: 0.7rem;
  color: var(--slate);
  text-align: center;
  margin-top: 10px;
}
.svc-modal-note a { color: var(--p); }

/* Success state */
.svc-modal-success {
  display: none;
  text-align: center;
  padding: 48px 28px;
}
.svc-modal-success.show { display: block; }
.svc-modal-success-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(11,110,132,.1), rgba(0,180,166,.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.svc-modal-success h3 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.svc-modal-success p {
  font-family: var(--f-prose);
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 6px;
}
.svc-modal-ref {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  color: var(--p);
  font-weight: 700;
  background: rgba(11,110,132,.07);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 4px;
}

/* Scrollbar inside modal */
.svc-modal-box::-webkit-scrollbar { width: 4px; }
.svc-modal-box::-webkit-scrollbar-track { background: transparent; }
.svc-modal-box::-webkit-scrollbar-thumb { background: rgba(11,110,132,.25); border-radius: 4px; }

/* Mobile responsive */
@media (max-width: 600px) {
  .svc-modal-box { max-height: 96vh; border-radius: 16px 16px 0 0; }
  .svc-modal-header { padding: 20px 22px 16px; border-radius: 16px 16px 0 0; }
  .svc-modal-body { padding: 20px; }
  .svc-modal-row { grid-template-columns: 1fr; gap: 0; }
}

/* ── Share Samadhan svc-block Apply button ──────────────────────────── */
.svc-block-apply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 10px 22px;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  margin-top: 16px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.svc-block-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(11,110,132,.38);
}

/* ═══════════════════════════════════════════════════════════════════════════
   NEW FEATURE STYLES v21 — Service Search · Insights Rebuild · Sitemap
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── SERVICE SEARCH BAR ──────────────────────────────────────────── */
.hero-search-wrap {
  position: relative;
  margin-top: 28px;
  max-width: 600px;
}
.hero-search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 8px 40px rgba(11,110,132,.22), 0 2px 12px rgba(0,0,0,.08);
  gap: 10px;
  backdrop-filter: blur(10px);
  transition: border-color .2s, box-shadow .2s;
}
.hero-search-bar:focus-within {
  border-color: var(--p);
  box-shadow: 0 8px 40px rgba(11,110,132,.3), 0 0 0 4px rgba(11,110,132,.12);
}
.hero-search-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  color: var(--p);
}
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--f-body);
  font-size: 0.92rem;
  color: var(--navy);
  min-width: 0;
}
.hero-search-input::placeholder { color: #8EA4B5; }
.hero-search-btn {
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 40px;
  padding: 10px 22px;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity .18s;
}
.hero-search-btn:hover { opacity: .88; }
.hero-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--sh-xl);
  z-index: 500;
  overflow: hidden;
  display: none;
  max-height: 380px;
  overflow-y: auto;
}
.hero-search-dropdown.open { display: block; }
.search-dd-header {
  padding: 12px 18px 8px;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--border);
  background: var(--light);
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 18px;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #F0F4F8;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--light); }
.sri-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: linear-gradient(135deg, rgba(11,110,132,.1), rgba(0,180,166,.12));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}
.sri-info { flex: 1; min-width: 0; }
.sri-name {
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sri-cat {
  font-family: var(--f-body);
  font-size: 0.71rem;
  color: var(--slate);
}
.sri-arrow {
  font-size: 0.8rem;
  color: var(--p);
  flex-shrink: 0;
}
.search-no-results {
  padding: 24px 18px;
  text-align: center;
  font-family: var(--f-body);
  font-size: 0.88rem;
  color: var(--slate);
}
.hero-search-popular {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.hsp-label {
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
}
.hsp-tag {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 20px;
  padding: 3px 10px;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}
.hsp-tag:hover { background: rgba(255,255,255,.3); }
@media (max-width: 768px) {
  .hero-search-wrap { max-width: 100%; }
  .hero-search-btn { padding: 10px 14px; font-size: 0.78rem; }
  .hero-search-dropdown { border-radius: 14px; }
}

/* ── INSIGHTS PAGE — FULL REBUILD ────────────────────────────────── */
.insights-hero {
  background: linear-gradient(135deg, #0B6E84 0%, #004D5C 60%, #00B4A6 100%);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.insights-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.insights-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.insights-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-brand);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 18px;
}
.insights-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
}
.insights-hero p {
  font-family: var(--f-prose);
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.insights-hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.ihs { text-align: center; }
.ihs .n { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; color: #fff; }
.ihs .l { font-family: var(--f-body); font-size: 0.72rem; color: rgba(255,255,255,.65); margin-top: 2px; }

/* Featured Article */
.featured-article {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--sh-md);
  margin-bottom: 48px;
  transition: box-shadow .25s, transform .25s;
}
.featured-article:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.fa-visual {
  background: linear-gradient(135deg, #0B6E84 0%, #00B4A6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.fa-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.05'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}
.fa-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--gold);
  color: #fff;
  font-family: var(--f-brand);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 10px;
  border-radius: 20px;
}
.fa-content {
  padding: 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fa-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.fa-cat {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(11,110,132,.1);
  color: var(--p);
  border-radius: 20px;
  padding: 3px 10px;
}
.fa-date {
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: var(--slate);
}
.fa-read-time {
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: var(--slate);
}
.fa-content h2 {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 12px;
}
.fa-content p {
  font-family: var(--f-prose);
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}
.fa-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.fa-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.fa-author-name {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
}
.fa-author-role {
  font-family: var(--f-body);
  font-size: 0.68rem;
  color: var(--slate);
}
.fa-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  font-family: var(--f-body);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 10px;
  transition: opacity .18s;
  align-self: flex-start;
}
.fa-read-btn:hover { opacity: .88; }
@media (max-width: 768px) {
  .featured-article { grid-template-columns: 1fr; }
  .fa-visual { min-height: 160px; font-size: 3.5rem; }
  .fa-content { padding: 24px 20px; }
}

/* Insight Cards Grid */
.insights-grid-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 64px;
}
.ig-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 14px;
}
.ig-title {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}
.ig-count {
  font-family: var(--f-body);
  font-size: 0.8rem;
  color: var(--slate);
}
.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insight-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  box-shadow: var(--sh-sm);
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--p);
}
.insight-card-img {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  background: linear-gradient(135deg, #EBF7FA 0%, #E0F7F5 100%);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.insight-card-img::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 24px;
  background: linear-gradient(to top, #fff, transparent);
}
.insight-card-body {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.insight-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.insight-cat {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(11,110,132,.1);
  color: var(--p);
  border-radius: 20px;
  padding: 2px 9px;
}
.insight-date {
  font-family: var(--f-body);
  font-size: 0.68rem;
  color: var(--slate);
}
.insight-read-time {
  font-family: var(--f-body);
  font-size: 0.68rem;
  color: var(--slate);
  margin-left: auto;
}
.insight-card h3 {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 8px;
}
.insight-card p {
  font-family: var(--f-prose);
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.insight-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.insight-author-sm {
  display: flex;
  align-items: center;
  gap: 7px;
}
.ias-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.ias-name {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
}
.insight-read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--p);
  text-decoration: none;
  transition: gap .18s;
}
.insight-read-more:hover { gap: 8px; }

/* Compliance Alert Cards */
.alert-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-md);
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow .2s;
}
.alert-card:hover { box-shadow: var(--sh-sm); }
.alert-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.alert-body h4 {
  font-family: var(--f-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.alert-body p {
  font-family: var(--f-prose);
  font-size: 0.8rem;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 8px;
}
.alert-due {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 700;
  color: #c05c00;
  background: #FFF3E0;
  border-radius: 20px;
  padding: 2px 9px;
}
.alert-card.urgent { border-left-color: var(--red); }
.alert-card.urgent .alert-due { color: #b71c1c; background: #FFEBEE; }
.alert-card.info { border-left-color: var(--p); }
.alert-card.info .alert-due { color: var(--p-dark); background: rgba(11,110,132,.1); }

/* Pagination */
.insights-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.pg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--f-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
}
.pg-btn:hover, .pg-btn.active {
  background: var(--p);
  border-color: var(--p);
  color: #fff;
}
.pg-btn.pg-prev, .pg-btn.pg-next {
  width: auto;
  padding: 0 14px;
  font-size: 0.8rem;
}

/* Category filter tabs */
.insights-cat-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.icf-btn {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 16px;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.icf-btn:hover, .icf-btn.active {
  background: var(--p);
  border-color: var(--p);
  color: #fff;
}

/* Side panel */
.insights-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 64px;
}
.insights-sidebar .sidebar-widget {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sw-topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #F0F4F8;
  cursor: pointer;
  text-decoration: none;
  transition: color .15s;
}
.sw-topic:last-child { border-bottom: none; }
.sw-topic:hover .swt-name { color: var(--p); }
.swt-name {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  transition: color .15s;
}
.swt-count {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--light);
  color: var(--slate);
  border-radius: 20px;
  padding: 2px 8px;
}
.sw-popular-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #F0F4F8;
  text-decoration: none;
  transition: background .15s;
}
.sw-popular-item:last-child { border-bottom: none; }
.spi-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-brand);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--p);
  flex-shrink: 0;
}
.spi-title {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  transition: color .15s;
}
.sw-popular-item:hover .spi-title { color: var(--p); }
@media (max-width: 1024px) {
  .insights-layout { grid-template-columns: 1fr; }
  .insights-sidebar { display: none; }
}
@media (max-width: 768px) {
  .insights-grid { grid-template-columns: 1fr; }
  .insights-grid-section { padding: 0 16px 48px; }
  .insights-hero-inner { padding: 0 16px; }
}
@media (max-width: 480px) {
  .insights-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ── INSIGHT ARTICLE PAGE ────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px 80px;
  align-items: start;
}
.article-main {}
.article-hero-visual {
  height: 280px;
  background: linear-gradient(135deg, #0B6E84, #00B4A6);
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.article-hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.art-cat-pill {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(11,110,132,.1);
  color: var(--p);
  border-radius: 20px;
  padding: 3px 12px;
}
.art-date, .art-read-time {
  font-family: var(--f-body);
  font-size: 0.75rem;
  color: var(--slate);
}
article.art-content h1 {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 20px;
}
.art-author-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--light);
  border-radius: var(--r-md);
  margin-bottom: 28px;
  border: 1px solid var(--border);
}
.aab-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.aab-name {
  font-family: var(--f-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.aab-cred {
  font-family: var(--f-body);
  font-size: 0.73rem;
  color: var(--slate);
}
.art-share {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.art-share-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
}
.art-share-btn:hover { background: var(--p); border-color: var(--p); filter: brightness(3); }
.art-body {
  font-family: var(--f-prose);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text);
}
.art-body h2 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 32px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light);
}
.art-body h3 {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 10px;
}
.art-body p { margin-bottom: 16px; }
.art-body ul, .art-body ol {
  padding-left: 22px;
  margin-bottom: 16px;
}
.art-body li { margin-bottom: 6px; }
.art-body strong { color: var(--navy); font-weight: 700; }
.art-highlight-box {
  background: linear-gradient(135deg, rgba(11,110,132,.07), rgba(0,180,166,.08));
  border-left: 4px solid var(--p);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.art-highlight-box p {
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--p-dark);
  margin: 0;
  line-height: 1.55;
}
.art-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-family: var(--f-body);
  font-size: 0.84rem;
}
.art-table th {
  background: var(--p);
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
}
.art-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.art-table tr:nth-child(even) td { background: var(--light); }
.art-toc {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 22px;
  margin: 28px 0;
}
.art-toc h4 {
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--slate);
  margin-bottom: 12px;
}
.art-toc ol {
  padding-left: 20px;
  margin: 0;
}
.art-toc li {
  font-family: var(--f-body);
  font-size: 0.83rem;
  color: var(--p);
  margin-bottom: 6px;
  cursor: pointer;
}
.art-toc li:hover { text-decoration: underline; }

/* Related Articles */
.related-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.related-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.rc-visual {
  height: 60px;
  background: linear-gradient(135deg, #EBF7FA, #E0F7F5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
.rc-body { padding: 12px 14px; }
.rc-cat {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--p);
  margin-bottom: 4px;
}
.rc-title {
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}

/* Article Sidebar */
.article-sidebar .sidebar-widget {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-bottom: 22px;
  position: sticky;
  top: 90px;
}
.article-sidebar .sidebar-widget h3 {
  font-family: var(--f-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.toc-nav a {
  display: block;
  font-family: var(--f-body);
  font-size: 0.8rem;
  color: var(--slate);
  padding: 6px 0;
  border-bottom: 1px solid #F0F4F8;
  text-decoration: none;
  transition: color .15s, padding-left .15s;
}
.toc-nav a:hover, .toc-nav a.active { color: var(--p); padding-left: 6px; }
.toc-nav a:last-child { border-bottom: none; }
.art-cta-box {
  background: var(--grad);
  border-radius: var(--r-lg);
  padding: 24px;
  text-align: center;
}
.art-cta-box h3 {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}
.art-cta-box p {
  font-family: var(--f-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,.82);
  margin-bottom: 16px;
  line-height: 1.5;
}
.art-cta-btn {
  display: block;
  background: #fff;
  color: var(--p);
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: opacity .18s;
  cursor: pointer;
  border: none;
  width: 100%;
}
.art-cta-btn:hover { opacity: .9; }
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar { display: none; }
  .related-articles-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .article-layout { padding: 24px 16px 56px; }
  .related-articles-grid { grid-template-columns: 1fr; }
  .article-hero-visual { height: 180px; font-size: 3.5rem; }
}

/* ── VISUAL HTML SITEMAP PAGE ────────────────────────────────────── */
.sitemap-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
  padding: 56px 0 64px;
}
.sitemap-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.sitemap-hero p {
  font-family: var(--f-prose);
  font-size: 0.95rem;
  color: rgba(255,255,255,.75);
}
.sitemap-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}
.sitemap-section {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.sitemap-section.full-width {
  grid-column: 1 / -1;
}
.sitemap-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(11,110,132,.07), rgba(0,180,166,.06));
  border-bottom: 1.5px solid var(--border);
}
.ssh-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--grad);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.ssh-title {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}
.ssh-count {
  margin-left: auto;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--p);
  color: #fff;
  border-radius: 20px;
  padding: 2px 8px;
}
.sitemap-links {
  padding: 12px 22px 18px;
}
.sitemap-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #F0F4F8;
  text-decoration: none;
  transition: color .15s;
}
.sitemap-link:last-child { border-bottom: none; }
.sitemap-link:hover .sl-name { color: var(--p); }
.sl-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.6;
}
.sl-name {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  transition: color .15s;
}
.sl-tag {
  margin-left: auto;
  font-family: var(--f-body);
  font-size: 0.62rem;
  font-weight: 700;
  background: var(--light);
  color: var(--slate);
  border-radius: 4px;
  padding: 1px 6px;
  white-space: nowrap;
}
.sl-tag.new { background: #E8F5E9; color: #2E7D32; }
.sl-tag.popular { background: #FFF3E0; color: #E65100; }
.sitemap-sub-group {
  padding: 10px 0;
  border-bottom: 1px solid #F0F4F8;
}
.sitemap-sub-group:last-child { border-bottom: none; }
.ssg-title {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--slate);
  margin-bottom: 6px;
  padding: 4px 0 2px;
}
.sitemap-sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0 5px 12px;
  text-decoration: none;
  transition: color .15s;
}
.sitemap-sub-link:hover .sl-name { color: var(--p); }
.ssl-dash {
  width: 12px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .sitemap-layout { grid-template-columns: repeat(2, 1fr); }
  .sitemap-section.full-width { grid-column: auto; }
}
@media (max-width: 640px) {
  .sitemap-layout { grid-template-columns: 1fr; padding: 32px 16px 56px; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   ADMIN PANEL STYLES v21 — Login · Dashboard · Article Manager
   ═══════════════════════════════════════════════════════════════════════════ */

/* UF initials avatar */
.ias-initials {
  background: var(--grad) !important;
  color: #fff !important;
  font-family: var(--f-brand) !important;
  font-size: 0.65rem !important;
  font-weight: 800 !important;
  letter-spacing: .02em;
}

/* ── ADMIN LOGIN PAGE ────────────────────────────────────────────── */
.admin-login-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0C1F35 0%, #0B6E84 60%, #004D5C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.admin-login-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E");
}
.admin-login-card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 44px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
  position: relative;
  z-index: 1;
}
.admin-login-logo {
  text-align: center;
  margin-bottom: 32px;
}
.admin-login-logo .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--grad);
  border-radius: 18px;
  font-size: 1.8rem;
  margin-bottom: 14px;
}
.admin-login-logo h1 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.admin-login-logo p {
  font-family: var(--f-body);
  font-size: 0.78rem;
  color: var(--slate);
}
.admin-login-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(11,110,132,.08);
  color: var(--p);
  font-family: var(--f-brand);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 8px;
}
.admin-form-group {
  margin-bottom: 18px;
}
.admin-form-group label {
  display: block;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.admin-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 0.88rem;
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  box-sizing: border-box;
}
.admin-input:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(11,110,132,.1);
}
.admin-input.error { border-color: var(--red); }
.admin-input-wrap {
  position: relative;
}
.admin-toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--slate);
  padding: 4px;
}
.admin-error-msg {
  display: none;
  color: var(--red);
  font-family: var(--f-body);
  font-size: 0.78rem;
  margin-top: 8px;
  padding: 10px 14px;
  background: #FFEBEE;
  border-radius: 8px;
  border-left: 3px solid var(--red);
}
.admin-error-msg.show { display: flex; align-items: center; gap: 6px; }
.admin-login-btn {
  width: 100%;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--f-body);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity .18s, transform .15s;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.admin-login-btn:hover { opacity: .88; }
.admin-login-btn:active { transform: scale(.98); }
.admin-login-btn.loading { opacity: .7; pointer-events: none; }
.admin-security-note {
  text-align: center;
  margin-top: 20px;
  font-family: var(--f-body);
  font-size: 0.7rem;
  color: var(--slate);
}
.attempts-warning {
  font-family: var(--f-body);
  font-size: 0.72rem;
  color: #E65100;
  text-align: center;
  margin-top: 10px;
  display: none;
}
.attempts-warning.show { display: block; }

/* ── ADMIN PANEL LAYOUT ──────────────────────────────────────────── */
.admin-page {
  min-height: 100vh;
  background: #F0F4F8;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  background: var(--navy);
  height: 58px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.admin-topbar-logo {
  font-family: var(--f-brand);
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.02em;
}
.admin-topbar-logo em { color: var(--teal); font-style: normal; }
.admin-topbar-badge {
  background: var(--p);
  color: #fff;
  font-family: var(--f-brand);
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 2px 8px;
  border-radius: 4px;
}
.admin-topbar-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.admin-user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 30px;
  padding: 5px 12px 5px 8px;
}
.admin-user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-brand);
  font-size: 0.65rem;
  font-weight: 800;
  color: #fff;
}
.admin-user-name {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}
.admin-logout-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.admin-logout-btn:hover { background: rgba(255,0,0,.2); color: #fff; }

.admin-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  flex: 1;
  min-height: calc(100vh - 58px);
}
.admin-sidebar-nav {
  background: #fff;
  border-right: 1.5px solid var(--border);
  padding: 20px 0;
}
.asn-section {
  padding: 4px 16px 12px;
}
.asn-section-title {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--slate);
  margin-bottom: 6px;
  padding: 6px 8px 2px;
}
.asn-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, color .15s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}
.asn-link:hover { background: var(--light); color: var(--p); }
.asn-link.active { background: rgba(11,110,132,.1); color: var(--p); font-weight: 700; }
.asn-link-icon { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.asn-badge {
  margin-left: auto;
  background: var(--p);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  border-radius: 10px;
  padding: 1px 7px;
}

.admin-content {
  padding: 28px 32px;
  overflow-y: auto;
}

/* Stats Cards */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.admin-stat-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.asc-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(11,110,132,.1), rgba(0,180,166,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.asc-value {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.asc-label {
  font-family: var(--f-body);
  font-size: 0.73rem;
  color: var(--slate);
  margin-top: 3px;
}

/* Admin Content Panel */
.admin-panel-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.apc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1.5px solid var(--border);
  background: var(--light);
  flex-wrap: wrap;
  gap: 10px;
}
.apc-title {
  font-family: var(--f-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}
.apc-body { padding: 22px; }

/* Article Form */
.admin-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.admin-form-row.full { grid-template-columns: 1fr; }
.admin-form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.afg {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.afg label {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}
.afg input, .afg select, .afg textarea {
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--f-body);
  font-size: 0.85rem;
  color: var(--navy);
  background: #fff;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}
.afg input:focus, .afg select:focus, .afg textarea:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px rgba(11,110,132,.08);
}
.afg textarea { min-height: 200px; resize: vertical; line-height: 1.6; }
.afg .char-count {
  font-family: var(--f-body);
  font-size: 0.68rem;
  color: var(--slate);
  text-align: right;
}
.admin-required { color: var(--red); }

/* Status Toggle */
.status-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.status-toggle input { opacity: 0; width: 0; height: 0; }
.status-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: background .2s;
}
.status-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}
.status-toggle input:checked + .status-slider { background: #22c55e; }
.status-toggle input:checked + .status-slider::before { transform: translateX(20px); }
.status-label {
  font-family: var(--f-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}

/* Action buttons */
.admin-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.btn-publish {
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 11px 24px;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: opacity .18s;
}
.btn-publish:hover { opacity: .88; }
.btn-draft {
  background: var(--light);
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 20px;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.btn-draft:hover { background: #e2e8f0; }
.btn-danger {
  background: #FFEBEE;
  color: var(--red);
  border: 1.5px solid #FFCDD2;
  border-radius: 10px;
  padding: 11px 18px;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: auto;
  transition: background .15s;
}
.btn-danger:hover { background: #FFCDD2; }

/* Articles Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--f-body);
  font-size: 0.82rem;
}
.admin-table th {
  background: var(--light);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1.5px solid var(--border);
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #F0F4F8;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #F8FBFF; }
.at-title {
  font-weight: 600;
  color: var(--navy);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.at-cat-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(11,110,132,.1);
  color: var(--p);
  border-radius: 20px;
  padding: 2px 9px;
}
.at-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 10px;
}
.at-status.published { background: #E8F5E9; color: #2E7D32; }
.at-status.draft { background: var(--light); color: var(--slate); }
.at-status.unpublished { background: #FFF3E0; color: #E65100; }
.at-action-btns {
  display: flex;
  gap: 6px;
}
.at-btn {
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--navy);
  transition: all .15s;
  white-space: nowrap;
}
.at-btn.edit:hover { background: rgba(11,110,132,.1); border-color: var(--p); color: var(--p); }
.at-btn.delete:hover { background: #FFEBEE; border-color: #FFCDD2; color: var(--red); }
.at-btn.view:hover { background: var(--light); }
.at-btn.toggle-pub { }
.at-btn.toggle-pub.pub:hover { background: #FFF3E0; border-color: #FFCC80; color: #E65100; }
.at-btn.toggle-pub.unpub:hover { background: #E8F5E9; border-color: #A5D6A7; color: #2E7D32; }

/* Toast */
.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: #fff;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 14px 20px;
  border-radius: 12px;
  box-shadow: var(--sh-xl);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .3s, opacity .3s;
}
.admin-toast.show { transform: translateY(0); opacity: 1; }
.admin-toast.success { border-left: 4px solid #22c55e; }
.admin-toast.error { border-left: 4px solid var(--red); }
.admin-toast.info { border-left: 4px solid var(--p); }

/* Image Upload */
.img-upload-zone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  cursor: pointer;
  transition: border-color .18s, background .18s;
  background: var(--light);
}
.img-upload-zone:hover, .img-upload-zone.dragover {
  border-color: var(--p);
  background: rgba(11,110,132,.04);
}
.img-upload-zone .iu-icon { font-size: 2rem; margin-bottom: 8px; }
.img-upload-zone p { font-family: var(--f-body); font-size: 0.82rem; color: var(--slate); margin: 0; }
.img-preview {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 12px;
  display: none;
}
.img-preview.show { display: block; }

/* Empty state */
.admin-empty-state {
  text-align: center;
  padding: 48px 24px;
}
.admin-empty-state .ae-icon { font-size: 3rem; margin-bottom: 14px; }
.admin-empty-state h3 { font-family: var(--f-display); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.admin-empty-state p { font-family: var(--f-body); font-size: 0.84rem; color: var(--slate); }

/* Search/filter bar */
.admin-filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.admin-search-input {
  flex: 1;
  min-width: 200px;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--f-body);
  font-size: 0.84rem;
  outline: none;
  transition: border-color .15s;
}
.admin-search-input:focus { border-color: var(--p); }
.admin-filter-select {
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: var(--f-body);
  font-size: 0.82rem;
  outline: none;
  background: #fff;
  cursor: pointer;
}

/* Responsive admin */
@media (max-width: 1024px) {
  .admin-stats-row { grid-template-columns: repeat(2, 1fr); }
  .admin-body { grid-template-columns: 1fr; }
  .admin-sidebar-nav { display: none; }
}
@media (max-width: 640px) {
  .admin-content { padding: 16px; }
  .admin-form-row, .admin-form-row.three { grid-template-columns: 1fr; }
  .admin-stats-row { grid-template-columns: 1fr 1fr; }
}

/* ── HERO FORM COLUMN — ensures lf-card::before badge is perfectly centred ── */
.hero-form-col {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}
.hero-form-col .lf-card {
  width: 100%;
  position: relative;
}
/* FIX: Green Secure badge — perfectly centred, no left drift */
.lf-card::before {
  content: '🔒 Secure & Confidential';
  position: absolute;
  top: -13px;
  /* Use calc to guarantee pixel-perfect centre on all screen widths */
  left: 50%;
  transform: translateX(-50%);
  /* Prevent sub-pixel anti-aliasing drift */
  transform: translateX(calc(-50% + 0px));
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: var(--teal);
  color: #fff;
  font-family: var(--f-mono, monospace);
  font-size: 0.64rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 10px;
  white-space: nowrap;
  z-index: 10;
}
