/* ═══════════════════════════════════════════════════════════════
   CPA LOCATOR — World-Class Redesign
   Aesthetic: Refined financial authority. Clean, trustworthy, fast.
   Fonts: Instrument Serif + Inter
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --navy:         #0A1628;
  --navy-mid:     #111F38;
  --navy-light:   #1A3050;
  --navy-faint:   #EEF2F7;

  --gold:         #C8882A;
  --gold-bright:  #E0A030;
  --gold-pale:    #FDF8EE;
  --gold-muted:   rgba(200,136,42,0.18);

  --white:        #FFFFFF;
  --surface:      #F7F8FA;
  --surface-2:    #F0F2F5;
  --border:       #E4E7ED;
  --border-dark:  #CDD2DB;

  --text-primary:  #0D1B2A;
  --text-secondary:#4A5568;
  --text-muted:    #8A95A3;
  --text-tiny:     #B0B9C4;

  --green:        #0A7C4E;
  --green-bg:     #E6F6EE;
  --green-border: #9DDCBC;

  --red:          #C0392B;

  /* Featured section — warm amber-dark palette */
  --feat-bg:       #100C03;
  --feat-bg-mid:   #1A1206;
  --feat-surface:  rgba(255,255,255,0.055);
  --feat-border:   rgba(200,136,42,0.22);
  --feat-text:     rgba(255,255,255,0.9);
  --feat-muted:    rgba(255,255,255,0.42);

  --font-serif: 'Instrument Serif', 'Georgia', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

  --shadow-xs:   0 1px 2px rgba(10,22,40,0.04);
  --shadow-sm:   0 2px 8px rgba(10,22,40,0.07), 0 0 0 1px rgba(10,22,40,0.03);
  --shadow-md:   0 4px 20px rgba(10,22,40,0.10), 0 0 0 1px rgba(10,22,40,0.04);
  --shadow-lg:   0 12px 40px rgba(10,22,40,0.14);
  --shadow-gold: 0 6px 28px rgba(200,136,42,0.28);

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  22px;
  --r-pill: 999px;

  --container: 1240px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t: 0.2s var(--ease);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.3;
  color: var(--navy);
}
p { color: var(--text-secondary); line-height: 1.7; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  border-radius: var(--r-md); border: none; cursor: pointer;
  transition: all var(--t); text-decoration: none; white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(10,22,40,0.22); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,22,40,0.26); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy); font-weight: 700; box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(200,136,42,0.38); filter: brightness(1.05); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border-dark); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-outline-inv { background: transparent; color: rgba(255,255,255,0.8); border: 1.5px solid rgba(255,255,255,0.2); }
.btn-outline-inv:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* ─── BADGE ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
}
.badge-featured { background: linear-gradient(135deg,var(--gold),var(--gold-bright)); color: var(--navy); }
.badge-verified { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.badge-plain { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }

/* ─── SITE HEADER ────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 24px rgba(0,0,0,0.24);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 20px; color: var(--navy); font-weight: 700;
  flex-shrink: 0; box-shadow: 0 2px 10px rgba(200,136,42,0.3);
}
.logo-text { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.88); }
.logo-text strong { font-weight: 700; color: #fff; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,0.62); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-sm); transition: all var(--t);
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.main-nav .nav-cta {
  background: linear-gradient(135deg,var(--gold),var(--gold-bright));
  color: var(--navy); font-weight: 700; margin-left: 6px;
  box-shadow: 0 2px 10px rgba(200,136,42,0.28);
}
.main-nav .nav-cta:hover { filter: brightness(1.07); color: var(--navy); transform: translateY(-1px); }
.mobile-menu-btn { display: none; background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; padding: 8px; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 88px 0 100px;
  position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 52px 52px;
}
.hero-bg-glow {
  position: absolute; pointer-events: none;
  top: -160px; right: -160px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(200,136,42,0.08) 0%, transparent 60%);
}
.hero-bg-glow-2 {
  position: absolute; pointer-events: none;
  bottom: -120px; left: -80px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,48,80,0.7) 0%, transparent 65%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 780px; margin: 0 auto; text-align: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,136,42,0.12); border: 1px solid rgba(200,136,42,0.3);
  color: #E0B050; padding: 6px 16px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-pill-dot {
  width: 6px; height: 6px; background: #E0B050; border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.35} }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: #E0B050; }
.hero-sub {
  color: rgba(255,255,255,0.52); font-size: 18px; font-weight: 300;
  line-height: 1.75; margin-bottom: 44px;
  max-width: 540px; margin-left: auto; margin-right: auto;
}

/* Hero Search Bar */
.hero-search {
  background: #fff; border-radius: var(--r-lg); padding: 7px;
  display: flex; gap: 6px; align-items: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.32), 0 0 0 1px rgba(255,255,255,0.06);
  max-width: 680px; margin: 0 auto 36px;
}
.hs-field {
  flex: 1; display: flex; align-items: center; gap: 9px;
  background: var(--surface); border-radius: var(--r-md); padding: 0 14px;
  min-width: 0;
}
.hs-field svg { color: var(--text-muted); flex-shrink: 0; width: 16px; height: 16px; }
.hs-field input {
  flex: 1; border: none; outline: none; background: none;
  font-family: var(--font-sans); font-size: 15px; color: var(--text-primary);
  padding: 13px 0; min-width: 0;
}
.hs-field input::placeholder { color: var(--text-muted); }
.hs-sep { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }
.hs-city {
  display: flex; align-items: center; background: var(--surface); border-radius: var(--r-md); padding: 0 14px;
  flex-shrink: 0;
}
.hs-city select {
  border: none; outline: none; background: none;
  font-family: var(--font-sans); font-size: 14px; color: var(--text-secondary);
  cursor: pointer; padding: 13px 0; max-width: 170px;
}
.hero-search .btn-gold { flex-shrink: 0; border-radius: var(--r-md); padding: 13px 26px; }

/* Hero Stats */
.hero-stats { display: flex; justify-content: center; align-items: stretch; gap: 0; margin-top: 36px; }
.hero-stat { text-align: center; padding: 0 36px; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,0.1); }
.hero-stat-n {
  display: block; font-family: var(--font-serif);
  font-size: 2.4rem; color: #E0B050; line-height: 1; margin-bottom: 5px;
}
.hero-stat-l {
  font-size: 11px; color: rgba(255,255,255,0.38);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500;
}

/* ─── TRUST STRIP ────────────────────────────────────────── */
.trust-strip {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.055);
  border-bottom: 1px solid rgba(255,255,255,0.055);
}
.trust-strip .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}
.trust-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; color: rgba(255,255,255,0.5);
  font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  min-width: 210px;
  max-width: 220px;
}
.trust-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.trust-copy span {
  color: rgba(255,255,255,0.58);
  line-height: 1.35;
}
.trust-check {
  width: 18px; height: 18px; background: rgba(200,136,42,0.18);
  border: 1px solid rgba(200,136,42,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--gold-bright); flex-shrink: 0; font-weight: 700;
}
.trust-item strong { color: rgba(255,255,255,0.82); font-weight: 600; line-height: 1.2; }

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header p { font-size: 17px; max-width: 500px; margin: 14px auto 0; }
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold); margin-bottom: 12px;
}

/* ─── FEATURED SECTION (dark amber treatment) ────────────── */
.featured-section {
  background: var(--feat-bg);
  position: relative; overflow: hidden; padding: 80px 0 88px;
}
/* Top gold accent line */
.featured-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 25%, var(--gold-bright) 50%, var(--gold) 75%, transparent 100%);
}
/* Bottom line */
.featured-section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: rgba(200,136,42,0.2);
}
.feat-bg-glow {
  position: absolute; pointer-events: none;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 1000px; height: 600px;
  background: radial-gradient(ellipse, rgba(200,136,42,0.055) 0%, transparent 65%);
}
.feat-bg-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image: radial-gradient(circle, rgba(200,136,42,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.featured-section .eyebrow { color: #E0B050; }
.featured-section h2 { color: #fff; }
.featured-section .section-header p { color: rgba(255,255,255,0.45); }

/* Featured label badge */
.feat-label {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(200,136,42,0.14); border: 1px solid rgba(200,136,42,0.3);
  border-radius: var(--r-pill); padding: 6px 16px 6px 8px; margin-bottom: 18px;
}
.feat-label-star {
  width: 26px; height: 26px;
  background: linear-gradient(135deg,var(--gold),var(--gold-bright));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}
.feat-label span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #E0B050; }

/* Featured Cards */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}
.featured-card {
  background: var(--feat-surface);
  border: 1px solid var(--feat-border);
  border-radius: var(--r-xl);
  padding: 26px;
  position: relative; overflow: hidden;
  transition: all 0.26s var(--ease);
  display: flex; flex-direction: column;
  backdrop-filter: blur(8px);
}
.featured-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
  opacity: 0.65;
}
.featured-card:hover {
  border-color: rgba(200,136,42,0.5);
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,136,42,0.3);
  background: rgba(255,255,255,0.08);
}
/* Corner glow */
.featured-card::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(200,136,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* FC = featured card sub-elements */
.fc-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.fc-avatar {
  width: 54px; height: 54px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 25px; font-weight: 700;
  color: var(--navy); box-shadow: 0 4px 16px rgba(200,136,42,0.3);
}
.fc-info { flex: 1; min-width: 0; }
.fc-pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(200,136,42,0.18); border: 1px solid rgba(200,136,42,0.3);
  color: #E0B050; padding: 3px 9px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 7px;
}
.fc-name {
  font-family: var(--font-serif); font-size: 1.22rem;
  color: #fff; line-height: 1.25; margin-bottom: 4px;
}
.fc-name a { color: #fff; }
.fc-name a:hover { color: #E0B050; }
.fc-loc { font-size: 12.5px; color: rgba(255,255,255,0.38); display: flex; align-items: center; gap: 4px; }

.fc-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.fc-stars { display: flex; gap: 2px; }
.fc-stars svg { width: 13px; height: 13px; }
.star-on { color: #E0B050; }
.star-off { color: rgba(255,255,255,0.15); }
.fc-rnum { font-size: 13px; font-weight: 600; color: #E0B050; }
.fc-rcnt { font-size: 12px; color: rgba(255,255,255,0.28); }

.fc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.fc-tag {
  background: rgba(200,136,42,0.1); border: 1px solid rgba(200,136,42,0.18);
  color: rgba(255,210,90,0.8); padding: 3px 10px;
  border-radius: var(--r-pill); font-size: 11px; font-weight: 500;
}

.fc-desc {
  font-size: 13.5px; color: rgba(255,255,255,0.4); line-height: 1.65;
  margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}

.fc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: auto; gap: 10px;
}
.fc-creds { font-size: 12px; color: rgba(255,255,255,0.32); font-weight: 500; }
.fc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy); padding: 9px 16px;
  border-radius: var(--r-md); font-size: 13px; font-weight: 700;
  transition: all var(--t); white-space: nowrap;
}
.fc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,136,42,0.38); filter: brightness(1.05); }

