@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary: #003DA5;
  --primary-light: #0056d6;
  --accent: #E4002B;
  --bg: #f8f9fa;
  --card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #5a5a6e;
  --border: #e2e4e9;
  --radius: 10px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-light); }

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ── Header ─────────────────────────────────── */
.site-header {
  background: var(--card);
  border-bottom: 3px solid var(--accent);
  padding: 16px 0;
  position: sticky; top: 0; z-index: 100;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.site-logo {
  display: flex; align-items: center; gap: 14px;
}
.site-logo .logo-icon {
  width: 46px; height: 46px; background: var(--primary); color: #fff;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 20px;
}
.site-logo-text h2 { font-size: 18px; color: var(--text); margin: 0; }
.site-logo-text span { font-size: 12px; color: var(--text-muted); }

nav { display: flex; gap: 24px; }
nav a { font-size: 14px; font-weight: 500; color: var(--text-muted); transition: color .2s; }
nav a:hover, nav a.active { color: var(--primary); }

/* ── Hero ────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #001f5c 100%);
  color: #fff; padding: 80px 0 70px; text-align: center;
}
.hero h1 { font-size: 42px; margin-bottom: 12px; }
.hero p { font-size: 18px; opacity: .85; max-width: 600px; margin: 0 auto 28px; }
.hero-tag {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 6px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; letter-spacing: .5px;
}

/* ── Section titles ──────────────────────────── */
.section { padding: 60px 0; }
.section-title {
  font-size: 30px; text-align: center; margin-bottom: 10px;
}
.section-subtitle {
  text-align: center; color: var(--text-muted); font-size: 15px; margin-bottom: 40px;
}

/* ── Property Cards ──────────────────────────── */
.property-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.property-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: transform .2s, box-shadow .2s;
}
.property-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.property-card-img {
  height: 180px; background: linear-gradient(135deg, #ccd5e0 0%, #a8b8cc 100%);
  display: flex; align-items: center; justify-content: center; color: #6b7f99; font-size: 48px;
  position: relative;
}
.property-card-badge {
  position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 4px;
}
.property-card-body { padding: 18px; }
.property-card-body .listing-price { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.property-card-body .listing-address { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.property-card-specs { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); }
.property-card-specs span { display: flex; align-items: center; gap: 4px; }
.property-card-mls { font-size: 11px; color: #999; margin-top: 10px; }

/* ── About / Bio ─────────────────────────────── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; align-items: start;
}
.about-photo {
  width: 100%; aspect-ratio: 3/4; background: linear-gradient(135deg, var(--primary) 0%, #001f5c 100%);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 64px; font-family: 'Playfair Display', serif; font-weight: 700;
}
.about-text h3 { font-size: 24px; margin-bottom: 14px; }
.about-text p { color: var(--text-muted); margin-bottom: 14px; }
.about-text .about-motto {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 18px; color: var(--primary); border-left: 3px solid var(--accent); padding-left: 14px;
  margin-top: 20px;
}

/* ── Testimonials ────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-size: 48px; font-family: 'Playfair Display', serif;
  color: var(--primary); opacity: .2; position: absolute; top: 10px; left: 18px;
}
.testimonial-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; padding-top: 20px; }
.testimonial-card .testimonial-author { font-weight: 600; color: var(--text); font-size: 13px; }

/* ── Contact CTA ─────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #001f5c 100%);
  color: #fff; padding: 60px 0; text-align: center;
}
.cta-section h2 { color: #fff; margin-bottom: 12px; font-size: 28px; }
.cta-section p { opacity: .85; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-section .contact-info { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; font-size: 15px; }
.cta-section .contact-info a { color: #fff; font-weight: 500; }

/* ── Footer ──────────────────────────────────── */
.site-footer {
  background: #111827; color: #9ca3af; padding: 30px 0; text-align: center; font-size: 13px;
}
.site-footer a { color: #d1d5db; }

/* ── Property Detail Page ────────────────────── */
.property-hero {
  height: 360px; background: linear-gradient(135deg, #ccd5e0 0%, #8da0b8 100%);
  display: flex; align-items: center; justify-content: center; color: #5a7080; font-size: 80px;
}
.property-detail { padding: 40px 0 60px; }
.property-detail-header {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px;
  margin-bottom: 30px;
}
.property-detail-header h1 { font-size: 30px; }
.property-detail-header .listing-price { font-size: 28px; font-weight: 700; color: var(--primary); }
.property-detail-header .listing-address { font-size: 15px; color: var(--text-muted); margin-top: 4px; }

.property-specs {
  display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 30px;
  padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.property-specs .spec { text-align: center; min-width: 90px; }
.property-specs .spec-value { font-size: 22px; font-weight: 700; color: var(--text); }
.property-specs .spec-label { font-size: 12px; color: var(--text-muted); }

.property-description {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  margin-bottom: 30px;
}
.property-description h2 { font-size: 22px; margin-bottom: 14px; }
.property-description p { color: var(--text-muted); }

.property-features ul {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; list-style: none;
}
.property-features li {
  padding: 10px 16px; background: #eef2ff; border-radius: 8px; font-size: 14px; color: var(--primary);
}

.agent-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
  margin-top: 30px; display: flex; align-items: center; gap: 20px;
}
.agent-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #001f5c);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 24px; font-weight: 700; font-family: 'Playfair Display', serif; flex-shrink: 0;
}
.agent-details h4 { font-size: 18px; margin-bottom: 2px; }
.agent-details .agent-title { color: var(--primary); font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.agent-details .agent-contact { font-size: 13px; color: var(--text-muted); }

.widget-cta {
  margin-top: 30px; padding: 24px; background: #eef2ff; border-radius: var(--radius); text-align: center;
}
.widget-cta h3 { color: var(--primary); margin-bottom: 8px; font-size: 18px; }
.widget-cta p { color: var(--text-muted); font-size: 14px; }

.back-link { display: inline-block; margin-bottom: 20px; font-size: 14px; font-weight: 500; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 768px) {
  .hero h1 { font-size: 30px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; margin: 0 auto; }
  nav { gap: 14px; }
  .property-detail-header { flex-direction: column; }
}
