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

:root {
  --terracotta: #b06a3b;
  --terracotta-light: #d4a574;
  --terracotta-dark: #7a4a28;
  --cream: #ffffff;
  --warm-white: #ffffff;
  --charcoal: #2d2a26;
  --gold: #c4a265;
  --muted: #8a8580;
  --border: #e8e4e0;
  --bg: #ffffff;
}

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

body {
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

/* Top Bar */
.top-bar {
  background: var(--charcoal);
  color: var(--warm-white);
  font-size: 0.875rem;
  padding: 0.5rem 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--warm-white); display: flex; align-items: center; gap: 0.375rem; }
.top-bar a:hover { color: var(--terracotta-light); }
.top-bar .tagline { letter-spacing: 0.3em; font-size: 0.75rem; text-transform: uppercase; color: var(--terracotta-light); }
@media (max-width: 768px) { .top-bar { display: none; } }

/* Navbar */
.navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(176,106,59,0.1);
  padding: 0.75rem 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar .logo img { height: 4rem; width: auto; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--terracotta); border-bottom-color: var(--terracotta); }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.mobile-toggle svg { width: 24px; height: 24px; stroke: var(--charcoal); }
.mobile-menu { display: none; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .mobile-menu.open { display: flex; flex-direction: column; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--border); }
  .mobile-menu a { font-size: 0.875rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--charcoal); padding: 0.5rem 0; border-bottom: 1px solid rgba(176,106,59,0.1); }
  .mobile-menu a:hover { color: var(--terracotta); }
}

/* Hero Sections */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(45,42,38,0.5), rgba(45,42,38,0.3), rgba(45,42,38,0.6)); }
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 1rem; max-width: 56rem; margin: 0 auto; }
.hero-logo-box { display: inline-block; background: rgba(255,255,255,0.9); backdrop-filter: blur(4px); border-radius: 0.5rem; padding: 1.5rem 2rem; margin-bottom: 2rem; box-shadow: 0 25px 50px rgba(0,0,0,0.25); }
.hero-logo-box img { height: 6rem; width: auto; }
@media (min-width: 768px) { .hero-logo-box img { height: 9rem; } }
.hero-tagline { color: rgba(255,255,255,0.9); letter-spacing: 0.4em; font-size: 0.875rem; text-transform: uppercase; margin-bottom: 1.5rem; }
.hero-subtitle { color: rgba(255,255,255,0.8); font-size: 1.125rem; max-width: 42rem; margin: 0 auto 2.5rem; line-height: 1.7; }
@media (min-width: 768px) { .hero-subtitle { font-size: 1.25rem; } }

.page-hero {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  text-align: center;
}
.page-hero .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero .hero-overlay { position: absolute; inset: 0; background: rgba(45,42,38,0.6); }
.page-hero h1 { position: relative; z-index: 10; color: var(--warm-white); font-size: 2.5rem; margin-bottom: 1rem; }
.page-hero p { position: relative; z-index: 10; color: rgba(255,255,255,0.8); max-width: 36rem; margin: 0 auto; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3rem; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Lato', sans-serif;
  font-weight: 400;
}
.btn-primary { background: var(--terracotta); color: var(--warm-white); }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-outline { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: var(--warm-white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }
.btn-outline-tc { background: transparent; border: 1px solid var(--terracotta); color: var(--terracotta); }
.btn-outline-tc:hover { background: var(--terracotta); color: var(--warm-white); }

/* Sections */
.section { padding: 5rem 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--warm-white); }
.section-charcoal { background: var(--charcoal); color: var(--warm-white); }
.section-label { font-size: 0.75rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1rem; display: block; }
.section-title { font-size: 1.875rem; color: var(--charcoal); margin-bottom: 1rem; }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-title-white { color: var(--warm-white); }
.section-subtitle { color: var(--muted); max-width: 42rem; margin: 0 auto; line-height: 1.7; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

/* Luxury Divider */
.luxury-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 20rem;
  margin: 0 auto 1.5rem;
}
.luxury-divider::before, .luxury-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(176,106,59,0.4), transparent);
}

