/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== Utility ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: all 0.25s ease;
  font-family: inherit;
}
.btn-primary { background: #2563eb; color: #fff; border-color: #2563eb; }
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,0.35); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-slate { background: #2563eb; color: #fff; border-color: #2563eb; }
.btn-slate:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn-outline-sm {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 24px; border-radius: 6px; font-weight: 500; font-size: 0.85rem;
  border: 1px solid #cbd5e1; color: #475569; background: transparent;
  cursor: pointer; transition: all 0.2s;
}
.btn-outline-sm:hover { border-color: #2563eb; color: #2563eb; background: #eff6ff; }
.btn-text { color: #2563eb; font-weight: 600; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 0; width: 100%; justify-content: center; }
.btn-text:hover { gap: 10px; border-color: #2563eb; }
.btn-link { color: #2563eb; font-weight: 700; font-size: 1rem; border-bottom: 2px solid #2563eb; padding-bottom: 2px; }
.btn-link:hover { color: #1d4ed8; }

/* ===== Navigation ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0; transition: all 0.3s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08); padding: 10px 0;
}
.nav-container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo img { height: 38px; width: auto; max-width: 200px; }
.logo-dark { display: none; }
#navbar.scrolled .logo-light { display: none; }
#navbar.scrolled .logo-dark { display: block; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-weight: 500; font-size: 0.9rem; color: rgba(255,255,255,0.85);
  transition: color 0.2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: #fff; transition: width 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
#navbar.scrolled .nav-links a { color: #64748b; }
#navbar.scrolled .nav-links a:hover { color: #1e293b; }
#navbar.scrolled .nav-links a::after { background: #2563eb; }
.nav-agentworks { font-weight: 700 !important; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.85);
  font-size: 0.9rem; font-weight: 500; transition: color 0.2s;
}
.nav-phone:hover { color: #fff; }
#navbar.scrolled .nav-phone { color: #475569; }
#navbar.scrolled .nav-phone:hover { color: #1e293b; }
.nav-cta { padding: 10px 24px; font-size: 0.9rem; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.mobile-toggle span {
  display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0;
  transition: all 0.3s;
}
#navbar.scrolled .mobile-toggle span { background: #1e293b; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a5f 100%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 {
  font-family: 'Montserrat', sans-serif; font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: #fff; line-height: 1.3; margin-bottom: 24px; font-weight: 700;
}
.hero h1 .accent { color: #60a5fa; }
.hero h1 .accent-gold { color: #fbbf24; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.7); max-width: 620px; margin-bottom: 28px; line-height: 1.7; }
.hero-badges { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; background: rgba(255,255,255,0.1); border-radius: 24px;
  font-size: 0.85rem; color: rgba(255,255,255,0.8); font-weight: 500;
  backdrop-filter: blur(8px);
}
.badge svg { color: #4ade80; flex-shrink: 0; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== Section ===== */
.section { padding: 80px 0; }
.section-light { background: #f8fafc; }
.section-dark { background: #0f172a; color: #fff; }
.section-tag {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #2563eb; margin-bottom: 12px;
  background: #eff6ff; padding: 6px 16px; border-radius: 20px;
}
.section-dark .section-tag { color: #60a5fa; background: rgba(96,165,250,0.1); }
.section-title {
  font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px; line-height: 1.2; color: #0f172a;
}
.section-dark .section-title { color: #fff; }
.section-header-center { text-align: center; margin-bottom: 48px; }
.section-subtitle { color: #64748b; font-size: 1.05rem; max-width: 640px; margin: 0 auto; line-height: 1.7; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ===== About ===== */
.about-header { text-align: center; margin-bottom: 48px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-bottom: 48px; }
.about-image-placeholder {
  aspect-ratio: 4/3; background: linear-gradient(135deg, #1e3a5f, #2563eb);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
}
.about-image-placeholder svg { color: rgba(255,255,255,0.2); }
.about-content p { color: #475569; margin-bottom: 20px; font-size: 1.02rem; line-height: 1.7; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.value-block { background: #f8fafc; border-radius: 12px; padding: 20px; border: 1px solid #e2e8f0; }
.value-block h4 { font-size: 1rem; color: #0f172a; margin-bottom: 8px; font-weight: 700; }
.value-block p { color: #64748b; font-size: 0.9rem; margin-bottom: 0; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 28px 20px;
  text-align: center; transition: all 0.3s;
}
.stat-card:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.1); transform: translateY(-2px); border-color: #bfdbfe; }
.stat-number { display: block; font-size: 2.2rem; font-weight: 800; color: #2563eb; margin-bottom: 4px; }
.stat-title { display: block; font-size: 0.9rem; font-weight: 600; color: #1e293b; margin-bottom: 2px; }
.stat-desc { display: block; font-size: 0.8rem; color: #94a3b8; }

/* ===== Services ===== */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: #fff; border-radius: 16px; overflow: hidden;
  border: 1px solid #e2e8f0; transition: all 0.3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(37,99,235,0.12); border-color: #bfdbfe; }
.service-image {
  height: 200px; position: relative; display: flex; align-items: center; justify-content: center;
}
.service-icon-overlay {
  width: 56px; height: 56px; border-radius: 12px; background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(8px);
}
.service-icon-overlay svg { color: #fff; }
.service-content { padding: 28px; }
.service-content h3 { font-size: 1.2rem; margin-bottom: 10px; color: #0f172a; font-weight: 700; }
.service-content p { color: #64748b; font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }
.service-list { margin-bottom: 20px; }
.service-list li {
  position: relative; padding-left: 20px; color: #475569; font-size: 0.9rem; margin-bottom: 6px;
}
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px;
  border-radius: 50%; background: #2563eb;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, #eff6ff, #dbeafe); text-align: center;
}
.cta-banner h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; color: #0f172a; }
.cta-banner p { color: #475569; font-size: 1.05rem; max-width: 600px; margin: 0 auto 28px; }
.cta-section {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  text-align: center; color: #fff;
}
.cta-section h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 40px; }
.testimonial-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px;
  transition: all 0.3s;
}
.testimonial-card:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.08); border-color: #bfdbfe; }
.quote-icon { margin-bottom: 16px; }
.quote-icon svg { color: #bfdbfe; }
.testimonial-text { color: #475569; font-size: 0.95rem; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.stars { color: #fbbf24; font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-author strong { display: block; color: #0f172a; font-size: 0.95rem; }
.testimonial-author span { display: block; color: #94a3b8; font-size: 0.85rem; }
.project-type { color: #2563eb !important; font-weight: 600; }
.testimonial-cta { text-align: center; }
.testimonial-cta p { color: #94a3b8; margin-bottom: 8px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-heading { font-family: 'Montserrat', sans-serif; font-size: 2rem; margin-bottom: 12px; color: #0f172a; }
.contact-intro { color: #64748b; margin-bottom: 32px; line-height: 1.7; }
.contact-item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; background: #eff6ff;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-icon svg { color: #2563eb; }
.contact-item h4 { font-size: 0.95rem; margin-bottom: 2px; color: #0f172a; }
.contact-item p { color: #64748b; font-size: 0.95rem; }
.contact-item a { color: #2563eb; font-weight: 500; }
.contact-item a:hover { color: #1d4ed8; }
.contact-note { font-size: 0.8rem !important; color: #94a3b8 !important; }
.contact-form-wrapper {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 36px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.contact-form-wrapper h3 { font-size: 1.4rem; margin-bottom: 24px; color: #0f172a; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: #374151; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid #d1d5db;
  background: #fff; color: #1e293b; font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9ca3af; }
.contact-form select { color: #6b7280; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.contact-form textarea { resize: vertical; }
.form-checkbox { justify-content: flex-end; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #475569; font-weight: 400; cursor: pointer; }
.checkbox-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: #2563eb; }
.form-note { text-align: center; color: #94a3b8; font-size: 0.8rem; margin-top: 4px; }
.btn-full { width: 100%; text-align: center; justify-content: center; }
.form-checkbox { display: flex; align-items: flex-end; }

/* ===== Social ===== */
.social-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.social-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px;
  text-align: center; transition: all 0.3s;
}
.social-card:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.08); transform: translateY(-2px); border-color: #bfdbfe; }
.social-icon {
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px; background: #eff6ff;
}
.social-icon.facebook svg { color: #1877f2; }
.social-icon.instagram svg { color: #e4405f; }
.social-icon.tiktok svg { color: #000; }
.social-card h4 { font-size: 1.05rem; color: #0f172a; margin-bottom: 4px; }
.social-handle { color: #2563eb; font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; }
.social-desc { color: #94a3b8; font-size: 0.85rem; margin-bottom: 16px; line-height: 1.5; }

/* ===== Social Bar (above footer) ===== */
.social-bar {
  background: #1e293b; padding: 32px 0;
}
.social-bar-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.social-bar-text {
  color: rgba(255,255,255,0.7); font-size: 1rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
}
.social-bar-icons {
  display: flex; gap: 24px; justify-content: center;
}
.social-bar-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  transition: all 0.2s;
}
.social-bar-icons a:hover {
  background: #2563eb; transform: translateY(-2px);
}
.social-bar-icons svg { color: #fff; width: 32px; height: 32px; }

/* ===== Footer ===== */
.footer { background: #0a0f1a; color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-title { color: #fff; font-size: 1.3rem; font-weight: 800; margin-bottom: 16px; font-family: 'Montserrat', sans-serif; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; max-width: 340px; margin-bottom: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact p { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; }
.footer-contact svg { flex-shrink: 0; color: rgba(255,255,255,0.5); }
.footer-contact a { color: rgba(255,255,255,0.7); transition: color 0.2s; }
.footer-contact a:hover { color: #60a5fa; }
.footer-links h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: #60a5fa; }
.footer-cta {
  margin-top: 48px; padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-cta h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; font-family: 'Montserrat', sans-serif; }
.footer-cta p { color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.footer-bottom { padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-size: 0.85rem; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-social a:hover { color: #60a5fa; }

/* ===== Active Nav Link ===== */
.nav-links a.active { color: #fff; }
.nav-links a.active::after { width: 100%; }
#navbar.scrolled .nav-links a.active { color: #2563eb; }

/* ===== Agent Login Nav Button ===== */
.btn-outline-nav {
  display: inline-flex; align-items: center; padding: 8px 20px;
  border-radius: 6px; font-weight: 600; font-size: 0.85rem;
  border: 1.5px solid rgba(255,255,255,0.5); color: rgba(255,255,255,0.9);
  background: transparent; cursor: pointer; transition: all 0.2s;
}
.btn-outline-nav:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.1); }
#navbar.scrolled .btn-outline-nav { border-color: #2563eb; color: #2563eb; }
#navbar.scrolled .btn-outline-nav:hover { background: #eff6ff; }

/* ===== Page Hero Banner ===== */
.page-hero {
  padding: 140px 0 60px; text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff; position: relative;
}
.page-hero h1 {
  font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ===== Hero with Background Image ===== */
.hero-image-bg {
  background-size: cover; background-position: center; background-repeat: no-repeat;
}

/* ===== Team Grid ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-bottom: 48px; }
.team-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 24px;
  text-align: center; transition: all 0.3s;
}
.team-card:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.1); transform: translateY(-2px); border-color: #bfdbfe; }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-size: 1.4rem; font-weight: 800; color: #fff;
}
.team-card h3 { font-size: 1.1rem; color: #0f172a; margin-bottom: 4px; }
.team-role { color: #2563eb; font-size: 0.9rem; font-weight: 600; margin-bottom: 8px; }
.team-email { color: #64748b; font-size: 0.85rem; }
.team-email a { color: #2563eb; }
.team-email a:hover { color: #1d4ed8; }

/* ===== Blog Grid ===== */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.blog-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden;
  transition: all 0.3s;
}
.blog-card:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.1); transform: translateY(-2px); border-color: #bfdbfe; }
.blog-card-image {
  height: 200px; background-size: cover; background-position: center;
  position: relative;
}
.blog-card-image .blog-category {
  position: absolute; top: 16px; left: 16px;
  background: #2563eb; color: #fff; padding: 4px 12px; border-radius: 16px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
}
.blog-card-body { padding: 24px; }
.blog-date { font-size: 0.8rem; color: #94a3b8; margin-bottom: 8px; }
.blog-card-body h3 { font-size: 1.15rem; color: #0f172a; margin-bottom: 10px; line-height: 1.4; }
.blog-card-body h3 a { transition: color 0.2s; }
.blog-card-body h3 a:hover { color: #2563eb; }
.blog-excerpt { color: #64748b; font-size: 0.9rem; line-height: 1.6; margin-bottom: 14px; }
.blog-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.blog-tag {
  background: #f1f5f9; color: #64748b; padding: 4px 10px; border-radius: 12px;
  font-size: 0.75rem; font-weight: 500;
}
.blog-read-more { color: #2563eb; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 4px; }
.blog-read-more:hover { color: #1d4ed8; gap: 8px; transition: gap 0.2s; }

/* ===== Blog Post Layout ===== */
.blog-post-hero {
  padding: 140px 0 48px; text-align: center;
  background: linear-gradient(135deg, #0f172a, #1e3a5f); color: #fff;
}
.blog-post-hero .blog-category {
  display: inline-block; background: #2563eb; color: #fff; padding: 4px 14px;
  border-radius: 16px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
  margin-bottom: 16px;
}
.blog-post-hero h1 {
  font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 12px; max-width: 740px; margin-left: auto; margin-right: auto;
}
.blog-post-hero .blog-meta { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.blog-post-content {
  max-width: 760px; margin: 0 auto; padding: 48px 24px;
}
.blog-post-content h2 { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; color: #0f172a; margin: 32px 0 16px; }
.blog-post-content p { color: #475569; font-size: 1.02rem; line-height: 1.8; margin-bottom: 20px; }
.blog-post-content ul { margin: 16px 0 20px 24px; }
.blog-post-content li { color: #475569; font-size: 1rem; line-height: 1.7; margin-bottom: 8px; list-style: disc; }

/* ===== Feature Cards (AgentWorks) ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 24px;
  text-align: center; transition: all 0.3s;
}
.feature-card:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.1); transform: translateY(-2px); border-color: #bfdbfe; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 12px; background: #eff6ff;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.feature-icon svg { color: #2563eb; }
.feature-card h3 { font-size: 1.05rem; color: #0f172a; margin-bottom: 8px; }
.feature-card p { color: #64748b; font-size: 0.9rem; line-height: 1.6; }

/* ===== Financing Cards ===== */
.financing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.financing-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 36px;
  transition: all 0.3s;
}
.financing-card:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.08); border-color: #bfdbfe; }
.financing-card h3 { font-size: 1.15rem; color: #0f172a; margin-bottom: 10px; }
.financing-card p { color: #64748b; font-size: 0.95rem; line-height: 1.6; }

/* ===== Signup Card ===== */
.signup-card {
  background: linear-gradient(135deg, #eff6ff, #dbeafe); border-radius: 16px; padding: 36px;
  border: 1px solid #bfdbfe;
}
.signup-card h3 { font-size: 1.2rem; color: #0f172a; margin-bottom: 12px; }
.signup-card ul { margin: 16px 0 20px; }
.signup-card li { color: #475569; font-size: 0.95rem; margin-bottom: 8px; padding-left: 24px; position: relative; }
.signup-card li::before { content: '\2713'; position: absolute; left: 0; color: #2563eb; font-weight: 700; }

/* ===== Services Page Photo Cards ===== */
.service-card-lg .service-image {
  height: 260px; background-size: cover; background-position: center;
}

/* ===== Map Placeholder ===== */
.map-placeholder {
  background: #f1f5f9; border-radius: 12px; padding: 48px; text-align: center;
  color: #94a3b8; margin-top: 32px;
}
.map-placeholder svg { margin: 0 auto 12px; color: #cbd5e1; }

/* ===== Mobile ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .mobile-toggle { display: block; }

  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px 24px; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open a { color: #1e293b !important; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
  .nav-links.open a::after { display: none; }

  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .hero-badges { flex-direction: column; gap: 8px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }

  .about-grid { grid-template-columns: 1fr; }
  .about-image-placeholder { display: none; }
  .about-values { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; gap: 16px; text-align: center; }
  .team-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .financing-grid { grid-template-columns: 1fr; }
  .btn-outline-nav { display: none; }
}


/* ===== Blog Preview Section ===== */
.blog-preview {
  padding: 5rem 0;
  background: #f8f9fa;
}

.blog-preview .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-preview .section-header h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 1rem;
}

.blog-preview .section-header p {
  color: #64748b;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

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

.blog-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.blog-card-image {
  border-radius: 16px 16px 0 0;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.85rem;
  color: #3b82f6;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0.75rem 0;
  line-height: 1.4;
}

.blog-card-content p {
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blog-read-more {
  color: #3b82f6;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-read-more:hover {
  color: #2563eb;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Fix Social Icons ===== */
.footer-social a {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #3b82f6 !important;
  transform: scale(1.2);
}

.footer-social svg {
  width: 24px !important;
  height: 24px !important;
}

.social-bar-icons a {
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-bar-icons a:hover {
  transform: scale(1.1);
  background: #3b82f6;
}
