/* ===== CUSTOM PROPERTIES ===== */
:root {
  --terracotta: #C4613A;
  --terracotta-dark: #A84E2C;
  --terracotta-light: #D4806A;
  --sand: #F5F0EB;
  --sand-dark: #E8DFD5;
  --sand-warm: #FDF8F3;
  --cream: #FFF9F5;
  --charcoal: #2C2420;
  --charcoal-light: #4A3F38;
  --warm-gray: #7A6E66;
  --warm-gray-light: #A89B92;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(44, 36, 32, 0.06);
  --shadow-md: 0 4px 20px rgba(44, 36, 32, 0.08);
  --shadow-lg: 0 8px 40px rgba(44, 36, 32, 0.12);
  --shadow-xl: 0 16px 60px rgba(44, 36, 32, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--sand-warm);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--terracotta);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(196, 97, 58, 0.3);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  box-shadow: 0 6px 24px rgba(196, 97, 58, 0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--white);
}
.btn-terracotta:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
}

.btn-light {
  background: var(--white);
  color: var(--terracotta);
  box-shadow: var(--shadow-md);
}
.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost-light:hover {
  background: var(--white);
  color: var(--terracotta);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ===== SECTION HELPERS ===== */
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.section-tag.light {
  color: var(--sand-dark);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section-title.light {
  color: var(--white);
}

.section-sub {
  font-size: 17px;
  color: var(--warm-gray);
  max-width: 560px;
  line-height: 1.7;
}
.section-sub.light {
  color: rgba(245, 240, 235, 0.8);
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 248, 243, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 97, 58, 0.08);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(253, 248, 243, 0.95);
  box-shadow: var(--shadow-sm);
}

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

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--charcoal);
}
.logo:hover {
  color: var(--terracotta);
}

.logo-icon {
  color: var(--terracotta);
}

.logo-text {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.dot {
  color: var(--terracotta);
  font-weight: 800;
}

/* NAV */
.nav-toggle {
  display: none;
  padding: 8px;
  color: var(--charcoal);
}
.nav-toggle .hamburger {
  transition: opacity var(--transition);
}
.nav-toggle .hamburger.active {
  opacity: 0;
  position: absolute;
}
.nav-toggle .hamburger.active + .hamburger {
  opacity: 1;
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-list a {
  padding: 8px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--charcoal-light);
  border-radius: 50px;
  transition: all var(--transition);
}
.nav-list a:hover {
  color: var(--terracotta);
  background: rgba(196, 97, 58, 0.08);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(44, 36, 32, 0.65) 0%,
    rgba(44, 36, 32, 0.45) 50%,
    rgba(196, 97, 58, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title .accent {
  color: var(--terracotta-light);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255, 255, 255, 0.6);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-8px); }
  60% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== INFO BAR ===== */
.info-bar {
  background: var(--charcoal);
  padding: 0;
}

.info-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 24px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(245, 240, 235, 0.8);
  font-size: 14px;
  font-weight: 600;
}
.info-item a {
  transition: color var(--transition);
}
.info-item a:hover {
  color: var(--terracotta-light);
}
.info-item svg {
  color: var(--terracotta-light);
  flex-shrink: 0;
}

/* ===== HOMES ===== */
.homes {
  padding: 100px 0;
  background: var(--sand-warm);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-sub {
  margin: 0 auto;
}

.homes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.home-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.home-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.home-card.featured {
  border: 2px solid var(--terracotta);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--terracotta);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
}

.home-card-img {
  overflow: hidden;
  aspect-ratio: 3/2;
}
.home-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.home-card:hover .home-card-img img {
  transform: scale(1.05);
}

.home-card-body {
  padding: 28px;
}

.home-card-body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.home-card-desc {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.7;
  margin-bottom: 20px;
}

.home-card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal-light);
}
.home-card-features li svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

/* ===== AMENITIES ===== */
.amenities {
  padding: 100px 0;
  background: var(--sand);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.amenity-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(196, 97, 58, 0.12), rgba(196, 97, 58, 0.05));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  margin-bottom: 20px;
}

