/* ═══════════════════════════════════════════════
   NEARBY REALTORS — Premium Theme
   ═══════════════════════════════════════════════ */

:root {
  /* Colors */
  --nr-navy: #0c1b33;
  --nr-navy-light: #162744;
  --nr-blue: #2563eb;
  --nr-blue-light: #3b82f6;
  --nr-blue-dark: #1d4ed8;
  --nr-teal: #0d9488;
  --nr-teal-light: #14b8a6;
  --nr-gold: #d97706;
  --nr-gold-light: #f59e0b;
  --nr-green: #16a34a;
  --nr-red: #dc2626;
  --nr-white: #ffffff;
  --nr-gray-50: #f8fafc;
  --nr-gray-100: #f1f5f9;
  --nr-gray-200: #e2e8f0;
  --nr-gray-300: #cbd5e1;
  --nr-gray-400: #94a3b8;
  --nr-gray-500: #64748b;
  --nr-gray-600: #475569;
  --nr-gray-700: #334155;
  --nr-gray-800: #1e293b;
  --nr-gray-900: #0f172a;
  --nr-text: #1e293b;
  --nr-text-light: #64748b;

  /* Gradients */
  --nr-gradient-hero: linear-gradient(135deg, #0c1b33 0%, #1a365d 50%, #1e3a5f 100%);
  --nr-gradient-cta: linear-gradient(135deg, #2563eb 0%, #0d9488 100%);
  --nr-gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --nr-gradient-shine: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);

  /* Typography */
  --nr-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nr-font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --nr-container: 1280px;
  --nr-radius: 12px;
  --nr-radius-lg: 20px;
  --nr-radius-xl: 28px;

  /* Shadows */
  --nr-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --nr-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --nr-shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --nr-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --nr-shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.2);
  --nr-shadow-blue: 0 10px 40px -10px rgba(37, 99, 235, 0.3);
  --nr-shadow-card: 0 0 0 1px rgba(0,0,0,0.03), 0 2px 4px rgba(0,0,0,0.04), 0 12px 24px rgba(0,0,0,0.06);

  /* Transitions */
  --nr-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nr-transition: all 0.3s var(--nr-ease);
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--nr-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--nr-text);
  background: var(--nr-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--nr-blue); text-decoration: none; transition: var(--nr-transition); }
a:hover { color: var(--nr-blue-dark); }

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

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--nr-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: var(--nr-transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--nr-gradient-shine);
  transform: translateX(-100%);
  transition: transform 0.6s var(--nr-ease);
}

.btn:hover::after { transform: translateX(100%); }

.btn-primary {
  background: var(--nr-gradient-cta);
  color: var(--nr-white);
  box-shadow: var(--nr-shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px -10px rgba(37, 99, 235, 0.45);
  color: var(--nr-white);
}

.btn-secondary {
  background: var(--nr-white);
  color: var(--nr-navy);
  border: 2px solid var(--nr-gray-200);
}
.btn-secondary:hover {
  border-color: var(--nr-blue);
  color: var(--nr-blue);
  transform: translateY(-2px);
  box-shadow: var(--nr-shadow-md);
}

.btn-gold {
  background: var(--nr-gradient-gold);
  color: var(--nr-white);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px -10px rgba(217, 119, 6, 0.4);
  color: var(--nr-white);
}

.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-sm { padding: 10px 24px; font-size: 13px; }

.btn-outline-white {
  background: transparent;
  color: var(--nr-white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover {
  background: var(--nr-white);
  color: var(--nr-navy);
  border-color: var(--nr-white);
}

/* ═══════════════════════════════════════════════
   HEADER & MEGA MENU
   ═══════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--nr-transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--nr-shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: var(--nr-container);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  color: var(--nr-navy);
  letter-spacing: -0.03em;
}

.site-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--nr-gradient-cta);
  border-radius: var(--nr-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}

.site-logo span { color: var(--nr-blue); }

/* Navigation */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav .nav-item { position: relative; }

.main-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 28px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--nr-gray-700);
  letter-spacing: -0.01em;
  transition: var(--nr-transition);
}

.main-nav .nav-link:hover,
.main-nav .nav-item.active .nav-link {
  color: var(--nr-blue);
}

.nav-chevron {
  transition: transform 0.3s var(--nr-ease);
}

.nav-item:hover .nav-chevron,
.nav-item.mega-open .nav-chevron {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 700px;
  background: var(--nr-white);
  border-radius: var(--nr-radius-lg);
  box-shadow: var(--nr-shadow-xl);
  border: 1px solid var(--nr-gray-200);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s var(--nr-ease);
  padding: 0;
  overflow: hidden;
}

.nav-item:hover > .mega-menu,
.nav-item.mega-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  padding: 32px;
}

