/* ===========================================================================
   Pinoy VA — Client-facing homepage
   Design language: Trustworthy SaaS — clean white, deep ocean teal,
   warm Filipino sunrise gold accent. Stripe/Linear-level polish.
   ======================================================================== */

:root {
  /* Brand */
  --teal-950: #062b29;
  --teal-900: #0b3d3a;
  --teal-800: #0d4f4a;
  --teal-700: #0f766e;   /* primary */
  --teal-600: #14857b;
  --teal-500: #19a094;
  --teal-100: #d6efec;
  --teal-50:  #eef7f6;

  --gold-600: #e0982a;
  --gold-500: #f6b545;   /* accent */
  --gold-300: #ffd98a;
  --gold-50:  #fff7e8;

  /* Neutrals */
  --ink:      #0c1c1b;
  --body:     #44514f;
  --muted:    #6b7977;
  --line:     #e4eceb;
  --line-2:   #eef3f2;
  --bg:       #ffffff;
  --bg-soft:  #f5f9f8;
  --bg-deep:  #062b29;

  /* System */
  --radius:   18px;
  --radius-sm:12px;
  --radius-lg:28px;
  --shadow-sm: 0 1px 2px rgba(8,40,38,.06), 0 1px 1px rgba(8,40,38,.04);
  --shadow:    0 12px 30px -12px rgba(8,40,38,.18);
  --shadow-lg: 0 30px 60px -20px rgba(8,40,38,.28);
  --maxw: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--teal-700); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(15,118,110,.6);
}
.btn-primary:hover { background: var(--teal-800); box-shadow: 0 16px 30px -10px rgba(15,118,110,.55); transform: translateY(-1px); }
.btn-gold { background: var(--gold-500); color: #3a2a06; box-shadow: 0 10px 24px -10px rgba(224,152,42,.6); }
.btn-gold:hover { background: var(--gold-600); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal-500); color: var(--teal-700); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.2); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ---------- VA Banner (PH geo) ---------- */
.va-banner {
  display: none;
  background: linear-gradient(90deg, var(--teal-900), var(--teal-700));
  color: #fff; font-size: 14px;
}
.va-banner.show { display: block; }
.va-banner .container { display: flex; align-items: center; justify-content: center; gap: 14px; padding-block: 10px; flex-wrap: wrap; }
.va-banner a { font-weight: 700; color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.va-banner .x { margin-left: 6px; background: rgba(255,255,255,.15); border: 0; color: #fff; width: 22px; height: 22px; border-radius: 50%; line-height: 1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; }
.brand .logo { width: 38px; height: 38px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--body); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 10px; color: var(--ink); }
.nav-toggle:hover { background: var(--bg-soft); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 64px; padding-bottom: 80px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 12% 0%, var(--teal-50) 0%, transparent 60%),
    radial-gradient(50% 45% at 100% 8%, var(--gold-50) 0%, transparent 55%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--teal-800);
  padding: 7px 14px 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-sm); margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-100); }
.hero h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 800; letter-spacing: -.03em; }
.hero h1 .hl { color: var(--teal-700); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 12px; z-index: -1;
  background: var(--gold-300); border-radius: 4px; opacity: .55;
}
.hero p.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--body); margin-top: 22px; max-width: 33ch; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 26px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust .stat { }
.hero-trust .num { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--ink); letter-spacing: -.02em; }
.hero-trust .num span { color: var(--teal-700); }
.hero-trust .lbl { font-size: 13px; color: var(--muted); }
.hero-trust .divider { width: 1px; background: var(--line); }