/* Grid */
.grid { display: grid; gap: 2rem; }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Value Cards */
.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--warm-white);
  border-radius: 0.5rem;
  border: 1px solid rgba(176,106,59,0.1);
  transition: all 0.3s;
}
.value-card:hover { border-color: rgba(176,106,59,0.3); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.value-card .icon-circle {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(176,106,59,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.value-card .icon-circle svg { width: 1.5rem; height: 1.5rem; color: var(--terracotta); stroke: var(--terracotta); fill: none; }
.value-card h3 { font-size: 1.25rem; color: var(--charcoal); margin-bottom: 0.75rem; }
.value-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* Property Cards */
.property-card {
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.5s;
}
.property-card:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.property-card .image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.property-card .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.property-card:hover .image-wrap img { transform: scale(1.05); }
.property-card .badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--terracotta);
  color: var(--warm-white);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
}
.property-card .price-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(45,42,38,0.8), transparent);
  padding: 2rem 1rem 1rem;
}
.property-card .price {
  color: var(--warm-white);
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Cormorant Garamond', serif;
}
.property-card .details { padding: 1.25rem; }
.property-card .details h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s;
}
.property-card:hover .details h3 { color: var(--terracotta); }
.property-card .address { display: flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; color: var(--muted); margin-bottom: 1rem; }
.property-card .address svg { width: 0.875rem; height: 0.875rem; color: var(--terracotta); stroke: var(--terracotta); fill: none; flex-shrink: 0; }
.property-card .stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.property-card .stats-left { display: flex; gap: 1rem; font-size: 0.875rem; color: var(--muted); }
.property-card .stats-left span { display: flex; align-items: center; gap: 0.375rem; }
.property-card .stats-left svg { width: 1rem; height: 1rem; color: rgba(176,106,59,0.7); stroke: rgba(176,106,59,0.7); fill: none; }
.property-card .type-label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(176,106,59,0.7); }

/* CTA Section */
.cta-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  text-align: center;
}
.cta-section .hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cta-section .hero-overlay { position: absolute; inset: 0; background: rgba(45,42,38,0.7); }
.cta-section .container { position: relative; z-index: 10; }
.cta-section h2 { color: var(--warm-white); font-size: 1.875rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .cta-section h2 { font-size: 2.25rem; } }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 36rem; margin: 0 auto 2rem; line-height: 1.7; }