/* ─── REGULAR LISTING CARDS ──────────────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 16px;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: all var(--t);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
}
.listing-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.lc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 13px; }
.lc-avatar {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--navy-faint);
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 21px; color: var(--navy); font-weight: 700;
}
.lc-badges { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.lc-name {
  font-family: var(--font-serif); font-size: 1.08rem;
  color: var(--navy); margin-bottom: 3px; line-height: 1.3;
}
.lc-name a { color: var(--navy); }
.lc-name a:hover { color: var(--gold); }
.lc-loc { font-size: 12px; color: var(--text-muted); margin-bottom: 11px; display: flex; align-items: center; gap: 4px; }
.lc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 11px; }
.lc-tag {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-secondary); padding: 3px 9px;
  border-radius: var(--r-pill); font-size: 11px; font-weight: 500;
}
.lc-desc {
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.65;
  margin-bottom: 15px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.lc-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 13px; border-top: 1px solid var(--border);
  margin-top: auto; gap: 10px;
}
.lc-rating { display: flex; align-items: center; gap: 5px; }
.lc-stars { display: flex; gap: 1px; }
.lc-stars svg { width: 11px; height: 11px; color: var(--gold); }
.lc-rtext { font-size: 12px; color: var(--text-muted); }
.lc-rnum { font-weight: 600; color: var(--text-primary); }

/* ─── SECTION ROW HEADER ─────────────────────────────────── */
.row-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.row-header-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--text-muted); white-space: nowrap;
}
.row-header-line { flex: 1; height: 1px; background: var(--border); }
.row-header-count { font-size: 12px; color: var(--text-tiny); white-space: nowrap; font-weight: 500; }

/* ─── CITY CARDS ─────────────────────────────────────────── */
.cities-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px;
}
.city-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 16px; text-align: center;
  transition: all var(--t); display: block; box-shadow: var(--shadow-xs);
}
.city-card:hover {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(200,136,42,0.14);
}
.city-emoji { font-size: 22px; display: block; margin-bottom: 8px; }
.city-name {
  font-family: var(--font-serif); font-size: 1rem;
  color: var(--navy); display: block; margin-bottom: 2px; line-height: 1.2;
}
.city-st {
  font-size: 10px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.09em; display: block; margin-bottom: 5px;
}
.city-count { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 860px; margin: 0 auto; }
.step { padding: 28px; text-align: center; position: relative; }
.step + .step::before {
  content: ''; position: absolute; left: 0; top: 40px;
  width: 1px; height: 40px; background: var(--border);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  background: var(--navy); color: var(--gold-bright);
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700;
  border-radius: 13px; margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(10,22,40,0.2);
}
.step h3 { font-size: 1.05rem; margin-bottom: 9px; }
.step p { font-size: 14px; }

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb { padding: 11px 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.breadcrumb .container {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); transition: color var(--t); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: var(--border-dark); }
.breadcrumb .here { color: var(--text-primary); font-weight: 500; }

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  background: var(--navy); padding: 52px 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(200,136,42,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.ph-inner { position: relative; z-index: 2; }
.ph-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 42px 42px;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,0.5); font-size: 16px; max-width: 580px; }
.badge-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }

/* ─── SEARCH LAYOUT ──────────────────────────────────────── */
.search-layout { display: grid; grid-template-columns: 256px 1fr; gap: 28px; align-items: start; }
.search-filters {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px;
  position: sticky; top: 86px; box-shadow: var(--shadow-xs);
}
.filter-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-primary);
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}

/* Popular specialty pills in sidebar */
.pop-spec-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.4;
  transition: all var(--t);
  white-space: nowrap;
}
.pop-spec-pill:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-faint);
}
.pop-spec-pill.pop-spec-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.filter-group { margin-bottom: 16px; }
.filter-group label {
  display: block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-muted); margin-bottom: 7px;
}
.filter-group select, .filter-group input {
  width: 100%; padding: 9px 13px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 14px;
  background: var(--surface); color: var(--text-primary); transition: all var(--t);
}
.filter-group select:focus, .filter-group input:focus {
  outline: none; border-color: var(--navy-light); background: #fff;
  box-shadow: 0 0 0 3px rgba(26,48,80,0.08);
}
.results-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.results-count { font-size: 13.5px; color: var(--text-muted); }
.results-count strong { color: var(--text-primary); font-weight: 600; }

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 5px; margin-top: 52px; flex-wrap: wrap;
}
.pagination a, .pagination span {
  min-width: 36px; height: 36px; padding: 0 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--t); background: var(--white);
}
.pagination a:hover { background: var(--surface); border-color: var(--border-dark); color: var(--text-primary); }
.pagination .active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .dots { border: none; background: none; color: var(--text-muted); }

/* ─── PROFILE PAGE ───────────────────────────────────────── */
.profile-layout { display: grid; grid-template-columns: 1fr 296px; gap: 28px; align-items: start; }
.profile-main {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-xs);
}
.profile-head {
  display: flex; gap: 22px; align-items: flex-start;
  margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.profile-avi {
  width: 74px; height: 74px; flex-shrink: 0;
  background: var(--navy); border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 33px; color: var(--gold-bright); font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.profile-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 8px; }
.profile-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.profile-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-secondary); }
.profile-meta span { display: flex; align-items: center; gap: 5px; }
.sec-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  margin-bottom: 11px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.profile-section { margin-bottom: 24px; }
.cred-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cred-tag {
  background: var(--navy); color: var(--gold-bright);
  padding: 5px 13px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600;
}
.spec-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.spec-tag {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-secondary); padding: 5px 12px;
  border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500;
}

