/* =========================================================
   SERVICEE — Marketplace Jasa Administrasi
   Design System (UI only) — warna mengikuti logo
   Gold  #E5A000  |  Navy #001670
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root{
  --gold-50:#FFF9EB; --gold-100:#FFF0C7; --gold-200:#FFE08A; --gold-300:#F8C94A;
  --gold-400:#F0B320; --gold-500:#E5A000; --gold-600:#C68800; --gold-700:#9C6B00;
  --navy-50:#F1F3FB; --navy-100:#E2E7F7; --navy-200:#C3CCEE; --navy-300:#8F9FDC;
  --navy-500:#2A3F9E; --navy-600:#1A2E8A; --navy-700:#0F237D; --navy-800:#001670; --navy-900:#000E4A;

  --bg:#FAF9F5; --surface:#FFFFFF; --surface-2:#F6F5F0;
  --border:#ECE9E1; --border-2:#E1DDD2;
  --text:#11163A; --text-2:#3D4466; --muted:#6B7190; --muted-2:#9AA0B8;

  --green:#16A34A; --green-50:#EAF8EF; --red:#E11D48; --red-50:#FDECF0;
  --blue:#2563EB; --blue-50:#EAF1FE; --purple:#7C3AED; --purple-50:#F2ECFE;
  --orange:#EA580C; --orange-50:#FEF0E7;

  --r-xs:8px; --r-sm:12px; --r:16px; --r-lg:20px; --r-xl:28px; --r-full:999px;
  --sh-xs:0 1px 2px rgba(17,22,58,.05);
  --sh-sm:0 2px 8px rgba(17,22,58,.06);
  --sh:0 8px 24px rgba(17,22,58,.07);
  --sh-lg:0 20px 48px rgba(17,22,58,.12);
  --sh-gold:0 10px 24px rgba(229,160,0,.30);
  --font:'Plus Jakarta Sans',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--bg);color:var(--text);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:0;background:none;color:inherit}
input,select,textarea{font-family:inherit;font-size:14px;color:var(--text)}
ul{list-style:none}
svg.lucide{width:18px;height:18px;stroke-width:2;flex-shrink:0}
h1,h2,h3,h4,h5{line-height:1.2;letter-spacing:-.02em;font-weight:800;color:var(--text)}
h1{font-size:52px} h2{font-size:34px} h3{font-size:22px} h4{font-size:17px} h5{font-size:15px}

/* ---------- Layout helpers ---------- */
.container{max-width:1240px;margin:0 auto;padding:0 24px}
.container-sm{max-width:960px;margin:0 auto;padding:0 24px}
.section{padding:80px 0}
.section-sm{padding:48px 0}
.flex{display:flex}.inline-flex{display:inline-flex}.col{flex-direction:column}.wrap{flex-wrap:wrap}
.items-center{align-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}
.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}
.flex-1{flex:1;min-width:0}
.gap-4{gap:4px}.gap-6{gap:6px}.gap-8{gap:8px}.gap-10{gap:10px}.gap-12{gap:12px}.gap-16{gap:16px}.gap-20{gap:20px}.gap-24{gap:24px}.gap-32{gap:32px}
.grid{display:grid;gap:24px}
.g-2{grid-template-columns:repeat(2,1fr)}.g-3{grid-template-columns:repeat(3,1fr)}.g-4{grid-template-columns:repeat(4,1fr)}.g-5{grid-template-columns:repeat(5,1fr)}.g-6{grid-template-columns:repeat(6,1fr)}
.mt-4{margin-top:4px}.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}.mt-20{margin-top:20px}.mt-24{margin-top:24px}.mt-32{margin-top:32px}.mt-40{margin-top:40px}
.mb-4{margin-bottom:4px}.mb-8{margin-bottom:8px}.mb-12{margin-bottom:12px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}.mb-32{margin-bottom:32px}
.p-16{padding:16px}.p-20{padding:20px}.p-24{padding:24px}
.w-full{width:100%}.text-center{text-align:center}.text-right{text-align:right}
.muted{color:var(--muted)}.muted-2{color:var(--muted-2)}.text-2{color:var(--text-2)}
.fs-12{font-size:12px}.fs-13{font-size:13px}.fs-14{font-size:14px}.fs-16{font-size:16px}.fs-18{font-size:18px}.fs-20{font-size:20px}.fs-24{font-size:24px}.fs-28{font-size:28px}
.fw-500{font-weight:500}.fw-600{font-weight:600}.fw-700{font-weight:700}.fw-800{font-weight:800}
.c-gold{color:var(--gold-600)}.c-navy{color:var(--navy-800)}.c-green{color:var(--green)}.c-red{color:var(--red)}.c-blue{color:var(--blue)}
.nowrap{white-space:nowrap}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.divider{height:1px;background:var(--border);margin:20px 0}
.hide{display:none!important}
.relative{position:relative}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border-radius:var(--r-full);font-weight:700;font-size:14px;transition:.2s ease;white-space:nowrap;border:1.5px solid transparent}
.btn svg.lucide{width:17px;height:17px}
.btn-primary{background:var(--gold-500);color:var(--navy-900);box-shadow:var(--sh-gold)}
.btn-primary:hover{background:var(--gold-400);transform:translateY(-1px)}
.btn-navy{background:var(--navy-800);color:#fff}
.btn-navy:hover{background:var(--navy-700);transform:translateY(-1px)}
.btn-outline{border-color:var(--border-2);background:#fff;color:var(--text)}
.btn-outline:hover{border-color:var(--navy-800);color:var(--navy-800)}
.btn-ghost{color:var(--text-2)}
.btn-ghost:hover{background:var(--surface-2)}
.btn-soft{background:var(--navy-50);color:var(--navy-800)}
.btn-soft:hover{background:var(--navy-100)}
.btn-soft-gold{background:var(--gold-50);color:var(--gold-700)}
.btn-danger{background:var(--red-50);color:var(--red)}
.btn-danger:hover{background:var(--red);color:#fff}
.btn-success{background:var(--green);color:#fff}
.btn-sm{height:36px;padding:0 14px;font-size:13px}
.btn-xs{height:30px;padding:0 12px;font-size:12px}
.btn-lg{height:54px;padding:0 28px;font-size:15px}
.btn-block{width:100%}
.btn-icon{width:42px;height:42px;padding:0;border-radius:var(--r-full)}
.btn-icon.btn-sm{width:36px;height:36px}

/* ---------- Badges / chips ---------- */
.badge{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 10px;border-radius:var(--r-full);font-size:12px;font-weight:700;white-space:nowrap}
.badge svg.lucide{width:13px;height:13px}
.badge-gold{background:var(--gold-100);color:var(--gold-700)}
.badge-navy{background:var(--navy-100);color:var(--navy-800)}
.badge-green{background:var(--green-50);color:var(--green)}
.badge-red{background:var(--red-50);color:var(--red)}
.badge-blue{background:var(--blue-50);color:var(--blue)}
.badge-purple{background:var(--purple-50);color:var(--purple)}
.badge-orange{background:var(--orange-50);color:var(--orange)}
.badge-gray{background:var(--surface-2);color:var(--muted)}
.badge-dot::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}

.chip{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 16px;border-radius:var(--r-full);border:1.5px solid var(--border);background:#fff;font-weight:600;font-size:14px;color:var(--text-2);transition:.2s;white-space:nowrap}
.chip:hover{border-color:var(--gold-500);color:var(--navy-800)}
.chip.active{background:var(--navy-800);border-color:var(--navy-800);color:#fff}
.chip svg.lucide{width:16px;height:16px}

/* ---------- Cards ---------- */
.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-lg);box-shadow:var(--sh-xs)}
.card-pad{padding:24px}
.card-hover{transition:.25s ease}
.card-hover:hover{transform:translateY(-4px);box-shadow:var(--sh-lg);border-color:transparent}
.card-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border)}
.card-head h4{font-size:16px}
.card-body{padding:24px}

/* ---------- Forms ---------- */
.label{display:block;font-weight:700;font-size:13px;margin-bottom:8px;color:var(--text)}
.label .req{color:var(--red)}
.hint{font-size:12px;color:var(--muted);margin-top:6px}
.input,.select,.textarea{width:100%;height:48px;padding:0 16px;border-radius:var(--r-sm);border:1.5px solid var(--border-2);background:#fff;outline:0;transition:.2s}
.textarea{height:auto;min-height:110px;padding:14px 16px;resize:vertical;line-height:1.6}
.input:focus,.select:focus,.textarea:focus{border-color:var(--gold-500);box-shadow:0 0 0 4px var(--gold-100)}
.input-icon{position:relative}
.input-icon svg.lucide{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--muted)}
.input-icon .input{padding-left:46px}
.field{margin-bottom:18px}
.checkbox{display:flex;align-items:flex-start;gap:10px;font-size:14px;cursor:pointer}
.checkbox input{width:18px;height:18px;accent-color:var(--gold-500);margin-top:2px;flex-shrink:0}
.radio-card{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1.5px solid var(--border-2);border-radius:var(--r);cursor:pointer;transition:.2s}
.radio-card:hover{border-color:var(--gold-400)}
.radio-card.active{border-color:var(--gold-500);background:var(--gold-50)}
.radio-card input{accent-color:var(--gold-500);margin-top:3px}
.dropzone{border:2px dashed var(--border-2);border-radius:var(--r);padding:28px;text-align:center;background:var(--surface-2);transition:.2s}
.dropzone:hover{border-color:var(--gold-500);background:var(--gold-50)}
.switch{position:relative;width:42px;height:24px;border-radius:99px;background:var(--border-2);display:inline-block;flex-shrink:0}
.switch::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:var(--sh-sm);transition:.2s}
.switch.on{background:var(--gold-500)}
.switch.on::after{left:21px}