/* Stats Bar */
.stats-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center; }
@media (min-width: 768px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }
.stats-bar .stat svg { width: 1.5rem; height: 1.5rem; color: var(--terracotta-light); stroke: var(--terracotta-light); fill: none; margin: 0 auto 0.75rem; }
.stats-bar .stat .value { font-size: 1.875rem; color: var(--warm-white); font-weight: 600; font-family: 'Cormorant Garamond', serif; margin-bottom: 0.25rem; }
.stats-bar .stat .label { color: rgba(255,255,255,0.6); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Area Tags */
.area-tag {
  background: var(--warm-white);
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(176,106,59,0.1);
  text-align: center;
  transition: all 0.3s;
}
.area-tag:hover { border-color: rgba(176,106,59,0.3); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.area-tag svg { width: 1rem; height: 1rem; color: var(--terracotta); stroke: var(--terracotta); fill: none; margin: 0 auto 0.5rem; }
.area-tag p { font-size: 0.875rem; color: var(--charcoal); }

/* Contact Info */
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(176,106,59,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 1.25rem; height: 1.25rem; color: var(--terracotta); stroke: var(--terracotta); fill: none; }
.contact-info-item h4 { color: var(--charcoal); font-weight: 500; margin-bottom: 0.25rem; font-family: 'Lato', sans-serif; }
.contact-info-item p, .contact-info-item a { color: var(--muted); font-size: 0.875rem; }
.contact-info-item a:hover { color: var(--terracotta); }

/* Contact Form */
.contact-form-box {
  background: var(--warm-white);
  border-radius: 0.5rem;
  border: 1px solid rgba(176,106,59,0.1);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(176,106,59,0.2);
  border-radius: 2px;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: var(--charcoal);
  background: #fff;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--terracotta); }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Footer */
.footer { background: var(--charcoal); color: var(--warm-white); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
.footer .logo-img { height: 5rem; width: auto; filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 1rem; }
.footer p { font-size: 0.875rem; color: rgba(255,255,255,0.7); line-height: 1.7; }
.footer h4 { font-size: 1.125rem; letter-spacing: 0.05em; margin-bottom: 1.5rem; color: var(--terracotta-light); font-family: 'Cormorant Garamond', serif; }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; }
.footer-links a:hover { color: var(--terracotta-light); }
.footer-contact { display: flex; flex-direction: column; gap: 1rem; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.footer-contact a:hover { color: var(--terracotta-light); }
.footer-contact svg { width: 1rem; height: 1rem; color: var(--terracotta-light); stroke: var(--terracotta-light); fill: none; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* Listing Detail */
.breadcrumb { background: var(--cream); border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
.breadcrumb a { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb svg { width: 1rem; height: 1rem; }
.detail-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: 2fr 1fr; } }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
.gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0.5rem; }
.key-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 1.5rem; background: var(--warm-white); border-radius: 0.5rem; border: 1px solid rgba(176,106,59,0.1); margin-bottom: 2rem; }
@media (min-width: 768px) { .key-stats { grid-template-columns: repeat(4, 1fr); } }
.key-stat { text-align: center; }
.key-stat svg { width: 1.5rem; height: 1.5rem; color: var(--terracotta); stroke: var(--terracotta); fill: none; margin: 0 auto 0.5rem; }
.key-stat .val { font-size: 1.5rem; font-weight: 600; color: var(--charcoal); font-family: 'Cormorant Garamond', serif; }
.key-stat .lbl { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--muted); }
.feature-item svg { width: 1rem; height: 1rem; color: var(--terracotta); stroke: var(--terracotta); fill: none; flex-shrink: 0; }
.sidebar-form {
  position: sticky;
  top: 6rem;
  background: var(--warm-white);
  border-radius: 0.5rem;
  border: 1px solid rgba(176,106,59,0.1);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Filter bar */
.filter-bar { background: var(--warm-white); border-bottom: 1px solid var(--border); padding: 1rem 0; position: sticky; top: 73px; z-index: 40; }
.filter-bar .container { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }
.filter-bar select {
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(176,106,59,0.2);
  border-radius: 2px;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: var(--charcoal);
  background: #fff;
  cursor: pointer;
}
.filter-bar select:focus { outline: none; border-color: var(--terracotta); }
.search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  border: 1px solid rgba(176,106,59,0.2);
  border-radius: 2px;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: var(--charcoal);
  background: #fff;
  position: relative;
}
.search-wrap { position: relative; flex: 1; min-width: 200px; }
.search-wrap svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; color: var(--muted); stroke: var(--muted); fill: none; }
.results-count { font-size: 0.875rem; color: var(--muted); margin-bottom: 2rem; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}
.scroll-indicator .pill {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}
.scroll-indicator .dot { width: 0.375rem; height: 0.75rem; background: rgba(255,255,255,0.6); border-radius: 9999px; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-10px); } }

/* Buttons flex */
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Two column layout */
.two-col { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col .img-wrap { position: relative; }
.two-col .img-wrap img { aspect-ratio: 4/5; border-radius: 0.5rem; object-fit: cover; width: 100%; }
.two-col .years-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--terracotta);
  color: var(--warm-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  max-width: 200px;
}
.two-col .years-badge .num { font-size: 1.875rem; font-weight: 700; font-family: 'Cormorant Garamond', serif; margin-bottom: 0.25rem; }
.two-col .years-badge .text { font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; }