/* Hero product mock */
.hero-visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; position: relative;
}
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mock-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; }
.mock-pill { font-size: 12px; font-weight: 600; color: var(--teal-700); background: var(--teal-50); padding: 5px 11px; border-radius: 999px; }
.mock-card { display: flex; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); margin-bottom: 10px; transition: transform .2s var(--ease), box-shadow .2s; }
.mock-card:hover { transform: translateX(2px); box-shadow: var(--shadow-sm); }
.mock-card .avatar { width: 48px; height: 48px; flex: none; }
.mock-card .info { flex: 1; min-width: 0; }
.mock-card .name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; }
.mock-card .role { font-size: 13px; color: var(--muted); }
.mock-card .tags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.mock-card .tag { font-size: 11px; font-weight: 600; color: var(--teal-800); background: var(--teal-50); padding: 3px 8px; border-radius: 6px; }
.mock-card .rate { text-align: right; }
.mock-card .rate b { font-family: var(--font-head); color: var(--ink); font-size: 16px; }
.mock-card .rate small { display: block; font-size: 11px; color: var(--muted); }
.float-badge {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 12px 15px; display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); animation: float 5s ease-in-out infinite;
}
.float-badge .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.float-badge b { display: block; color: var(--ink); font-size: 14px; }
.float-badge small { color: var(--muted); font-size: 12px; font-weight: 500; }
.float-badge.b1 { top: -22px; right: -16px; }
.float-badge.b2 { bottom: -22px; left: -20px; animation-delay: 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Logo strip ---------- */
.logos { padding: 26px 0 12px; }
.logos p { text-align: center; font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.logos-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; opacity: .7; }
.logos-row span { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--muted); letter-spacing: -.02em; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.tagline { font-family: var(--font-head); font-weight: 700; color: var(--teal-700); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); }
.section-head p { font-size: 18px; margin-top: 16px; color: var(--body); }

/* ---------- Savings calculator ---------- */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.calc-controls { padding: 44px; }
.calc-controls h3 { font-size: 24px; margin-bottom: 6px; }
.calc-controls .sub { color: var(--muted); font-size: 15px; margin-bottom: 30px; }
.field { margin-bottom: 28px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 12px; }
.field label .val { color: var(--teal-700); font-weight: 800; font-size: 17px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--teal-100); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--teal-700); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(15,118,110,.5); cursor: pointer; transition: transform .15s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: var(--teal-700); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(15,118,110,.5); cursor: pointer; }
.seg { display: inline-flex; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 4px; gap: 4px; }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 9px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); }
.seg button.active { background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); }

.calc-result { padding: 44px; background: linear-gradient(160deg, var(--teal-900), var(--teal-800)); color: #fff; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.calc-result::after { content: ""; position: absolute; top: -60px; right: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(246,181,69,.25), transparent 70%); }
.calc-result .r-label { font-size: 14px; color: var(--teal-100); font-weight: 600; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.calc-row .k { color: rgba(255,255,255,.8); font-size: 15px; }
.calc-row .v { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.calc-row .v.strike { color: rgba(255,255,255,.55); text-decoration: line-through; text-decoration-color: var(--gold-500); }
.calc-save { margin-top: 26px; }
.calc-save .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(36px, 5vw, 52px); letter-spacing: -.03em; color: var(--gold-300); line-height: 1; }
.calc-save .cap { color: var(--teal-100); font-size: 14px; margin-top: 8px; }
.calc-note { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 22px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 34px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s var(--ease), box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .n { counter-increment: step; font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--teal-700); width: 44px; height: 44px; border-radius: 13px; background: var(--teal-50); display: grid; place-items: center; margin-bottom: 22px; }
.step .n::before { content: "0" counter(step); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; }

/* ---------- Category grid ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s var(--ease), box-shadow .2s; }
.cat:hover { border-color: var(--teal-500); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat .ci { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); }
.cat h3 { font-size: 17px; margin-bottom: 5px; }
.cat p { font-size: 14px; color: var(--muted); }

/* ---------- Talent cards ---------- */
.talent { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .25s var(--ease), box-shadow .25s; }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tcard-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tcard .avatar { width: 58px; height: 58px; flex: none; }
.tcard .name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 17px; display: flex; align-items: center; gap: 7px; }
.tcard .verified { color: var(--teal-600); }
.tcard .role { font-size: 14px; color: var(--muted); }
.tcard .blurb { font-size: 14px; color: var(--body); margin-bottom: 16px; }
.tcard .tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.tcard .tag { font-size: 12px; font-weight: 600; color: var(--teal-800); background: var(--teal-50); padding: 5px 10px; border-radius: 7px; }
.tcard-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line-2); }
.tcard .rate b { font-family: var(--font-head); color: var(--ink); font-size: 19px; }
.tcard .rate small { color: var(--muted); font-size: 13px; }
.tcard .tz { font-size: 12px; font-weight: 600; color: var(--teal-700); background: var(--teal-50); padding: 5px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.talent-cta { text-align: center; margin-top: 44px; }

/* ---------- Why us (split) ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.why-list { display: grid; gap: 14px; }
.why-item { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.why-item .wi { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--gold-50); color: var(--gold-600); display: grid; place-items: center; }
.why-item h3 { font-size: 17px; margin-bottom: 5px; }
.why-item p { font-size: 14px; color: var(--muted); }
.why-visual { background: linear-gradient(160deg, var(--teal-900), var(--teal-800)); border-radius: var(--radius-lg); padding: 44px; color: #fff; position: relative; overflow: hidden; }
.why-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgba(246,181,69,.18), transparent 60%); }
.why-visual h3 { color: #fff; font-size: 26px; margin-bottom: 8px; position: relative; }
.why-visual > p { color: var(--teal-100); margin-bottom: 28px; position: relative; }
.why-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; }
.why-metric { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 22px; }
.why-metric .m { font-family: var(--font-head); font-weight: 800; font-size: 32px; letter-spacing: -.02em; color: var(--gold-300); }
.why-metric .l { font-size: 13px; color: var(--teal-100); margin-top: 4px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.quote .stars { margin-bottom: 16px; }
.quote p { font-size: 15px; color: var(--ink); flex: 1; }
.quote .by { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.quote .avatar { width: 42px; height: 42px; flex: none; }
.quote .by b { font-family: var(--font-head); color: var(--ink); font-size: 14px; display: block; }
.quote .by small { color: var(--muted); font-size: 13px; }

/* ---------- Pricing / transparency band ---------- */
.band { background: var(--bg-deep); color: #fff; border-radius: var(--radius-lg); padding: 60px; text-align: center; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% -10%, rgba(25,160,148,.35), transparent 60%); }
.band h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); position: relative; }
.band p { color: var(--teal-100); font-size: 18px; max-width: 60ch; margin: 18px auto 0; position: relative; }
.band-points { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; margin-top: 30px; position: relative; }
.band-points span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-family: var(--font-head); }
.band-points svg { color: var(--gold-500); }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; background: none; border: 0; text-align: left; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 18px; }
.faq-q .chev { flex: none; color: var(--teal-700); transition: transform .3s var(--ease); }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--body); font-size: 15px; }

