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

:root {
  --bg: #faf8f4;
  --fg: #2a3a4a;
  --card: #ffffff;
  --primary: #3b9e8f;
  --primary-fg: #ffffff;
  --secondary: #f5edd8;
  --muted: #8a9199;
  --accent: #c8913a;
  --accent-fg: #ffffff;
  --border: #e8e2d5;
  --ocean-light: #e6f3f1;
  --gold-light: #fdf5e6;
  --shadow-soft: 0 4px 20px -4px rgba(42,58,74,0.08);
  --shadow-card: 0 8px 30px -8px rgba(42,58,74,0.1);
  --shadow-elevated: 0 20px 60px -15px rgba(42,58,74,0.15);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', 'Helvetica Neue', sans-serif;
}

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: var(--font-body); background: var(--bg); color: var(--fg); line-height: 1.6; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-padding { padding: 5rem 1.5rem; }

/* NAVBAR */
.navbar { position: fixed; top:0; left:0; right:0; z-index:50; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.6); box-shadow: var(--shadow-soft); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: 0.75rem; padding-bottom: 0.75rem; }
.navbar-brand { display: flex; align-items: center; gap: 0.75rem; }
.navbar-brand img { height: 48px; width: 48px; border-radius: 50%; object-fit: cover; }
.navbar-brand-text { display: none; }
.navbar-brand-text p:first-child { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; line-height: 1.2; }
.navbar-brand-text p:last-child { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; }
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-right { display: none; align-items: center; gap: 1rem; }
.nav-phone { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; color: var(--primary); }
.btn-primary { background: var(--primary); color: var(--primary-fg); padding: 0.625rem 1.25rem; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 600; border: none; cursor: pointer; transition: opacity 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-primary:hover { opacity: 0.9; }
.btn-accent { background: var(--accent); color: var(--accent-fg); padding: 0.875rem 2rem; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 600; border: none; cursor: pointer; transition: opacity 0.2s; display: inline-flex; align-items: center; gap: 0.5rem; }
.btn-accent:hover { opacity: 0.9; }
.btn-outline { background: rgba(255,255,255,0.1); backdrop-filter: blur(4px); color: #fff; padding: 0.875rem 1.75rem; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.2); cursor: pointer; transition: background 0.2s; }
.btn-outline:hover { background: rgba(255,255,255,0.2); }
.mobile-toggle { display: block; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--fg); }
.mobile-menu { display: none; background: var(--card); border-top: 1px solid var(--border); padding: 1rem; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 0.5rem 0; font-size: 0.875rem; font-weight: 500; }
.mobile-menu a.active { color: var(--primary); }
.mobile-menu .btn-primary { display: block; text-align: center; margin-top: 0.5rem; }

@media(min-width:640px) { .navbar-brand-text { display: block; } }
@media(min-width:1024px) {
  .nav-links { display: flex; }
  .nav-right { display: flex; }
  .mobile-toggle { display: none; }
}

/* HERO */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset:0; width:100%; height:100%; object-fit: cover; }
.hero-overlay { position: absolute; inset:0; background: linear-gradient(to bottom, rgba(42,58,74,0.3), rgba(42,58,74,0.5), rgba(42,58,74,0.7)); }
.hero .container { position: relative; z-index: 2; padding-top: 8rem; padding-bottom: 8rem; }
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.875rem; margin-bottom: 0.75rem; }
.hero h1 { font-size: 2.5rem; font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 1.5rem; }
.hero h1 span { color: var(--accent); }
.hero-desc { color: rgba(255,255,255,0.8); font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; max-width: 32rem; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-form { display: none; }
@media(min-width:1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 3.5rem; }
  .hero-form { display: block; }
}