.mega-column { padding: 0 16px; }
.mega-column:first-child { padding-left: 0; }
.mega-column:last-child { padding-right: 0; }

.mega-column-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nr-gray-400);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--nr-gray-100);
}

.mega-column-title a {
  color: inherit;
}
.mega-column-title a:hover { color: var(--nr-blue); }

.mega-submenu { list-style: none; }

.mega-link a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  margin: 2px -12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nr-gray-700);
  transition: var(--nr-transition);
}

.mega-link a:hover {
  background: var(--nr-gray-50);
  color: var(--nr-blue);
  transform: translateX(4px);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-cta .btn { padding: 10px 24px; font-size: 14px; }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--nr-navy);
  border-radius: 2px;
  transition: var(--nr-transition);
}

/* ═══════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--nr-gradient-hero);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(13, 148, 136, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.6; }
  100% { opacity: 1; }
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  color: var(--nr-teal-light);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--nr-teal-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-family: var(--nr-font);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--nr-white);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .highlight {
  background: var(--nr-gradient-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 56px;
}

/* Hero Search */
.hero-search {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--nr-radius-lg);
  padding: 8px;
  display: flex;
  gap: 8px;
  backdrop-filter: blur(20px);
  max-width: 600px;
  margin-bottom: 48px;
}

.hero-search input {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--nr-white);
  font-family: var(--nr-font);
  font-size: 16px;
}

.hero-search input::placeholder { color: rgba(255,255,255,0.4); }

.hero-search .btn {
  padding: 16px 32px;
  white-space: nowrap;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--nr-white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Hero Image Side */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
}

.hero-card-stack {
  position: relative;
  padding: 40px;
}

.hero-float-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--nr-radius-lg);
  padding: 24px;
  box-shadow: var(--nr-shadow-xl);
  animation: float 6s ease-in-out infinite;
}

.hero-float-card:nth-child(2) {
  position: absolute;
  bottom: 20px;
  right: 20px;
  animation-delay: -3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-float-card .card-agent-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--nr-navy);
}

.hero-float-card .card-agent-location {
  font-size: 13px;
  color: var(--nr-gray-500);
  margin-top: 2px;
}

.hero-float-card .card-stars {
  color: var(--nr-gold-light);
  font-size: 14px;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════════ */
.trust-bar {
  background: var(--nr-gray-50);
  border-bottom: 1px solid var(--nr-gray-200);
  padding: 24px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--nr-gray-600);
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.trust-icon.blue { background: rgba(37, 99, 235, 0.1); color: var(--nr-blue); }
.trust-icon.green { background: rgba(22, 163, 74, 0.1); color: var(--nr-green); }
.trust-icon.gold { background: rgba(245, 158, 11, 0.1); color: var(--nr-gold); }
.trust-icon.teal { background: rgba(13, 148, 136, 0.1); color: var(--nr-teal); }

/* ═══════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════ */
.section {
  padding: 100px 0;
}

.section-alt { background: var(--nr-gray-50); }
.section-dark { background: var(--nr-navy); color: var(--nr-white); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nr-blue);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--nr-blue);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--nr-navy);
  margin-bottom: 16px;
}

.section-dark .section-title { color: var(--nr-white); }

.section-subtitle {
  font-size: 18px;
  line-height: 1.7;
  color: var(--nr-gray-500);
}

.section-dark .section-subtitle { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════════
   AGENT CARDS
   ═══════════════════════════════════════════════ */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.agent-card {
  background: var(--nr-white);
  border-radius: var(--nr-radius-lg);
  overflow: hidden;
  box-shadow: var(--nr-shadow-card);
  transition: var(--nr-transition);
  border: 1px solid var(--nr-gray-100);
}

.agent-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--nr-shadow-lg);
  border-color: var(--nr-gray-200);
}

.agent-card-image {
  position: relative;
  height: 200px;
  background: var(--nr-gray-100);
  overflow: hidden;
}