.profile-sidebar { display: flex; flex-direction: column; gap: 14px; }
.sidebar-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-xs);
}
.sidebar-box h3 { font-size: 14px; font-family: var(--font-sans); font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.contact-row { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; font-size: 14px; color: var(--text-secondary); }
.contact-icon {
  width: 34px; height: 34px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 15px;
}

/* ─── CTA SECTION ────────────────────────────────────────── */
.cta-section {
  background: var(--navy); padding: 80px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(200,136,42,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.5); font-size: 17px; margin-bottom: 38px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── SEO LINK TILES ─────────────────────────────────────── */
.seo-tiles { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 28px; }
.seo-tile {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 15px 18px;
  transition: all var(--t);
}
.seo-tile:hover { border-color: var(--navy); }
.seo-tile strong { display: block; color: var(--navy); margin-bottom: 3px; font-size: 14px; }
.seo-tile span { font-size: 12.5px; color: var(--text-muted); }

/* FAQ accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 6px;
  background: #fff;
  overflow: hidden;
}
.faq-q {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform var(--t);
}
details[open] .faq-q::after { content: '−'; }
.faq-a {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ─── PRICING ─────────────────────────────────────────────── */
/* ─── PRICING TIERS ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 64px;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t);
}
.pricing-card:hover { box-shadow: var(--shadow-md); }

/* Tier variants */
.pricing-card-basic  { border-color: var(--navy-light); box-shadow: var(--shadow-sm); }
.pricing-card-premium {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(200,136,42,0.2), var(--shadow-md);
  background: linear-gradient(160deg, #fffcf5 0%, var(--white) 40%);
}

/* Badge ribbon */
.pricing-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 10px; border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.pricing-badge-free    { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }
.pricing-badge-basic   { background: var(--navy-faint); color: var(--navy); border: 1px solid rgba(26,48,80,0.2); }
.pricing-badge-premium { background: linear-gradient(135deg,var(--gold),var(--gold-bright)); color: var(--navy); }

.pricing-name {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
}
.pricing-price { margin-bottom: 14px; }
.pricing-amount {
  font-family: var(--font-serif);
  font-size: 42px; font-weight: 800;
  color: var(--navy); line-height: 1;
}
.pricing-period { font-size: 14px; color: var(--text-muted); margin-left: 2px; }
.pricing-desc {
  font-size: 13.5px; color: var(--text-secondary);
  line-height: 1.55; margin-bottom: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.pricing-features {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: grid; gap: 9px; flex: 1;
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.4;
}
.pricing-features li.pf-no { color: var(--text-muted); }
.pf-check {
  font-size: 11px; font-weight: 700;
  color: var(--green); flex-shrink: 0; margin-top: 1px;
}
.pf-check-gold { color: var(--gold) !important; }
.pf-x { font-size: 11px; color: var(--text-muted); flex-shrink: 0; margin-top: 1px; }
.pricing-btn { width: 100%; justify-content: center; margin-top: auto; }
.pricing-note {
  font-size: 11.5px; color: var(--text-muted);
  text-align: center; margin-top: 10px; margin-bottom: 0;
}

/* Comparison table */
.pricing-compare {
  max-width: 820px; margin: 0 auto;
}
.pricing-compare h2 {
  font-family: var(--font-serif); font-size: 22px;
  color: var(--navy); margin-bottom: 20px; text-align: center;
}
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.compare-table th {
  padding: 12px 16px; text-align: center;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 2px solid var(--border);
  color: var(--text-primary);
}
.compare-table th:first-child { text-align: left; }
.compare-table th small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-muted); font-size: 12px; }
.compare-table th.col-basic  { color: var(--navy); }
.compare-table th.col-premium { color: var(--gold); }
.compare-table td {
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  text-align: center; color: var(--text-secondary); font-size: 13.5px;
}
.compare-table td:first-child { text-align: left; color: var(--text-primary); }
.compare-table td.no { color: var(--text-muted); }
.compare-table tr:hover td { background: var(--surface); }

/* old single card — keep compat */
.pricing-card.hl { border-color: var(--gold); box-shadow: var(--shadow-gold), var(--shadow-md); }
.price-num {
  font-family: var(--font-serif); font-size: 3.4rem;
  color: var(--navy); line-height: 1; margin: 22px 0 4px;
}
.price-num sub { font-size: 1rem; font-family: var(--font-sans); color: var(--text-muted); font-weight: 400; }
.feat-list { text-align: left; margin: 26px 0; }
.feat-list li {
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: 14.5px; display: flex; align-items: center; gap: 10px; color: var(--text-secondary);
}
.feat-list li:last-child { border: none; }
.feat-list .ck {
  width: 20px; height: 20px; background: var(--green-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--green); font-weight: 700; flex-shrink: 0;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}


/* ─── PRICING CARDS (featured.php) ──────────────────────── */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.pc-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  background: var(--white);
  padding: 32px 28px 28px;
}

/* Free */
.pc-free { background: var(--white); }

/* Starter */
.pc-starter {
  background: var(--white);
  border-color: rgba(26,48,80,0.2);
  box-shadow: var(--shadow-sm);
}

/* Premium */
.pc-premium {
  background: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(200,136,42,0.25), var(--shadow-lg);
}

.pc-head { flex: 0 0 auto; }

.pc-pill {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 3px 10px; border-radius: 99px;
  margin-bottom: 14px;
}
.pc-pill-free    { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }
.pc-pill-starter { background: var(--navy-faint); color: var(--navy); border: 1px solid rgba(26,48,80,0.2); }
.pc-pill-premium { background: linear-gradient(135deg,var(--gold),var(--gold-bright)); color: var(--navy); }

.pc-name {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 700;
  color: var(--navy); margin-bottom: 8px;
}

.pc-price-row {
  display: flex; align-items: baseline; gap: 3px;
  margin-bottom: 12px;
}
.pc-price {
  font-family: var(--font-serif);
  font-size: 2.6rem; font-weight: 700;
  color: var(--navy); line-height: 1;
}
.pc-period { font-size: 14px; color: var(--text-muted); }

.pc-desc {
  font-size: 13.5px; color: var(--text-secondary);
  line-height: 1.55; margin-bottom: 0;
}

.pc-btn {
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 22px;
  box-sizing: border-box;
}

.pc-note {
  font-size: 11.5px; color: var(--text-muted);
  margin: 8px 0 0; text-align: center;
  min-height: 18px;
}

.pc-divider {
  border: none; border-top: 1px solid var(--border);
  margin: 20px 0;
}

.pc-upgrade-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-muted); margin-bottom: 10px;
}

.pc-features {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  flex: 1 1 auto;
}
.pc-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px; line-height: 1.4;
}
.pc-features li::before { display: none; }

.pcf-yes { color: var(--text-secondary); }
.pcf-yes::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.pcf-no  { color: var(--text-muted); }
.pcf-no::before  { content: '✗'; color: var(--border-dark); font-weight: 700; flex-shrink: 0; }
.pcf-new { color: var(--navy); font-weight: 500; }
.pcf-prem { color: rgba(255,255,255,0.85); font-weight: 500; }

/* Pseudo-elements for new/prem need left margin instead of flex gap */
.pcf-new::before { content: ''; display: none; }
.pcf-prem::before { content: ''; display: none; }

@media (max-width: 860px) {
  .pc-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* Keep old tier-row classes for any legacy references */


/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}
h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.3;
  color: var(--navy);
}
p { color: var(--text-secondary); line-height: 1.7; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 22px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  border-radius: var(--r-md); border: none; cursor: pointer;
  transition: all var(--t); text-decoration: none; white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-navy { background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(10,22,40,0.22); }
.btn-navy:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(10,22,40,0.26); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: var(--navy); font-weight: 700; box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(200,136,42,0.38); filter: brightness(1.05); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--border-dark); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-outline-inv { background: transparent; color: rgba(255,255,255,0.8); border: 1.5px solid rgba(255,255,255,0.2); }
.btn-outline-inv:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 15px; }

/* ─── BADGE ──────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
}
.badge-featured { background: linear-gradient(135deg,var(--gold),var(--gold-bright)); color: var(--navy); }
.badge-verified { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.badge-plain { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }

/* ─── SITE HEADER ────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 2px 24px rgba(0,0,0,0.24);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 20px; color: var(--navy); font-weight: 700;
  flex-shrink: 0; box-shadow: 0 2px 10px rgba(200,136,42,0.3);
}
.logo-text { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.88); }
.logo-text strong { font-weight: 700; color: #fff; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: rgba(255,255,255,0.62); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: var(--r-sm); transition: all var(--t);
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.main-nav .nav-cta {
  background: linear-gradient(135deg,var(--gold),var(--gold-bright));
  color: var(--navy); font-weight: 700; margin-left: 6px;
  box-shadow: 0 2px 10px rgba(200,136,42,0.28);
}
.main-nav .nav-cta:hover { filter: brightness(1.07); color: var(--navy); transform: translateY(-1px); }
.mobile-menu-btn { display: none; background: none; border: none; color: rgba(255,255,255,0.7); cursor: pointer; padding: 8px; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  padding: 88px 0 100px;
  position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 52px 52px;
}
.hero-bg-glow {
  position: absolute; pointer-events: none;
  top: -160px; right: -160px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(200,136,42,0.08) 0%, transparent 60%);
}
.hero-bg-glow-2 {
  position: absolute; pointer-events: none;
  bottom: -120px; left: -80px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,48,80,0.7) 0%, transparent 65%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 780px; margin: 0 auto; text-align: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,136,42,0.12); border: 1px solid rgba(200,136,42,0.3);
  color: #E0B050; padding: 6px 16px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-pill-dot {
  width: 6px; height: 6px; background: #E0B050; border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.35} }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: #E0B050; }
.hero-sub {
  color: rgba(255,255,255,0.52); font-size: 18px; font-weight: 300;
  line-height: 1.75; margin-bottom: 44px;
  max-width: 540px; margin-left: auto; margin-right: auto;
}

/* Hero Search Bar */
.hero-search {
  background: #fff; border-radius: var(--r-lg); padding: 7px;
  display: flex; gap: 6px; align-items: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.32), 0 0 0 1px rgba(255,255,255,0.06);
  max-width: 680px; margin: 0 auto 36px;
}
.hs-field {
  flex: 1; display: flex; align-items: center; gap: 9px;
  background: var(--surface); border-radius: var(--r-md); padding: 0 14px;
  min-width: 0;
}
.hs-field svg { color: var(--text-muted); flex-shrink: 0; width: 16px; height: 16px; }
.hs-field input {
  flex: 1; border: none; outline: none; background: none;
  font-family: var(--font-sans); font-size: 15px; color: var(--text-primary);
  padding: 13px 0; min-width: 0;
}
.hs-field input::placeholder { color: var(--text-muted); }
.hs-sep { width: 1px; height: 32px; background: var(--border); flex-shrink: 0; }
.hs-city {
  display: flex; align-items: center; background: var(--surface); border-radius: var(--r-md); padding: 0 14px;
  flex-shrink: 0;
}
.hs-city select {
  border: none; outline: none; background: none;
  font-family: var(--font-sans); font-size: 14px; color: var(--text-secondary);
  cursor: pointer; padding: 13px 0; max-width: 170px;
}
.hero-search .btn-gold { flex-shrink: 0; border-radius: var(--r-md); padding: 13px 26px; }

/* Hero Stats */
.hero-stats { display: flex; justify-content: center; align-items: stretch; gap: 0; margin-top: 36px; }
.hero-stat { text-align: center; padding: 0 36px; }
.hero-stat + .hero-stat { border-left: 1px solid rgba(255,255,255,0.1); }
.hero-stat-n {
  display: block; font-family: var(--font-serif);
  font-size: 2.4rem; color: #E0B050; line-height: 1; margin-bottom: 5px;
}
.hero-stat-l {
  font-size: 11px; color: rgba(255,255,255,0.38);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500;
}