/* ---------- Avatar ---------- */
.avatar{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;color:#fff;flex-shrink:0;background:var(--navy-800);position:relative}
.avatar.sm{width:32px;height:32px;font-size:12px}
.avatar.xs{width:26px;height:26px;font-size:10px}
.avatar.lg{width:56px;height:56px;font-size:18px}
.avatar.xl{width:96px;height:96px;font-size:32px;border:4px solid #fff;box-shadow:var(--sh)}
.avatar.sq{border-radius:14px}
.avatar.online::after{content:"";position:absolute;right:0;bottom:0;width:11px;height:11px;border-radius:50%;background:var(--green);border:2px solid #fff}
.av-1{background:linear-gradient(135deg,#001670,#2A3F9E)}
.av-2{background:linear-gradient(135deg,#E5A000,#F8C94A);color:var(--navy-900)}
.av-3{background:linear-gradient(135deg,#0EA5E9,#2563EB)}
.av-4{background:linear-gradient(135deg,#10B981,#059669)}
.av-5{background:linear-gradient(135deg,#F43F5E,#E11D48)}
.av-6{background:linear-gradient(135deg,#8B5CF6,#6D28D9)}
.av-7{background:linear-gradient(135deg,#F97316,#EA580C)}
.av-8{background:linear-gradient(135deg,#14B8A6,#0F766E)}
.avatar-stack{display:flex}
.avatar-stack .avatar{border:2px solid #fff;margin-left:-10px}
.avatar-stack .avatar:first-child{margin-left:0}

.verified{display:inline-flex;color:var(--blue)}
.verified svg.lucide{width:16px;height:16px;fill:var(--blue);stroke:#fff}
.stars{display:inline-flex;align-items:center;gap:4px;font-weight:700;font-size:14px}
.stars svg.lucide{width:15px;height:15px;fill:var(--gold-500);stroke:var(--gold-500)}

/* ---------- Navbar ---------- */
.navbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.88);backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid var(--border)}
.navbar .container{display:flex;align-items:center;gap:28px;height:76px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px;color:var(--navy-800);letter-spacing:-.03em}
.brand svg{width:40px;height:40px}
.nav-links{display:flex;gap:4px}
.nav-links a{padding:10px 14px;border-radius:var(--r-full);font-weight:600;font-size:14px;color:var(--text-2);transition:.2s}
.nav-links a:hover,.nav-links a.active{background:var(--surface-2);color:var(--navy-800)}
.nav-search{flex:1;max-width:460px;position:relative}
.nav-search input{width:100%;height:46px;border-radius:var(--r-full);border:1.5px solid var(--border-2);padding:0 54px 0 20px;background:#fff;outline:0}
.nav-search input:focus{border-color:var(--gold-500)}
.nav-search button{position:absolute;right:5px;top:5px;width:36px;height:36px;border-radius:50%;background:var(--navy-800);color:#fff;display:flex;align-items:center;justify-content:center}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:8px}
.icon-btn{position:relative;width:42px;height:42px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:var(--text-2);transition:.2s}
.icon-btn:hover{background:var(--surface-2);color:var(--navy-800)}
.icon-btn .dot{position:absolute;top:9px;right:10px;width:8px;height:8px;border-radius:50%;background:var(--red);border:2px solid #fff}
.cat-bar{border-top:1px solid var(--border);background:#fff}
.cat-bar .container{display:flex;gap:26px;height:48px;align-items:center;overflow-x:auto;scrollbar-width:none}
.cat-bar a{font-size:14px;font-weight:600;color:var(--muted);white-space:nowrap;padding:13px 0;border-bottom:2px solid transparent}
.cat-bar a:hover{color:var(--navy-800);border-color:var(--gold-500)}

/* ---------- Hero ---------- */
.hero{position:relative;overflow:hidden;background:var(--navy-800);color:#fff;border-radius:0 0 40px 40px}
.hero::before{content:"";position:absolute;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(229,160,0,.45),transparent 65%);right:-140px;top:-180px}
.hero::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.08) 1px,transparent 1px);background-size:22px 22px;mask-image:linear-gradient(90deg,transparent,#000 70%)}
.hero .container{position:relative;z-index:1;display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;padding-top:72px;padding-bottom:88px}
.hero h1{color:#fff;font-size:56px;letter-spacing:-.035em}
.hero h1 .hl{color:var(--gold-400);position:relative;white-space:nowrap}
.hero h1 .hl svg{position:absolute;left:0;bottom:-10px;width:100%;height:14px}
.hero p.lead{font-size:18px;color:rgba(255,255,255,.75);margin-top:20px;max-width:540px}
.hero-search{margin-top:32px;background:#fff;border-radius:var(--r-full);padding:8px;display:flex;align-items:center;gap:8px;box-shadow:0 20px 50px rgba(0,0,0,.25);max-width:600px}
.hero-search .seg{display:flex;align-items:center;gap:10px;padding:0 16px;flex:1;color:var(--muted)}
.hero-search .seg+.seg{border-left:1px solid var(--border)}
.hero-search input,.hero-search select{border:0;outline:0;height:48px;width:100%;background:transparent;font-size:15px;color:var(--text)}
.hero-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px;align-items:center}
.hero-tags span{font-size:13px;color:rgba(255,255,255,.6)}
.hero-tags a{font-size:13px;font-weight:600;padding:7px 14px;border-radius:var(--r-full);border:1px solid rgba(255,255,255,.22);color:#fff;transition:.2s}
.hero-tags a:hover{background:rgba(255,255,255,.12)}
.hero-visual{position:relative;height:460px}
.hv-card{position:absolute;background:#fff;color:var(--text);border-radius:var(--r-lg);box-shadow:var(--sh-lg);padding:18px}
.hv-main{left:40px;top:20px;width:340px;padding:0;overflow:hidden}
.hv-float1{right:0;top:60px;width:210px;animation:float 5s ease-in-out infinite}
.hv-float2{left:0;bottom:30px;width:250px;animation:float 6s ease-in-out infinite .8s}
.hv-float3{right:20px;bottom:0;width:220px;animation:float 5.5s ease-in-out infinite .4s}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.trust-row{display:flex;gap:36px;margin-top:40px;flex-wrap:wrap}
.trust-row .num{font-size:28px;font-weight:800;color:#fff}
.trust-row .lbl{font-size:13px;color:rgba(255,255,255,.6)}

/* ---------- Section heading ---------- */
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:var(--gold-600);text-transform:uppercase;letter-spacing:.08em}
.eyebrow::before{content:"";width:18px;height:2px;background:var(--gold-500);border-radius:2px}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:36px}
.sec-head h2{margin-top:10px}
.sec-head p{color:var(--muted);margin-top:10px;max-width:560px}

/* ---------- Category tiles ---------- */
.cat-tile{padding:24px;border-radius:var(--r-lg);background:#fff;border:1px solid var(--border);transition:.25s;display:flex;flex-direction:column;gap:14px;position:relative;overflow:hidden}
.cat-tile:hover{border-color:var(--gold-300);box-shadow:var(--sh);transform:translateY(-3px)}
.cat-tile .ic{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--gold-50);color:var(--gold-600)}
.cat-tile .ic svg.lucide{width:26px;height:26px}
.cat-tile:nth-child(even) .ic{background:var(--navy-50);color:var(--navy-800)}
.cat-tile h4{font-size:16px}
.cat-tile .count{font-size:13px;color:var(--muted)}
.cat-tile .arrow{position:absolute;right:20px;top:24px;color:var(--muted-2);transition:.2s}
.cat-tile:hover .arrow{color:var(--gold-600);transform:translate(3px,-3px)}

/* ---------- Service card ---------- */
.svc-card{background:#fff;border-radius:var(--r-lg);border:1px solid var(--border);overflow:hidden;transition:.25s;display:flex;flex-direction:column}
.svc-card:hover{transform:translateY(-4px);box-shadow:var(--sh-lg);border-color:transparent}
.cover{position:relative;height:170px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.cover::before{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.18) 1.2px,transparent 1.2px);background-size:16px 16px}
.cover .doc{position:relative;width:110px;height:120px;background:#fff;border-radius:12px;box-shadow:0 14px 30px rgba(0,0,0,.18);padding:14px 12px;transform:rotate(-6deg)}
.cover .doc i,.cover .doc b{display:block;height:6px;border-radius:3px;background:#E8E6DF;margin-bottom:7px}
.cover .doc b{background:var(--gold-300);width:60%;height:8px}
.cover .doc i:nth-child(3){width:85%}.cover .doc i:nth-child(5){width:70%}
.cover .stamp{position:absolute;right:-14px;bottom:-12px;width:46px;height:46px;border-radius:50%;background:var(--navy-800);color:var(--gold-400);display:flex;align-items:center;justify-content:center;border:3px solid #fff}
.cover .stamp svg.lucide{width:20px;height:20px}
.cover .glass{position:absolute;left:14px;top:14px}
.cover .fav{position:absolute;right:14px;top:14px;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;color:var(--text-2)}
.cv-1{background:linear-gradient(135deg,#0F237D,#2A3F9E)}
.cv-2{background:linear-gradient(135deg,#E5A000,#F8C94A)}
.cv-3{background:linear-gradient(135deg,#047857,#10B981)}
.cv-4{background:linear-gradient(135deg,#9A3412,#F97316)}
.cv-5{background:linear-gradient(135deg,#1E40AF,#38BDF8)}
.cv-6{background:linear-gradient(135deg,#5B21B6,#A78BFA)}
.cv-7{background:linear-gradient(135deg,#0F766E,#5EEAD4)}
.cv-8{background:linear-gradient(135deg,#9F1239,#FB7185)}
.svc-body{padding:18px 18px 14px;display:flex;flex-direction:column;gap:10px;flex:1}
.svc-seller{display:flex;align-items:center;gap:10px;font-size:13px}
.svc-seller b{font-weight:700;color:var(--text)}
.svc-title{font-weight:700;font-size:15px;line-height:1.45;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:44px}
.svc-card:hover .svc-title{color:var(--navy-800)}
.svc-meta{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}
.svc-meta span{display:inline-flex;align-items:center;gap:4px}
.svc-meta svg.lucide{width:14px;height:14px}
.svc-foot{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-top:1px solid var(--border)}
.price-from{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;font-weight:700}
.price{font-size:17px;font-weight:800;color:var(--navy-800)}

/* ---------- Steps / how it works ---------- */
.how{background:#fff;border-radius:var(--r-xl);border:1px solid var(--border);padding:48px}
.how-step{position:relative;padding:24px;border-radius:var(--r-lg);background:var(--surface-2)}
.how-step .n{width:44px;height:44px;border-radius:14px;background:var(--navy-800);color:var(--gold-400);display:flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:16px}
.how-step:nth-child(even) .n{background:var(--gold-500);color:var(--navy-900)}
.how-step h4{font-size:16px;margin-bottom:6px}
.how-step p{font-size:14px;color:var(--muted)}

/* ---------- Feature (security) ---------- */
.feature-dark{background:var(--navy-900);color:#fff;border-radius:var(--r-xl);padding:56px;position:relative;overflow:hidden}
.feature-dark::after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(229,160,0,.35),transparent 65%);left:-120px;bottom:-200px}
.feature-dark h2{color:#fff}
.feature-dark p{color:rgba(255,255,255,.7)}
.f-item{display:flex;gap:14px;align-items:flex-start}
.f-item .ic{width:42px;height:42px;border-radius:12px;background:rgba(229,160,0,.15);color:var(--gold-400);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.f-item h5{color:#fff;margin-bottom:4px}
.f-item p{font-size:14px}

/* ---------- Provider card ---------- */
.prov-card{background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);padding:24px;text-align:center;transition:.25s}
.prov-card:hover{box-shadow:var(--sh-lg);transform:translateY(-4px);border-color:transparent}
.prov-card .avatar{margin:0 auto 14px}
.prov-stats{display:flex;justify-content:center;gap:18px;margin-top:16px;padding-top:16px;border-top:1px solid var(--border);font-size:13px;color:var(--muted)}
.prov-stats b{display:block;color:var(--text);font-size:15px}

/* ---------- Testimonials ---------- */
.testi{background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);padding:28px;display:flex;flex-direction:column;gap:18px}
.testi .q{font-size:15px;color:var(--text-2);line-height:1.7}
.quote-ic{width:38px;height:38px;border-radius:12px;background:var(--gold-100);color:var(--gold-600);display:flex;align-items:center;justify-content:center}

/* ---------- CTA ---------- */
.cta{background:linear-gradient(120deg,var(--gold-500),var(--gold-300));border-radius:var(--r-xl);padding:56px;display:flex;align-items:center;justify-content:space-between;gap:32px;position:relative;overflow:hidden}
.cta::after{content:"";position:absolute;right:-80px;top:-80px;width:320px;height:320px;border-radius:50%;border:40px solid rgba(255,255,255,.18)}
.cta h2{color:var(--navy-900);max-width:620px}
.cta p{color:var(--navy-800);opacity:.8;margin-top:10px}

/* ---------- Footer ---------- */
.footer{background:var(--navy-900);color:rgba(255,255,255,.7);padding:64px 0 28px;margin-top:80px}
.footer .brand{color:#fff}
.footer h5{color:#fff;margin-bottom:16px;font-size:14px}
.footer ul li{margin-bottom:10px;font-size:14px}
.footer a:hover{color:var(--gold-400)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;border-top:1px solid rgba(255,255,255,.1);margin-top:48px;padding-top:24px;font-size:13px}
.socials{display:flex;gap:10px}
.socials a{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center}
.socials a:hover{background:var(--gold-500);color:var(--navy-900)}

/* ---------- Breadcrumb / page header ---------- */
.crumb{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);flex-wrap:wrap}
.crumb a:hover{color:var(--navy-800)}
.crumb svg.lucide{width:14px;height:14px}
.page-head{padding:32px 0 24px}

/* ---------- Listing / filter ---------- */
.list-layout{display:grid;grid-template-columns:280px 1fr;gap:28px;align-items:start}
.filter{position:sticky;top:96px}
.filter-group{padding:20px 0;border-bottom:1px solid var(--border)}
.filter-group:last-child{border-bottom:0}
.filter-group h5{margin-bottom:14px;font-size:14px;display:flex;justify-content:space-between;align-items:center}
.filter-group .checkbox{margin-bottom:10px;font-size:14px;color:var(--text-2)}
.filter-group .checkbox .cnt{margin-left:auto;color:var(--muted-2);font-size:12px}
.range{display:flex;gap:10px}
.range .input{height:42px}
.toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.pagination{display:flex;gap:6px;justify-content:center;margin-top:40px}
.pagination a{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;border:1px solid var(--border);background:#fff}
.pagination a.active{background:var(--navy-800);color:#fff;border-color:var(--navy-800)}
.pagination a:hover:not(.active){border-color:var(--gold-500)}

/* ---------- Detail service ---------- */
.detail-layout{display:grid;grid-template-columns:1fr 400px;gap:36px;align-items:start}
.gallery{display:grid;grid-template-columns:1fr;gap:12px}
.gallery-main{height:400px;border-radius:var(--r-xl)}
.gallery-main .doc{width:190px;height:220px;padding:22px 18px}
.gallery-main .doc i{height:8px;margin-bottom:11px}.gallery-main .doc b{height:11px}
.gallery-main .stamp{width:70px;height:70px}
.gallery-main .stamp svg.lucide{width:30px;height:30px}
.gallery-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gallery-thumbs .cover{height:84px;border-radius:var(--r);cursor:pointer;border:3px solid transparent}
.gallery-thumbs .cover.active{border-color:var(--gold-500)}
.gallery-thumbs .cover .doc{width:40px;height:46px;padding:6px;border-radius:6px}
.gallery-thumbs .cover .doc i,.gallery-thumbs .cover .doc b{height:3px;margin-bottom:4px}
.gallery-thumbs .cover .stamp{display:none}
.prose h4{margin:28px 0 12px}
.prose p{color:var(--text-2);margin-bottom:12px;line-height:1.75}
.check-list li{display:flex;gap:10px;align-items:flex-start;margin-bottom:10px;color:var(--text-2)}
.check-list li svg.lucide{color:var(--green);margin-top:3px}
.pkg{position:sticky;top:96px}
.pkg-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--border)}
.pkg-tabs button{padding:16px 0;font-weight:700;font-size:14px;color:var(--muted);border-bottom:3px solid transparent}
.pkg-tabs button.active{color:var(--navy-800);border-color:var(--gold-500)}
.kv{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-size:14px}
.kv span:first-child{color:var(--muted)}
.kv b{font-weight:700}
.faq details{border:1px solid var(--border);border-radius:var(--r);padding:0 20px;margin-bottom:10px;background:#fff}
.faq summary{list-style:none;padding:18px 0;font-weight:700;cursor:pointer;display:flex;justify-content:space-between;align-items:center}
.faq summary::-webkit-details-marker{display:none}
.faq details[open] summary svg.lucide{transform:rotate(45deg)}
.faq details p{padding-bottom:18px;color:var(--text-2)}
.rating-bar{display:flex;align-items:center;gap:12px;font-size:13px;margin-bottom:8px}
.rating-bar .bar{flex:1;height:8px;border-radius:8px;background:var(--surface-2);overflow:hidden}
.rating-bar .bar i{display:block;height:100%;background:var(--gold-500);border-radius:8px}
.review{padding:20px 0;border-bottom:1px solid var(--border)}
.review:last-child{border-bottom:0}

/* ---------- Provider profile ---------- */
.profile-cover{height:220px;border-radius:var(--r-xl);background:linear-gradient(120deg,var(--navy-800),var(--navy-600) 55%,var(--gold-500));position:relative;overflow:hidden}
.profile-cover::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.12) 1.2px,transparent 1.2px);background-size:20px 20px}
.profile-head{display:flex;gap:24px;align-items:flex-end;margin-top:-56px;padding:0 32px;position:relative;z-index:2}
.stat-mini{padding:16px;border-radius:var(--r);background:var(--surface-2);text-align:center}
.stat-mini b{display:block;font-size:20px;font-weight:800;color:var(--navy-800)}
.stat-mini span{font-size:12px;color:var(--muted)}

/* ---------- Tabs ---------- */
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);overflow-x:auto;scrollbar-width:none}
.tabs button,.tabs a{padding:14px 16px;font-weight:700;font-size:14px;color:var(--muted);border-bottom:3px solid transparent;white-space:nowrap;display:inline-flex;gap:8px;align-items:center}
.tabs button.active,.tabs a.active{color:var(--navy-800);border-color:var(--gold-500)}
.tabs .badge{height:20px;padding:0 7px;font-size:11px}
.pill-tabs{display:inline-flex;gap:4px;padding:5px;border-radius:var(--r-full);background:var(--surface-2)}
.pill-tabs button{padding:9px 16px;border-radius:var(--r-full);font-weight:700;font-size:13px;color:var(--muted)}
.pill-tabs button.active{background:#fff;color:var(--navy-800);box-shadow:var(--sh-sm)}
.tab-panel{display:none}.tab-panel.active{display:block}

/* ---------- Auth ---------- */
.auth{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}
.auth-side{background:var(--navy-800);color:#fff;padding:48px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}
.auth-side::before{content:"";position:absolute;width:560px;height:560px;border-radius:50%;background:radial-gradient(circle,rgba(229,160,0,.45),transparent 65%);right:-200px;bottom:-160px}
.auth-side .brand{color:#fff}
.auth-side h2{color:#fff;font-size:40px;max-width:460px;position:relative}
.auth-main{display:flex;align-items:center;justify-content:center;padding:48px}
.auth-box{width:100%;max-width:440px}
.social-btn{display:flex;align-items:center;justify-content:center;gap:10px;height:48px;border-radius:var(--r-full);border:1.5px solid var(--border-2);font-weight:700;background:#fff;width:100%}
.social-btn:hover{border-color:var(--navy-800)}
.or{display:flex;align-items:center;gap:14px;color:var(--muted-2);font-size:13px;margin:22px 0}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--border)}
.role-pick{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.role-pick .radio-card{flex-direction:column;align-items:flex-start;gap:12px;padding:20px}
.role-pick .ic{width:46px;height:46px;border-radius:14px;background:var(--navy-50);color:var(--navy-800);display:flex;align-items:center;justify-content:center}
.role-pick .radio-card.active .ic{background:var(--gold-500);color:var(--navy-900)}

/* ---------- Dashboard ---------- */
.dash{display:grid;grid-template-columns:268px 1fr;min-height:100vh}
.sidebar{background:#fff;border-right:1px solid var(--border);padding:22px 16px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;overflow-y:auto}
.sidebar.dark{background:var(--navy-900);border-color:var(--navy-900);color:rgba(255,255,255,.7)}
.sidebar.dark .brand{color:#fff}
.sidebar .brand{padding:0 8px;margin-bottom:24px}
.side-label{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.1em;color:var(--muted-2);padding:0 12px;margin:18px 0 8px}
.sidebar.dark .side-label{color:rgba(255,255,255,.35)}
.side-link{display:flex;align-items:center;gap:12px;padding:11px 12px;border-radius:12px;font-weight:600;font-size:14px;color:var(--text-2);transition:.15s;margin-bottom:2px}
.side-link:hover{background:var(--surface-2);color:var(--navy-800)}
.side-link.active{background:var(--navy-800);color:#fff}
.side-link.active svg.lucide{color:var(--gold-400)}
.sidebar.dark .side-link{color:rgba(255,255,255,.7)}
.sidebar.dark .side-link:hover{background:rgba(255,255,255,.06);color:#fff}
.sidebar.dark .side-link.active{background:var(--gold-500);color:var(--navy-900)}
.sidebar.dark .side-link.active svg.lucide{color:var(--navy-900)}
.side-link .badge{margin-left:auto;height:20px;padding:0 7px;font-size:11px}
.side-promo{margin-top:auto;padding:18px;border-radius:var(--r);background:linear-gradient(135deg,var(--gold-100),var(--gold-50));border:1px solid var(--gold-200)}
.sidebar.dark .side-promo{background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.1);color:#fff}
.dash-main{min-width:0}
.topbar{position:sticky;top:0;z-index:40;height:72px;background:rgba(250,249,245,.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:16px;padding:0 32px}
.topbar .nav-search{max-width:380px}
.topbar .nav-search input{height:42px;background:#fff}
.topbar .nav-search button{width:32px;height:32px}
.dash-content{padding:28px 32px 48px}
.dash-title{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.dash-title h1{font-size:28px}
.dash-title p{color:var(--muted);margin-top:4px}
.user-chip{display:flex;align-items:center;gap:10px;padding:5px 12px 5px 5px;border-radius:var(--r-full);border:1px solid var(--border);background:#fff}
.user-chip b{font-size:13px;display:block;line-height:1.2}
.user-chip span:not(.avatar){font-size:11px;color:var(--muted)}

.stat{background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);padding:20px;display:flex;flex-direction:column;gap:14px}
.stat .top{display:flex;justify-content:space-between;align-items:center}
.stat .ic{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center}
.stat .ic svg.lucide{width:22px;height:22px}
.stat .val{font-size:26px;font-weight:800;letter-spacing:-.02em}
.stat .lbl{font-size:13px;color:var(--muted);font-weight:600}
.trend{font-size:12px;font-weight:700;display:inline-flex;align-items:center;gap:3px}
.trend.up{color:var(--green)}.trend.down{color:var(--red)}
.trend svg.lucide{width:14px;height:14px}
.ic-gold{background:var(--gold-100);color:var(--gold-700)}
.ic-navy{background:var(--navy-100);color:var(--navy-800)}
.ic-green{background:var(--green-50);color:var(--green)}
.ic-red{background:var(--red-50);color:var(--red)}
.ic-blue{background:var(--blue-50);color:var(--blue)}
.ic-purple{background:var(--purple-50);color:var(--purple)}
.ic-orange{background:var(--orange-50);color:var(--orange)}
.stat.hero-stat{background:var(--navy-800);border-color:var(--navy-800);color:#fff;position:relative;overflow:hidden}
.stat.hero-stat::after{content:"";position:absolute;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(229,160,0,.45),transparent 65%);right:-60px;top:-60px}
.stat.hero-stat .lbl{color:rgba(255,255,255,.65)}
.stat.hero-stat .ic{background:rgba(229,160,0,.18);color:var(--gold-400)}

/* ---------- Table ---------- */
.table-wrap{overflow-x:auto}
.table{width:100%;border-collapse:collapse;font-size:14px}
.table th{text-align:left;font-size:12px;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-weight:700;padding:12px 16px;background:var(--surface-2);white-space:nowrap}
.table th:first-child{border-radius:12px 0 0 12px}.table th:last-child{border-radius:0 12px 12px 0}
.table td{padding:16px;border-bottom:1px solid var(--border);vertical-align:middle}
.table tr:last-child td{border-bottom:0}
.table tbody tr:hover td{background:#FDFCF8}
.cell-user{display:flex;align-items:center;gap:12px}
.cell-user b{display:block;font-size:14px}
.cell-user span:not(.avatar):not(.badge){font-size:12px;color:var(--muted)}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:12.5px;background:var(--surface-2);padding:3px 8px;border-radius:6px;color:var(--text-2)}

/* ---------- Progress ---------- */
.progress{height:8px;border-radius:8px;background:var(--surface-2);overflow:hidden}
.progress i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,var(--gold-500),var(--gold-300))}
.progress.navy i{background:linear-gradient(90deg,var(--navy-800),var(--navy-500))}
.progress.green i{background:var(--green)}
.ring{--p:60;width:64px;height:64px;border-radius:50%;background:conic-gradient(var(--gold-500) calc(var(--p)*1%),var(--surface-2) 0);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ring::before{content:attr(data-label);width:50px;height:50px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px;color:var(--navy-800)}

/* ---------- Stepper (workflow) ---------- */
.stepper{display:flex;align-items:flex-start;gap:0}
.stepper .st{flex:1;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;font-size:12px;font-weight:600;color:var(--muted)}
.stepper .st::before{content:"";position:absolute;top:17px;left:-50%;width:100%;height:3px;background:var(--border);z-index:0}
.stepper .st:first-child::before{display:none}
.stepper .st .dot{width:36px;height:36px;border-radius:50%;background:#fff;border:2px solid var(--border-2);display:flex;align-items:center;justify-content:center;margin-bottom:8px;position:relative;z-index:1;font-weight:800;color:var(--muted)}
.stepper .st .dot svg.lucide{width:16px;height:16px}
.stepper .st.done{color:var(--text)}
.stepper .st.done::before,.stepper .st.current::before{background:var(--gold-500)}
.stepper .st.done .dot{background:var(--gold-500);border-color:var(--gold-500);color:var(--navy-900)}
.stepper .st.current{color:var(--navy-800);font-weight:800}
.stepper .st.current .dot{background:var(--navy-800);border-color:var(--navy-800);color:#fff;box-shadow:0 0 0 6px var(--navy-100)}

/* ---------- Timeline ---------- */
.timeline{position:relative;padding-left:32px}
.timeline::before{content:"";position:absolute;left:11px;top:6px;bottom:6px;width:2px;background:var(--border)}
.tl-item{position:relative;padding-bottom:26px}
.tl-item:last-child{padding-bottom:0}
.tl-item .tl-dot{position:absolute;left:-32px;top:0;width:24px;height:24px;border-radius:50%;background:#fff;border:2px solid var(--border-2);display:flex;align-items:center;justify-content:center}
.tl-item .tl-dot svg.lucide{width:12px;height:12px}
.tl-item.done .tl-dot{background:var(--green);border-color:var(--green);color:#fff}
.tl-item.active .tl-dot{background:var(--gold-500);border-color:var(--gold-500);color:var(--navy-900);box-shadow:0 0 0 5px var(--gold-100)}
.tl-item.warn .tl-dot{background:var(--orange);border-color:var(--orange);color:#fff}
.tl-time{font-size:12px;color:var(--muted)}
.tl-card{margin-top:10px;padding:16px;border-radius:var(--r);background:var(--surface-2)}

/* ---------- File item ---------- */
.file{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-radius:var(--r);background:#fff}
.ft{width:42px;height:42px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:800;flex-shrink:0}
.ft-pdf{background:var(--red-50);color:var(--red)}
.ft-doc{background:var(--blue-50);color:var(--blue)}
.ft-xls{background:var(--green-50);color:var(--green)}
.ft-img{background:var(--purple-50);color:var(--purple)}
.file b{font-size:14px;display:block}
.file span:not(.avatar):not(.badge){font-size:12px;color:var(--muted)}

/* ---------- Chat ---------- */
.chat{display:grid;grid-template-columns:320px 1fr 320px;height:calc(100vh - 77px);background:#fff;border-top:1px solid var(--border)}
.chat-list{border-right:1px solid var(--border);display:flex;flex-direction:column;min-height:0}
.chat-list .search{padding:16px;border-bottom:1px solid var(--border)}
.chat-items{overflow-y:auto;flex:1}
.chat-item{display:flex;gap:12px;padding:14px 16px;cursor:pointer;border-left:3px solid transparent}
.chat-item:hover{background:var(--surface-2)}
.chat-item.active{background:var(--gold-50);border-color:var(--gold-500)}
.chat-item .meta{font-size:11px;color:var(--muted-2)}
.chat-item .unread{min-width:20px;height:20px;border-radius:10px;background:var(--navy-800);color:#fff;font-size:11px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 6px}
.chat-main{display:flex;flex-direction:column;min-height:0;background:var(--bg)}
.chat-head{padding:14px 24px;border-bottom:1px solid var(--border);background:#fff;display:flex;align-items:center;gap:12px}
.chat-body{flex:1;overflow-y:auto;padding:24px;display:flex;flex-direction:column;gap:14px}
.msg{max-width:68%;display:flex;flex-direction:column;gap:4px}
.msg .bubble{padding:12px 16px;border-radius:18px;font-size:14px;line-height:1.55;background:#fff;border:1px solid var(--border);border-bottom-left-radius:6px}
.msg.me{align-self:flex-end;align-items:flex-end}
.msg.me .bubble{background:var(--navy-800);color:#fff;border-color:var(--navy-800);border-bottom-left-radius:18px;border-bottom-right-radius:6px}
.msg .time{font-size:11px;color:var(--muted-2)}
.msg .file{margin-top:2px}
.sys-msg{align-self:center;font-size:12px;color:var(--muted);background:#fff;border:1px solid var(--border);padding:6px 14px;border-radius:var(--r-full);display:inline-flex;gap:6px;align-items:center}
.sys-msg svg.lucide{width:14px;height:14px}
.proposal-bubble{background:#fff;border:1.5px solid var(--gold-300);border-radius:18px;padding:16px;width:360px;box-shadow:var(--sh-sm)}
.chat-input{padding:16px 24px;background:#fff;border-top:1px solid var(--border);display:flex;gap:10px;align-items:center}
.chat-input .input{border-radius:var(--r-full);height:48px}
.chat-side{border-left:1px solid var(--border);overflow-y:auto;padding:20px}
.day-sep{align-self:center;font-size:12px;font-weight:700;color:var(--muted-2)}

/* ---------- Doc viewer ---------- */
.viewer{display:grid;grid-template-columns:1fr 340px;height:calc(100vh - 77px)}
.viewer-stage{background:#2B2F45;overflow:auto;padding:32px;display:flex;flex-direction:column;align-items:center;gap:24px;user-select:none}
.viewer-bar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:8px;background:rgba(17,22,58,.9);color:#fff;padding:8px 10px;border-radius:var(--r-full);backdrop-filter:blur(8px)}
.viewer-bar button{width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}
.viewer-bar button:hover{background:rgba(255,255,255,.12)}
.viewer-bar button.disabled{opacity:.35;cursor:not-allowed}
.page-doc{width:640px;min-height:860px;background:#fff;border-radius:6px;padding:64px 60px;position:relative;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.35);font-size:13px;color:#333;line-height:1.75}
.page-doc h3{font-size:16px;text-align:center;margin-bottom:4px;color:#111}
.page-doc .sub{text-align:center;font-size:12px;color:#666;margin-bottom:28px}
.page-doc p{margin-bottom:12px}
.page-doc table{width:100%;border-collapse:collapse;margin:12px 0 18px}
.page-doc td{border:1px solid #ddd;padding:6px 10px;font-size:12px}
.wm{position:absolute;inset:-200px;display:flex;flex-wrap:wrap;gap:90px 80px;transform:rotate(-30deg);pointer-events:none;align-content:flex-start;padding:40px}
.wm span{font-weight:800;font-size:15px;color:rgba(0,22,112,.13);white-space:nowrap;letter-spacing:.04em}
.wm-edge{position:absolute;left:0;right:0;bottom:0;background:rgba(0,22,112,.06);color:rgba(0,22,112,.55);font-size:10px;font-weight:700;padding:6px 14px;display:flex;justify-content:space-between;letter-spacing:.04em}
.viewer-side{background:#fff;border-left:1px solid var(--border);padding:24px;overflow-y:auto}

/* ---------- Proposal document ---------- */
.proposal-doc{background:#fff;border-radius:var(--r-xl);border:1px solid var(--border);box-shadow:var(--sh);overflow:hidden}
.pd-head{padding:36px 40px;background:linear-gradient(120deg,var(--navy-800),var(--navy-600));color:#fff;display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.pd-head h2{color:#fff;font-size:26px}
.pd-logo{width:64px;height:64px;border-radius:16px;background:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;color:var(--navy-800);font-size:22px}
.pd-body{padding:36px 40px}
.pd-sec{margin-bottom:32px}
.pd-sec h4{display:flex;align-items:center;gap:10px;margin-bottom:14px;font-size:16px}
.pd-sec h4 .n{width:28px;height:28px;border-radius:8px;background:var(--gold-100);color:var(--gold-700);display:inline-flex;align-items:center;justify-content:center;font-size:13px}
.pd-sec p,.pd-sec li{color:var(--text-2);font-size:14px;line-height:1.75}
.pd-sec ol{padding-left:20px;list-style:decimal}
.pd-table{width:100%;border-collapse:collapse;font-size:14px}
.pd-table th{background:var(--surface-2);text-align:left;padding:12px 14px;font-size:12px;text-transform:uppercase;color:var(--muted);letter-spacing:.04em}
.pd-table td{padding:12px 14px;border-bottom:1px solid var(--border)}
.pd-table tfoot td{font-weight:800;font-size:16px;color:var(--navy-800);border:0;padding-top:16px}
.sign-box{border:1.5px dashed var(--border-2);border-radius:var(--r);padding:20px;text-align:center;min-height:150px;display:flex;flex-direction:column;justify-content:flex-end;gap:6px}
.signature{font-family:'Brush Script MT','Segoe Script',cursive;font-size:34px;color:var(--navy-800);line-height:1}
.ver-item{display:flex;gap:12px;padding:14px;border-radius:var(--r);border:1px solid var(--border);margin-bottom:10px;align-items:flex-start}
.ver-item.current{border-color:var(--gold-500);background:var(--gold-50)}

/* ---------- Alerts ---------- */
.alert{display:flex;gap:12px;padding:14px 16px;border-radius:var(--r);font-size:14px;align-items:flex-start}
.alert svg.lucide{margin-top:2px}
.alert-gold{background:var(--gold-50);border:1px solid var(--gold-200);color:var(--gold-700)}
.alert-navy{background:var(--navy-50);border:1px solid var(--navy-100);color:var(--navy-800)}
.alert-red{background:var(--red-50);border:1px solid #F9C9D4;color:var(--red)}
.alert-green{background:var(--green-50);border:1px solid #BFE8CD;color:var(--green)}
.alert b{color:inherit}
.alert p{color:var(--text-2);margin-top:2px}

/* ---------- Modal ---------- */
.modal{position:fixed;inset:0;z-index:100;background:rgba(0,14,74,.45);backdrop-filter:blur(4px);display:none;align-items:center;justify-content:center;padding:24px}
.modal.open{display:flex;animation:fade .2s}
.modal-box{background:#fff;border-radius:var(--r-xl);width:100%;max-width:560px;max-height:90vh;overflow-y:auto;box-shadow:var(--sh-lg);animation:pop .25s}
.modal-head{padding:22px 26px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}
.modal-body{padding:24px 26px}
.modal-foot{padding:18px 26px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:10px}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes pop{from{transform:scale(.96);opacity:0}to{transform:none;opacity:1}}

/* ---------- Bars chart ---------- */
.bars{display:flex;align-items:flex-end;gap:14px;height:220px;padding-top:10px}
.bars .b{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;height:100%;justify-content:flex-end}
.bars .b i{width:100%;max-width:38px;border-radius:10px 10px 4px 4px;background:var(--navy-100);position:relative}
.bars .b i.hl{background:linear-gradient(180deg,var(--gold-400),var(--gold-500))}
.bars .b i.nv{background:linear-gradient(180deg,var(--navy-600),var(--navy-800))}
.bars .b span{font-size:12px;color:var(--muted);font-weight:600}
.legend{display:flex;gap:16px;font-size:13px;color:var(--muted)}
.legend span{display:inline-flex;align-items:center;gap:6px}
.legend i{width:10px;height:10px;border-radius:3px;display:inline-block}

/* ---------- Article ---------- */
.art-card{background:#fff;border:1px solid var(--border);border-radius:var(--r-lg);overflow:hidden;transition:.25s}
.art-card:hover{box-shadow:var(--sh-lg);transform:translateY(-4px)}
.art-card .cover{height:180px}
.art-card .body{padding:20px}
.art-card h4{font-size:17px;line-height:1.4;margin:10px 0 8px}

/* ---------- Empty / misc ---------- */
.kbd{display:inline-flex;align-items:center;height:22px;padding:0 7px;border-radius:6px;border:1px solid var(--border-2);font-size:11px;font-weight:700;color:var(--muted);background:#fff}
.dot-sep{width:4px;height:4px;border-radius:50%;background:var(--muted-2);display:inline-block}
.notice-bar{background:var(--navy-900);color:rgba(255,255,255,.8);font-size:13px;text-align:center;padding:9px 16px}
.notice-bar b{color:var(--gold-400)}
.sitemap-card{padding:20px;border-radius:var(--r-lg);background:#fff;border:1px solid var(--border);display:flex;gap:14px;align-items:center;transition:.2s}
.sitemap-card:hover{border-color:var(--gold-500);box-shadow:var(--sh)}
.sitemap-card .ic{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}

/* role switcher (demo UI) */
.role-switch{position:fixed;left:50%;transform:translateX(-50%);bottom:20px;z-index:90;background:var(--navy-900);color:#fff;border-radius:var(--r-full);padding:6px;display:flex;gap:4px;box-shadow:var(--sh-lg);align-items:center}
.role-switch span{font-size:12px;padding:0 10px;color:rgba(255,255,255,.6)}
.role-switch button{padding:8px 14px;border-radius:var(--r-full);font-size:13px;font-weight:700;color:rgba(255,255,255,.75)}
.role-switch button.active{background:var(--gold-500);color:var(--navy-900)}
body.as-client .only-provider{display:none!important}
body.as-provider .only-client{display:none!important}

/* ---------- Responsive ---------- */
@media (max-width:1200px){
  .g-5,.g-6{grid-template-columns:repeat(3,1fr)}
  .chat{grid-template-columns:300px 1fr}
  .chat-side{display:none}
}
@media (max-width:1024px){
  h1{font-size:40px}
  .hero .container{grid-template-columns:1fr}
  .hero-visual{display:none}
  .g-4{grid-template-columns:repeat(2,1fr)}
  .list-layout,.detail-layout{grid-template-columns:1fr}
  .filter,.pkg{position:static}
  .dash{grid-template-columns:1fr}
  .sidebar{display:none}
  .nav-links{display:none}
  .auth{grid-template-columns:1fr}
  .auth-side{display:none}
  .viewer{grid-template-columns:1fr}
  .viewer-side{display:none}
}
@media (max-width:720px){
  .hero h1{font-size:38px}
  .g-2,.g-3,.g-4,.g-5,.g-6{grid-template-columns:1fr}
  .section{padding:56px 0}
  .cta,.feature-dark,.how{padding:32px}
  .cta{flex-direction:column;align-items:flex-start}
  .nav-search{display:none}
  .chat{grid-template-columns:1fr}
  .chat-list{display:none}
  .dash-content{padding:20px}
  .topbar{padding:0 20px}
  .page-doc{width:100%;padding:32px}
}

/* small covers */
.chat-side .cover,.cover.sm{height:110px;border-radius:12px}
.chat-side .cover .doc,.cover.sm .doc{transform:rotate(-6deg) scale(.6)}
.cover.xs{height:54px;border-radius:10px}
.cover.xs .doc{transform:rotate(-6deg) scale(.32)}

/* ===== v2: foto Unsplash, logo dummy ===== */
.hero-photo{min-height:640px;display:flex;align-items:center}
.hero-photo::before{display:none}
.hero-photo::after{background:linear-gradient(90deg,rgba(0,14,74,.96) 0%,rgba(0,22,112,.88) 42%,rgba(0,22,112,.35) 75%,rgba(0,22,112,.15) 100%);mask-image:none}
.hero-photo .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 35%}
.hero-photo .container{display:block;padding-top:96px;padding-bottom:104px}
.hero-copy{max-width:640px}
.hero h1 .hl{color:var(--gold-400)}

.cover.photo{background:var(--surface-2)}
.cover.photo::before{display:none}
.cover.photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.svc-card:hover .cover.photo img,.art-card:hover .cover.photo img{transform:scale(1.05)}
.cover.photo .glass,.cover.photo .fav{z-index:1}
.cover.photo .glass{background:rgba(255,255,255,.92);color:var(--navy-800)}
.gallery-thumbs .cover.photo{border:3px solid transparent}
.gallery-thumbs .cover.photo.active{border-color:var(--gold-500)}

.avatar.has-img{background:#fff;overflow:visible}
.avatar.has-img img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.avatar.sq{border-radius:30%}
.avatar.xl.sq{border-radius:28px}

.trusted-logos{display:flex;align-items:center;gap:40px;flex-wrap:wrap}
.trusted-logos img{height:34px;width:auto;filter:grayscale(1);opacity:.55;transition:.25s}
.trusted-logos img:hover{filter:none;opacity:1}

.art-cat{display:block;font-size:12px;font-weight:700;color:var(--gold-700);text-transform:uppercase;letter-spacing:.06em}

.profile-cover.photo-bg{background:none}
.profile-cover.photo-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.profile-cover.photo-bg::after{background:linear-gradient(0deg,rgba(0,14,74,.45),transparent 60%)}