.agent-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--nr-ease);
}

.agent-card:hover .agent-card-image img { transform: scale(1.05); }

.agent-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: var(--nr-gold);
  display: flex;
  align-items: center;
  gap: 4px;
}

.agent-card-body { padding: 24px; }

.agent-card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--nr-navy);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.agent-card-brokerage {
  font-size: 13px;
  color: var(--nr-gray-500);
  margin-bottom: 12px;
}

.agent-card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--nr-gray-600);
  margin-bottom: 16px;
}

.agent-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--nr-gray-100);
}

.agent-stat {
  text-align: center;
}

.agent-stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--nr-navy);
  line-height: 1;
}

.agent-stat-label {
  font-size: 11px;
  color: var(--nr-gray-400);
  margin-top: 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.agent-card-footer {
  padding: 16px 24px;
  background: var(--nr-gray-50);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agent-card-footer .btn { padding: 8px 20px; font-size: 13px; }

/* Agent Stars */
.stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.star { color: var(--nr-gold-light); font-size: 14px; }
.star.empty { color: var(--nr-gray-300); }

.stars-count {
  margin-left: 6px;
  font-size: 13px;
  color: var(--nr-gray-500);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════
   FEATURES / HOW IT WORKS
   ═══════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--nr-white);
  border-radius: var(--nr-radius-lg);
  padding: 36px;
  border: 1px solid var(--nr-gray-100);
  transition: var(--nr-transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--nr-gradient-cta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--nr-ease);
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nr-shadow-lg);
  border-color: var(--nr-gray-200);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-icon.blue { background: rgba(37, 99, 235, 0.1); color: var(--nr-blue); }
.feature-icon.teal { background: rgba(13, 148, 136, 0.1); color: var(--nr-teal); }
.feature-icon.gold { background: rgba(245, 158, 11, 0.1); color: var(--nr-gold); }
.feature-icon.green { background: rgba(22, 163, 74, 0.1); color: var(--nr-green); }

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--nr-navy);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--nr-gray-500);
}

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--nr-blue), var(--nr-teal));
  opacity: 0.2;
}

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

.step-number {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
}

.step-number.blue {
  background: rgba(37, 99, 235, 0.1);
  color: var(--nr-blue);
  border: 3px solid rgba(37, 99, 235, 0.2);
}

.step-number.teal {
  background: rgba(13, 148, 136, 0.1);
  color: var(--nr-teal);
  border: 3px solid rgba(13, 148, 136, 0.2);
}

.step-number.gold {
  background: rgba(245, 158, 11, 0.1);
  color: var(--nr-gold);
  border: 3px solid rgba(245, 158, 11, 0.2);
}

.step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--nr-navy);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 15px;
  color: var(--nr-gray-500);
  max-width: 280px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   STATS COUNTER
   ═══════════════════════════════════════════════ */
.stats-counter {
  display: flex;
  justify-content: center;
  gap: 64px;
  padding: 48px 0;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--nr-navy);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--nr-gray-500);
  margin-top: 8px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════════ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--nr-white);
  border-radius: var(--nr-radius-lg);
  padding: 32px;
  border: 1px solid var(--nr-gray-100);
  transition: var(--nr-transition);
}

.testimonial-card:hover {
  box-shadow: var(--nr-shadow-md);
  border-color: var(--nr-gray-200);
}

.testimonial-stars { margin-bottom: 16px; }

.testimonial-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--nr-gray-700);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--nr-gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

.testimonial-name {
  font-weight: 700;
  color: var(--nr-navy);
  font-size: 15px;
}

.testimonial-location {
  font-size: 13px;
  color: var(--nr-gray-400);
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.cta-section {
  padding: 100px 0;
  background: var(--nr-gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--nr-white);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* ═══════════════════════════════════════════════
   RESOURCES / BLOG CARDS
   ═══════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--nr-white);
  border-radius: var(--nr-radius-lg);
  overflow: hidden;
  box-shadow: var(--nr-shadow-card);
  transition: var(--nr-transition);
  border: 1px solid var(--nr-gray-100);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nr-shadow-lg);
}

.blog-card-image {
  height: 200px;
  overflow: hidden;
  background: var(--nr-gray-100);
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--nr-ease);
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-body { padding: 24px; }