/* ─── TRUST STRIP ────────────────────────────────────────── */
.trust-strip {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.055);
  border-bottom: 1px solid rgba(255,255,255,0.055);
}
.trust-strip .container {
  padding-top: 10px;
  padding-bottom: 10px;
}
.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}
.trust-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; color: rgba(255,255,255,0.5);
  font-size: 13px; font-weight: 500;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  min-width: 210px;
  max-width: 220px;
}
.trust-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.trust-copy span {
  color: rgba(255,255,255,0.58);
  line-height: 1.35;
}
.trust-check {
  width: 18px; height: 18px; background: rgba(200,136,42,0.18);
  border: 1px solid rgba(200,136,42,0.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: var(--gold-bright); flex-shrink: 0; font-weight: 700;
}
.trust-item strong { color: rgba(255,255,255,0.82); font-weight: 600; line-height: 1.2; }

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header p { font-size: 17px; max-width: 500px; margin: 14px auto 0; }
.eyebrow {
  display: inline-block; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gold); margin-bottom: 12px;
}

/* ─── FEATURED SECTION (dark amber treatment) ────────────── */
.featured-section {
  background: var(--feat-bg);
  position: relative; overflow: hidden; padding: 80px 0 88px;
}
/* Top gold accent line */
.featured-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 25%, var(--gold-bright) 50%, var(--gold) 75%, transparent 100%);
}
/* Bottom line */
.featured-section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: rgba(200,136,42,0.2);
}
.feat-bg-glow {
  position: absolute; pointer-events: none;
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 1000px; height: 600px;
  background: radial-gradient(ellipse, rgba(200,136,42,0.055) 0%, transparent 65%);
}
.feat-bg-dots {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.4;
  background-image: radial-gradient(circle, rgba(200,136,42,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
}
.featured-section .eyebrow { color: #E0B050; }
.featured-section h2 { color: #fff; }
.featured-section .section-header p { color: rgba(255,255,255,0.45); }

/* Featured label badge */
.feat-label {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(200,136,42,0.14); border: 1px solid rgba(200,136,42,0.3);
  border-radius: var(--r-pill); padding: 6px 16px 6px 8px; margin-bottom: 18px;
}
.feat-label-star {
  width: 26px; height: 26px;
  background: linear-gradient(135deg,var(--gold),var(--gold-bright));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; flex-shrink: 0;
}
.feat-label span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #E0B050; }

/* Featured Cards */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}
.featured-card {
  background: var(--feat-surface);
  border: 1px solid var(--feat-border);
  border-radius: var(--r-xl);
  padding: 26px;
  position: relative; overflow: hidden;
  transition: all 0.26s var(--ease);
  display: flex; flex-direction: column;
  backdrop-filter: blur(8px);
}
.featured-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--gold));
  opacity: 0.65;
}
.featured-card:hover {
  border-color: rgba(200,136,42,0.5);
  transform: translateY(-5px);
  box-shadow: 0 28px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,136,42,0.3);
  background: rgba(255,255,255,0.08);
}
/* Corner glow */
.featured-card::after {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(200,136,42,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* FC = featured card sub-elements */
.fc-top { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.fc-avatar {
  width: 54px; height: 54px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 25px; font-weight: 700;
  color: var(--navy); box-shadow: 0 4px 16px rgba(200,136,42,0.3);
}
.fc-info { flex: 1; min-width: 0; }
.fc-pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(200,136,42,0.18); border: 1px solid rgba(200,136,42,0.3);
  color: #E0B050; padding: 3px 9px; border-radius: var(--r-pill);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
  margin-bottom: 7px;
}
.fc-name {
  font-family: var(--font-serif); font-size: 1.22rem;
  color: #fff; line-height: 1.25; margin-bottom: 4px;
}
.fc-name a { color: #fff; }
.fc-name a:hover { color: #E0B050; }
.fc-loc { font-size: 12.5px; color: rgba(255,255,255,0.38); display: flex; align-items: center; gap: 4px; }

.fc-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; }
.fc-stars { display: flex; gap: 2px; }
.fc-stars svg { width: 13px; height: 13px; }
.star-on { color: #E0B050; }
.star-off { color: rgba(255,255,255,0.15); }
.fc-rnum { font-size: 13px; font-weight: 600; color: #E0B050; }
.fc-rcnt { font-size: 12px; color: rgba(255,255,255,0.28); }

.fc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.fc-tag {
  background: rgba(200,136,42,0.1); border: 1px solid rgba(200,136,42,0.18);
  color: rgba(255,210,90,0.8); padding: 3px 10px;
  border-radius: var(--r-pill); font-size: 11px; font-weight: 500;
}

.fc-desc {
  font-size: 13.5px; color: rgba(255,255,255,0.4); line-height: 1.65;
  margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}

.fc-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: auto; gap: 10px;
}
.fc-creds { font-size: 12px; color: rgba(255,255,255,0.32); font-weight: 500; }
.fc-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy); padding: 9px 16px;
  border-radius: var(--r-md); font-size: 13px; font-weight: 700;
  transition: all var(--t); white-space: nowrap;
}
.fc-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(200,136,42,0.38); filter: brightness(1.05); }

/* ─── REGULAR LISTING CARDS ──────────────────────────────── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 16px;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: all var(--t);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xs);
}
.listing-card:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.lc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 13px; }
.lc-avatar {
  width: 46px; height: 46px; flex-shrink: 0;
  background: var(--navy-faint);
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 21px; color: var(--navy); font-weight: 700;
}
.lc-badges { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.lc-name {
  font-family: var(--font-serif); font-size: 1.08rem;
  color: var(--navy); margin-bottom: 3px; line-height: 1.3;
}
.lc-name a { color: var(--navy); }
.lc-name a:hover { color: var(--gold); }
.lc-loc { font-size: 12px; color: var(--text-muted); margin-bottom: 11px; display: flex; align-items: center; gap: 4px; }
.lc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 11px; }
.lc-tag {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-secondary); padding: 3px 9px;
  border-radius: var(--r-pill); font-size: 11px; font-weight: 500;
}
.lc-desc {
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.65;
  margin-bottom: 15px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.lc-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 13px; border-top: 1px solid var(--border);
  margin-top: auto; gap: 10px;
}
.lc-rating { display: flex; align-items: center; gap: 5px; }
.lc-stars { display: flex; gap: 1px; }
.lc-stars svg { width: 11px; height: 11px; color: var(--gold); }
.lc-rtext { font-size: 12px; color: var(--text-muted); }
.lc-rnum { font-weight: 600; color: var(--text-primary); }

/* ─── SECTION ROW HEADER ─────────────────────────────────── */
.row-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
}
.row-header-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.09em; color: var(--text-muted); white-space: nowrap;
}
.row-header-line { flex: 1; height: 1px; background: var(--border); }
.row-header-count { font-size: 12px; color: var(--text-tiny); white-space: nowrap; font-weight: 500; }

/* ─── CITY CARDS ─────────────────────────────────────────── */
.cities-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px;
}
.city-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 20px 16px; text-align: center;
  transition: all var(--t); display: block; box-shadow: var(--shadow-xs);
}
.city-card:hover {
  border-color: var(--gold); transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(200,136,42,0.14);
}
.city-emoji { font-size: 22px; display: block; margin-bottom: 8px; }
.city-name {
  font-family: var(--font-serif); font-size: 1rem;
  color: var(--navy); display: block; margin-bottom: 2px; line-height: 1.2;
}
.city-st {
  font-size: 10px; font-weight: 700; color: var(--gold);
  text-transform: uppercase; letter-spacing: 0.09em; display: block; margin-bottom: 5px;
}
.city-count { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 860px; margin: 0 auto; }
.step { padding: 28px; text-align: center; position: relative; }
.step + .step::before {
  content: ''; position: absolute; left: 0; top: 40px;
  width: 1px; height: 40px; background: var(--border);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  background: var(--navy); color: var(--gold-bright);
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700;
  border-radius: 13px; margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(10,22,40,0.2);
}
.step h3 { font-size: 1.05rem; margin-bottom: 9px; }
.step p { font-size: 14px; }

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb { padding: 11px 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.breadcrumb .container {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-secondary); transition: color var(--t); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: var(--border-dark); }
.breadcrumb .here { color: var(--text-primary); font-weight: 500; }

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  background: var(--navy); padding: 52px 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(200,136,42,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.ph-inner { position: relative; z-index: 2; }
.ph-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 42px 42px;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.page-hero p { color: rgba(255,255,255,0.5); font-size: 16px; max-width: 580px; }
.badge-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }

/* ─── SEARCH LAYOUT ──────────────────────────────────────── */
.search-layout { display: grid; grid-template-columns: 256px 1fr; gap: 28px; align-items: start; }
.search-filters {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px;
  position: sticky; top: 86px; box-shadow: var(--shadow-xs);
}
.filter-title {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-primary);
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--border);
}

/* Popular specialty pills in sidebar */
.pop-spec-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.4;
  transition: all var(--t);
  white-space: nowrap;
}
.pop-spec-pill:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--navy-faint);
}
.pop-spec-pill.pop-spec-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.filter-group { margin-bottom: 16px; }
.filter-group label {
  display: block; font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: var(--text-muted); margin-bottom: 7px;
}
.filter-group select, .filter-group input {
  width: 100%; padding: 9px 13px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 14px;
  background: var(--surface); color: var(--text-primary); transition: all var(--t);
}
.filter-group select:focus, .filter-group input:focus {
  outline: none; border-color: var(--navy-light); background: #fff;
  box-shadow: 0 0 0 3px rgba(26,48,80,0.08);
}
.results-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.results-count { font-size: 13.5px; color: var(--text-muted); }
.results-count strong { color: var(--text-primary); font-weight: 600; }

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 5px; margin-top: 52px; flex-wrap: wrap;
}
.pagination a, .pagination span {
  min-width: 36px; height: 36px; padding: 0 8px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: all var(--t); background: var(--white);
}
.pagination a:hover { background: var(--surface); border-color: var(--border-dark); color: var(--text-primary); }
.pagination .active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .dots { border: none; background: none; color: var(--text-muted); }

