/*
Theme Name: Realty
Theme URI: https://smartlandrealty.com
Author: Sam M.
Author URI: https://smartlandrealty.com
Description: A professional real estate theme for Smartland Realty. Features property listings, agent profiles, and comprehensive real estate services pages.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: realty
Tags: real-estate, property, custom-menu, custom-logo, featured-images, theme-options

This theme is designed specifically for real estate businesses with MLS integration support.
*/

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

:root {
  --background: #ffffff;
  --foreground: #1a2744;
  --card: #ffffff;
  --card-foreground: #1a2744;
  --primary: #1a2a4a;
  --primary-foreground: #ffffff;
  --secondary: #f5f6f8;
  --secondary-foreground: #1a2744;
  --muted: #f5f6f8;
  --muted-foreground: #6b7a94;
  --accent: #d4a84b;
  --accent-foreground: #1a2a4a;
  --border: #e5e7eb;
  --radius: 0.5rem;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }

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

img { max-width: 100%; height: auto; }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-primary { color: var(--primary); }
.logo-accent { color: var(--accent); }

/* Navigation */
.nav { display: flex; gap: 2rem; }
.nav a, .nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul { display: flex; gap: 2rem; }
.nav li a { font-size: 0.875rem; font-weight: 500; transition: color 0.3s; display: block; }
.nav li a:hover, .nav li.current-menu-item a, .nav li.current_page_item a { color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.phone-link { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }

/* Mobile Menu */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }

.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  z-index: 40;
  display: none;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
  display: block;
  padding: 1.25rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, color 0.3s;
}

.mobile-menu a:hover, .mobile-menu .current-menu-item a {
  background: rgba(212,168,75,0.1);
  color: var(--accent);
}

.mobile-menu ul { list-style: none; margin: 0; padding: 0; }

.mobile-menu-footer {
  padding: 1.5rem;
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: var(--secondary);
}

.mobile-menu-footer .phone-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 1rem;
  background: var(--card);
  border-radius: var(--radius);
}