/* LEAD FORM */
.lead-form { background: var(--card); border-radius: 0.75rem; padding: 1.5rem 2rem; box-shadow: var(--shadow-card); }
.lead-form h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.lead-form input, .lead-form textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.375rem; border: 1px solid var(--border);
  background: var(--bg); color: var(--fg); font-size: 0.875rem; font-family: var(--font-body);
  margin-bottom: 1rem; outline: none; transition: border-color 0.2s;
}
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--primary); }
.lead-form textarea { resize: none; }
.lead-form .btn-primary { width: 100%; justify-content: center; padding: 0.75rem; }

/* STATS */
.stats-bar { background: var(--card); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; padding: 2.5rem 0; }
.stats-grid .stat-value { font-family: var(--font-heading); font-size: 1.875rem; font-weight: 700; color: var(--primary); }
.stats-grid .stat-label { font-size: 0.875rem; color: var(--muted); margin-top: 0.25rem; }
@media(min-width:768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* SECTION HEADING */
.section-heading { margin-bottom: 3rem; }
.section-heading.center { text-align: center; }
.section-heading .eyebrow { color: var(--primary); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.5rem; }
.section-heading h2 { font-size: 2rem; font-weight: 700; }
.section-heading .subtitle { margin-top: 0.75rem; color: var(--muted); max-width: 40rem; line-height: 1.7; }
.section-heading.center .subtitle { margin-left: auto; margin-right: auto; }
@media(min-width:640px) { .section-heading h2 { font-size: 2.25rem; } }

/* CARD */
.card { background: var(--card); border-radius: 0.75rem; box-shadow: var(--shadow-soft); transition: box-shadow 0.3s; overflow: hidden; }
.card:hover { box-shadow: var(--shadow-card); }
.card-body { padding: 1.5rem; }

/* SERVICES GRID */
.services-grid { display: grid; gap: 1.5rem; }
@media(min-width:640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .services-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } .services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.service-icon { width: 3rem; height: 3rem; border-radius: 0.5rem; background: var(--ocean-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--primary); }
.service-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.service-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; }

/* PROPERTIES GRID */
.properties-grid { display: grid; gap: 1.5rem; }
@media(min-width:640px) { .properties-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .properties-grid { grid-template-columns: repeat(3, 1fr); } }