/* ─── PROFILE PAGE ───────────────────────────────────────── */
.profile-layout { display: grid; grid-template-columns: 1fr 296px; gap: 28px; align-items: start; }
.profile-main {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 36px; box-shadow: var(--shadow-xs);
}
.profile-head {
  display: flex; gap: 22px; align-items: flex-start;
  margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.profile-avi {
  width: 74px; height: 74px; flex-shrink: 0;
  background: var(--navy); border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 33px; color: var(--gold-bright); font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.profile-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 8px; }
.profile-badges { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.profile-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--text-secondary); }
.profile-meta span { display: flex; align-items: center; gap: 5px; }
.sec-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  margin-bottom: 11px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.profile-section { margin-bottom: 24px; }
.cred-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cred-tag {
  background: var(--navy); color: var(--gold-bright);
  padding: 5px 13px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600;
}
.spec-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.spec-tag {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-secondary); padding: 5px 12px;
  border-radius: var(--r-pill); font-size: 12.5px; font-weight: 500;
}

.profile-sidebar { display: flex; flex-direction: column; gap: 14px; }
.sidebar-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-xs);
}
.sidebar-box h3 { font-size: 14px; font-family: var(--font-sans); font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.contact-row { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; font-size: 14px; color: var(--text-secondary); }
.contact-icon {
  width: 34px; height: 34px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 15px;
}

/* ─── CTA SECTION ────────────────────────────────────────── */
.cta-section {
  background: var(--navy); padding: 80px 0;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(200,136,42,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; }
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.5); font-size: 17px; margin-bottom: 38px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ─── SEO LINK TILES ─────────────────────────────────────── */
.seo-tiles { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-top: 28px; }
.seo-tile {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 15px 18px;
  transition: all var(--t);
}
.seo-tile:hover { border-color: var(--navy); }
.seo-tile strong { display: block; color: var(--navy); margin-bottom: 3px; font-size: 14px; }
.seo-tile span { font-size: 12.5px; color: var(--text-muted); }

/* FAQ accordion */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 6px;
  background: #fff;
  overflow: hidden;
}
.faq-q {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform var(--t);
}
details[open] .faq-q::after { content: '−'; }
.faq-a {
  padding: 0 20px 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ─── PRICING ─────────────────────────────────────────────── */
/* ─── PRICING TIERS ──────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 64px;
}
.pricing-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t);
}
.pricing-card:hover { box-shadow: var(--shadow-md); }

/* Tier variants */
.pricing-card-basic  { border-color: var(--navy-light); box-shadow: var(--shadow-sm); }
.pricing-card-premium {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(200,136,42,0.2), var(--shadow-md);
  background: linear-gradient(160deg, #fffcf5 0%, var(--white) 40%);
}

/* Badge ribbon */
.pricing-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 10px; border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.pricing-badge-free    { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }
.pricing-badge-basic   { background: var(--navy-faint); color: var(--navy); border: 1px solid rgba(26,48,80,0.2); }
.pricing-badge-premium { background: linear-gradient(135deg,var(--gold),var(--gold-bright)); color: var(--navy); }

.pricing-name {
  font-family: var(--font-serif);
  font-size: 22px; font-weight: 700;
  color: var(--navy); margin-bottom: 6px;
}
.pricing-price { margin-bottom: 14px; }
.pricing-amount {
  font-family: var(--font-serif);
  font-size: 42px; font-weight: 800;
  color: var(--navy); line-height: 1;
}
.pricing-period { font-size: 14px; color: var(--text-muted); margin-left: 2px; }
.pricing-desc {
  font-size: 13.5px; color: var(--text-secondary);
  line-height: 1.55; margin-bottom: 20px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
}
.pricing-features {
  list-style: none; margin: 0 0 24px; padding: 0;
  display: grid; gap: 9px; flex: 1;
}
.pricing-features li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.4;
}
.pricing-features li.pf-no { color: var(--text-muted); }
.pf-check {
  font-size: 11px; font-weight: 700;
  color: var(--green); flex-shrink: 0; margin-top: 1px;
}
.pf-check-gold { color: var(--gold) !important; }
.pf-x { font-size: 11px; color: var(--text-muted); flex-shrink: 0; margin-top: 1px; }
.pricing-btn { width: 100%; justify-content: center; margin-top: auto; }
.pricing-note {
  font-size: 11.5px; color: var(--text-muted);
  text-align: center; margin-top: 10px; margin-bottom: 0;
}

/* Comparison table */
.pricing-compare {
  max-width: 820px; margin: 0 auto;
}
.pricing-compare h2 {
  font-family: var(--font-serif); font-size: 22px;
  color: var(--navy); margin-bottom: 20px; text-align: center;
}
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.compare-table th {
  padding: 12px 16px; text-align: center;
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 2px solid var(--border);
  color: var(--text-primary);
}
.compare-table th:first-child { text-align: left; }
.compare-table th small { display: block; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--text-muted); font-size: 12px; }
.compare-table th.col-basic  { color: var(--navy); }
.compare-table th.col-premium { color: var(--gold); }
.compare-table td {
  padding: 11px 16px; border-bottom: 1px solid var(--border);
  text-align: center; color: var(--text-secondary); font-size: 13.5px;
}
.compare-table td:first-child { text-align: left; color: var(--text-primary); }
.compare-table td.no { color: var(--text-muted); }
.compare-table tr:hover td { background: var(--surface); }

/* old single card — keep compat */
.pricing-card.hl { border-color: var(--gold); box-shadow: var(--shadow-gold), var(--shadow-md); }
.price-num {
  font-family: var(--font-serif); font-size: 3.4rem;
  color: var(--navy); line-height: 1; margin: 22px 0 4px;
}
.price-num sub { font-size: 1rem; font-family: var(--font-sans); color: var(--text-muted); font-weight: 400; }
.feat-list { text-align: left; margin: 26px 0; }
.feat-list li {
  padding: 9px 0; border-bottom: 1px solid var(--border);
  font-size: 14.5px; display: flex; align-items: center; gap: 10px; color: var(--text-secondary);
}
.feat-list li:last-child { border: none; }
.feat-list .ck {
  width: 20px; height: 20px; background: var(--green-bg); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--green); font-weight: 700; flex-shrink: 0;
}

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}


/* ─── TIER PRICING ROWS ──────────────────────────────────── */
.tier-row {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  margin-bottom: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}
.tier-left {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.tier-right {
  padding: 36px 32px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Free tier */
.tier-row-free { background: var(--white); }
.tier-row-free .tier-right { background: var(--surface); }

/* Starter tier */
.tier-row-starter { background: var(--white); border-color: var(--navy-light); box-shadow: var(--shadow-sm); }
.tier-row-starter .tier-right { background: rgba(26,48,80,0.03); border-color: rgba(26,48,80,0.12); }

/* Premium tier */
.tier-row-premium {
  background: var(--navy);
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(200,136,42,0.3), var(--shadow-lg);
}
.tier-row-premium .tier-right {
  background: rgba(255,255,255,0.04);
  border-color: rgba(200,136,42,0.2);
}

.tier-label-pill {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 3px 10px; border-radius: var(--r-pill);
  margin-bottom: 12px; width: fit-content;
}
.tier-pill-free    { background: var(--surface); color: var(--text-muted); border: 1px solid var(--border); }
.tier-pill-starter { background: var(--navy-faint); color: var(--navy); border: 1px solid rgba(26,48,80,0.2); }
.tier-pill-premium { background: linear-gradient(135deg,var(--gold),var(--gold-bright)); color: var(--navy); }

.tier-name {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700;
  color: var(--navy); margin-bottom: 4px;
}
.tier-row-premium .tier-name { color: #fff; }

.tier-price-line { display: flex; align-items: baseline; gap: 2px; margin-bottom: 14px; }
.tier-price {
  font-family: var(--font-serif);
  font-size: 48px; font-weight: 800;
  color: var(--navy); line-height: 1;
}
.tier-row-premium .tier-price { color: var(--gold-bright); }
.tier-period { font-size: 15px; color: var(--text-muted); }
.tier-row-premium .tier-period { color: rgba(255,255,255,0.4); }
.tier-desc {
  font-size: 13.5px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 20px; flex: 1;
}
.tier-btn { margin-top: auto; }
.tier-note { font-size: 11.5px; color: var(--text-muted); margin: 8px 0 0; text-align: center; }

/* Feature lists inside tiers */
.tier-upgrade-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin-bottom: 14px;
}
.tier-features {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 10px;
}
.tier-features li {
  font-size: 14px; line-height: 1.4;
  display: flex; align-items: flex-start; gap: 8px;
  padding-left: 0;
}
.tier-features li::before { display: none; }
.tf-yes { color: var(--text-secondary); }
.tf-yes::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; margin-right: 2px; }
.tf-no  { color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--border-dark); }
.tf-new { color: var(--navy); font-weight: 500; }
.tf-prem { color: rgba(255,255,255,0.85); font-weight: 500; }

.tier-features-upgrade .tf-no { text-decoration: none; color: var(--text-muted); }
.tier-features-upgrade .tf-no::before { content: '✗'; color: var(--text-muted); font-weight: 700; flex-shrink: 0; margin-right: 2px; }

