/* ========== CUSTOM PROPERTIES ========== */
:root {
  --charcoal: #2D2D2D;
  --charcoal-light: #3D3D3D;
  --coral: #E07A5F;
  --coral-dark: #C96A52;
  --coral-light: #F2D5C9;
  --cream: #FDF6F0;
  --cream-dark: #F5EDE6;
  --white: #FFFFFF;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(45,45,45,0.06);
  --shadow-md: 0 8px 30px rgba(45,45,45,0.10);
  --shadow-lg: 0 16px 50px rgba(45,45,45,0.14);
  --shadow-coral: 0 8px 30px rgba(224,122,95,0.30);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'DM Sans', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
label { font-weight: 500; font-size: 0.875rem; color: var(--charcoal); }
input, select, textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--coral-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(224,122,95,0.15);
}
textarea { resize: vertical; min-height: 100px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23E07A5F' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

/* ========== UTILITIES ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  background: var(--coral-light);
  padding: 0.35rem 0.875rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-desc { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.7; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  padding: 0.8125rem 1.75rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-coral);
}
.btn-coral:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 12px 35px rgba(224,122,95,0.35); }
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--coral); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: var(--white); transform: translateY(-2px); }
.btn-sm { padding: 0.5625rem 1.25rem; font-size: 0.8125rem; border-radius: var(--radius-sm); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253,246,240,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(224,122,95,0.12);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 0.625rem; font-weight: 700; font-size: 1.125rem; color: var(--charcoal); }
.logo-accent { color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 500; font-size: 0.9375rem; color: var(--charcoal); transition: color var(--transition); }
.nav-links a:hover { color: var(--coral); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all var(--transition); }
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: var(--cream);
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--transition);
}
.mobile-menu.open { display: flex; opacity: 1; transform: translateY(0); }
.mobile-menu a { font-size: 1.125rem; font-weight: 500; color: var(--charcoal); padding: 0.5rem 0; }
.mobile-menu a:hover { color: var(--coral); }

/* ========== HERO ========== */
.hero {
  padding: 8rem 0 5rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 80%, rgba(224,122,95,0.07) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(224,122,95,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--coral);
  background: var(--coral-light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1.25rem;
}
.hero-sub { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* HERO VISUAL */
.hero-visual { position: relative; }
.hero-card-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card-main img { width: 100%; height: 380px; object-fit: cover; }
.hero-card-main-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--white);
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* FLOATING CARDS */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}
.float-card--1 { top: -20px; right: -20px; animation-delay: 0s; }
.float-card--2 { bottom: 60px; left: -30px; animation-delay: 1.3s; }
.float-card--3 { bottom: -15px; right: 40px; animation-delay: 2.6s; }
.float-card-icon { flex-shrink: 0; width: 44px; height: 44px; background: var(--coral-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.float-card-text { display: flex; flex-direction: column; }
.float-card-text strong { font-size: 1rem; color: var(--charcoal); line-height: 1.2; }
.float-card-text span { font-size: 0.75rem; color: var(--text-muted); }

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

/* ========== TRUST BAR ========== */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--coral-light);
  border-bottom: 1px solid var(--coral-light);
  padding: 1.5rem 0;
}
.trust-grid { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 0.625rem; font-weight: 500; font-size: 0.9375rem; color: var(--charcoal); }
.trust-item svg { flex-shrink: 0; }

/* ========== HOMES ========== */
.homes { background: var(--white); }
.homes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.home-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.home-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.home-card-img { position: relative; overflow: hidden; }
.home-card-img img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.home-card:hover .home-card-img img { transform: scale(1.05); }
.home-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--coral);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3125rem 0.75rem;
  border-radius: 50px;
}
.home-card-body { padding: 1.5rem; }
.home-card-body h3 { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.5rem; }
.home-card-desc { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.home-card-features { margin-bottom: 1.25rem; }
.home-card-features li { font-size: 0.875rem; color: var(--text-muted); padding: 0.25rem 0; display: flex; align-items: center; gap: 0.5rem; }
.home-card-features li::before { content: ''; width: 6px; height: 6px; background: var(--coral); border-radius: 50%; flex-shrink: 0; }

/* ========== AMENITIES ========== */
.amenities { background: var(--cream); }
.amenities-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.amenities-visual { position: relative; }
.amenities-img-main { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.amenities-img-main img { width: 100%; height: 400px; object-fit: cover; }
.amenities-img-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
}
.amenities-img-accent img { width: 260px; height: 200px; object-fit: cover; }
.amenities-content { }
.amenities-list { display: flex; flex-direction: column; gap: 1.5rem; margin: 2rem 0; }
.amenity-item { display: flex; gap: 1rem; align-items: flex-start; }
.amenity-icon { flex-shrink: 0; width: 48px; height: 48px; background: var(--coral-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.amenity-item strong { display: block; font-size: 1rem; color: var(--charcoal); margin-bottom: 0.1875rem; }
.amenity-item span { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ========== NEIGHBORHOOD ========== */
.neighborhood { background: var(--white); }
.neighborhood-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.neighborhood-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  transition: transform var(--transition), box-shadow var(--transition);
}
.neighborhood-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.neighborhood-card img { width: 100%; height: 200px; object-fit: cover; }
.neighborhood-card h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; color: var(--charcoal); padding: 1.25rem 1.5rem 0.5rem; }
.neighborhood-card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; padding: 0 1.5rem 1.5rem; }

/* ========== ABOUT ========== */
.about { background: var(--cream); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.25rem; }
.about-stats { display: flex; gap: 2rem; margin-top: 2rem; }
.about-stat { display: flex; flex-direction: column; }
.about-stat strong { font-family: var(--font-heading); font-size: 1.5rem; color: var(--coral); line-height: 1.2; }
.about-stat span { font-size: 0.875rem; color: var(--text-muted); }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius-xl); width: 100%; height: 520px; object-fit: cover; box-shadow: var(--shadow-md); }
.about-image-accent {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 160px;
  height: 160px;
  background: var(--coral-light);
  border-radius: var(--radius-xl);
  z-index: -1;
}

