/*
Theme Name: Expert Hub
Description: Expert-matching marketplace layout (placeholder content). Edit brand + copy in inc/config.php.
Version: 1.0
*/
:root{--navy:#0d101f;--navy2:#333a58;--navy3:#515c8b;--periw:#7884b3;--foot:#111524;--ink:#1f2125;--lime:#b5f23d}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--navy);color:#fff;font-family:Archivo,ui-sans-serif,system-ui,sans-serif;font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
h1,h2,h3,p{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.grad{background:linear-gradient(var(--navy) 0%,var(--navy2) 50%,var(--navy3) 100%)}
.grad-r{background:linear-gradient(var(--navy3) 0%,var(--navy2) 50%,var(--navy) 100%)}
.light{background:#fff;color:var(--ink)}
.eyebrow{font-size:11px;letter-spacing:.14em;text-transform:uppercase;opacity:.75;margin-bottom:16px}
.sec{padding:96px 0}
.sec-head{display:flex;gap:48px;justify-content:space-between;align-items:flex-end;margin-bottom:48px;flex-wrap:wrap}
.sec-head h2{font-size:32px;font-weight:400;line-height:1.2;max-width:560px}
.sec-head p{max-width:460px;opacity:.85}
.btn{display:inline-flex;align-items:center;gap:8px;border-radius:6px;padding:12px 18px;font-weight:600;font-size:15px;cursor:pointer;border:0;font-family:inherit}
.btn-dark{background:#111;color:#fff}
.btn-dark em{color:var(--lime);font-style:normal}
.btn-white{background:#fff;color:#111;border:1px solid #fff}
/* header */
.site-header{position:absolute;inset:0 0 auto 0;z-index:40;height:60px}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:60px}
.logo{font-weight:600;font-size:20px;letter-spacing:-.02em}
.logo sup{color:#fff;font-size:11px}
.nav{display:flex;gap:28px;font-size:14px}
.nav a{opacity:.85}.nav a:hover{opacity:1}
.hdr-icons{display:flex;gap:18px;opacity:.9}
.hdr-icons svg{width:18px;height:18px}
/* hero */
.hero{padding:120px 0 72px}
.pills{display:flex;gap:18px;margin-bottom:28px;font-style:italic;font-weight:700;font-size:18px;opacity:.95}
.pill-mark{display:inline-flex;align-items:center;gap:6px}
.pill-mark i{width:22px;height:22px;border-radius:5px;background:#95bf47;display:inline-block}
.hero h1{font-size:56px;line-height:1.05;font-weight:600;letter-spacing:-.02em;margin-bottom:20px}
.hero .lead{font-size:18px;max-width:640px;opacity:.9;margin-bottom:24px}
.rate{display:flex;gap:10px;font-size:14px;margin-bottom:40px;align-items:center;flex-wrap:wrap}
.rate b{font-weight:600}.rate .dot{opacity:.5}
.star{color:#8bd150}
.quiz{background:#fff;color:var(--ink);border-radius:12px;padding:28px;max-width:760px}
.quiz-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}
.quiz-top h2{font-size:20px;font-weight:600}
.badge{border:1px solid #111;border-radius:99px;font-size:11px;font-weight:600;padding:2px 8px}
.quiz p.sub{font-size:14px;margin-bottom:18px}
.quiz .q{font-size:12px;font-weight:600;margin-bottom:8px}
.opts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}
.opt{border:1px solid #d6d8dc;border-radius:6px;padding:16px;font-size:14px;font-weight:500;cursor:pointer;background:#fff;text-align:left;font-family:inherit;color:var(--ink);display:flex;justify-content:space-between}
.opt.on{border-color:#111;box-shadow:0 0 0 1px #111}
.quiz .btn{width:100%;justify-content:center;padding:15px}
.quiz .fine{font-size:12px;text-align:center;opacity:.6;margin-top:10px}
/* how it works */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.step{background:#fff;color:var(--ink);border-radius:8px;padding:24px;position:relative;padding-top:44px}
.step .n{position:absolute;top:0;left:0;background:var(--navy3);color:#fff;font-size:13px;padding:5px 12px;border-radius:8px 0 8px 0}
.step h3{font-size:18px;font-weight:600;margin-bottom:12px}
.step p{font-size:14px;line-height:1.6}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;margin-top:64px}
.stat{border-left:1px solid #fff;padding-left:18px}
.stat b{display:block;font-size:28px;font-weight:500;margin-bottom:6px}
.stat span{font-size:14px;opacity:.85}
/* experts */
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ecard{background:#fff;color:var(--ink);border-radius:10px;padding:22px;display:flex;flex-direction:column;gap:14px}
.ehead{display:flex;gap:14px;align-items:center}
.av{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#7884b3,#333a58);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:20px;flex:none}
.ehead h3{font-size:17px;font-weight:600}
.ehead small{opacity:.6;font-size:13px}
.score{margin-left:auto;text-align:center;font-size:11px}
.score i{display:flex;width:38px;height:38px;border-radius:50%;border:3px solid #6bbf4a;align-items:center;justify-content:center;font-style:normal;font-weight:600;font-size:13px;margin:4px auto 0}
.ecard p{font-size:14px;line-height:1.55;opacity:.85}
.tags{display:flex;gap:6px;flex-wrap:wrap}
.tags span{font-size:12px;background:#f0f1f4;border-radius:99px;padding:3px 10px}
.ecard .btn{margin-top:auto;justify-content:center}
.dots{display:flex;justify-content:center;gap:8px;margin-top:32px}
.dots i{width:7px;height:7px;border-radius:50%;background:#fff;opacity:.35}.dots i:first-child{opacity:1}
/* location */
.chips{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.chip{border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);border-radius:99px;padding:6px 14px;font-size:13px}
.loc h2{font-size:32px;font-weight:500;line-height:1.2;max-width:520px;margin-bottom:16px}
.loc p{max-width:520px;opacity:.9;margin-bottom:24px}
.loc h3{font-size:15px;font-weight:600;margin:36px 0 6px}
.globe{width:360px;height:360px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#a9b4e6,#515c8b 55%,#262c4a);box-shadow:0 30px 80px rgba(0,0,0,.4);flex:none}
.loc .wrap{display:flex;justify-content:space-between;align-items:center;gap:48px}
/* apps */
.apps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.app{border:1px solid #d6d8dc;border-radius:8px;padding:22px;display:flex;flex-direction:column;gap:20px}
.app .top{display:flex;gap:14px;align-items:center}
.app .ic{width:44px;height:44px;border-radius:8px;background:#111;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.app h3{font-size:15px;font-weight:600}.app small{opacity:.6;font-size:13px}
.app a{font-size:13px;font-weight:600}
/* projects */
.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.proj{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:22px}
.proj b{font-size:13px;opacity:.7;display:block;margin-bottom:10px}
.proj h3{font-size:18px;font-weight:500;margin-bottom:8px}
.proj p{font-size:14px;opacity:.8}
/* trust */
.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.trust div{border-top:2px solid var(--ink);padding-top:16px}
.trust h3{font-size:18px;font-weight:600;margin-bottom:8px}
.trust p{font-size:14px;line-height:1.6;opacity:.8}
.light h2.big{font-size:32px;font-weight:400;margin-bottom:48px;max-width:640px}
/* categories */
.cats{display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.cats h3{font-size:12px;letter-spacing:.12em;text-transform:uppercase;opacity:.65;margin-bottom:16px;font-weight:500}
.cats a{display:block;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.15);font-size:15px}
.cats a:hover{padding-left:6px}
/* shortlist cta */
.cta{text-align:center}
.cta h2{font-size:32px;font-weight:500;margin-bottom:12px}
.cta p{max-width:560px;margin:0 auto 28px;opacity:.75}
/* footer */
.site-footer{background:var(--navy)}
.fcta{padding:96px 0;text-align:center}
.fcta h2{font-size:36px;font-weight:500;margin-bottom:14px;max-width:700px;margin-inline:auto}
.fmain{background:var(--foot);padding:64px 0 32px}
.fgrid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:40px}
.fgrid h4{font-size:11px;letter-spacing:.12em;text-transform:uppercase;opacity:.55;margin:0 0 14px;font-weight:500}
.fgrid a{display:block;font-size:14px;padding:5px 0;opacity:.9}.fgrid a:hover{opacity:1;text-decoration:underline}
.fgrid p{font-size:14px;opacity:.75;max-width:260px;margin-top:10px}
.fbar{background:var(--navy);border-top:1px solid rgba(255,255,255,.08);padding:16px 0;font-size:12px;opacity:.8}
.fbar .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.fbar nav{display:flex;gap:24px}
/* generic pages */
.page-hero{padding:130px 0 56px}
.page-hero h1{font-size:44px;font-weight:600;letter-spacing:-.02em}
.page-body{background:#fff;color:var(--ink);padding:64px 0 96px}
.page-body .wrap{max-width:820px}
.page-body h2{font-size:24px;margin:32px 0 10px}
.page-body p,.page-body li{line-height:1.7}
.page-body form input,.page-body form textarea{width:100%;padding:12px;border:1px solid #cfd2d8;border-radius:6px;font:inherit;margin-bottom:12px}
@media(max-width:900px){
 .hero h1{font-size:38px}.steps,.cards,.apps,.projects,.trust,.cats{grid-template-columns:1fr}
 .stats{grid-template-columns:1fr 1fr}.fgrid{grid-template-columns:1fr 1fr}.loc .wrap{flex-direction:column;align-items:flex-start}
 .globe{width:240px;height:240px}.nav{display:none}.opts{grid-template-columns:1fr}.sec{padding:64px 0}
}
.page-body.wide .wrap{max-width:1200px}
.page-body .ecard{border:1px solid #e1e3e8}
.page-body .chips{margin:0 0 32px}.page-body .chip{border-color:#d6d8dc;background:#f6f7f9;color:var(--ink)}
.faq{border-bottom:1px solid #e1e3e8;padding:18px 0}.faq summary{font-weight:600;cursor:pointer;font-size:17px}.faq p{margin-top:10px;opacity:.8}
.page-body .stats.dk .stat{border-left-color:var(--ink)}.page-body .stats.dk{grid-template-columns:repeat(2,1fr)}
.page-body .proj{background:#f6f7f9;border-color:#e1e3e8;color:var(--ink)}
.page-body form{display:flex;flex-direction:column;margin-top:24px}
.page-body form .btn{align-self:flex-start}
/* match reference home */
.hero h1{font-size:44px}
.hero .lead{font-size:17px;max-width:520px}
.quiz{max-width:none}
.site-header .nav{display:none}
.home .cards,.front-cards{grid-template-columns:repeat(2,1fr)}
.hero{padding:110px 0 56px}
.sec-head h2{font-size:32px}
@media(max-width:900px){.home .cards{grid-template-columns:1fr}}
/* ===== reference-matched sections ===== */
.sec.dark,.dark{background:var(--navy)}
.ul{text-decoration:underline;font-size:13px}
/* expert card */
.ecard{gap:0;padding:24px;border-radius:10px}
.ecard .ehead{justify-content:space-between;align-items:flex-start;margin-bottom:14px}
.ecard .av{width:72px;height:72px;background:#111;font-size:22px;letter-spacing:.02em}
.ecard .score{margin:0;text-align:right;font-size:12px}
.ecard .score span{display:block;margin-bottom:6px}
.ecard .score i{width:48px;height:48px;border:4px solid #6bbf4a;border-radius:50%;display:flex;align-items:center;justify-content:center;font-style:normal;font-weight:600;font-size:16px;margin:0 0 0 auto}
.ecard h3{font-size:18px;font-weight:600;display:flex;align-items:center;gap:8px}
.pro{background:#111;color:#fff;font-size:10px;padding:1px 6px;border-radius:3px;letter-spacing:.04em}
.role{font-size:14px;margin:4px 0 8px}
.rt{font-size:13px;margin-bottom:14px;opacity:.85}.rt .star{color:#6bbf4a}
.ecard dl{margin:0 0 16px}.ecard dl div{display:flex;justify-content:space-between;font-size:13px;padding:6px 0}
.ecard dt{opacity:.8}.ecard dd{margin:0}
.cards.two{grid-template-columns:repeat(2,1fr)}
.carctl{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:36px}
.carctl .arr{width:32px;height:32px;border-radius:50%;background:var(--navy3);display:flex;align-items:center;justify-content:center;font-size:14px}
.carctl .dots{margin:0;gap:7px}.carctl .dots i{width:7px;height:7px;border-radius:50%;background:#fff;opacity:.35;display:block}.carctl .dots i:first-child{opacity:1}
/* location */
.loc{background:linear-gradient(var(--navy) 0%,#232942 45%,var(--navy3) 100%);padding:96px 0 0;overflow:hidden}
.loc .wrap{display:block}
.loc h2{font-size:32px;font-weight:500;max-width:520px}
.loc .wrap>p{max-width:520px;margin:16px 0 24px;opacity:.9}
.loc h3{margin:44px 0 6px;font-size:15px;font-weight:600}.loc p.sm{font-size:14px;max-width:520px;opacity:.9}
.chip{background:#fff;color:#111;border:0;font-size:13px;font-weight:500;padding:7px 14px}
.globewrap{position:relative;height:500px;max-width:1000px;margin:0 auto;overflow:hidden}
.globewrap .globe{position:absolute;left:50%;top:70px;transform:translateX(-50%);width:640px;height:640px;background:radial-gradient(circle at 38% 30%,#b9c3ef 0,#7f8cc6 35%,#4c5788 65%,#262c4a 100%);box-shadow:inset -40px -30px 90px rgba(13,16,31,.55)}
.gpill{position:absolute;background:#fff;color:#111;border-radius:99px;padding:6px 14px 6px 6px;display:flex;align-items:center;gap:8px;box-shadow:0 8px 24px rgba(0,0,0,.25);font-size:13px;line-height:1.2}
.gpill b{display:block;font-weight:600}.gpill small{opacity:.65;font-size:11px}
.gpill .fl{font-size:22px}.gpill .gav{width:32px;height:32px;border-radius:50%;background:#333a58;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:13px}
/* apps */
.light .sec-head p{opacity:.8}
.light .eyebrow{opacity:.8}
.app .ic{background:#f1f2f8;color:#333a58}
.app{padding:24px}
/* case studies */
.grad2{background:linear-gradient(var(--navy) 0%,var(--navy2) 60%,var(--navy3) 100%)}
.cases{display:flex;gap:24px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none}
.case{flex:0 0 80%;display:grid;grid-template-columns:1fr 1fr;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,rgba(255,255,255,.14),rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.12)}
.case .cl{padding:28px;display:flex;flex-direction:column;justify-content:space-between;gap:70px}
.case small{letter-spacing:.18em;font-size:11px;opacity:.85}
.case b{font-size:17px;font-weight:600}.case hr{border:0;border-top:1px solid rgba(255,255,255,.5);margin:14px 0}
.case p{font-size:14px;opacity:.9;margin-bottom:20px}
.case .cr{background:linear-gradient(135deg,#6f7bb0,#2b3254);min-height:280px}
/* trust */
.trust4{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.tcard{border:1px solid #d6d8dc;border-radius:8px;padding:22px}
.tcard .tt{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.tcard h3{font-size:16px;font-weight:600}.tcard p{font-size:14px;line-height:1.6;opacity:.85}
.pts{background:#4a9a3b;color:#fff;border-radius:99px;font-size:12px;font-weight:600;padding:3px 10px}
/* categories */
.grad3{background:linear-gradient(var(--navy3) 0%,var(--navy2) 45%,var(--navy) 100%)}
.cats2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.ccard{background:#fff;color:var(--ink);border-radius:10px;padding:26px 24px}
.ccard svg{width:34px;height:34px;margin-bottom:22px}
.ccard h3{font-size:17px;font-weight:600;margin-bottom:6px}.ccard>p{font-size:13px;margin-bottom:18px}
.ccard a{display:block;font-size:13px;color:#666;padding:7px 0}.ccard a:hover{color:#000}
/* shortlist */
.short{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;column-gap:48px}
.short li{display:flex;align-items:center;gap:14px;border-top:1px solid #d6d8dc;padding:16px 4px;font-size:14px}
.short .no{opacity:.6;font-size:13px;width:20px}.short a{flex:1}.short .fl{font-size:20px}
/* footer */
.banner-wrap{background:var(--navy);padding:56px 0 24px}
.banner{border-radius:16px;overflow:hidden;display:grid;grid-template-columns:1.1fr 1fr;background:linear-gradient(120deg,#2b3254 0%,#515c8b 100%)}
.banner .bl{padding:48px 40px;display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.banner h2{font-size:34px;font-weight:500;line-height:1.15;max-width:420px}.banner p{opacity:.85;max-width:420px;font-size:14px}
.banner .br{background:radial-gradient(circle at 60% 40%,#8f9bd0 0,#515c8b 55%,#2b3254 100%);min-height:280px}
.fmain{padding:48px 0 32px;background:var(--navy)}
.ftop{display:flex;justify-content:space-between;gap:32px;align-items:flex-start;margin-bottom:48px}
.ft{font-size:30px;font-weight:500;margin:18px 0 10px;max-width:640px;line-height:1.2}.ft i{font-family:Georgia,serif}
.fp{font-size:14px;opacity:.8}
.fbtns{text-align:right}.fbtns>div{display:flex;gap:18px;align-items:center;justify-content:flex-end;margin-bottom:14px}
.fbtns small{opacity:.8;font-size:13px}
.flink{font-size:14px}
.fgrid{grid-template-columns:repeat(4,1fr)}
@media(max-width:900px){.cards.two,.trust4,.cats2,.short,.banner{grid-template-columns:1fr}.case{flex-basis:92%;grid-template-columns:1fr}.ftop{flex-direction:column}.fbtns{text-align:left}.fbtns>div{justify-content:flex-start}.globewrap .globe{width:420px;height:420px}.globewrap{height:320px}.gpill{display:none}}
.short{grid-auto-flow:column;grid-template-rows:repeat(5,auto)}@media(max-width:900px){.short{grid-auto-flow:row;grid-template-rows:none}}