@media (max-width: 820px) {
  .tier-row { grid-template-columns: 1fr; }
  .tier-right { border-left: none; border-top: 1px solid var(--border); }
  .tier-row-premium .tier-right { border-color: rgba(200,136,42,0.2); }
}

/* ─── BASIC PROFILE UPGRADE BOX ─────────────────────────── */
.basic-upgrade-box {
  background: #fffcf2;
  border: 1px solid rgba(200,136,42,0.3);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-top: 16px;
}
.bub-eyebrow {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold); margin-bottom: 6px;
}
.bub-title {
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 700;
  color: var(--navy); margin-bottom: 14px;
}
.bub-perks {
  list-style: none; margin: 0 0 18px; padding: 0;
  display: grid; gap: 7px;
}
.bub-perks li {
  font-size: 13.5px; color: var(--text-secondary); line-height: 1.4;
}

/* ─── UPGRADE CONTACT LOCK BOX ──────────────────────────── */
.upgrade-contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
  margin-bottom: 14px;
  text-align: center;
}
.upgrade-contact-lock { font-size: 28px; margin-bottom: 8px; }
.upgrade-contact-label {
  font-weight: 700; color: var(--navy);
  font-size: 14px; margin-bottom: 6px;
}
.upgrade-contact-desc {
  font-size: 13px; color: var(--text-muted);
  line-height: 1.5; margin-bottom: 16px;
}

/* ─── STARTER PROFILE ────────────────────────────────────── */
.starter-profile-hero {
  background: linear-gradient(135deg, #0A1628 0%, #1a3050 100%);
  padding: 40px 0 0;
  position: relative;
  overflow: hidden;
}
.starter-profile-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 20px
  );
  pointer-events: none;
}
.starter-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 24px 36px;
}
.starter-avi {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
}
.starter-hero-name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.2;
}
.starter-hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.starter-verified-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 20px;
}
.starter-rating-row {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 0;
}

/* Starter contact card */
.starter-contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.starter-contact-header {
  background: var(--navy);
  padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
}
.starter-contact-header-title {
  font-size: 13px; font-weight: 700;
  color: #fff; letter-spacing: 0.03em;
}
.starter-contact-body { padding: 18px 20px; display: grid; gap: 12px; }
.starter-contact-item {
  display: flex; align-items: center; gap: 12px;
}
.starter-contact-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--navy-faint);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 15px;
}
.starter-contact-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted); margin-bottom: 2px;
}
.starter-contact-value {
  font-size: 14px; font-weight: 600; color: var(--navy);
}

/* ─── FORMS ──────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text-primary); margin-bottom: 7px;
}
.form-control {
  width: 100%; padding: 12px 15px;
  border: 1px solid var(--border); border-radius: var(--r-sm);
  font-family: var(--font-sans); font-size: 15px; color: var(--text-primary);
  background: var(--surface); transition: all var(--t);
}
.form-control:focus {
  outline: none; border-color: var(--navy-light);
  background: var(--white); box-shadow: 0 0 0 3px rgba(26,48,80,0.08);
}
textarea.form-control { resize: vertical; min-height: 128px; }

/* ─── ALERTS ─────────────────────────────────────────────── */
.alert { padding: 13px 16px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: 14px; }
.alert-success { background: var(--green-bg); color: var(--green); border: 1px solid var(--green-border); }
.alert-error { background: #FEE2E2; color: var(--red); border: 1px solid #FECACA; }
.alert-info { background: var(--gold-pale); color: #7A5F1A; border: 1px solid #F5D680; }

/* ─── EMPTY STATE ────────────────────────────────────────── */
.empty-state {
  text-align: center; padding: 64px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
}
.empty-icon {
  width: 64px; height: 64px; background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin: 0 auto 18px; box-shadow: var(--shadow-xs);
}
.empty-state h3 { margin-bottom: 7px; }
.empty-state p { color: var(--text-muted); margin-bottom: 22px; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy); padding: 68px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.footer-about { max-width: 280px; }
.footer-about p { color: rgba(255,255,255,0.38); font-size: 14px; line-height: 1.75; margin: 16px 0 22px; }
.footer-trust-list { display: flex; flex-direction: column; gap: 8px; }
.ft-trust { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(200,136,42,0.75); font-weight: 500; }
.ft-trust::before { content: '✓'; color: var(--gold); font-weight: 700; }
.footer-col h4 { color: rgba(255,255,255,0.86); font-size: 13px; font-weight: 600; margin-bottom: 16px; font-family: var(--font-sans); text-transform: none; letter-spacing: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.4); font-size: 14px; transition: color var(--t); }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { color: rgba(255,255,255,0.26); font-size: 13px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: rgba(255,255,255,0.3); font-size: 13px; transition: color var(--t); }
.footer-links a:hover { color: var(--gold-bright); }

/* ─── ADMIN ──────────────────────────────────────────────── */
.admin-wrap { min-height: 100vh; background: #F2F4F7; font-family: var(--font-sans); }
.admin-header { background: var(--navy); padding: 0 24px; height: 58px; display: flex; align-items: center; justify-content: space-between; }
.admin-header h1 { color: #fff; font-size: 15px; font-weight: 600; }
.admin-header a { color: rgba(255,255,255,0.55); font-size: 13px; }
.admin-header a:hover { color: #fff; }
.admin-body { max-width: 1100px; margin: 28px auto; padding: 0 22px; }
.admin-card { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-xs); overflow: hidden; border: 1px solid var(--border); }
.admin-card-header { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.admin-card-header h2 { font-size: 14px; color: var(--navy); font-family: var(--font-sans); font-weight: 600; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { background: var(--surface); padding: 10px 14px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.admin-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); font-size: 13.5px; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--surface); }
.admin-actions { display: flex; gap: 6px; }
.admin-actions a { padding: 5px 11px; border-radius: var(--r-sm); font-size: 12px; font-weight: 600; }
.action-edit { background: var(--navy); color: #fff !important; }
.action-delete { background: #FEE2E2; color: var(--red) !important; }
.action-feature { background: var(--gold-pale); color: #7A5F1A !important; }
.admin-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 22px; }
.admin-stat-card { background: var(--white); border-radius: var(--r-lg); padding: 18px 22px; box-shadow: var(--shadow-xs); border: 1px solid var(--border); }
.admin-stat-card .num { font-family: var(--font-serif); font-size: 1.9rem; color: var(--navy); font-weight: 700; }
.admin-stat-card .label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 3px; }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
.fade-up { animation: fadeUp 0.52s cubic-bezier(0.4,0,0.2,1) both; }
.d1 { animation-delay: 0.08s; } .d2 { animation-delay: 0.18s; }
.d3 { animation-delay: 0.28s; } .d4 { animation-delay: 0.4s; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .profile-layout { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero { padding: 60px 0 72px; }
  .hero-search { flex-direction: column; }
  .hs-sep { display: none; }
  .hero-stats { flex-direction: column; gap: 0; }
  .hero-stat + .hero-stat { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
  .hero-stat { padding: 14px 0; }
  .search-layout { grid-template-columns: 1fr; }
  .search-filters { position: static; }
  .listings-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-about { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .seo-tiles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step + .step::before { display: none; }
  .admin-stats { grid-template-columns: repeat(2,1fr); }
  .cta-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .featured-section { padding: 52px 0; }
  .page-hero { padding: 40px 0; }
}

/* ─── LISTING ROW (single column) ───────────────────────────────────────── */
.listings-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}
.lr-wrap { display: flex; align-items: center; border-bottom: 1px solid var(--border); }
.lr-wrap .listing-row { flex: 1; border-bottom: none; min-width: 0; }
.lr-compare-btn {
  flex-shrink: 0;
  background: transparent; border: 1px solid #dce0e8;
  color: #6b7280; font-size: 11px; font-weight: 600;
  padding: 5px 12px; border-radius: 99px; cursor: pointer;
  white-space: nowrap; transition: all 0.15s; margin: 0 14px 0 8px;
  line-height: 1.4;
}
.lr-compare-btn:hover, .lr-compare-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.listing-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background var(--t);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.listing-row:last-child { border-bottom: none; }
.listing-row:hover { background: var(--surface); }
.listing-row:hover .lr-arrow { color: var(--navy); transform: translateX(2px); }

.lr-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--navy-faint);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}
.lr-main {
  flex: 1;
  min-width: 0;
}
.lr-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lr-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lr-loc {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  color: var(--text-muted);
}
.lr-loc svg { flex-shrink: 0; }
.lr-cred {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: var(--r-pill);
}
.lr-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
}
.lr-rating svg { flex-shrink: 0; }
.lr-rcnt { color: var(--text-muted); font-weight: 400; }

.lr-tags {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
  flex-wrap: wrap;
  max-width: 280px;
}
.lr-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 2px 9px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.lr-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lr-arrow {
  color: var(--border-dark);
  transition: all var(--t);
}

@media (max-width: 640px) {
  .lr-tags { display: none; }
  .listing-row { gap: 12px; padding: 12px 14px; }
  .lr-tag { font-size: 10px; }
}

/* ═══════════════════════════════════════════════════════════════
   CITY TABLE — filter bar, rows, featured rows
   ════════════════════════════════════════════════════════════ */

/* Filter bar */
.city-filter-bar {
  margin-bottom: 20px;
}
.city-filters {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px 18px;
}
.filter-pill-group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-pill-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-right: 2px;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--t);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.filter-pill:hover { background: var(--navy-faint); color: var(--navy); border-color: var(--navy-faint); }
.filter-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter-pill-feat.active { background: var(--feat-bg); color: var(--gold); border-color: rgba(200,136,42,0.4); }
.filter-results-info {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* City table */
.city-table {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}

/* Section headers inside table */
.city-table-feat-header,
.city-table-reg-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.city-table-feat-header {
  background: var(--feat-bg);
  color: var(--gold);
  border-bottom: 1px solid rgba(200,136,42,0.15);
}
.city-table-reg-header {
  background: var(--surface);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.feat-rotate-note {
  font-size: 10px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(200,136,42,0.5);
}

/* Individual row */
.city-row {
  display: grid;
  grid-template-columns: 40px minmax(0,1.8fr) minmax(0,1fr) 108px auto;
  align-items: center;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background var(--t);
  cursor: pointer;
}
.city-row:last-child { border-bottom: none; }
.city-row:hover { background: var(--surface); }
.city-row:hover .cr-arrow { color: var(--navy); transform: translateX(3px); }

/* Featured row variant — top accent stripe */
.city-row-featured {
  background: rgba(200,136,42,0.03);
  position: relative;
}
.city-row-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 60%, transparent 100%);
  border-radius: 0;
  pointer-events: none;
}
.city-row-featured:hover { background: rgba(200,136,42,0.07); }

/* Starter row — left navy accent, slightly elevated feel */
.city-row-starter {
  background: #fff;
  position: relative;
}
.city-row-starter::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--navy);
  pointer-events: none;
}
.city-row-starter:hover { background: rgba(10,22,40,0.03); }
.city-row-starter .cr-name-text { color: var(--navy); }