.blog-card-category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nr-blue);
  background: rgba(37, 99, 235, 0.08);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--nr-navy);
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--nr-blue); }

.blog-card-excerpt {
  font-size: 14px;
  color: var(--nr-gray-500);
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--nr-gray-400);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
.site-footer {
  background: var(--nr-gray-900);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--nr-white);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo span { color: var(--nr-blue-light); }

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--nr-transition);
  font-size: 16px;
}

.footer-social a:hover {
  background: var(--nr-blue);
  color: var(--nr-white);
  transform: translateY(-2px);
}

.footer-widget-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nr-white);
  margin-bottom: 20px;
}

.footer-widget ul { list-style: none; }

.footer-widget li { margin-bottom: 10px; }

.footer-widget a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: var(--nr-transition);
}

.footer-widget a:hover {
  color: var(--nr-white);
  padding-left: 4px;
}

.footer-bottom {
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════
   SEARCH FORM (Agent Search Page)
   ═══════════════════════════════════════════════ */
.search-hero {
  background: var(--nr-gradient-hero);
  padding: 140px 0 60px;
  text-align: center;
}

.search-hero h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--nr-white);
  margin-bottom: 24px;
}

.search-bar {
  max-width: 720px;
  margin: 0 auto;
  background: var(--nr-white);
  border-radius: var(--nr-radius-lg);
  padding: 8px;
  display: flex;
  gap: 8px;
  box-shadow: var(--nr-shadow-xl);
}

.search-bar input,
.search-bar select {
  flex: 1;
  padding: 14px 18px;
  border: none;
  outline: none;
  font-family: var(--nr-font);
  font-size: 15px;
  background: transparent;
  color: var(--nr-text);
}

.search-bar select {
  flex: 0.6;
  border-left: 1px solid var(--nr-gray-200);
  cursor: pointer;
}

.search-bar .btn { flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   FAQ / ACCORDION
   ═══════════════════════════════════════════════ */
.faq-list { max-width: 760px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--nr-gray-200);
  border-radius: var(--nr-radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--nr-transition);
}

.faq-item:hover { border-color: var(--nr-gray-300); }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--nr-navy);
  background: var(--nr-white);
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--nr-font);
  transition: var(--nr-transition);
}

.faq-question:hover { color: var(--nr-blue); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--nr-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--nr-transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: var(--nr-blue);
  color: white;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--nr-ease);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--nr-gray-600);
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--nr-ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .hero-content { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps-grid { gap: 24px; }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--nr-white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    transform: translateX(100%);
    transition: transform 0.4s var(--nr-ease);
    overflow-y: auto;
  }

  .main-nav.open { transform: translateX(0); }

  .main-nav .nav-link { padding: 16px 0; font-size: 18px; }

  .mega-menu {
    position: static;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--nr-gray-50);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--nr-ease), opacity 0.3s;
  }

  .nav-item.mega-open > .mega-menu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .mega-menu-inner {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .header-cta .btn-secondary { display: none; }

  .hero { min-height: 80vh; }
  .hero h1 { font-size: 36px; }
  .hero-search { flex-direction: column; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .features-grid,
  .steps-grid { grid-template-columns: 1fr; }

  .agents-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .stats-counter { gap: 32px; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .cta-buttons { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .hero-subtitle { font-size: 16px; }
  .hero-stat-number { font-size: 24px; }
  .section-title { font-size: 28px; }
}

/* ═══════════════════════════════════════════════
   WORDPRESS SPECIFIC
   ═══════════════════════════════════════════════ */
.entry-content { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }
.entry-content h1, .entry-content h2, .entry-content h3 { color: var(--nr-navy); margin-top: 40px; margin-bottom: 16px; letter-spacing: -0.02em; }
.entry-content h1 { font-size: 36px; }
.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content p { margin-bottom: 20px; }
.entry-content ul, .entry-content ol { margin-bottom: 20px; padding-left: 24px; }
.entry-content li { margin-bottom: 8px; }
.entry-content img { border-radius: var(--nr-radius); margin: 24px 0; }
.entry-content blockquote { border-left: 4px solid var(--nr-blue); padding: 16px 24px; margin: 24px 0; background: var(--nr-gray-50); border-radius: 0 var(--nr-radius) var(--nr-radius) 0; font-style: italic; color: var(--nr-gray-700); }