.amenity-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.amenity-card p {
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.7;
}

/* ===== NEIGHBORHOOD ===== */
.neighborhood {
  padding: 100px 0;
  background: var(--sand-warm);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split-images {
  position: relative;
}

.split-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split-img-main {
  aspect-ratio: 6/7;
}

.split-img-secondary {
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 55%;
  aspect-ratio: 4/3;
  border: 6px solid var(--sand-warm);
  box-shadow: var(--shadow-md);
}

.split-content .section-tag {
  margin-bottom: 12px;
}

.split-content .section-title {
  margin-bottom: 20px;
}

.split-content .section-sub {
  margin-bottom: 28px;
}

.neighborhood-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.neighborhood-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal-light);
  line-height: 1.5;
}
.neighborhood-list li svg {
  color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===== COMMUNITY CTA ===== */
.community {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--charcoal) 0%, #3D322C 50%, var(--terracotta-dark) 100%);
  position: relative;
  overflow: hidden;
}

.community::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(196, 97, 58, 0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.community-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.community-text {
  flex: 1;
  max-width: 560px;
}

.community-cta {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact {
  padding: 100px 0;
  background: var(--sand);
}

.contact-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

/* FORM */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--sand-warm);
  transition: all var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(196, 97, 58, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--warm-gray-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 13px;
  color: var(--warm-gray-light);
  text-align: center;
}

/* SUCCESS */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .success-icon {
  color: var(--terracotta);
  margin-bottom: 16px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 8px;
  color: var(--charcoal);
}
.form-success p {
  color: var(--warm-gray);
  margin-bottom: 24px;
}

/* CONTACT INFO */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-card address,
.contact-card p {
  font-style: normal;
  font-size: 15px;
  color: var(--warm-gray);
  line-height: 1.7;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-card a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--warm-gray);
  transition: color var(--transition);
}
.contact-card a:hover {
  color: var(--terracotta);
}
.contact-card svg {
  color: var(--terracotta);
  flex-shrink: 0;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--charcoal);
  color: rgba(245, 240, 235, 0.7);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-logo {
  color: var(--white);
}
.footer-logo:hover {
  color: var(--terracotta-light);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(245, 240, 235, 0.6);
  transition: color var(--transition);
}
.footer-links a:hover {
  color: var(--terracotta-light);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-contact a {
  color: rgba(245, 240, 235, 0.6);
  transition: color var(--transition);
}
.footer-contact a:hover {
  color: var(--terracotta-light);
}
.footer-contact svg {
  color: var(--terracotta-light);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(245, 240, 235, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(245, 240, 235, 0.4);
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .homes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .community-inner {
    flex-direction: column;
    text-align: center;
  }
  .community-text {
    max-width: 100%;
  }
  .community-cta {
    justify-content: center;
  }
  .contact-split {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1001;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--sand-warm);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 32px 32px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
  }
  .nav-list.open {
    transform: translateX(0);
  }
  .nav-list a {
    padding: 14px 16px;
    font-size: 17px;
    border-radius: var(--radius-sm);
  }
  .nav-list li:last-child {
    margin-top: 16px;
  }
  .nav-list li:last-child a {
    justify-content: center;
    background: var(--terracotta);
    color: var(--white);
  }

  .overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 36, 32, 0.5);
    z-index: 998;
  }
  .overlay.active {
    display: block;
  }

  .hero-content {
    padding: 100px 24px 80px;
  }
  .hero-title {
    font-size: clamp(36px, 10vw, 56px);
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .info-bar-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .homes-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split-img-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    margin-top: -24px;
  }
  .split-images {
    order: -1;
  }

  .community-cta {
    flex-direction: column;
    width: 100%;
  }
  .community-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form-wrap {
    padding: 28px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .homes, .amenities, .neighborhood, .community, .contact {
    padding: 72px 0;
  }
  .home-card-body {
    padding: 20px;
  }
}
