:root{
  --navy:#0f3460;
  --navy-dark:#0a2540;
  --navy-darker:#061a2e;
  --gold:#d4af37;
  --gold-light:#e8c966;
  --gold-bg:#fffbea;
  --gold-border:#e8d7b0;
  --ink:#0a0a0a;
  --text:#262626;
  --text-2:#404040;
  --text-3:#525252;
  --text-4:#737373;
  --text-5:#a3a3a3;
  --border:#eee;
  --border-2:#e5e5e5;
  --bg:#fff;
  --bg-subtle:#fafafa;
  --bg-cream:#faf8f3;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'DM Sans','Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}

.serif{font-family:'Playfair Display','Georgia',serif}

.wrap{max-width:1200px;margin:0 auto;padding:0 32px;width:100%}
.wrap-narrow{max-width:860px;margin:0 auto;padding:0 32px;width:100%}
@media(max-width:700px){.wrap,.wrap-narrow{padding:0 18px}}

/* ─── HEADER ─── */
header.site{
  background:var(--bg);
  border-bottom:1px solid var(--border);
  padding:20px 0;
  position:sticky;
  top:0;
  z-index:50;
}
header.site .wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:inherit;
}
.brand-mark{
  width:44px;
  height:44px;
  background:var(--navy);
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.brand-mark svg{width:30px;height:30px;display:block}
.brand-text{
  font-size:19px;
  font-weight:700;
  color:var(--navy);
  line-height:1;
  letter-spacing:-0.02em;
}
.brand-text .find{color:var(--navy)}
.brand-text .ex{color:var(--gold)}

.site-nav{
  display:flex;
  gap:32px;
  align-items:center;
  font-size:14px;
  color:var(--text-3);
  font-weight:500;
}
.site-nav a{transition:color .15s}
.site-nav a:hover,.site-nav a.active{color:var(--navy)}
.site-nav .cta-nav{
  background:var(--gold);
  color:#fff;
  padding:9px 22px;
  font-weight:600;
  border-radius:2px;
  transition:background .15s,transform .1s;
}
.site-nav .cta-nav:hover{background:#c09a2c;color:#fff;transform:translateY(-1px)}
@media(max-width:900px){
  .site-nav{gap:18px;font-size:12px;flex-wrap:wrap;justify-content:flex-end}
  .site-nav .cta-nav{padding:7px 16px}
}
@media(max-width:700px){
  header.site .wrap{flex-direction:column;gap:14px}
  .site-nav{justify-content:center}
}

/* ─── HERO ─── */
.hero{
  position:relative;
  min-height:520px;
  background:linear-gradient(135deg,#1a4b7c 0%,#2c6aa0 40%,#4d8bbc 100%);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:80px 0;
}
.hero-city-bg{
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:220px;
  opacity:0.35;
  pointer-events:none;
}
.hero-city-bg svg{width:100%;height:100%;display:block}
.hero-content{
  position:relative;
  z-index:2;
  text-align:center;
  width:100%;
}
.hero h1{
  font-size:clamp(28px,5vw,52px);
  font-weight:600;
  color:#fff;
  margin:0 0 50px 0;
  font-family:'Playfair Display','Georgia',serif;
  line-height:1.2;
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
  padding:0 20px;
}
.hero-search{
  max-width:900px;
  margin:0 auto;
  display:flex;
  background:#fff;
  border-radius:2px;
  overflow:hidden;
  box-shadow:0 8px 32px rgba(0,0,0,0.2);
}
.hero-search input{
  flex:1;
  padding:18px 24px;
  border:none;
  font-size:16px;
  color:var(--text-3);
  font-family:inherit;
  outline:none;
  min-width:0;
}
.hero-search button{
  background:var(--gold);
  border:none;
  padding:0 40px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .15s;
  font-family:inherit;
}
.hero-search button:hover{background:#c09a2c}
.hero-search button svg{width:24px;height:24px}
.hero-subtag{
  font-size:14px;
  color:rgba(255,255,255,0.88);
  margin-top:22px;
  letter-spacing:0.04em;
}
@media(max-width:600px){
  .hero{min-height:auto;padding:50px 0}
  .hero h1{margin-bottom:30px}
  .hero-search input{padding:14px 18px;font-size:14px}
  .hero-search button{padding:0 20px}
  .hero-search button svg{width:20px;height:20px}
}

/* ─── STATS BAR ─── */
.stats-bar{
  background:var(--navy);
  padding:36px 0;
  color:#fff;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
  text-align:center;
}
.stat-num{
  font-size:38px;
  font-weight:700;
  font-family:'Playfair Display','Georgia',serif;
  color:var(--gold);
  line-height:1;
}
.stat-label{
  font-size:12px;
  color:rgba(255,255,255,0.85);
  letter-spacing:0.08em;
  text-transform:uppercase;
  margin-top:8px;
  font-weight:500;
}
@media(max-width:700px){
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:20px}
  .stat-num{font-size:28px}
}

/* ─── BLOCKS ─── */
main{flex:1}
section.block{
  padding:72px 0;
  background:var(--bg-subtle);
}
section.block-surface{
  padding:72px 0;
  background:var(--bg);
}

.section-head{
  text-align:center;
  margin-bottom:48px;
}
.section-eyebrow{
  font-size:11px;
  color:var(--gold);
  letter-spacing:0.2em;
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:10px;
}
.section-title{
  font-size:clamp(26px,3.6vw,38px);
  font-weight:600;
  color:var(--navy);
  margin:0 0 14px 0;
  font-family:'Playfair Display','Georgia',serif;
  line-height:1.2;
}
.section-lede{
  font-size:15px;
  color:var(--text-3);
  max-width:620px;
  margin:0 auto;
  line-height:1.6;
}

/* ─── CONTINENT GROUPING ─── */
.continent-group{
  margin-bottom:36px;
}
.continent-label{
  font-size:13px;
  color:var(--gold);
  letter-spacing:0.14em;
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:18px;
  padding-bottom:10px;
  border-bottom:2px solid var(--gold);
}
.country-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:8px;
}
@media(max-width:900px){.country-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.country-grid{grid-template-columns:repeat(2,1fr)}}

.country-chip{
  padding:11px 14px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:2px;
  font-size:14px;
  color:var(--navy);
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  transition:all .15s;
  font-weight:500;
  gap:8px;
}
.country-chip:hover{
  border-color:var(--gold);
  background:var(--gold-bg);
}
.country-chip.featured{
  background:var(--gold-bg);
  border-color:var(--gold);
  font-weight:600;
}
.country-chip.featured .count{color:var(--gold);font-weight:600}
.country-chip .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.country-chip .count{
  color:var(--text-5);
  font-size:12px;
  flex-shrink:0;
}

/* ─── SPECIALTIES GRID ─── */
.specialty-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
@media(max-width:900px){.specialty-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:500px){.specialty-grid{grid-template-columns:1fr}}

.specialty-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:3px;
  padding:24px;
  color:inherit;
  transition:border-color .15s,transform .15s,box-shadow .15s;
  display:block;
}
.specialty-card:hover{
  border-color:var(--gold);
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(15,52,96,0.08);
}
.specialty-icon{
  width:48px;
  height:48px;
  background:var(--navy);
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:22px;
  font-family:'Playfair Display','Georgia',serif;
  margin-bottom:14px;
}
.specialty-name{
  font-size:16px;
  font-weight:700;
  color:var(--navy);
  margin-bottom:6px;
  letter-spacing:-0.01em;
}
.specialty-desc{
  font-size:13px;
  color:var(--text-4);
  line-height:1.5;
  margin-bottom:8px;
}
.specialty-count{
  font-size:12px;
  color:var(--gold);
  font-weight:600;
  letter-spacing:0.04em;
}

/* ─── EXPERT CARDS (listings) ─── */
.expert-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
@media(max-width:700px){.expert-grid{grid-template-columns:1fr}}

.expert-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:3px;
  padding:22px;
  display:block;
  color:inherit;
  transition:border-color .15s,transform .15s,box-shadow .15s;
}
.expert-card:hover{
  border-color:var(--gold);
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(15,52,96,0.08);
}
.expert-card-head{
  display:flex;
  gap:14px;
  margin-bottom:12px;
  align-items:flex-start;
}
.expert-avatar{
  width:54px;
  height:54px;
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-dark) 100%);
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:600;
  font-size:17px;
  font-family:'Playfair Display','Georgia',serif;
  flex-shrink:0;
  letter-spacing:0.02em;
}
.expert-meta{flex:1;min-width:0}
.expert-name{
  font-size:17px;
  font-weight:700;
  color:var(--navy);
  letter-spacing:-0.01em;
  margin-bottom:4px;
  display:flex;
  align-items:center;
  gap:6px;
}
.verified-check{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--gold);
  font-size:14px;
}
.expert-location{
  font-size:13px;
  color:var(--text-4);
  margin-bottom:6px;
}
.expert-tag-row{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:8px;
}
.tag-specialty{
  font-size:11px;
  background:var(--gold-bg);
  color:var(--gold);
  padding:3px 9px;
  border-radius:2px;
  font-weight:600;
  letter-spacing:0.04em;
}
.tag-type{
  font-size:11px;
  background:#eef2f7;
  color:var(--navy);
  padding:3px 9px;
  border-radius:2px;
  font-weight:600;
  letter-spacing:0.04em;
}
.expert-card p{
  font-size:13px;
  color:var(--text-3);
  line-height:1.55;
  margin:0;
}