/* Free row — muted / greyed out */
.city-row-free {
  opacity: 0.62;
}
.city-row-free:hover {
  opacity: 1;
  background: var(--surface);
}
.city-row-free .cr-name-text { color: var(--text-secondary); }
.city-row-free .cr-arrow { color: var(--border); }

/* Avatar */
.cr-avatar {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--navy-faint);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}
.cr-avatar-feat {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  border-color: transparent;
  color: var(--navy);
}
.cr-avatar-starter {
  background: var(--navy);
  border-color: transparent;
  color: #fff;
}
.city-row-free .cr-avatar {
  background: #e8eaed;
  border-color: #dde1e7;
  color: #9aa0ab;
}

/* Main text */
.cr-main { min-width: 0; }
.cr-name {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  min-width: 0;
}
.cr-name-text {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.city-row-featured .cr-name-text { color: var(--navy); }
.cr-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  overflow: hidden;
}
.cr-loc {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.cr-cred {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1px 7px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
}
/* Verified shown inline in meta row */
.cr-verified {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  padding: 1px 7px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
}

/* Tags */
.cr-tags {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: nowrap;
  overflow: hidden;
  min-width: 0;
}
.cr-tag {
  font-size: 11px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 72px;
  max-width: 160px;
  flex-shrink: 1;
}
.cr-tag-feat {
  background: rgba(200,136,42,0.08);
  border-color: rgba(200,136,42,0.3);
  color: #8a5b0a;
}
.cr-tag-starter {
  background: rgba(10,22,40,0.05);
  border-color: rgba(10,22,40,0.15);
  color: var(--navy);
}
/* Starter badge pill — inline in name row */
.cr-starter-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(10,22,40,0.07);
  border: 1px solid rgba(10,22,40,0.15);
  padding: 1px 7px;
  border-radius: var(--r-pill);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Badges column — REMOVED, badges now inline */
.cr-badges { display: none; }

/* Rating column */
.cr-rating {
  display: flex;
  align-items: center;
  gap: 3px;
  width: 108px;
  flex-shrink: 0;
  justify-content: flex-end;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.cr-rating svg { flex-shrink: 0; }
.cr-rnum {
  font-size: 13px; font-weight: 700; color: var(--navy);
  min-width: 28px; text-align: right;
  font-variant-numeric: tabular-nums;
}
.cr-rcnt {
  font-size: 11px; color: var(--text-muted);
  min-width: 40px; text-align: left;
  font-variant-numeric: tabular-nums;
}
.cr-no-rating { font-size: 13px; color: var(--text-tiny); width:100%; text-align:right; }

/* Arrow */
.cr-arrow {
  font-size: 16px;
  color: var(--border-dark);
  transition: all var(--t);
  display: flex; align-items: center; gap: 8px; justify-content: flex-end;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .city-row { grid-template-columns: 36px minmax(0,1fr) 108px auto; gap: 10px; padding: 11px 14px; }
  .cr-tags { display: none; }
  .cr-badges { justify-content: flex-end; }
  .filter-results-info { display: none; }
  .city-filters { gap: 10px; padding: 10px 14px; }
}
@media (max-width: 480px) {
  .city-row { grid-template-columns: 32px minmax(0,1fr) 24px; }
  .cr-rating { display: none; }
  .cr-badges { display: none; }
}

/* ─── BLOG ───────────────────────────────────────────────────────────────── */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--t), transform var(--t);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card-city {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-card-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.blog-card-tag {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--gold); background: rgba(200,136,42,0.08);
  border: 1px solid rgba(200,136,42,0.2);
  padding: 2px 8px; border-radius: var(--r-pill);
}
.blog-card-title {
  font-family: var(--font-serif);
  font-size: 18px; font-weight: 700;
  color: var(--navy); line-height: 1.3;
  margin-bottom: 10px;
}
.blog-card-excerpt {
  font-size: 14px; color: var(--text-secondary);
  line-height: 1.6; margin-bottom: 16px; flex: 1;
}
.blog-card-meta {
  font-size: 12px; color: var(--text-muted);
  display: flex; gap: 6px; align-items: center;
  padding-top: 14px; border-top: 1px solid var(--border);
}

/* Blog post body typography */
.blog-post-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.blog-post-body h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem; font-weight: 700;
  color: var(--navy);
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.blog-post-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy); margin: 28px 0 10px;
}
.blog-post-body p { margin: 0 0 18px; }
.blog-post-body ul, .blog-post-body ol {
  margin: 0 0 18px 20px; display: grid; gap: 6px;
}
.blog-post-body li { padding-left: 4px; }
.blog-post-body strong { color: var(--navy); font-weight: 700; }
.blog-post-body a { color: var(--navy-light); text-decoration: underline; }
.blog-post-body a:hover { color: var(--navy); }
.blog-post-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 24px 0; padding: 14px 20px;
  background: var(--gold-pale);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic; color: var(--text-primary);
}
.blog-post-body .cta-inline {
  background: var(--navy-faint);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  margin: 28px 0;
  display: flex; align-items: center; gap: 16px;
}
.blog-post-body .cta-inline-text { flex: 1; font-style: normal; }
.blog-post-body .cta-inline-text strong { display: block; font-size: 15px; margin-bottom: 4px; }
.blog-post-body .cta-inline-text span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 768px) {
  section .container[style*="grid-template-columns:1fr 260px"] {
    grid-template-columns: 1fr !important;
  }
}

/* ─── LOCKED RATING (free listings) ─────────────────────────────────────── */
.cr-rating-locked {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: default;
}
.cr-lock-icon {
  font-size: 10px;
  line-height: 1;
  opacity: 0.5;
}
.cr-lock-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  opacity: 0.75;
  white-space: nowrap;
}
/* On hover of the parent row, make the lock label pop slightly */
.city-row-free:hover .cr-lock-label {
  opacity: 1;
  color: var(--gold);
}


/* ─── REVIEW BADGES ──────────────────────────────────────── */
.badge-highly_rated {
  background: linear-gradient(135deg, #1a5c2a, #2d8a47);
  color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 99px;
  letter-spacing: 0.04em;
}
.badge-most_reviewed {
  background: linear-gradient(135deg, #b44d00, #e06820);
  color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 99px;
  letter-spacing: 0.04em;
}
.lr-badge { margin-left: 4px; vertical-align: middle; }

/* ─── NEAR ME PAGE ────────────────────────────────────────── */
.nm-controls {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 24px 28px;
  margin-bottom: 28px;
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: flex-end; justify-content: space-between;
}
.nm-filters { display: flex; gap: 24px; flex-wrap: wrap; }
.nm-filter-group { display: flex; flex-direction: column; gap: 8px; }
.nm-filter-group label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.07em; color: var(--text-muted);
}
.nm-pill-row { display: flex; gap: 6px; flex-wrap: wrap; }
.nm-pill {
  padding: 5px 14px; border-radius: 99px;
  border: 1px solid var(--border); background: var(--white);
  font-size: 13px; font-weight: 500; cursor: pointer;
  color: var(--text-secondary); transition: all var(--t);
}
.nm-pill:hover { border-color: var(--navy); color: var(--navy); }
.nm-pill.active {
  background: var(--navy); border-color: var(--navy);
  color: #fff;
}
.nm-locate-btn { white-space: nowrap; }

.nm-empty {
  text-align: center; padding: 64px 24px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-xl);
}
.nm-empty-icon { font-size: 48px; margin-bottom: 16px; }
.nm-empty h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); margin-bottom: 8px; }
.nm-empty p { color: var(--text-secondary); max-width: 400px; margin: 0 auto 20px; }
.nm-privacy-note { font-size: 12px; color: var(--text-muted); margin-top: 12px; }

.nm-results-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px; flex-wrap: wrap; gap: 6px;
}
.nm-count { font-family: var(--font-serif); font-size: 1.1rem; color: var(--navy); font-weight: 700; }
.nm-subtext { font-size: 12px; color: var(--text-muted); }

