/* ==========================================================================
   Girijana Sethu — Design System
   Connect. Guide. Support. Grow Together.
   ========================================================================== */

:root{
  /* Brand palette — jade/teal green (distinct from the deep bottle-green used
     on matrimony-style community portals), paired with a wider, richer accent
     set so the UI reads vibrant rather than single-tone. */
  --forest-900:#04302a;
  --forest-800:#064e40;
  --forest-700:#0a6e58;
  --forest-600:#0f8a6c;
  --forest-500:#17a385;
  --forest-400:#3dc9a4;
  --forest-100:#dff7ee;

  --orange-700:#c25a1f;
  --orange-600:#d96a2b;
  --orange-500:#e07a3f;
  --orange-400:#ec9563;
  --orange-100:#fbe6d7;

  /* Extra accent hues used for career/role cards, avatars and badges so the
     interface doesn't read as a two-color (green+orange) site. */
  --gold-700:#a9740b;
  --gold-600:#c68d0f;
  --gold-500:#e0a927;
  --gold-100:#faedc7;

  --berry-700:#8a2856;
  --berry-600:#a83568;
  --berry-500:#c94a80;
  --berry-100:#f8e1ec;

  --sky-700:#155a8a;
  --sky-600:#1b74ac;
  --sky-500:#2b8fce;
  --sky-100:#dcedf9;

  --violet-700:#4a3286;
  --violet-600:#6446ab;
  --violet-500:#8064c9;
  --violet-100:#eae4fa;

  --sand-100:#faf6ee;
  --sand-200:#f4ecdb;
  --sand-300:#ecdfc4;

  --charcoal-900:#221f1b;
  --charcoal-700:#3a352d;
  --charcoal-500:#635c4f;
  --charcoal-300:#948c7a;

  --white:#ffffff;

  --success:#0f8a6c;
  --warning:#d9a02b;
  --danger:#c1432f;

  /* Semantic */
  --bg:var(--sand-100);
  --surface:var(--white);
  --text:var(--charcoal-900);
  --text-muted:var(--charcoal-500);
  --border:rgba(34,31,27,0.10);
  --brand:var(--forest-700);
  --accent:var(--orange-500);

  /* Radii */
  --r-sm:10px;
  --r-md:16px;
  --r-lg:24px;
  --r-xl:32px;
  --r-pill:999px;

  /* Shadows */
  --shadow-sm:0 2px 8px rgba(34,31,27,0.06);
  --shadow-md:0 8px 24px rgba(27,67,50,0.10);
  --shadow-lg:0 20px 48px rgba(27,67,50,0.16);
  --shadow-glow:0 8px 32px rgba(224,122,63,0.24);

  /* Type */
  --font-head:'Plus Jakarta Sans', 'Poppins', sans-serif;
  --font-body:'Inter', sans-serif;

  --container:1240px;
  --header-h:76px;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  /* overflow-x:hidden here would force the UA to also compute overflow-y as
     "auto" (a CSS spec quirk when only one axis is non-visible), which turns
     body into its own scroll container and breaks position:sticky on the
     header. overflow-x:clip prevents horizontal scroll without that side
     effect, since "clip" is exempt from the visible->auto conversion. */
  overflow-x:clip;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;margin:0;padding:0;}
button{font-family:inherit;cursor:pointer;}
input,select,textarea{font-family:inherit;font-size:1rem;}
h1,h2,h3,h4,h5{font-family:var(--font-head);margin:0;line-height:1.15;color:var(--charcoal-900);font-weight:700;}
p{margin:0;}
svg{display:block;}

.container{max-width:var(--container);margin:0 auto;padding:0 24px;}
.section{padding:88px 0;}
.section-tight{padding:56px 0;}
@media (max-width:768px){
  .section{padding:56px 0;}
  .section-tight{padding:36px 0;}
}

/* Tribal pattern (very light, used as background texture) */
.pattern-bg{
  background-image:
    radial-gradient(circle at 10% 20%, rgba(224,122,63,0.05) 0, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(27,67,50,0.06) 0, transparent 45%);
}
.pattern-dots{
  background-image:radial-gradient(rgba(255,255,255,0.14) 1.5px, transparent 1.5px);
  background-size:22px 22px;
}