.property-card .property-img { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.property-card .property-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.property-card:hover .property-img img { transform: scale(1.05); }
.property-price { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--primary); color: #fff; font-size: 0.875rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: 0.375rem; }
.property-status { position: absolute; top: 0.75rem; right: 0.75rem; font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.5rem; border-radius: 0.375rem; background: var(--card); color: var(--fg); }
.property-status.pending { background: var(--accent); color: #fff; }
.property-details { display: flex; gap: 1rem; font-size: 0.875rem; color: var(--muted); }

/* BG VARIATIONS */
.bg-secondary { background: var(--secondary); }
.bg-ocean-light { background: var(--ocean-light); }
.bg-card { background: var(--card); }

/* TWO-COL GRID */
.two-col { display: grid; gap: 3rem; align-items: center; }
@media(min-width:1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col img { border-radius: 0.75rem; box-shadow: var(--shadow-card); width: 100%; }

/* CHECKLIST */
.checklist { margin-bottom: 2rem; }
.checklist-item { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; font-size: 0.875rem; }
.check-icon { color: var(--primary); font-size: 1.25rem; flex-shrink: 0; }

/* TESTIMONIALS */
.testimonial-card { padding: 1.5rem; }
.stars { color: var(--accent); margin-bottom: 0.75rem; font-size: 1rem; letter-spacing: 0.1em; }
.testimonial-card blockquote { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; font-style: italic; }
.testimonial-card .author { font-family: var(--font-heading); font-weight: 600; font-size: 0.875rem; }

/* CTA BANNER */
.cta-banner { background: var(--primary); border-radius: 1rem; padding: 3rem 2rem; text-align: center; color: #fff; }
.cta-banner h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.cta-banner p { opacity: 0.8; max-width: 36rem; margin: 0 auto 2rem; }
@media(min-width:640px) { .cta-banner { padding: 3rem; } .cta-banner h2 { font-size: 2.25rem; } }

/* FOOTER */
.footer { background: var(--fg); color: #fff; }
.footer-grid { display: grid; gap: 2.5rem; }
@media(min-width:768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer h4 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
.footer a { font-size: 0.875rem; opacity: 0.7; transition: opacity 0.2s; }
.footer a:hover { opacity: 1; }
.footer p { font-size: 0.875rem; opacity: 0.7; line-height: 1.6; }
.footer-links a { display: block; margin-bottom: 0.5rem; }
.footer-contact a, .footer-contact div { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; margin-bottom: 0.75rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; }
.footer-social a:hover { background: var(--primary); opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.footer-bottom p { font-size: 0.75rem; opacity: 0.5; }
@media(min-width:640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* PAGE HEADER */
.page-header { background: var(--secondary); padding: 8rem 1.5rem 4rem; text-align: center; }
.page-header .eyebrow { color: var(--primary); font-size: 0.875rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.5rem; }
.page-header h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.page-header p { color: var(--muted); max-width: 40rem; margin: 0 auto; }
@media(min-width:640px) { .page-header h1 { font-size: 3rem; } }

/* VALUES GRID */
.values-grid { display: grid; gap: 1.5rem; }
@media(min-width:640px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
.value-card { display: flex; gap: 1rem; padding: 1.5rem; }
.value-card .service-icon { flex-shrink: 0; margin-bottom: 0; }

/* CREDENTIALS */
.credentials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media(min-width:768px) { .credentials-grid { grid-template-columns: repeat(4, 1fr); } }
.credential-card { padding: 1.25rem; display: flex; align-items: center; justify-content: center; text-align: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 500; }

/* PROCESS */
.process-grid { display: grid; gap: 1.5rem; }
@media(min-width:640px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-step { text-align: center; }
.process-num { width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.process-step h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem; }
.process-step p { font-size: 0.875rem; color: var(--muted); }

/* SERVICE POINTS */
.service-points { margin-top: 1rem; }
.service-points li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; margin-bottom: 0.5rem; }

/* FILTERS */
.filters { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
@media(min-width:640px) { .filters { flex-direction: row; } }
.search-wrap { position: relative; flex: 1; }
.search-wrap input { width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem; border-radius: 0.375rem; border: 1px solid var(--border); background: var(--card); font-size: 0.875rem; outline: none; }
.search-wrap input:focus { border-color: var(--primary); }
.search-wrap svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.filter-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn { padding: 0.625rem 1rem; border-radius: 0.375rem; font-size: 0.875rem; font-weight: 500; border: 1px solid var(--border); background: var(--card); color: var(--fg); cursor: pointer; transition: all 0.2s; }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* CONTACT */
.contact-grid { display: grid; gap: 2.5rem; }
@media(min-width:1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item .service-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-item .label { font-size: 0.875rem; color: var(--muted); }
.contact-item .value { font-size: 0.875rem; font-weight: 500; }
.contact-item a { color: var(--fg); transition: color 0.2s; }
.contact-item a:hover { color: var(--primary); }
.social-links { display: flex; gap: 0.75rem; padding-top: 1rem; }
.social-links a { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--ocean-light); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; color: var(--primary); transition: all 0.2s; }
.social-links a:hover { background: var(--primary); color: #fff; }
.map-section { height: 20rem; background: var(--secondary); }
.map-section iframe { width: 100%; height: 100%; border: 0; }

/* LINK STYLE */
.text-link { color: var(--primary); font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.text-link:hover { text-decoration: underline; }

/* SVG ICONS (inline) */
.icon { width: 1.25rem; height: 1.25rem; display: inline-block; vertical-align: middle; }
.icon-sm { width: 1rem; height: 1rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }

/* ANIMATION */
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
.animate-fade-up { animation: fadeUp 0.8s ease-out forwards; }