/* ---------- Final CTA ---------- */
.cta { text-align: center; }
.cta-card { background: linear-gradient(160deg, var(--teal-800), var(--teal-950)); border-radius: var(--radius-lg); padding: 70px 40px; color: #fff; position: relative; overflow: hidden; }
.cta-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 120%, rgba(246,181,69,.22), transparent 60%); }
.cta-card h2 { color: #fff; font-size: clamp(30px, 4vw, 46px); position: relative; }
.cta-card p { color: var(--teal-100); font-size: 19px; margin: 18px auto 34px; max-width: 50ch; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p { font-size: 14px; color: var(--muted); max-width: 32ch; }
.foot-col h4 { font-family: var(--font-head); font-size: 14px; color: var(--ink); margin-bottom: 16px; letter-spacing: .02em; }
.foot-col a { display: block; font-size: 14px; color: var(--muted); padding: 6px 0; transition: color .15s; }
.foot-col a:hover { color: var(--teal-700); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.foot-bottom p { font-size: 13px; color: var(--muted); }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: color .15s, border-color .15s; }
.socials a:hover { color: var(--teal-700); border-color: var(--teal-500); }
.foot-va { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 5px 6px 5px 16px; display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid, .why, .calc-wrap { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 30px; }
  .steps, .cats, .talent, .quotes { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-visual { order: -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links.mobile-open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 12px; gap: 4px; box-shadow: var(--shadow); }
  .nav-links.mobile-open a { padding: 12px 14px; }
  .section { padding: 64px 0; }
  .steps, .cats, .talent, .quotes, .foot-grid { grid-template-columns: 1fr; }
  .calc-controls, .calc-result, .band, .cta-card { padding: 32px 24px; }
  .hero-trust .divider { display: none; }
  .float-badge { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===========================================================================
   SHARED FORM CONTROLS
   ======================================================================== */
.lbl { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 14px; margin-bottom: 8px; }
.lbl .opt { color: var(--muted); font-weight: 500; }
.input, .select, textarea.input {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: #9aa7a5; }
.input:focus, .select:focus, textarea.input:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-50); }
textarea.input { resize: vertical; min-height: 110px; line-height: 1.5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7977' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 42px; cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-group { margin-bottom: 22px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 7px; }
.checkbox { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; color: var(--body); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--teal-700); flex: none; }

/* Selectable radio cards */
.choice-grid { display: grid; gap: 12px; }
.choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.choice {
  position: relative; display: flex; gap: 13px; align-items: flex-start; padding: 16px 18px;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.choice:hover { border-color: var(--teal-500); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice .ci { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; }
.choice .ct { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; }
.choice .cd { font-size: 13px; color: var(--muted); margin-top: 2px; }
.choice .tick { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: #fff; transition: all .15s; }
.choice input:checked ~ .tick { background: var(--teal-700); border-color: var(--teal-700); }
.choice input:checked ~ .tick svg { opacity: 1; }
.choice .tick svg { opacity: 0; transition: opacity .15s; }
.choice:has(input:checked) { border-color: var(--teal-700); background: var(--teal-50); box-shadow: 0 0 0 3px var(--teal-50); }

/* ===========================================================================
   SUBPAGE HEADER + GENERIC PAGE SHELL
   ======================================================================== */
.page { padding: 56px 0 90px; }
.page-narrow { max-width: 720px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--teal-700); font-weight: 600; }
.page-title { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.page-title h1 { font-size: clamp(30px, 4vw, 44px); }
.page-title p { font-size: 18px; color: var(--body); margin-top: 14px; }

/* ===========================================================================
   AUTH (sign in)
   ======================================================================== */
.auth { min-height: calc(100vh - 72px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { background: linear-gradient(165deg, var(--teal-800), var(--teal-950)); color: #fff; padding: 56px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-aside::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 90% 0%, rgba(246,181,69,.18), transparent 55%); }
.auth-aside .a-top, .auth-aside .a-mid, .auth-aside .a-bot { position: relative; }
.auth-aside h2 { color: #fff; font-size: 32px; line-height: 1.15; margin-bottom: 16px; }
.auth-aside p { color: var(--teal-100); font-size: 16px; max-width: 36ch; }
.auth-aside .a-points { display: grid; gap: 14px; margin-top: 28px; }
.auth-aside .a-point { display: flex; gap: 12px; align-items: center; font-size: 15px; color: #eaf6f4; }
.auth-aside .a-point svg { color: var(--gold-300); flex: none; }
.auth-quote { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 22px; }
.auth-quote p { color: #fff; font-size: 15px; }
.auth-quote .qby { color: var(--teal-100); font-size: 13px; margin-top: 10px; }

.auth-main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card > .brand { margin-bottom: 28px; }
.auth-card h1 { font-size: 28px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 5px; margin-bottom: 26px; }
.role-tabs button { border: 0; background: transparent; padding: 11px; border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 7px; transition: all .15s; }
.role-tabs button.active { background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); }
.social-btns { display: grid; gap: 10px; margin-bottom: 22px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); transition: background .15s, border-color .15s; }
.social-btn:hover { background: var(--bg-soft); border-color: var(--teal-500); }
.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; margin: 4px 0 22px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-card .row-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.link { color: var(--teal-700); font-weight: 600; font-size: 13px; }
.auth-card .btn { width: 100%; margin-top: 6px; }
.auth-foot { text-align: center; font-size: 14px; color: var(--muted); margin-top: 22px; }
.auth-disclaimer { font-size: 12px; color: var(--muted); text-align: center; margin-top: 18px; }

/* ===========================================================================
   HIRE INTAKE FORM
   ======================================================================== */
.hire-layout { display: grid; grid-template-columns: 1fr 340px; gap: 36px; align-items: start; }
.hire-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.steps-bar { display: flex; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.steps-bar .sb { flex: 1; padding: 18px 16px; display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted); position: relative; }
.steps-bar .sb .sbn { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 13px; flex: none; }
.steps-bar .sb.active { color: var(--teal-700); }
.steps-bar .sb.active .sbn { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.steps-bar .sb.done .sbn { background: var(--teal-50); border-color: var(--teal-500); color: var(--teal-700); }
.hire-step { display: none; padding: 38px; }
.hire-step.active { display: block; animation: stepIn .35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hire-step h2 { font-size: 23px; margin-bottom: 6px; }
.hire-step .step-sub { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.hire-nav { display: flex; justify-content: space-between; gap: 12px; padding: 24px 38px; border-top: 1px solid var(--line); background: var(--bg-soft); }

.hire-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 92px; }
.hire-summary h3 { font-size: 17px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.sum-row .sk { color: var(--muted); }
.sum-row .sv { font-family: var(--font-head); font-weight: 600; color: var(--ink); text-align: right; }
.sum-note { display: flex; gap: 10px; margin-top: 18px; padding: 14px; background: var(--teal-50); border-radius: 12px; font-size: 13px; color: var(--teal-800); }
.sum-note svg { flex: none; color: var(--teal-700); }

.success-state { text-align: center; padding: 70px 38px; display: none; }
.success-state.show { display: block; }
.success-state .badge { width: 76px; height: 76px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; margin: 0 auto 24px; animation: pop .4s var(--ease); }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.success-state h2 { font-size: 28px; margin-bottom: 12px; }
.success-state p { color: var(--body); font-size: 16px; max-width: 44ch; margin: 0 auto 28px; }

/* ===========================================================================
   BOOKING (Calendly-style)
   ======================================================================== */
.book-card { display: grid; grid-template-columns: 320px 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; min-height: 560px; }
.book-info { padding: 34px; border-right: 1px solid var(--line); }
.book-host { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.book-host .avatar { width: 54px; height: 54px; flex: none; }
.book-host .hn { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 16px; }
.book-host .hr { font-size: 13px; color: var(--muted); }
.book-info h1 { font-size: 22px; margin-bottom: 14px; }
.book-meta { display: grid; gap: 13px; margin-bottom: 22px; }
.book-meta .bm { display: flex; gap: 11px; align-items: center; font-size: 14px; color: var(--body); }
.book-meta .bm svg { color: var(--muted); flex: none; }
.book-desc { font-size: 14px; color: var(--muted); line-height: 1.55; }
.book-pick { padding: 34px; display: grid; grid-template-columns: 1fr 240px; gap: 30px; }
.book-pick.confirming { grid-template-columns: 1fr; }
.book-pick h2 { font-size: 19px; margin-bottom: 20px; }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-head .cm { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 16px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; transition: all .15s; }
.cal-nav button:hover:not(:disabled) { border-color: var(--teal-500); color: var(--teal-700); }
.cal-nav button:disabled { opacity: .35; cursor: not-allowed; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 6px; }
.cal-dow span { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 0; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day { aspect-ratio: 1; border: 0; background: none; border-radius: 10px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); position: relative; transition: background .12s, color .12s; }
.cal-day.empty { visibility: hidden; }
.cal-day.avail { background: var(--teal-50); color: var(--teal-700); cursor: pointer; }
.cal-day.avail:hover { background: var(--teal-100); }
.cal-day.disabled { color: #c2cdcb; cursor: not-allowed; }
.cal-day.selected { background: var(--teal-700); color: #fff; }
.cal-day.today::after { content: ""; position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: currentColor; }

.slots-panel { border-left: 1px solid var(--line); padding-left: 26px; }
.slots-panel .sd { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 14px; }
.slots-empty { color: var(--muted); font-size: 14px; padding-top: 8px; }
.slots { display: grid; gap: 9px; max-height: 360px; overflow-y: auto; padding-right: 4px; }
.slot { padding: 13px; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--teal-700); text-align: center; transition: all .15s; }
.slot:hover { border-color: var(--teal-500); }
.slot.selected { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.tz-select { margin-top: 18px; }

.confirm-view { display: none; max-width: 460px; }
.confirm-view.show { display: block; }
.confirm-pick { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--teal-50); border-radius: 14px; margin-bottom: 24px; font-family: var(--font-head); font-weight: 700; color: var(--teal-800); }
.confirm-pick svg { color: var(--teal-700); flex: none; }
.book-done { text-align: center; padding: 50px 30px; display: none; }
.book-done.show { display: block; }
.book-done .badge { width: 72px; height: 72px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; margin: 0 auto 22px; animation: pop .4s var(--ease); }
.book-done h2 { font-size: 25px; margin-bottom: 10px; }
.book-done p { color: var(--body); max-width: 40ch; margin: 0 auto 8px; }

/* ===========================================================================
   FREELANCER PAGE ACCENTS (warm, opportunity-focused)
   ======================================================================== */
.fl-hero { position: relative; overflow: hidden; padding: 60px 0 76px; }
.fl-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 50% at 85% 0%, var(--gold-50) 0%, transparent 60%), radial-gradient(50% 45% at 0% 10%, var(--teal-50) 0%, transparent 55%); }
.fl-eyebrow { background: var(--gold-50); border-color: var(--gold-300); color: var(--gold-600); }
.fl-eyebrow .dot { background: var(--gold-500); box-shadow: 0 0 0 4px var(--gold-50); }
.fl-hero h1 .hl { color: var(--gold-600); }
.fl-hero h1 .hl::after { background: var(--teal-100); opacity: .8; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.compare-col.bad { background: var(--bg-soft); }
.compare-col.good { border-color: var(--teal-500); box-shadow: var(--shadow); position: relative; }
.compare-col h3 { font-size: 19px; margin-bottom: 4px; display: flex; align-items: center; gap: 9px; }
.compare-col .csub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.compare-col ul { list-style: none; padding: 0; display: grid; gap: 13px; }
.compare-col li { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--body); }
.compare-col li svg { flex: none; margin-top: 2px; }
.compare-col.bad li svg { color: #c08a8a; }
.compare-col.good li svg { color: var(--teal-600); }
.compare-col .tag-best { position: absolute; top: -12px; right: 22px; background: var(--gold-500); color: #3a2a06; font-family: var(--font-head); font-weight: 700; font-size: 12px; padding: 5px 13px; border-radius: 999px; }
.earn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.earn-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.earn-card .role { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 16px; margin-bottom: 10px; }
.earn-card .amt { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--teal-700); letter-spacing: -.02em; }
.earn-card .per { color: var(--muted); font-size: 13px; }

@media (max-width: 940px) {
  .auth { grid-template-columns: 1fr; }
  .auth-aside { display: none; }
  .hire-layout { grid-template-columns: 1fr; }
  .hire-summary { position: static; }
  .book-card { grid-template-columns: 1fr; }
  .book-info { border-right: 0; border-bottom: 1px solid var(--line); }
  .book-pick { grid-template-columns: 1fr; }
  .slots-panel { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .compare, .earn-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .form-row, .choice-grid.cols-2, .choice-grid.cols-3 { grid-template-columns: 1fr; }
  .hire-step, .hire-nav, .book-info, .book-pick { padding: 24px; }
  .steps-bar .sb { font-size: 0; padding: 14px; justify-content: center; }
  .steps-bar .sb .sbn { font-size: 13px; }
}

/* ===========================================================================
   DASHBOARD SHELL (client + freelancer)
   ======================================================================== */
body.dash-page { background: var(--bg-soft); }
.dash-topbar { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); height: 64px; }
.dash-topbar .inner { max-width: 1280px; margin: 0 auto; height: 100%; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dash-search { flex: 1; max-width: 360px; position: relative; }
.dash-search input { width: 100%; padding: 10px 14px 10px 38px; border: 1px solid var(--line); border-radius: 11px; font: inherit; font-size: 14px; background: var(--bg-soft); }
.dash-search input:focus { outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px var(--teal-50); }
.dash-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.dash-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--body); display: grid; place-items: center; position: relative; transition: border-color .15s, color .15s; }
.icon-btn:hover { border-color: var(--teal-500); color: var(--teal-700); }
.icon-btn .ping { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); border: 2px solid #fff; }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; transition: border-color .15s; }
.user-chip:hover { border-color: var(--teal-500); }
.user-chip .avatar { width: 30px; height: 30px; flex: none; }
.user-chip .un { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); }

.dash-body { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 232px 1fr; gap: 30px; align-items: start; }
.dash-nav { position: sticky; top: 84px; padding: 26px 0; display: grid; gap: 4px; }
.dash-nav .group-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 6px; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 13px; border-radius: 11px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--body); transition: background .14s, color .14s; }
.dash-nav a svg { color: var(--muted); transition: color .14s; flex: none; }
.dash-nav a:hover { background: #fff; color: var(--ink); }
.dash-nav a.active { background: var(--teal-700); color: #fff; box-shadow: 0 8px 18px -10px rgba(15,118,110,.6); }
.dash-nav a.active svg { color: #fff; }
.dash-nav a .badge-n { margin-left: auto; background: var(--gold-500); color: #3a2a06; font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; font-family: var(--font-head); }

.dash-content { padding: 26px 0 70px; min-width: 0; }
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.dash-head h1 { font-size: 27px; }
.dash-head p { color: var(--muted); font-size: 15px; margin-top: 5px; }

.dash-view { display: none; }
.dash-view.active { display: block; animation: stepIn .3s var(--ease); }

/* Panels & cards */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line-2); }
.panel-head h2 { font-size: 17px; }
.panel-head .ph-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.panel-body { padding: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.stat-card .si { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; }
.stat-card .sv { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.stat-card .sl { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* Profile completeness */
.completeness { display: flex; align-items: center; gap: 18px; }
.ring { --val: 70; width: 64px; height: 64px; border-radius: 50%; flex: none; background: conic-gradient(var(--teal-600) calc(var(--val) * 1%), var(--teal-50) 0); display: grid; place-items: center; }
.ring::before { content: ""; position: absolute; width: 48px; height: 48px; border-radius: 50%; background: #fff; }
.ring span { position: relative; font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--teal-700); }
.ring-wrap { position: relative; display: grid; place-items: center; }

/* Skills chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.chip { display: inline-flex; align-items: center; gap: 7px; background: var(--teal-50); color: var(--teal-800); font-family: var(--font-head); font-weight: 600; font-size: 13px; padding: 6px 8px 6px 12px; border-radius: 9px; }
.chip button { border: 0; background: none; color: var(--teal-600); display: grid; place-items: center; padding: 0; width: 16px; height: 16px; border-radius: 4px; }
.chip button:hover { background: var(--teal-100); color: var(--teal-900); }
.chip-add { display: flex; gap: 8px; }
.chip-add .input { flex: 1; }

/* Uploader */
.uploader { border: 1.5px dashed var(--line); border-radius: 14px; padding: 26px; text-align: center; background: var(--bg-soft); transition: border-color .15s, background .15s; cursor: pointer; }
.uploader:hover { border-color: var(--teal-500); background: var(--teal-50); }
.uploader .ui { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; margin: 0 auto 12px; }
.uploader .ut { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; }
.uploader .uh { font-size: 13px; color: var(--muted); margin-top: 4px; }
.file-row { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-top: 12px; }
.file-row .fi { width: 38px; height: 38px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.file-row .fn { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 14px; }
.file-row .fs { font-size: 12px; color: var(--muted); }
.file-row .fx { margin-left: auto; border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px; border-radius: 8px; }
.file-row .fx:hover { color: #c0392b; background: #fdeaea; }

/* Invitations / list items */
.inv { display: flex; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.inv:last-child { border-bottom: 0; }
.inv .avatar { width: 48px; height: 48px; flex: none; }
.inv .iinfo { flex: 1; min-width: 0; }
.inv .iname { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; }
.inv .irole { font-size: 13px; color: var(--muted); }
.inv .itags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.inv .itags .tag { font-size: 11px; font-weight: 600; color: var(--teal-800); background: var(--teal-50); padding: 3px 8px; border-radius: 6px; }
.inv .iact { display: flex; gap: 8px; flex: none; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.inv-status { font-family: var(--font-head); font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; }
.inv-status.accepted { color: var(--teal-700); background: var(--teal-50); }
.inv-status.declined { color: var(--muted); background: var(--bg-soft); }

/* Hiring pipeline (client) */
.req-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 18px; overflow: hidden; }
.req-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 24px; flex-wrap: wrap; }
.req-top .rt-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 17px; }
.req-top .rt-meta { font-size: 13px; color: var(--muted); margin-top: 3px; }
.pill { font-family: var(--font-head); font-weight: 700; font-size: 12.5px; padding: 6px 13px; border-radius: 999px; }
.pill.active { background: var(--gold-50); color: var(--gold-600); }
.pill.done { background: var(--teal-50); color: var(--teal-700); }
.pipeline { display: flex; padding: 8px 24px 24px; gap: 0; }
.pl-step { flex: 1; position: relative; text-align: center; }
.pl-step::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.pl-step:first-child::before { display: none; }
.pl-step .dot { position: relative; z-index: 1; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 2px solid var(--line); margin: 0 auto 9px; display: grid; place-items: center; color: var(--muted); }
.pl-step .pl-label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.pl-step.done .dot { background: var(--teal-700); border-color: var(--teal-700); color: #fff; }
.pl-step.done::before { background: var(--teal-500); }
.pl-step.current .dot { background: #fff; border-color: var(--teal-700); color: var(--teal-700); box-shadow: 0 0 0 4px var(--teal-50); }
.pl-step.current .pl-label { color: var(--teal-700); font-weight: 700; }
.req-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line-2); background: var(--bg-soft); flex-wrap: wrap; }
.req-foot .rf-note { font-size: 13px; color: var(--body); display: flex; align-items: center; gap: 8px; }
.req-foot .rf-note svg { color: var(--teal-700); flex: none; }

/* Candidate shortlist mini cards */
.cand { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cand .avatar { width: 50px; height: 50px; flex: none; }
.cand .cinfo { flex: 1; min-width: 0; }
.cand .cn { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 15px; display: flex; align-items: center; gap: 6px; }
.cand .cr { font-size: 13px; color: var(--muted); }
.cand .cstage { font-family: var(--font-head); font-weight: 700; font-size: 12px; padding: 5px 11px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); white-space: nowrap; }
.cand .cstage.gold { background: var(--gold-50); color: var(--gold-600); }

/* Toast */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 12px; font-family: var(--font-head); font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 100; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { color: var(--teal-500); }

.empty-note { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty-note svg { color: var(--line); margin: 0 auto 12px; }

@media (max-width: 940px) {
  .dash-body { grid-template-columns: 1fr; }
  .dash-nav { position: static; display: flex; overflow-x: auto; padding: 12px 0; gap: 6px; border-bottom: 1px solid var(--line); }
  .dash-nav .group-label { display: none; }
  .dash-nav a { white-space: nowrap; }
  .dash-nav a .badge-n { margin-left: 6px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dash-search { display: none; }
  .pipeline { overflow-x: auto; }
  .pl-step { min-width: 78px; }
  .inv { flex-wrap: wrap; }
  .inv .iact { width: 100%; }
}

/* ===========================================================================
   ADMIN CONSOLE (internal — Admin / HR / Accounts)
   ======================================================================== */
.brand .internal-tag { font-weight: 700; color: var(--teal-700); font-size: 12px; background: var(--teal-50); padding: 3px 9px; border-radius: 7px; border: 1px solid var(--teal-100); }
.role-switch { display: flex; align-items: center; gap: 9px; }
.role-switch .rs-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.role-pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; font-size: 13px; padding: 6px 12px; border-radius: 999px; }
.role-pill .rd { width: 7px; height: 7px; border-radius: 50%; }
.role-pill.admin { background: var(--teal-50); color: var(--teal-700); } .role-pill.admin .rd { background: var(--teal-600); }
.role-pill.hr { background: var(--gold-50); color: var(--gold-600); } .role-pill.hr .rd { background: var(--gold-500); }
.role-pill.accounts { background: #eef0ff; color: #4f46e5; } .role-pill.accounts .rd { background: #6366f1; }
.role-select { appearance: none; border: 1px solid var(--line); background: #fff; border-radius: 11px; padding: 9px 34px 9px 13px; font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--ink); cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7977' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.role-select:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px var(--teal-50); }

.access-banner { display: flex; align-items: center; gap: 10px; background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-800); border-radius: 12px; padding: 11px 16px; font-size: 13.5px; margin-bottom: 22px; }
.access-banner svg { color: var(--teal-700); flex: none; }
.access-banner b { font-family: var(--font-head); }

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* Data table */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.tbl th { text-align: left; font-family: var(--font-head); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 13px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line-2); color: var(--body); vertical-align: middle; }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: var(--bg-soft); }
.tbl .who { display: flex; align-items: center; gap: 11px; }
.tbl .who .avatar { width: 36px; height: 36px; flex: none; }
.tbl .who b { font-family: var(--font-head); color: var(--ink); font-weight: 600; display: block; }
.tbl .who small { color: var(--muted); font-size: 12.5px; }
.tbl .tnum { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.tbl .row-act { display: flex; gap: 6px; justify-content: flex-end; }

/* Status badges */
.badge-status { font-family: var(--font-head); font-weight: 700; font-size: 12px; padding: 4px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.badge-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-applied  { background: var(--bg-soft); color: var(--muted); }
.s-screening{ background: var(--gold-50); color: var(--gold-600); }
.s-interview{ background: #eef0ff; color: #4f46e5; }
.s-approved, .s-active, .s-paid { background: var(--teal-50); color: var(--teal-700); }
.s-rejected { background: #fdecec; color: #c0392b; }
.s-pending, .s-overdue { background: var(--gold-50); color: var(--gold-600); }
.s-paused   { background: var(--bg-soft); color: var(--muted); }
.s-overdue  { background: #fdecec; color: #c0392b; }

/* Mini bar chart */
.chart-card .panel-body { padding-bottom: 28px; }
.chart { display: flex; align-items: flex-end; gap: 14px; height: 190px; padding: 8px 4px 0; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 9px; height: 100%; }
.bar { width: 100%; max-width: 46px; border-radius: 8px 8px 0 0; background: linear-gradient(var(--teal-500), var(--teal-700)); position: relative; transition: height .5s var(--ease); min-height: 4px; }
.bar:hover { background: linear-gradient(var(--teal-600), var(--teal-800)); }
.bar .bval { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-family: var(--font-head); font-weight: 700; font-size: 12px; color: var(--ink); white-space: nowrap; }
.bar-col .blab { font-size: 12px; color: var(--muted); font-weight: 600; }
.bar.muted { background: var(--teal-100); }

@media (max-width: 940px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-4 { grid-template-columns: 1fr; } .role-switch .rs-label { display: none; } }