/* ─── EXPERT PROFILE PAGE ─── */
.profile-page{
  background:#fff;
  padding:48px 0 32px;
}
.profile-head{
  display:flex;
  gap:24px;
  align-items:flex-start;
  margin-bottom:28px;
  flex-wrap:wrap;
}
.profile-avatar{
  width:96px;
  height:96px;
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy-dark) 100%);
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-weight:600;
  font-size:36px;
  font-family:'Playfair Display','Georgia',serif;
  flex-shrink:0;
  letter-spacing:0.02em;
}
.profile-title{flex:1;min-width:0}
.profile-crumb{
  font-size:11px;
  color:var(--gold);
  letter-spacing:0.14em;
  text-transform:uppercase;
  font-weight:600;
  margin-bottom:8px;
}
.profile-name{
  font-size:clamp(26px,3.6vw,38px);
  font-weight:700;
  color:var(--navy);
  margin:0 0 8px 0;
  font-family:'Playfair Display','Georgia',serif;
  letter-spacing:-0.01em;
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.verified-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  background:var(--gold-bg);
  color:var(--gold);
  padding:3px 10px;
  border-radius:3px;
  font-weight:700;
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  font-family:'DM Sans',sans-serif;
}
.profile-location-row{
  font-size:15px;
  color:var(--text-3);
  margin-bottom:10px;
}
.profile-tags{display:flex;gap:8px;flex-wrap:wrap}