/* ---------- Section headers ---------- */
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--orange-700);background:var(--orange-100);
  padding:6px 14px;border-radius:var(--r-pill);margin-bottom:16px;
}
.section-head{max-width:720px;margin:0 auto 48px;text-align:center;}
.section-head h2{font-size:clamp(1.7rem,3.2vw,2.5rem);margin-bottom:14px;}
.section-head p{color:var(--text-muted);font-size:1.05rem;line-height:1.65;}
.section-head.left{margin:0 0 40px;text-align:left;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:14px 26px;border-radius:var(--r-pill);border:none;
  font-weight:600;font-size:.96rem;font-family:var(--font-head);
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align:center;
}
.btn i, .btn svg{width:18px;height:18px;}
.btn-primary{background:var(--accent);color:#fff;box-shadow:var(--shadow-glow);}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(224,122,63,0.34);}
.btn-forest{background:var(--brand);color:#fff;box-shadow:0 8px 24px rgba(27,67,50,0.28);}
.btn-forest:hover{transform:translateY(-2px);background:var(--forest-600);}
.btn-outline{background:transparent;color:var(--brand);border:1.5px solid var(--forest-700);}
.btn-outline:hover{background:var(--forest-700);color:#fff;}
.btn-outline-light{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,0.55);}
.btn-outline-light:hover{background:rgba(255,255,255,0.14);border-color:#fff;}
.btn-ghost{background:transparent;color:var(--charcoal-900);padding:10px 6px;}
.btn-ghost:hover{color:var(--accent);}
.btn-sm{padding:9px 18px;font-size:.85rem;}
.btn-block{width:100%;}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none;}
.link-underline{position:relative;font-weight:600;color:var(--forest-700);}
.link-underline::after{content:'';position:absolute;left:0;bottom:-3px;width:100%;height:2px;background:var(--accent);transform:scaleX(0);transform-origin:left;transition:transform .2s;}
.link-underline:hover::after{transform:scaleX(1);}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
/* The header (and footer) are injected into a plain <div id="site-header">
   mount point by components.js. That wrapper div is exactly as tall as the
   header itself, which leaves no extra room for position:sticky to "hold"
   against as the page scrolls — the header would un-stick almost
   immediately. display:contents removes the wrapper's own box so the real
   <header> behaves as a direct child of <body> for layout/sticky purposes. */
#site-header{display:contents;}

.site-header{
  position:sticky;top:0;z-index:1000;
  height:var(--header-h);
  display:flex;align-items:center;
  background:rgba(250,246,238,0.78);
  backdrop-filter:blur(14px) saturate(160%);
  -webkit-backdrop-filter:blur(14px) saturate(160%);
  border-bottom:1px solid rgba(34,31,27,0.08);
  transition:box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled{box-shadow:0 4px 24px rgba(27,67,50,0.08);background:rgba(250,246,238,0.94);}
/* The shared .container caps at 1240px (tuned for page content/card grids),
   but the header's brand + full nav + action icons need more room than that
   before the hamburger breakpoint kicks in — reusing .container's max-width
   here left no viewport width where the full desktop nav could render
   without overflowing its own row. max-width here overrides .container's
   (same specificity, later in source) for this element only. */
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:1440px;}
.brand{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.brand-mark{
  width:44px;height:44px;border-radius:14px;
  background:linear-gradient(135deg,var(--forest-700),var(--forest-500));
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
  box-shadow:0 6px 16px rgba(27,67,50,0.3);
}
.brand-mark svg{width:24px;height:24px;color:#fff;}
.brand-text{display:flex;flex-direction:column;line-height:1.4;}
.brand-text .name{font-family:var(--font-head);font-weight:800;font-size:1.18rem;color:var(--forest-800);}
.brand-text .tagline{font-size:.64rem;font-weight:600;color:var(--orange-600);letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;}

.main-nav{display:flex;align-items:center;gap:0;flex-shrink:1;min-width:0;}
.main-nav a, .main-nav .nav-trigger{
  display:inline-flex;align-items:center;gap:5px;
  padding:8px 9px;border-radius:var(--r-pill);font-weight:600;font-size:.84rem;color:var(--charcoal-700);
  white-space:nowrap;border:none;background:none;font-family:inherit;
  transition:background .18s, color .18s;
}
.main-nav a svg, .main-nav .nav-trigger svg{width:14px;height:14px;flex-shrink:0;}
.main-nav a:hover, .main-nav a.active, .main-nav .nav-trigger:hover, .main-nav .nav-trigger.active{background:var(--forest-100);color:var(--forest-800);}
.main-nav .nav-cta{background:var(--accent);color:#fff;margin-left:2px;padding:8px 14px;}
.main-nav .nav-cta:hover{background:var(--orange-600);color:#fff;}
.main-nav .nav-cta svg{color:#fff;}

.nav-item.has-dropdown{position:relative;}
.nav-trigger .chev{width:12px;height:12px;transition:transform .18s ease;}
.nav-item.has-dropdown:hover .chev, .nav-trigger[aria-expanded="true"] .chev{transform:rotate(180deg);}
.nav-dropdown{
  display:none;position:absolute;top:calc(100% + 8px);left:0;min-width:210px;
  background:#fff;border:1px solid var(--border);border-radius:var(--r-md);box-shadow:var(--shadow-md);
  padding:6px;z-index:1100;
}
.nav-item.has-dropdown:hover .nav-dropdown, .nav-dropdown.open{display:block;animation:fadeUp .18s ease;}
.nav-dropdown a{
  display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:8px;
  font-size:.86rem;font-weight:600;color:var(--charcoal-700);white-space:nowrap;
}
.nav-dropdown a svg{width:16px;height:16px;color:var(--forest-600);flex-shrink:0;}
.nav-dropdown a:hover, .nav-dropdown a.active{background:var(--sand-200);}

.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0;}
.icon-btn{
  width:42px;height:42px;border-radius:50%;border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;background:#fff;color:var(--charcoal-700);
  transition:all .18s;
}
.icon-btn:hover{border-color:var(--forest-500);color:var(--forest-700);transform:translateY(-1px);}
.icon-btn svg{width:19px;height:19px;}
.lang-switcher{position:relative;}
.lang-menu{
  display:none;position:absolute;top:calc(100% + 10px);right:0;min-width:190px;
  background:#fff;border:1px solid var(--border);border-radius:var(--r-md);box-shadow:var(--shadow-md);
  padding:6px;z-index:1100;
}
.lang-menu.open{display:block;animation:fadeUp .18s ease;}
.lang-menu button{
  display:block;width:100%;text-align:left;border:none;background:none;
  padding:10px 12px;border-radius:8px;font-size:.86rem;font-weight:600;color:var(--charcoal-700);
}
.lang-menu button:hover{background:var(--sand-200);}
.lang-menu button.active{background:var(--forest-100);color:var(--forest-800);}
.hamburger{display:none;width:42px;height:42px;border-radius:12px;border:1px solid var(--border);background:#fff;align-items:center;justify-content:center;}
.hamburger svg{width:22px;height:22px;}

/* Full desktop nav (brand + 7 items incl. the Community dropdown and Join
   Community CTA, each with an icon) fits from ~1200px up — below that, hand
   off to the hamburger drawer rather than let the row squeeze/overflow. */
@media (max-width:1200px){
  .main-nav{display:none;}
  .hamburger{display:flex;}
}

/* On phones, the brand block (icon + name + tagline, kept un-shrinkable so it
   never looks squashed) plus a full row of action icons no longer fit —
   drop the tagline and move language into the drawer, leaving only
   search + hamburger in the row itself. */
@media (max-width:560px){
  .brand-text .tagline{display:none;}
  .header-actions .lang-switcher{display:none;}
}

/* Mobile drawer */
.mobile-drawer{
  position:fixed;inset:0;z-index:1200;display:none;
}
.mobile-drawer.open{display:block;}
.mobile-drawer .backdrop{position:absolute;inset:0;background:rgba(15,43,33,0.5);}
.mobile-drawer .panel{
  position:absolute;top:0;right:0;height:100%;width:82%;max-width:340px;background:#fff;
  padding:24px;display:flex;flex-direction:column;gap:6px;overflow-y:auto;
  animation:slideIn .25s ease;
}
@keyframes slideIn{from{transform:translateX(20px);opacity:0;}to{transform:translateX(0);opacity:1;}}
.mobile-drawer a{display:flex;align-items:center;gap:12px;padding:14px 10px;font-weight:600;border-bottom:1px solid var(--border);color:var(--charcoal-800);}
.mobile-drawer a svg{width:18px;height:18px;color:var(--forest-600);flex-shrink:0;}
.mobile-drawer a.nav-cta{background:var(--accent);color:#fff;border-radius:var(--r-md);border-bottom:none;margin-top:6px;}
.mobile-drawer a.nav-cta svg{color:#fff;}
.mobile-drawer .close-drawer{align-self:flex-end;width:38px;height:38px;border-radius:50%;background:var(--sand-200);display:flex;align-items:center;justify-content:center;margin-bottom:8px;}

.drawer-group-trigger{
  display:flex;align-items:center;justify-content:space-between;width:100%;
  padding:14px 10px;font-weight:600;font-size:1rem;color:var(--charcoal-800);
  border:none;background:none;border-bottom:1px solid var(--border);font-family:inherit;
}
.drawer-group-trigger span{display:flex;align-items:center;gap:12px;}
.drawer-group-trigger svg{width:18px;height:18px;color:var(--forest-600);}
.drawer-group-trigger .chev{width:14px;height:14px;color:var(--charcoal-500);transition:transform .18s ease;}
.drawer-group-trigger.open .chev{transform:rotate(180deg);}
.drawer-group{display:none;flex-direction:column;background:var(--sand-100);border-bottom:1px solid var(--border);}
.drawer-group.open{display:flex;}
.drawer-sub-link{padding:12px 10px 12px 30px !important;font-weight:600;font-size:.92rem;border-bottom:1px solid rgba(34,31,27,0.06) !important;}
.drawer-sub-link:last-child{border-bottom:none !important;}
.drawer-lang{display:flex;align-items:center;justify-content:space-between;padding:14px 10px;margin-top:6px;flex-wrap:wrap;gap:8px;}
.drawer-lang > span{font-weight:600;font-size:.88rem;color:var(--charcoal-700);}
.drawer-lang > div{display:flex;gap:6px;}
.drawer-lang button{padding:7px 12px;border-radius:var(--r-pill);border:1.5px solid var(--border);background:#fff;font-size:.78rem;font-weight:700;color:var(--charcoal-700);}
.drawer-lang button.active{background:var(--forest-700);border-color:var(--forest-700);color:#fff;}

/* Mobile bottom nav */
.bottom-nav{
  display:none;position:fixed;bottom:0;left:0;right:0;z-index:900;
  background:#fff;border-top:1px solid var(--border);
  box-shadow:0 -6px 20px rgba(0,0,0,0.06);
  padding:8px 4px calc(8px + env(safe-area-inset-bottom));
}
.bottom-nav ul{display:flex;justify-content:space-around;}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:.66rem;font-weight:600;color:var(--charcoal-500);padding:4px;}
.bottom-nav a svg{width:21px;height:21px;}
.bottom-nav a.active{color:var(--forest-700);}
@media (max-width:768px){
  .bottom-nav{display:block;}
  body{padding-bottom:64px;}
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(160deg,var(--forest-800) 0%, var(--forest-700) 45%, var(--forest-600) 100%);
  padding:24px 0 110px;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background-image:radial-gradient(circle at 15% 25%, rgba(224,122,63,0.22), transparent 38%),
                    radial-gradient(circle at 85% 15%, rgba(224,169,39,0.16), transparent 42%),
                    radial-gradient(circle at 75% 90%, rgba(201,74,128,0.16), transparent 42%),
                    radial-gradient(circle at 30% 95%, rgba(43,143,206,0.14), transparent 40%);
}
.hero-pattern{
  position:absolute;inset:0;opacity:.5;
  background-image:radial-gradient(rgba(255,255,255,0.06) 1.5px, transparent 1.5px);
  background-size:26px 26px;
}
.hero-inner{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:center;}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,0.12);
  color:#fff;padding:8px 16px;border-radius:var(--r-pill);font-size:.82rem;font-weight:600;
  margin-bottom:24px;border:1px solid rgba(255,255,255,0.18);
}
.hero-badge .dot{width:8px;height:8px;border-radius:50%;background:var(--orange-400);}
.hero h1{
  color:#fff;font-size:2.6rem;line-height:1.12;letter-spacing:-.01em;margin-bottom:22px;
}
.hero h1 .accent{color:var(--orange-400);}
.hero p{color:rgba(255,255,255,0.82);font-size:1rem;line-height:1.7;margin-bottom:16px;max-width:560px;}
.hero-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:30px;}
.hero-help-link{color:#fff;font-weight:600;font-size:.92rem;display:inline-flex;align-items:center;gap:6px;border-bottom:1px solid rgba(255,255,255,0.4);padding-bottom:2px;}
.hero-stats-strip{display:flex;gap:32px;margin-top:44px;flex-wrap:wrap;}
.hero-stats-strip div{color:#fff;}
.hero-stats-strip strong{display:block;font-family:var(--font-head);font-size:1.5rem;color:var(--orange-400);}
.hero-stats-strip span{font-size:.78rem;color:rgba(255,255,255,0.7);}

.hero-visual{position:relative;height:440px;}
.hv-card{
  position:absolute;background:#fff;border-radius:var(--r-lg);padding:16px 18px;
  box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:12px;
  animation:float 5s ease-in-out infinite;
}
.hv-card .ic{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.hv-card .ic svg{width:22px;height:22px;color:#fff;}
.hv-card strong{display:block;font-size:.92rem;color:var(--charcoal-900);}
.hv-card span{font-size:.76rem;color:var(--text-muted);}
.hv-1{top:0;left:10%;animation-delay:0s;}
.hv-2{top:38%;right:0;animation-delay:.6s;}
.hv-3{bottom:30px;left:0;animation-delay:1.2s;}
.hv-4{top:60%;left:38%;animation-delay:1.8s;}
.hv-center{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:200px;height:200px;border-radius:50%;
  background:radial-gradient(circle, rgba(224,122,63,0.35), rgba(224,122,63,0) 70%);
}
.hv-ring{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:1.5px dashed rgba(255,255,255,0.25);border-radius:50%;}
.hv-ring-1{width:260px;height:260px;}
.hv-ring-2{width:360px;height:360px;}
@keyframes float{0%,100%{transform:translateY(0);}50%{transform:translateY(-12px);}}
@media (max-width:980px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-visual{height:280px;order:-1;}
}
/* The 4 notification cards are absolutely positioned with percentage offsets
   tuned for a wide, tall desktop hero-visual. On a real phone the container
   shrinks to 280px tall while the cards keep their full padding/font size,
   so those same offsets collide and the cards overlap each other. Below
   980px the container is already too cramped for floating cards to read
   well, so switch to a plain non-overlapping vertical stack instead of
   trying to re-tune four sets of percentage coordinates. */
@media (max-width:980px){
  .hero-visual{
    display:flex;flex-direction:column;gap:12px;height:auto;padding:4px 0 8px;
  }
  .hv-ring,.hv-center{display:none;}
  .hv-card{position:static;animation:none;width:100%;}
}

/* ==========================================================================
   Search
   ========================================================================== */
.search-panel{
  max-width:1000px;margin:-64px auto 0;position:relative;z-index:5;
  background:#fff;border-radius:var(--r-xl);box-shadow:var(--shadow-lg);
  padding:32px;
}
.search-panel h3{text-align:center;font-size:1.35rem;margin-bottom:20px;}
.search-bar{display:flex;gap:10px;background:var(--sand-100);border:1.5px solid var(--border);border-radius:var(--r-pill);padding:8px 8px 8px 20px;align-items:center;}
.search-bar svg{width:20px;height:20px;color:var(--text-muted);flex-shrink:0;}
.search-bar input{flex:1;min-width:0;border:none;background:transparent;outline:none;font-size:.98rem;padding:10px 0;}
.search-bar button{flex-shrink:0;}
.search-filters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:16px;}
.search-filters select{
  border:1px solid var(--border);border-radius:var(--r-sm);padding:11px 10px;background:#fff;color:var(--charcoal-700);font-size:.85rem;
}
.chip-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px;justify-content:center;}
.chip{
  display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:var(--r-pill);
  background:var(--sand-200);color:var(--charcoal-700);font-size:.82rem;font-weight:600;border:1px solid transparent;
  transition:all .18s;
}
.chip:hover{background:var(--forest-100);color:var(--forest-800);border-color:var(--forest-400);}
.chip.active{background:var(--forest-700);color:#fff;}

/* Intermediate tablet step between the 5-column desktop default and the
   900px/980px breakpoints below — must stay ABOVE those narrower queries in
   source order. A max-width media query with a wider threshold placed AFTER
   one with a narrower threshold wins the cascade at every width the narrower
   query also matches (same specificity, later source wins), silently
   clobbering the narrower, more-specific rule on real phones. This exact
   ordering mistake once caused the stats counters and search filters to
   force too many grid columns on mobile, cramming multi-digit numbers/labels
   into columns far too narrow for them. */
@media (max-width:1080px){
  .search-filters{grid-template-columns:repeat(3,minmax(0,1fr));}
  .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width:900px){
  .search-filters{grid-template-columns:repeat(2,minmax(0,1fr));}
  .search-panel{padding:22px;margin-top:-40px;}
}

/* ==========================================================================
   Generic cards
   ========================================================================== */
.grid{display:grid;gap:26px;}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));}
@media (max-width:980px){.grid-3,.grid-4{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:640px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}}

.card{
  background:#fff;border-radius:var(--r-lg);border:1px solid var(--border);
  transition:transform .22s ease, box-shadow .22s ease;
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);}

.value-card{padding:36px 30px;text-align:left;}
.value-card .ic{
  width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;margin-bottom:20px;
  background:var(--forest-100);color:var(--forest-700);
}
.value-card .ic svg{width:28px;height:28px;}
.value-card h3{font-size:1.2rem;margin-bottom:10px;}
.value-card p{color:var(--text-muted);line-height:1.6;font-size:.94rem;}

/* Who can join */
.role-card{padding:30px 26px;display:flex;flex-direction:column;height:100%;}
.role-card .ic{
  width:54px;height:54px;border-radius:14px;display:flex;align-items:center;justify-content:center;margin-bottom:18px;
  color:#fff;
}
.role-card .ic svg{width:26px;height:26px;}
.role-card h3{font-size:1.15rem;margin-bottom:12px;}
.role-card ul{margin-bottom:22px;flex:1;}
.role-card li{
  font-size:.87rem;color:var(--text-muted);padding:5px 0 5px 20px;position:relative;
}
.role-card li::before{content:'';position:absolute;left:0;top:13px;width:6px;height:6px;border-radius:50%;background:var(--accent);}
.bg-1{background:linear-gradient(135deg,var(--forest-500),var(--forest-800));}
.bg-2{background:linear-gradient(135deg,var(--orange-500),var(--orange-700));}
.bg-3{background:linear-gradient(135deg,var(--sky-500),var(--sky-700));}
.bg-4{background:linear-gradient(135deg,var(--violet-500),var(--violet-700));}
.bg-5{background:linear-gradient(135deg,var(--berry-500),var(--berry-700));}
.bg-6{background:linear-gradient(135deg,var(--gold-500),var(--gold-700));}

/* Career category card */
.career-card{padding:24px;text-align:center;}
.career-card .ic{
  width:52px;height:52px;border-radius:14px;margin:0 auto 14px;background:var(--orange-100);color:var(--orange-600);
  display:flex;align-items:center;justify-content:center;
}
.ic.tint-1{background:var(--orange-100);color:var(--orange-600);}
.ic.tint-2{background:var(--forest-100);color:var(--forest-700);}
.ic.tint-3{background:var(--sky-100);color:var(--sky-600);}
.ic.tint-4{background:var(--berry-100);color:var(--berry-600);}
.ic.tint-5{background:var(--gold-100);color:var(--gold-600);}
.ic.tint-6{background:var(--violet-100);color:var(--violet-600);}
.career-card .ic svg{width:26px;height:26px;}
.career-card h4{font-size:1rem;margin-bottom:6px;}
.career-card .mentor-count{font-size:.78rem;color:var(--text-muted);margin-bottom:14px;}

/* Job card */
.job-card{padding:24px;}
.job-top{display:flex;gap:14px;align-items:flex-start;}
.job-logo{width:52px;height:52px;border-radius:14px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:700;font-family:var(--font-head);font-size:1.1rem;}
.job-title{font-size:1.05rem;margin-bottom:2px;}
.job-company{color:var(--text-muted);font-size:.86rem;}
.job-meta{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0;}
.tag{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:var(--r-pill);background:var(--sand-200);font-size:.75rem;font-weight:600;color:var(--charcoal-700);}
.tag svg{width:13px;height:13px;}
.job-skills{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px;}
.skill-pill{padding:4px 10px;border-radius:var(--r-pill);background:var(--forest-100);color:var(--forest-800);font-size:.72rem;font-weight:600;}
.job-footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--border);padding-top:14px;margin-top:4px;}
.posted-by{font-size:.74rem;color:var(--text-muted);}
.job-actions{display:flex;gap:8px;}
.job-actions > *, .mentor-actions > *, .biz-actions > *{min-width:0;}

/* Mentor card */
.mentor-card{padding:26px;text-align:center;}
.avatar{
  width:78px;height:78px;border-radius:50%;margin:0 auto 14px;
  display:flex;align-items:center;justify-content:center;color:#fff;font-family:var(--font-head);font-weight:700;font-size:1.3rem;
  box-shadow:0 6px 18px rgba(27,67,50,0.2);position:relative;
}
.avatar.sm{width:44px;height:44px;font-size:.9rem;}
.avatar-status{position:absolute;bottom:2px;right:2px;width:14px;height:14px;border-radius:50%;background:var(--success);border:2px solid #fff;}
.mentor-card h4{font-size:1.08rem;margin-bottom:2px;}
.mentor-role{font-size:.84rem;color:var(--text-muted);margin-bottom:2px;}
.mentor-org{font-size:.8rem;color:var(--forest-700);font-weight:600;margin-bottom:12px;}
.mentor-meta{display:flex;justify-content:center;gap:14px;font-size:.72rem;color:var(--text-muted);margin-bottom:14px;}
.mentor-meta span{display:flex;align-items:center;gap:4px;}
.mentor-tags{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin-bottom:16px;}
.mentor-actions{display:flex;gap:8px;}
.availability{font-size:.72rem;color:var(--success);font-weight:600;display:flex;align-items:center;justify-content:center;gap:5px;margin-bottom:10px;}
.availability .dot{width:7px;height:7px;border-radius:50%;background:var(--success);}

/* Entrepreneur / business card */
.biz-card{padding:0;overflow:hidden;}
.biz-cover{height:88px;background:linear-gradient(135deg,var(--forest-600),var(--orange-500));position:relative;}
.biz-body{padding:26px;padding-top:44px;position:relative;}
.biz-logo{
  width:64px;height:64px;border-radius:16px;background:#fff;border:3px solid #fff;position:absolute;top:-32px;left:26px;
  box-shadow:var(--shadow-sm);display:flex;align-items:center;justify-content:center;font-family:var(--font-head);font-weight:800;color:var(--forest-700);font-size:1.3rem;
}
.biz-body h4{font-size:1.08rem;margin-bottom:2px;}
.biz-founder{font-size:.82rem;color:var(--text-muted);margin-bottom:10px;}
.biz-cat{display:inline-block;font-size:.72rem;font-weight:700;color:var(--orange-700);background:var(--orange-100);padding:4px 10px;border-radius:var(--r-pill);margin-bottom:12px;}
.biz-desc{font-size:.86rem;color:var(--text-muted);line-height:1.55;margin-bottom:14px;}
.biz-looking{font-size:.76rem;color:var(--charcoal-700);margin-bottom:16px;}
.biz-looking strong{color:var(--forest-800);}
.biz-actions{display:flex;gap:8px;}

/* Story card */
.story-card{overflow:hidden;padding:0;}
.story-img{height:170px;background:linear-gradient(135deg,var(--forest-500),var(--forest-800));position:relative;display:flex;align-items:center;justify-content:center;}
.story-img svg{width:52px;height:52px;color:rgba(255,255,255,0.85);}
.story-body{padding:24px;}
.story-tag{font-size:.72rem;font-weight:700;color:var(--orange-600);text-transform:uppercase;letter-spacing:.04em;margin-bottom:8px;display:block;}
.story-body h4{font-size:1.08rem;margin-bottom:8px;}
.story-body p{font-size:.87rem;color:var(--text-muted);line-height:1.6;}

/* Stats */
.stats-band{background:linear-gradient(120deg,var(--forest-800) 0%,var(--forest-600) 55%,var(--sky-700) 100%);border-radius:var(--r-xl);padding:52px 40px;}
.stats-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:20px;text-align:center;}
.stat-item strong{display:block;font-family:var(--font-head);font-size:clamp(1.6rem,2.4vw,2.1rem);color:#fff;}
.stat-item span{font-size:.78rem;color:rgba(255,255,255,0.72);}
@media (max-width:980px){.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:32px;}}
@media (max-width:560px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* District selector */
.district-tabs{display:flex;gap:12px;margin-bottom:28px;}
.district-tab{padding:12px 22px;border-radius:var(--r-pill);background:#fff;border:1.5px solid var(--border);font-weight:700;font-size:.9rem;color:var(--charcoal-700);}
.district-tab.active{background:var(--forest-700);color:#fff;border-color:var(--forest-700);}
.district-chip-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;}
.district-chip{
  padding:14px;border-radius:var(--r-md);background:#fff;border:1px solid var(--border);text-align:center;font-size:.84rem;font-weight:600;
  transition:all .18s;cursor:pointer;
}
.district-chip:hover, .district-chip.selected{border-color:var(--orange-500);background:var(--orange-100);color:var(--orange-700);}
.district-chip .count{display:block;font-size:.7rem;color:var(--text-muted);font-weight:500;margin-top:3px;}
@media (max-width:900px){.district-chip-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media (max-width:560px){.district-chip-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Help section */
.help-toggle{display:flex;gap:14px;margin-bottom:28px;}
.help-toggle-btn{flex:1;padding:20px;border-radius:var(--r-lg);border:2px solid var(--border);background:#fff;text-align:left;}
.help-toggle-btn.active{border-color:var(--accent);background:var(--orange-100);}
.help-toggle-btn strong{display:block;font-size:1.05rem;margin-bottom:4px;}
.help-toggle-btn span{font-size:.82rem;color:var(--text-muted);}
.help-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px 0;}
.help-type{padding:18px;border-radius:var(--r-md);background:#fff;border:1px solid var(--border);text-align:center;font-size:.85rem;font-weight:600;}
.help-type .ic{width:42px;height:42px;border-radius:12px;background:var(--forest-100);color:var(--forest-700);display:flex;align-items:center;justify-content:center;margin:0 auto 10px;}
.help-type .ic svg{width:22px;height:22px;}
.privacy-note{display:flex;gap:12px;align-items:flex-start;background:var(--forest-100);border-radius:var(--r-md);padding:16px 18px;margin-top:20px;}
.privacy-note svg{width:20px;height:20px;color:var(--forest-700);flex-shrink:0;margin-top:2px;}
.privacy-note p{font-size:.85rem;color:var(--forest-800);line-height:1.55;}
@media (max-width:900px){.help-type-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

/* Final CTA */
.final-cta{
  border-radius:var(--r-xl);background:linear-gradient(135deg,var(--orange-600),var(--orange-700));
  padding:64px 40px;text-align:center;position:relative;overflow:hidden;
}
.final-cta::before{content:'';position:absolute;inset:0;background-image:radial-gradient(circle at 20% 30%, rgba(255,255,255,0.14), transparent 40%);}
.final-cta h2{color:#fff;font-size:clamp(1.6rem,3vw,2.3rem);max-width:720px;margin:0 auto 16px;position:relative;}
.final-cta p{color:rgba(255,255,255,0.88);max-width:560px;margin:0 auto 32px;position:relative;}
.final-cta .cta-row{display:flex;gap:16px;justify-content:center;flex-wrap:wrap;position:relative;}
.final-cta .btn-forest{background:#fff;color:var(--orange-700);box-shadow:0 8px 24px rgba(0,0,0,0.15);}
.final-cta .btn-forest:hover{background:var(--sand-100);}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{background:var(--charcoal-900);color:rgba(255,255,255,0.7);padding:64px 0 0;}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(4,minmax(0,1fr));gap:32px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,0.08);}
.footer-brand .brand-text .name{color:#fff;}
.footer-brand p{margin-top:16px;font-size:.88rem;line-height:1.6;color:rgba(255,255,255,0.55);max-width:280px;}
.footer-social{display:flex;gap:10px;margin-top:20px;}
.footer-social a{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,0.08);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,0.75);transition:transform .18s ease, background .18s ease, color .18s ease;}
.footer-social a svg{width:17px;height:17px;flex-shrink:0;}
.footer-social a:hover{transform:translateY(-3px);}
.footer-social a.social-fb:hover{background:#3b5998;color:#fff;}
.footer-social a.social-ig:hover{background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af);color:#fff;}
.footer-social a.social-tw:hover{background:#000;color:#fff;}
.footer-social a.social-yt:hover{background:#ff0000;color:#fff;}
.footer-social a.social-li:hover{background:#0a66c2;color:#fff;}
.footer-col h5{color:#fff;font-size:.9rem;margin-bottom:16px;}
.footer-col ul li{margin-bottom:11px;}
.footer-col a{font-size:.86rem;color:rgba(255,255,255,0.6);}
.footer-col a:hover{color:var(--orange-400);}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding:24px 0;font-size:.82rem;color:rgba(255,255,255,0.5);flex-wrap:wrap;gap:10px;}
@media (max-width:900px){.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){.footer-grid{grid-template-columns:1fr;}}

/* ==========================================================================
   Forms / Registration wizard
   ========================================================================== */
.auth-shell{min-height:calc(100vh - var(--header-h));display:flex;align-items:center;justify-content:center;padding:48px 20px;background:var(--sand-100);}
.auth-card{background:#fff;border-radius:var(--r-xl);box-shadow:var(--shadow-lg);max-width:440px;width:100%;padding:40px;}
.auth-card h1{font-size:1.6rem;margin-bottom:8px;}
.auth-card .sub{color:var(--text-muted);font-size:.9rem;margin-bottom:28px;}
.field{margin-bottom:18px;}
.field label{display:block;font-size:.85rem;font-weight:600;margin-bottom:7px;color:var(--charcoal-800);}
.field label .opt{color:var(--text-muted);font-weight:500;}
.field input[type=text],.field input[type=email],.field input[type=tel],.field input[type=password],.field input[type=date],.field input[type=file],.field select,.field textarea{
  width:100%;max-width:100%;padding:13px 14px;border:1.5px solid var(--border);border-radius:var(--r-sm);background:var(--sand-100);outline:none;transition:border .15s;
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--forest-500);background:#fff;}
.field textarea{resize:vertical;min-height:90px;}
.field-hint{font-size:.76rem;color:var(--text-muted);margin-top:5px;}
.field-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px;}
.pw-wrap{position:relative;}
.pw-wrap svg{position:absolute;right:14px;top:50%;transform:translateY(-50%);width:19px;height:19px;color:var(--text-muted);}
.divider-or{display:flex;align-items:center;gap:12px;color:var(--text-muted);font-size:.8rem;margin:22px 0;}
.divider-or::before,.divider-or::after{content:'';flex:1;height:1px;background:var(--border);}
.social-btn{width:100%;padding:12px;border:1.5px solid var(--border);border-radius:var(--r-sm);background:#fff;font-weight:600;display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:10px;}

.wizard-shell{max-width:820px;margin:0 auto;padding:48px 20px 80px;}
.wizard-head{text-align:center;margin-bottom:36px;}
.wizard-head h1{font-size:1.9rem;margin-bottom:8px;}
.wizard-head p{color:var(--text-muted);}
.steps-bar{display:flex;justify-content:space-between;margin-bottom:40px;position:relative;}
.steps-bar::before{content:'';position:absolute;top:19px;left:0;right:0;height:2px;background:var(--border);z-index:0;}
.step-item{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:8px;flex:1;}
.step-item .num{width:38px;height:38px;border-radius:50%;background:#fff;border:2px solid var(--border);display:flex;align-items:center;justify-content:center;font-weight:700;color:var(--text-muted);font-size:.9rem;transition:all .2s;}
.step-item.active .num{border-color:var(--accent);background:var(--accent);color:#fff;}
.step-item.done .num{border-color:var(--forest-600);background:var(--forest-600);color:#fff;}
.step-item span{font-size:.76rem;font-weight:600;color:var(--text-muted);}
.step-item.active span{color:var(--charcoal-900);}

.wizard-card{background:#fff;border-radius:var(--r-xl);box-shadow:var(--shadow-md);padding:40px;}
.wizard-card h2{font-size:1.4rem;margin-bottom:6px;}
.wizard-card .step-sub{color:var(--text-muted);font-size:.9rem;margin-bottom:28px;}
.wizard-step{display:none;}
.wizard-step.active{display:block;animation:fadeUp .35s ease;}
@keyframes fadeUp{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}
.wizard-nav{display:flex;justify-content:space-between;margin-top:32px;padding-top:24px;border-top:1px solid var(--border);}

.choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:22px;}
.choice-card{padding:16px;border:1.5px solid var(--border);border-radius:var(--r-md);text-align:center;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .15s;}
.choice-card:hover{border-color:var(--forest-400);}
.choice-card.selected{border-color:var(--accent);background:var(--orange-100);color:var(--orange-700);}
.choice-card input{display:none;}
@media (max-width:640px){.choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}

.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.check-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border:1.5px solid var(--border);border-radius:var(--r-sm);font-size:.87rem;font-weight:500;cursor:pointer;}
.check-item:hover{border-color:var(--forest-400);}
.check-item input{width:17px;height:17px;accent-color:var(--forest-600);}
@media (max-width:640px){.check-grid{grid-template-columns:1fr;}}

.privacy-row{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-bottom:1px solid var(--border);gap:16px;}
.privacy-row:last-child{border-bottom:none;}
.privacy-row strong{display:block;font-size:.92rem;}
.privacy-row p{font-size:.78rem;color:var(--text-muted);margin-top:2px;}
.privacy-row select{border:1.5px solid var(--border);border-radius:var(--r-pill);padding:8px 14px;font-size:.82rem;font-weight:600;background:#fff;flex-shrink:0;}

.complete-screen{text-align:center;padding:20px 0;}
.complete-screen .check-circle{width:88px;height:88px;border-radius:50%;background:var(--forest-100);color:var(--forest-700);display:flex;align-items:center;justify-content:center;margin:0 auto 24px;}
.complete-screen .check-circle svg{width:44px;height:44px;}
.complete-screen h2{font-size:1.7rem;margin-bottom:12px;}
.complete-screen p{color:var(--text-muted);max-width:460px;margin:0 auto 32px;line-height:1.6;}
.complete-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:480px;margin:0 auto;}

/* ==========================================================================
   Filters bar (list pages)
   ========================================================================== */
.page-hero{background:linear-gradient(135deg,var(--forest-700),var(--forest-600));padding:56px 0 40px;color:#fff;}
.page-hero h1{color:#fff;font-size:clamp(1.8rem,3.4vw,2.5rem);margin-bottom:10px;}
.page-hero p{color:rgba(255,255,255,0.82);max-width:600px;}
.breadcrumb{font-size:.82rem;color:rgba(255,255,255,0.6);margin-bottom:14px;}
.breadcrumb a{color:rgba(255,255,255,0.9);font-weight:600;}

.filter-bar{
  background:#fff;border-radius:var(--r-lg);box-shadow:var(--shadow-sm);padding:20px;
  display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:-30px auto 40px;position:relative;z-index:4;
}
.filter-bar select,.filter-bar input{border:1px solid var(--border);border-radius:var(--r-sm);padding:11px 12px;font-size:.85rem;background:var(--sand-100);}
.filter-bar select{min-width:140px;}
.filter-bar input[type=search]{flex:1;min-width:200px;}
.results-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;}
.results-bar span{color:var(--text-muted);font-size:.9rem;}
.sort-select{border:1px solid var(--border);border-radius:var(--r-sm);padding:9px 12px;font-size:.84rem;background:#fff;}

.list-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:30px;align-items:start;}
.sidebar-filters{background:#fff;border-radius:var(--r-lg);border:1px solid var(--border);padding:22px;position:sticky;top:calc(var(--header-h) + 20px);}
.sidebar-filters h4{font-size:.95rem;margin-bottom:14px;}
.filter-group{margin-bottom:22px;}
.filter-group h5{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin-bottom:10px;}
.filter-group label{display:flex;align-items:center;gap:8px;font-size:.86rem;padding:5px 0;cursor:pointer;}
.filter-group input{accent-color:var(--forest-600);}
@media (max-width:980px){.list-layout{grid-template-columns:1fr;}.sidebar-filters{position:static;}}

.empty-state{text-align:center;padding:60px 20px;}
.empty-state .ic{width:72px;height:72px;border-radius:50%;background:var(--sand-200);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;color:var(--text-muted);}
.empty-state .ic svg{width:34px;height:34px;}
.empty-state h3{margin-bottom:8px;}
.empty-state p{color:var(--text-muted);}

/* ==========================================================================
   Dashboard
   ========================================================================== */
.dash-shell{display:grid;grid-template-columns:260px minmax(0,1fr);gap:0;min-height:calc(100vh - var(--header-h));background:var(--sand-100);}
.dash-sidebar{background:#fff;border-right:1px solid var(--border);padding:28px 18px;}
.dash-user{display:flex;align-items:center;gap:12px;padding:0 8px 20px;margin-bottom:16px;border-bottom:1px solid var(--border);}
.dash-user strong{display:block;font-size:.92rem;}
.dash-user span{font-size:.76rem;color:var(--text-muted);}
.dash-nav a{display:flex;align-items:center;gap:12px;padding:12px 12px;border-radius:var(--r-sm);font-weight:600;font-size:.88rem;color:var(--charcoal-700);margin-bottom:2px;}
.dash-nav a svg{width:19px;height:19px;}
.dash-nav a:hover,.dash-nav a.active{background:var(--forest-100);color:var(--forest-800);}
.dash-main{padding:32px 36px;}
.dash-greet{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;flex-wrap:wrap;gap:16px;}
.dash-greet h1{font-size:1.6rem;}
.dash-greet p{color:var(--text-muted);margin-top:4px;}
.dash-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;}
.dash-panel{background:#fff;border-radius:var(--r-lg);border:1px solid var(--border);padding:24px;margin-bottom:24px;}
.dash-panel h3{font-size:1.05rem;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center;}
.dash-panel h3 a{font-size:.78rem;color:var(--forest-700);font-weight:600;}
.mini-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);}
.mini-row:last-child{border-bottom:none;}
.mini-row strong{font-size:.87rem;display:block;}
.mini-row span{font-size:.76rem;color:var(--text-muted);}
@media (max-width:980px){.dash-shell{grid-template-columns:1fr;}.dash-sidebar{display:none;}.dash-grid{grid-template-columns:1fr;}}

/* Profile page */
.profile-hero{background:linear-gradient(135deg,var(--forest-700),var(--forest-600));padding:0 0 90px;position:relative;}
.profile-card-float{
  max-width:1080px;margin:-70px auto 0;background:#fff;border-radius:var(--r-xl);box-shadow:var(--shadow-lg);
  padding:32px;display:flex;gap:24px;align-items:flex-end;flex-wrap:wrap;position:relative;z-index:3;
}
.profile-avatar-lg{width:120px;height:120px;border-radius:24px;border:5px solid #fff;box-shadow:var(--shadow-md);display:flex;align-items:center;justify-content:center;color:#fff;font-family:var(--font-head);font-weight:800;font-size:2.2rem;margin-top:-70px;}
.profile-info h1{font-size:1.5rem;margin-bottom:4px;}
.profile-info .role-line{color:var(--text-muted);font-size:.92rem;margin-bottom:8px;}
.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;border-radius:var(--r-pill);font-size:.72rem;font-weight:700;background:var(--forest-100);color:var(--forest-800);}
.badge.verified{background:var(--orange-100);color:var(--orange-700);}
.badge svg{width:12px;height:12px;}
.profile-tabs{display:flex;gap:8px;margin:36px 0 26px;border-bottom:1px solid var(--border);max-width:1080px;margin-left:auto;margin-right:auto;overflow-x:auto;}
.profile-tabs button{padding:12px 18px;font-weight:600;font-size:.88rem;color:var(--text-muted);border-bottom:2px solid transparent;white-space:nowrap;background:none;border-top:none;border-left:none;border-right:none;}
.profile-tabs button.active{color:var(--forest-800);border-color:var(--accent);}
.profile-body{max-width:1080px;margin:0 auto;padding:0 24px 60px;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;}
@media (max-width:900px){.profile-body{grid-template-columns:1fr;}}

/* Modal / Toast */
.modal-overlay{position:fixed;inset:0;background:rgba(15,43,33,0.55);display:none;align-items:center;justify-content:center;z-index:2000;padding:20px;}
.modal-overlay.open{display:flex;}
.modal-box{background:#fff;border-radius:var(--r-xl);max-width:480px;width:100%;padding:32px;max-height:88vh;overflow-y:auto;animation:fadeUp .25s ease;}
.modal-box h3{font-size:1.25rem;margin-bottom:6px;}
.modal-close{position:absolute;}
.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:18px;}
.modal-head button{width:34px;height:34px;border-radius:50%;background:var(--sand-200);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.modal-head button svg{width:17px;height:17px;}

.toast-stack{position:fixed;bottom:24px;right:24px;z-index:3000;display:flex;flex-direction:column;gap:10px;}
.toast{
  background:var(--charcoal-900);color:#fff;padding:14px 20px;border-radius:var(--r-sm);box-shadow:var(--shadow-lg);
  display:flex;align-items:center;gap:10px;font-size:.87rem;font-weight:600;min-width:260px;
  animation:toastIn .25s ease;
}
.toast.success{background:var(--forest-700);}
.toast.error{background:var(--danger);}
.toast svg{width:18px;height:18px;flex-shrink:0;}
@keyframes toastIn{from{opacity:0;transform:translateY(12px);}to{opacity:1;transform:translateY(0);}}
@media (max-width:640px){.toast-stack{left:16px;right:16px;bottom:80px;}.toast{min-width:0;width:100%;}}

/* Skeletons */
.skeleton{background:linear-gradient(90deg,var(--sand-200) 25%,var(--sand-300) 37%,var(--sand-200) 63%);background-size:400% 100%;animation:skeleton 1.4s ease infinite;border-radius:var(--r-md);}
@keyframes skeleton{0%{background-position:100% 50%;}100%{background-position:0 50%;}}

/* Reveal on scroll */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1;transform:translateY(0);}

/* Utility */
.text-center{text-align:center;}
.mt-0{margin-top:0;}
.flex{display:flex;}
.items-center{align-items:center;}
.gap-8{gap:8px;}
.mb-40{margin-bottom:40px;}
.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}
@media (max-width:768px){.two-col{grid-template-columns:1fr;}}

@media (max-width:768px){
  .hero{padding:20px 0 70px;}
  .hero-stats-strip{gap:22px;}
  .footer-bottom{flex-direction:column;text-align:center;}
  .wizard-card{padding:26px;}
  .steps-bar span{display:none;}
}