.mobile-menu-footer .btn { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-premium {
  background: var(--accent);
  color: var(--primary);
}

.btn-premium:hover {
  background: #c9993f;
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(212,168,75,0.3);
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover { background: #152238; }

.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover { background: rgba(26,42,74,0.1); }

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

.btn-hero-outline {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  border: 2px solid white;
  color: white;
}

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

/* Hero */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.hero.hero-short { height: 40vh; }
.hero.hero-medium { height: 50vh; }

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,42,74,0.8), rgba(26,42,74,0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.text-gradient {
  background: linear-gradient(to right, var(--accent), #f0b84d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }

/* Search Box */
.search-box {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.search-box input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: none;
  font-size: 1rem;
  outline: none;
}

.search-box-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.search-input { position: relative; }
.search-input input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
}
.search-input svg {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
}

.search-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  background: white;
  width: 100%;
}

.search-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Stats */
.stats {
  background: var(--primary);
  color: white;
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-label { opacity: 0.8; }

/* Sections */
.section { padding: 4rem 0; }
.section-secondary { background: var(--secondary); }
.section-gray { background: #fafafa; }
.section-primary { background: var(--primary); color: white; }
.section-accent { background: var(--accent); color: var(--accent-foreground); }

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

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

.section-primary .section-header p { color: rgba(255,255,255,0.9); }
.section-accent .section-header p { color: rgba(26,42,74,0.9); }

.section-intro h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-intro p { font-size: 1.25rem; color: var(--muted-foreground); max-width: 700px; margin-bottom: 2rem; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }

/* Property Cards */
.property-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.property-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.property-card:hover .property-image img { transform: scale(1.1); }

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.property-content { padding: 1.5rem; }

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.property-address { font-weight: 500; margin-bottom: 0.25rem; }
.property-city { color: var(--muted-foreground); margin-bottom: 1rem; }

.property-features {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* Service Cards */
.service-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.service-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,0.1); }

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(212,168,75,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon svg { width: 28px; height: 28px; color: var(--accent); }

.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card p { color: var(--muted-foreground); }

/* Agent Cards */
.agent-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.agent-card:hover { transform: translateY(-5px); }

.agent-image {
  height: 280px;
  overflow: hidden;
}

.agent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.agent-info { padding: 1.5rem; }
.agent-info h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.agent-title { color: var(--accent); font-weight: 500; margin-bottom: 0.5rem; }

/* Blog Cards */
.blog-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

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

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.blog-content { padding: 1.5rem; }
.blog-category {
  display: inline-block;
  background: rgba(212,168,75,0.1);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.blog-content h3 { font-size: 1.25rem; margin-bottom: 0.75rem; line-height: 1.3; }
.blog-content h3 a { color: inherit; }
.blog-content h3 a:hover { color: var(--accent); }
.blog-content p { color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 1rem; }
.blog-meta { display: flex; gap: 1rem; font-size: 0.75rem; color: var(--muted-foreground); }
.blog-link { color: var(--accent); font-weight: 600; font-size: 0.875rem; }
.blog-link:hover { text-decoration: underline; }

/* Two Column Layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.two-col > div > p { font-size: 1.125rem; color: var(--muted-foreground); margin-bottom: 1.5rem; }
.two-col img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.15); }

/* Why Choose Us */
.why-choose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.why-choose h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.why-choose > div > p { font-size: 1.125rem; color: var(--muted-foreground); margin-bottom: 2rem; }

.checklist { list-style: none; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.check-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-image-wrapper { position: relative; }
.why-image { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0,0,0,0.2); }

.award-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.award-badge svg { width: 48px; height: 48px; margin-bottom: 0.5rem; }
.award-badge p { font-weight: 700; }
.award-badge span { font-size: 0.875rem; }

/* Value Cards */
.value-card { text-align: center; padding: 1.5rem; }
.value-icon {
  width: 60px;
  height: 60px;
  background: rgba(212,168,75,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.value-icon svg { width: 28px; height: 28px; color: var(--accent); }
.value-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.value-card p { color: var(--muted-foreground); font-size: 0.875rem; }

/* Management Cards */
.mgmt-card { background: var(--card); padding: 1rem; border-radius: var(--radius); margin-bottom: 1rem; }
.mgmt-card h4 { font-weight: 600; margin-bottom: 0.5rem; }
.mgmt-card p { color: var(--muted-foreground); font-size: 0.875rem; }

/* Testimonials */
.testimonials-wrapper { position: relative; }

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

.testimonial-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border-left: 4px solid var(--accent);
}

.testimonial-card p { font-size: 1rem; color: var(--muted-foreground); font-style: italic; margin-bottom: 1rem; }
.testimonial-author { font-weight: 600; }
.testimonial-location { font-size: 0.875rem; color: var(--muted-foreground); }

/* MLS Info */
.mls-info { max-width: 700px; margin: 0 auto; text-align: center; }
.mls-info h2 { font-size: 2rem; margin-bottom: 1rem; }
.mls-info p { color: var(--muted-foreground); }
.mls-info p:last-child { font-size: 0.875rem; margin-top: 1rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 3rem; }

.contact-info h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.contact-info > p { color: var(--muted-foreground); margin-bottom: 2rem; }

.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(212,168,75,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 24px; height: 24px; color: var(--accent); }
.contact-item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.25rem; }
.contact-item p, .contact-item a { color: var(--muted-foreground); font-size: 0.875rem; }
.contact-item a:hover { color: var(--accent); }

.contact-form-wrapper {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}
.contact-form-wrapper h3 { font-size: 1.5rem; margin-bottom: 1.5rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 150px; }

.map-section { height: 400px; background: var(--muted); }
.map-section iframe { width: 100%; height: 100%; border: 0; }

.emergency { text-align: center; }
.emergency h2 { font-size: 2rem; margin-bottom: 1rem; }
.emergency p { font-size: 1.25rem; margin-bottom: 1.5rem; opacity: 0.9; }
.emergency a { font-size: 1.5rem; font-weight: 700; color: var(--accent); display: inline-flex; align-items: center; gap: 0.5rem; }
.emergency a:hover { opacity: 0.9; }

/* CTA */
.cta { text-align: center; }
.cta h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
.cta p { font-size: 1.25rem; margin-bottom: 2rem; opacity: 0.9; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Footer */
.footer {
  background: var(--primary);
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.footer h4 { font-size: 1.125rem; margin-bottom: 1rem; }
.footer p, .footer li, .footer a { opacity: 0.8; font-size: 0.875rem; }
.footer a:hover { opacity: 1; color: var(--accent); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.5rem; }

.social-links { display: flex; gap: 1rem; margin-top: 1rem; }
.social-links a { opacity: 0.8; transition: opacity 0.3s; }
.social-links a:hover { opacity: 1; }
.social-links svg { width: 20px; height: 20px; }

.footer-contact-item { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }
.footer-contact-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  opacity: 0.6;
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }

/* Single Post */
.single-post { max-width: 800px; margin: 0 auto; }
.single-post-header { margin-bottom: 2rem; }
.single-post-meta { display: flex; gap: 1rem; color: var(--muted-foreground); font-size: 0.875rem; margin-bottom: 1rem; }
.single-post-content { line-height: 1.8; }
.single-post-content p { margin-bottom: 1.5rem; }
.single-post-content h2 { margin: 2rem 0 1rem; }
.single-post-content h3 { margin: 1.5rem 0 1rem; }
.single-post-content img { border-radius: var(--radius); margin: 2rem 0; }
.single-post-content blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted-foreground);
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* Load More */
.load-more-wrapper { text-align: center; margin-top: 3rem; }
.load-more-wrapper.loading .btn { opacity: 0.5; pointer-events: none; }
.load-more-wrapper .spinner {
  display: none;
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}
.load-more-wrapper.loading .spinner { display: block; }

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Pagination */
.pagination { margin-top: 3rem; }
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pagination-numbers {
  display: flex;
  gap: 0.25rem;
}
.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.pagination-link:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.pagination-current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-foreground);
}
.pagination-prev,
.pagination-next {
  padding: 0 1rem;
}

/* Legal Content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--muted-foreground);
}
.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Check List */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.check-list li svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Testimonial Stars */
.testimonial-stars {
  color: var(--accent);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Legal Section */
.legal-section {
  margin-bottom: 2rem;
}
.legal-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.legal-section p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.legal-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--muted-foreground);
}
.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.contact-details {
  margin-top: 1rem;
  color: var(--muted-foreground);
}
.contact-details p {
  margin-bottom: 0.25rem;
}

/* Contact Items */
.contact-items { margin-top: 2rem; }

/* Agent Card Additions */
.agent-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.specialty-tag {
  background: rgba(212,168,75,0.1);
  color: var(--accent);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}
.agent-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}
.agent-phone, .agent-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
}
.agent-phone:hover, .agent-email:hover {
  color: var(--accent);
}
.agent-phone svg, .agent-email svg {
  width: 16px;
  height: 16px;
}

/* Services Page Additions */
.process-box {
  background: var(--secondary);
  padding: 2rem;
  border-radius: var(--radius);
  margin-top: 2rem;
}
.process-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.process-number {
  font-weight: 700;
  color: var(--accent);
  margin-right: 0.75rem;
}

.marketing-box {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin-top: 2rem;
}
.marketing-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.marketing-box > p {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}
.marketing-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.marketing-list li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.marketing-list .bullet {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 0.75rem;
}

.service-list {
  margin: 1.5rem 0;
}
.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.service-list-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--accent);
}
.service-list-icon svg {
  width: 24px;
  height: 24px;
}
.service-list-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.service-list-item p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.management-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.management-feature {
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
}
.management-feature h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.management-feature p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* 404 Page */
.not-found-icon {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}
.not-found-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Form Row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Emergency Phone */
.emergency-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}
.emergency-phone:hover {
  opacity: 0.9;
}

/* WordPress Specific */
.wp-block-image img { max-width: 100%; height: auto; }
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 1.5rem; }
.alignright { float: right; margin-left: 1.5rem; }

/* Responsive */
@media (max-width: 1024px) {
  .nav, .header-cta { display: none; }
  .mobile-menu-btn { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-choose, .two-col { grid-template-columns: 1fr; }
  .why-image-wrapper { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .section { padding: 3rem 0; }
  .section-header h2 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .search-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .not-found-links { flex-direction: column; }
}