/* ─── PROFILE BODY ─── */
.profile-body{
  padding:32px 0 48px;
  background:var(--bg-subtle);
}
.profile-inner{
  max-width:820px;
  margin:0 auto;
  padding:0 32px;
}
@media(max-width:700px){.profile-inner{padding:0 18px}}

.profile-hero-img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:6px;
  margin-bottom:24px;
  max-height:400px;
  border:1px solid var(--border-2);
}

.prose{
  font-size:16px;
  line-height:1.75;
  color:var(--text);
}
.prose h2{
  font-size:22px;
  font-weight:700;
  color:var(--navy);
  margin:32px 0 14px;
  font-family:'Playfair Display','Georgia',serif;
  letter-spacing:-0.01em;
}
.prose h3{
  font-size:17px;
  font-weight:600;
  color:var(--navy);
  margin:22px 0 10px;
}
.prose p{margin:0 0 16px 0;color:var(--text-2)}
.prose strong{color:var(--ink);font-weight:600}
.prose a{color:var(--navy);border-bottom:1px solid var(--navy)}
.prose a:hover{color:var(--gold);border-color:var(--gold)}
.prose ul,.prose ol{margin:12px 0 18px 22px;color:var(--text-2)}
.prose li{margin-bottom:6px}

/* ─── DETAIL TABLE ─── */
.detail-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:6px;
  padding:24px;
  margin-top:32px;
}
.detail-label{
  font-size:11px;
  color:var(--gold);
  letter-spacing:0.14em;
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:16px;
}
.detail-table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}
.detail-table td{
  padding:9px 0;
  border-bottom:1px solid var(--border);
}
.detail-table td:first-child{
  color:var(--text-4);
  font-weight:500;
  width:42%;
  padding-right:20px;
}
.detail-table td:last-child{
  color:var(--ink);
  font-weight:500;
}
.detail-table tr:last-child td{border-bottom:none}