.nm-list { display: flex; flex-direction: column; gap: 0; }
.nm-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--white);
  border: 1px solid var(--border); border-top: none;
  text-decoration: none; transition: background var(--t);
}
.nm-row:first-child { border-top: 1px solid var(--border); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.nm-row:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.nm-row:hover { background: var(--surface); }
.nm-row-prem { border-left: 3px solid var(--gold); background: linear-gradient(90deg,rgba(200,136,42,0.04),transparent 30%); }
.nm-row-star { border-left: 3px solid var(--navy-light); }

.nm-dist-badge {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 99px; padding: 3px 10px;
  font-size: 12px; font-weight: 700; color: var(--navy);
  white-space: nowrap; flex-shrink: 0; min-width: 48px;
  text-align: center;
}
.nm-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-faint); color: var(--navy);
  font-family: var(--font-serif); font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nm-avatar-prem {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--navy);
}
.nm-main { flex: 1 1 auto; min-width: 0; }
.nm-name {
  font-size: 14px; font-weight: 600; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.nm-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 3px; font-size: 12px; color: var(--text-muted); }
.nm-tag { background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 1px 8px; font-size: 11px; }
.nm-badge-prem  { background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 99px; }
.nm-badge-highly_rated  { background: linear-gradient(135deg,#1a5c2a,#2d8a47); color:#fff; font-size:10px; font-weight:700; padding:2px 7px; border-radius:99px; }
.nm-badge-most_reviewed { background: linear-gradient(135deg,#b44d00,#e06820); color:#fff; font-size:10px; font-weight:700; padding:2px 7px; border-radius:99px; }

.nm-rating {
  display: flex; align-items: center; gap: 3px;
  flex-shrink: 0; white-space: nowrap;
}
.nm-rnum { font-size: 13px; font-weight: 700; color: var(--navy); }
.nm-rcnt { font-size: 11px; color: var(--text-muted); }
.nm-arrow { color: var(--text-muted); font-size: 16px; flex-shrink: 0; }
.nm-attr { font-size: 11.5px; color: var(--text-muted); text-align: right; margin-top: 10px; }
.nm-attr a { color: var(--navy); }

.hero-near-me { margin-top: 18px; text-align: center; }
.nm-hero-link {
  font-size: 14px; font-weight: 600;
  color: var(--gold-bright);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px;
  border: 1.5px solid rgba(200,136,42,0.4);
  border-radius: 99px;
  background: rgba(200,136,42,0.08);
  transition: background var(--t), border-color var(--t), color var(--t);
}
.nm-hero-link:hover {
  background: rgba(200,136,42,0.18);
  border-color: var(--gold-bright);
  color: #fff;
}

/* ─── BEST-OF PAGE ─────────────────────────────────────────── */
.best-intro {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 14px 18px;
  font-size: 13px; color: var(--text-secondary); margin-bottom: 20px;
  line-height: 1.55;
}
.best-list { display: flex; flex-direction: column; gap: 0; }
.best-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--white);
  border: 1px solid var(--border); border-top: none;
  text-decoration: none; transition: background var(--t);
}
.best-row:first-child { border-top: 1px solid var(--border); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.best-row:last-child { border-radius: 0 0 var(--r-lg) var(--r-lg); }
.best-row:hover { background: var(--surface); }
.best-row-prem { border-left: 3px solid var(--gold); }

.best-rank {
  font-size: 1.3rem; flex-shrink: 0; width: 36px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.best-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy-faint); color: var(--navy);
  font-family: var(--font-serif); font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.best-avatar-prem { background: linear-gradient(135deg,var(--gold),var(--gold-bright)); color:var(--navy); }
.best-main { flex: 1 1 auto; min-width: 0; }
.best-name {
  font-size: 14px; font-weight: 600; color: var(--navy);
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.best-specs { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.best-spec-tag { background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 1px 8px; font-size: 11px; color: var(--text-muted); }
.best-feat-badge { background: var(--gold); color: var(--navy); font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 99px; }
.best-score-block { flex-shrink: 0; text-align: right; }
.best-rating { display: flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 700; color: var(--navy); justify-content: flex-end; }
.best-rcnt { font-size: 11px; color: var(--text-muted); font-weight: 400; }
.best-score { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.best-arrow { color: var(--text-muted); font-size: 16px; flex-shrink: 0; }

@media (max-width: 600px) {
  .nm-controls { flex-direction: column; align-items: stretch; }
  .nm-locate-btn { width: 100%; justify-content: center; }
  .nm-filters { flex-direction: column; }
  .nm-dist-badge { min-width: 40px; }
  .best-score-block { display: none; }
}

/* ─── HOMEPAGE MATCH-FIRST REDESIGN ───────────────────────── */
.home-match-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #081426 0%, #0f2a4d 48%, #17385b 100%);
  padding: 76px 0 56px;
}
.home-match-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.18;
  pointer-events: none;
}
.home-match-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(24px);
  pointer-events: none;
}
.home-match-glow-a {
  width: 360px;
  height: 360px;
  right: -90px;
  top: -100px;
  background: radial-gradient(circle, rgba(224,176,80,0.24) 0%, rgba(224,176,80,0.03) 65%, transparent 72%);
}
.home-match-glow-b {
  width: 440px;
  height: 440px;
  left: -140px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(86,159,237,0.16) 0%, rgba(86,159,237,0.02) 62%, transparent 72%);
}
.home-match-hero .container { position: relative; z-index: 1; }
.home-match-hero-grid {
  display: block;
}
.home-match-main {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}
.home-match-main h1 {
  color: #fff;
  margin: 0 auto 16px;
  max-width: 11.5ch;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 0.98;
}
.home-match-sub {
  margin: 0 auto 26px;
  max-width: 820px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.78);
}
.home-match-form {
  max-width: 1040px;
  margin: 0 auto;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.11) 0%, rgba(255,255,255,0.06) 100%);
  box-shadow: 0 26px 64px rgba(4,11,22,0.28);
  backdrop-filter: blur(14px);
}
.home-match-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.95fr) minmax(210px, 0.9fr);
  gap: 14px;
}
.home-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.home-field select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(9,20,37,0.62);
  color: #fff;
  font-size: 15px;
  outline: none;
}
.home-field select:focus {
  border-color: rgba(224,176,80,0.7);
  box-shadow: 0 0 0 3px rgba(224,176,80,0.14);
}
.home-match-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.home-match-actions .btn-outline-inv {
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
}
.home-hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1040px;
  margin: 22px auto 0;
}
.home-hero-proof-item {
  padding: 18px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(7,17,31,0.32);
  backdrop-filter: blur(12px);
  text-align: center;
}
.home-hero-proof-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}
.home-hero-proof-item span {
  display: block;
  max-width: 22ch;
  margin: 0 auto;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  line-height: 1.6;
}
.home-match-explainer,
.home-proof-scale {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}
.home-match-pillars,
.home-proof-grid,
.home-support-grid,
.home-match-preview-grid,
.home-need-grid {
  display: grid;
  gap: 18px;
}
.home-match-pillars {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.home-match-pillar,
.home-proof-card,
.home-match-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(8,20,38,0.06);
}
.home-match-pillar {
  padding: 24px;
}
.home-match-pillar h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
}
.home-match-pillar p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.75;
  font-size: 14px;
}
.home-need-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-need-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 36px rgba(8,20,38,0.05);
  text-decoration: none;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.home-need-card:hover,
.home-need-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(200,136,42,0.4);
  box-shadow: 0 22px 44px rgba(8,20,38,0.1);
}
.home-need-card.is-active {
  background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
}
.home-need-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  line-height: 1.1;
}
.home-need-copy {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.75;
}
.home-need-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
}
.home-proof-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.home-proof-card {
  padding: 22px 18px;
  text-align: center;
}
.home-proof-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--navy);
  margin-bottom: 8px;
}
.home-proof-card span {
  display: block;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.home-match-preview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-match-card {
  padding: 24px;
}
.home-match-card-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 14px;
}
.home-match-card h3 {
  margin: 0 0 4px;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  line-height: 1.08;
}
.home-match-card h3 a {
  color: var(--navy);
  text-decoration: none;
}
.home-match-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.home-match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.home-match-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f7f8fb;
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
}
.home-match-badge-strong {
  background: rgba(10,22,40,0.92);
  border-color: rgba(10,22,40,0.92);
  color: #fff;
}
.home-match-why {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid var(--border);
}
.home-match-why h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.home-match-why ul {
  margin: 0;
  padding-left: 18px;
}
.home-match-why li {
  margin: 0 0 8px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-size: 14px;
}
.home-match-card-actions,
.home-match-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home-match-card-actions {
  margin-top: 18px;
  align-items: center;
}
.home-match-inline-link {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.home-match-inline-link:hover {
  color: var(--gold);
}
.home-match-preview-actions {
  justify-content: center;
  margin-top: 28px;
}
.home-match-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px 28px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 18px 42px rgba(8,20,38,0.07);
  text-align: center;
}
.home-match-empty h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: var(--navy);
}
.home-match-empty p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.8;
}
.home-support-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .home-match-pillars,
  .home-need-grid,
  .home-proof-grid,
  .home-support-grid,
  .home-match-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-match-form-grid {
    grid-template-columns: 1fr;
  }
  .home-hero-proof-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .home-match-hero {
    padding: 58px 0 40px;
  }
  .home-match-pillars,
  .home-need-grid,
  .home-proof-grid,
  .home-support-grid,
  .home-match-preview-grid {
    grid-template-columns: 1fr;
  }
  .home-match-actions,
  .home-match-preview-actions,
  .home-match-card-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .home-match-card-head {
    flex-direction: column;
  }
  .home-match-form,
  .home-match-card,
  .home-need-card,
  .home-match-empty {
    padding: 20px;
  }
}
