:root {
  --primary: #1e4d8c;
  --primary-dark: #163d70;
  --primary-light: #e8f0fa;
  --accent: #0d9488;
  --accent-light: #ccfbf1;
  --text: #1f2937;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-warm: #fff7ed;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 6px 20px rgba(30, 77, 140, 0.25);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary-light);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

/* Top Bar */
.top-bar {
  background: var(--primary);
  color: white;
  padding: 0.6rem 0;
  font-size: 0.9rem;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.top-bar-icon {
  font-size: 1rem;
}

/* Header */
.site-header {
  background: white;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  font-size: 1.6rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.main-nav.mobile-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  padding: 1.5rem;
  gap: 1rem;
  box-shadow: var(--shadow);
  border-top: 1px solid var(--border);
}

/* Hero */
.hero {
  position: relative;
  padding: 5rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-warm) 50%, #fff 100%);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 77, 140, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-categories span {
  background: white;
  color: var(--primary);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 2rem;
}

.search-box {
  display: flex;
  gap: 0.75rem;
  background: white;
  padding: 0.6rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 620px;
  margin-bottom: 1.25rem;
}

.search-box input {
  flex: 1;
  border: none;
  padding: 0.75rem 1rem;
  font: inherit;
  font-size: 1rem;
  outline: none;
  background: transparent;
}

.search-btn {
  padding: 0.85rem 1.75rem;
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.popular-searches a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-stats {
  display: grid;
  gap: 1.25rem;
}

.stat-card {
  background: white;
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Value Props */
.value-props {
  padding: 4rem 0;
  background: var(--bg-soft);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Elite Services */
.elite-services {
  background: white;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-tile {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-img {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.service-tile h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  padding: 1.25rem 1.25rem 0.25rem;
  color: var(--text);
}

.service-tile span {
  display: block;
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* How It Works */
.how-it-works {
  background: white;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
}

.step-card h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: var(--text-muted);
}

/* Directory */
.directory {
  background: var(--bg-warm);
}

.directory-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.directory-block {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.directory-block h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.directory-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.directory-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.directory-list a::after {
  content: '→';
  color: var(--primary);
  font-weight: 700;
}

.directory-list a:hover {
  background: var(--primary);
  color: white;
}

.directory-list a:hover::after {
  color: white;
}

/* Expert Search */
.expert-search {
  background: white;
}

.expert-search-inner,
.for-pros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.expert-search-text h2,
.for-pros-text h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  margin: 0.75rem 0 1rem;
}

.expert-search-text > p,
.for-pros-text > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  font-weight: 500;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.expert-search-image,
.for-pros-image {
  height: 500px;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
}

.for-pros {
  background: var(--bg-soft);
}

/* Testimonials */
.testimonials {
  background: var(--bg-soft);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.testimonial-card footer strong {
  display: block;
  color: var(--primary);
  font-weight: 700;
}

.testimonial-card footer span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Tips */
.tips {
  background: white;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.blog-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.blog-content a {
  color: var(--primary);
  font-weight: 700;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.cta-inner h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-inner p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 4rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.footer-col a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .expert-search-inner {
    grid-template-columns: 1fr;
  }

  .expert-search-image {
    height: 350px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .value-grid,
  .steps-grid,
  .testimonial-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .directory-layout {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .search-box {
    flex-direction: column;
    border-radius: var(--radius);
  }

  .search-box input {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