/* ─── VERIFICATION BOX ─── */
.verif-box{
  background:var(--gold-bg);
  border:1px solid var(--gold);
  border-radius:6px;
  padding:18px 22px;
  margin-top:20px;
}
.verif-title{
  font-size:11px;
  color:var(--gold);
  letter-spacing:0.1em;
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:6px;
}
.verif-text{
  font-size:13px;
  color:var(--text-2);
  line-height:1.55;
  margin:0;
}

/* ─── PAGE HEAD (country, specialty, legal pages) ─── */
.page-head{
  padding:48px 0 32px;
  background:var(--bg);
  text-align:center;
  border-bottom:1px solid var(--border);
}
.page-head .crumb{
  font-size:11px;
  color:var(--gold);
  letter-spacing:0.18em;
  text-transform:uppercase;
  font-weight:700;
  margin-bottom:10px;
}
.page-head h1{
  font-size:clamp(28px,4.5vw,42px);
  font-weight:600;
  color:var(--navy);
  font-family:'Playfair Display','Georgia',serif;
  letter-spacing:-0.01em;
  margin:0 0 14px 0;
  line-height:1.2;
}
.page-head p{
  font-size:15px;
  color:var(--text-3);
  max-width:620px;
  margin:0 auto;
  line-height:1.7;
}

/* ─── ALL COUNTRIES PAGE ─── */
.all-countries{padding:48px 0 72px;background:var(--bg-subtle)}

/* ─── FORM ─── */
.form-wrap{
  max-width:560px;
  margin:40px auto 80px;
  background:#fff;
  padding:32px;
  border:1px solid var(--border);
  border-radius:6px;
}
.field{margin-bottom:18px}
.field label{
  display:block;
  font-size:11px;
  font-weight:700;
  color:var(--navy);
  margin-bottom:6px;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
.field input,.field textarea,.field select{
  width:100%;
  padding:11px 14px;
  border:1px solid var(--border-2);
  border-radius:3px;
  font-family:inherit;
  font-size:14px;
  background:#fff;
  color:var(--text);
  outline:none;
  transition:border-color .15s;
}
.field input:focus,.field textarea:focus,.field select:focus{
  border-color:var(--gold);
}
.field textarea{
  resize:vertical;
  min-height:120px;
  line-height:1.55;
}
.btn{
  background:var(--gold);
  color:#fff;
  border:none;
  padding:12px 28px;
  font-size:13px;
  font-weight:600;
  letter-spacing:0.08em;
  cursor:pointer;
  border-radius:2px;
  font-family:inherit;
  transition:background .15s,transform .1s;
  text-transform:uppercase;
}
.btn:hover{background:#c09a2c;transform:translateY(-1px)}

/* ─── PROSE PAGE ─── */
.prose-page{
  max-width:760px;
  margin:0 auto;
  padding:44px 32px 80px;
}

/* ─── EMPTY STATE ─── */
.empty-state{
  padding:3.5rem 1rem;
  text-align:center;
  color:var(--text-4);
  font-size:15px;
  font-style:italic;
  font-family:'Playfair Display','Georgia',serif;
}

/* ─── FOOTER ─── */
footer.site{
  background:var(--navy-dark);
  color:var(--text-5);
  padding:32px 0 18px;
  margin-top:auto;
}
.foot-logo-block{
  text-align:center;
  margin-bottom:20px;
  padding-bottom:20px;
  border-bottom:1px solid #1a3550;
}
.foot-logo{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.foot-logo-mark{
  width:36px;
  height:36px;
  background:#fff;
  border-radius:6px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.foot-logo-mark svg{width:24px;height:24px}
.foot-logo-text{
  font-size:18px;
  font-weight:700;
  color:#fff;
  letter-spacing:-0.015em;
}
.foot-bottom{
  display:flex;
  justify-content:space-between;
  font-size:11px;
  color:#5a7090;
  flex-wrap:wrap;
  gap:10px;
}
.foot-bottom a{color:#5a7090}
.foot-bottom a:hover{color:var(--gold)}
@media(max-width:700px){
  .foot-bottom{justify-content:center;text-align:center}
}