/* ========== CTA ========== */
.cta { background: var(--charcoal); padding: 5rem 0; }
.cta-card {
  background: var(--charcoal-light);
  border-radius: var(--radius-xl);
  padding: 4rem;
  position: relative;
  overflow: hidden;
}
.cta-content { position: relative; z-index: 1; max-width: 560px; }
.cta-title { font-family: var(--font-heading); font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: var(--white); line-height: 1.2; margin-bottom: 1rem; }
.cta-text { font-size: 1.0625rem; color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.cta-decoration {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  background: rgba(224,122,95,0.15);
  border-radius: 50%;
  pointer-events: none;
}
.cta-decoration::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  width: 180px;
  height: 180px;
  background: rgba(224,122,95,0.1);
  border-radius: 50%;
}

/* ========== CONTACT ========== */
.contact { background: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info { }
.contact-desc { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; }
.contact-detail-icon { flex-shrink: 0; width: 44px; height: 44px; background: var(--coral-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.contact-detail strong { display: block; font-size: 0.9375rem; color: var(--charcoal); margin-bottom: 0.125rem; }
.contact-detail span, .contact-detail a { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }
.contact-detail a:hover { color: var(--coral); }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }

/* CONTACT FORM */
.contact-form-wrap { }
.contact-form {
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.375rem; }
.form-note { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.375rem; }
.form-success {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--coral-light);
  color: var(--coral-dark);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

/* ========== FOOTER ========== */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.7); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-links strong { color: var(--white); font-size: 0.9375rem; margin-bottom: 0.25rem; }
.footer-links a { font-size: 0.9375rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--coral); }
.footer-contact { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-contact strong { color: var(--white); font-size: 0.9375rem; margin-bottom: 0.25rem; }
.footer-contact p { font-size: 0.9375rem; line-height: 1.7; }
.footer-contact a { transition: color var(--transition); }
.footer-contact a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8125rem; }

/* ========== ANIMATIONS ========== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 560px; }
  .amenities-layout,
  .about-layout,
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .amenities-img-accent { right: 0; }
  .homes-grid { grid-template-columns: repeat(2, 1fr); }
  .neighborhood-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  .hero { padding: 7rem 0 4rem; min-height: auto; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .float-card { display: none; }
  .section { padding: 4rem 0; }
  .homes-grid,
  .neighborhood-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: column; gap: 1rem; }
  .cta-card { padding: 2.5rem 1.5rem; }
  .cta-actions { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-grid { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-headline { font-size: 1.75rem; }
  .contact-form { padding: 1.5rem; }
}
