:root {
  --terracotta: #C86D51;
  --terracotta-dark: #A75238;
  --sage: #8A9A86;
  --sage-dark: #687964;
  --sage-light: #E2E8E1;
  --beige: #E8DFD5;
  --beige-light: #F4EFEA;
  --brown: #4A3525;
  --brown-light: #6E533C;
  --cream: #FDFBF7;
  --cream-alt: #F8F4EE;
  --text-dark: #2C1E16;
  --text-muted: #6C5A4C;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(74, 53, 37, 0.06);
  --shadow-md: 0 6px 18px rgba(74, 53, 37, 0.09);
  --shadow-lg: 0 12px 30px rgba(74, 53, 37, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--brown);
  font-weight: 700;
  line-height: 1.25;
}

.font-serif {
  font-family: var(--font-serif);
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--terracotta-dark);
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 860px;
}

/* Header & Navigation - Slim & Non-sticky */
.site-header {
  background-color: var(--cream);
  border-bottom: 1px solid rgba(138, 154, 134, 0.2);
  padding: 12px 0;
  position: relative;
  z-index: 100;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brown);
}

.brand-logo svg {
  width: 28px;
  height: 28px;
  fill: var(--terracotta);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brown);
  padding: 6px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--terracotta);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-header {
  background-color: var(--terracotta);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.mobile-toggle svg {
  width: 26px;
  height: 26px;
  stroke: var(--brown);
}

/* Mobile Nav Modal / Drawer */
@media (max-width: 868px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--cream-alt);
    padding: 20px 24px;
    border-bottom: 2px solid var(--beige);
    box-shadow: var(--shadow-md);
    gap: 16px;
    align-items: flex-start;
  }

  .nav-menu.active {
    display: flex;
  }

  .btn-header {
    width: 100%;
    text-align: center;
  }
}

/* Hero Section */
.hero {
  padding: 60px 0 70px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--beige-light) 100%);
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--sage-light);
  color: var(--sage-dark);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 2.8rem;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--terracotta);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(200, 109, 81, 0.25);
}

.btn-primary:hover {
  background-color: var(--terracotta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(200, 109, 81, 0.35);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: transparent;
  color: var(--brown);
  border: 2px solid var(--brown);
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background-color: var(--brown);
  color: var(--cream);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.hero-image-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(8px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-image-wrapper img {
    height: 320px;
  }
}

/* Feature & Category Highlights Section */
.section {
  padding: 70px 0;
}

.section-bg-alt {
  background-color: var(--cream-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  color: var(--terracotta);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.1rem;
  margin-bottom: 12px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.02rem;
}

/* Cards Grid Architecture */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-img-container {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img-container img {
  transform: scale(1.05);
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--brown);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  font-size: 0.8rem;
  color: var(--sage-dark);
  margin-bottom: 8px;
  font-weight: 600;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--brown);

}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--beige-light);
}

.btn-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-card:hover {
  color: var(--terracotta-dark);
}

/* Floorplan Interactive Specs */
.specs-section {
  background-color: var(--sage-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 40px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  text-align: center;
}

.spec-item {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.spec-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--terracotta);
  margin-bottom: 4px;
}

.spec-label {
  font-size: 0.88rem;
  color: var(--brown);
  font-weight: 600;
}

/* Article Page Layout */
.article-header {
  padding: 50px 0 30px;
  background-color: var(--cream-alt);
  border-bottom: 1px solid var(--beige);
}

.article-category {
  display: inline-block;
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.article-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 30px 0;
  box-shadow: var(--shadow-md);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dark);
}

.article-content h2 {
  font-size: 1.6rem;
  margin: 32px 0 16px;
}

.article-content h3 {
  font-size: 1.3rem;
  margin: 24px 0 12px;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.callout-box {
  background-color: var(--beige-light);
  border-left: 4px solid var(--terracotta);
  padding: 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-style: italic;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.contact-info-card {
  background-color: var(--cream-alt);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--beige);
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-icon {
  width: 42px;
  height: 42px;
  background-color: var(--terracotta);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--brown);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--beige);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--terracotta);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Legal Content Layout */
.legal-page {
  padding: 50px 0 70px;
}

.legal-box {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige);
}

.legal-box h1 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.legal-box .last-updated {
  font-size: 0.88rem;
  color: var(--sage-dark);
  margin-bottom: 28px;
  border-bottom: 1px solid var(--beige-light);
  padding-bottom: 16px;
}

.legal-box h2 {
  font-size: 1.35rem;
  margin: 28px 0 12px;
  color: var(--brown);
}

.legal-box p {
  margin-bottom: 16px;
  font-size: 0.98rem;
  color: var(--text-dark);
}

.legal-box ul {
  margin-bottom: 18px;
  padding-left: 20px;
}

.legal-box li {
  margin-bottom: 6px;
}

/* Footer Section */
.site-footer {
  background-color: var(--brown);
  color: var(--beige-light);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--beige);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-title {
  color: var(--cream);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--beige);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--cream);
}

.footer-bottom {
  border-top: 1px solid rgba(232, 223, 213, 0.15);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--beige);
}

.footer-address {
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--beige);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie Consent Popup */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background-color: var(--brown);
  color: var(--cream);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none; /* Controlled via JS */
  border: 1px solid rgba(232, 223, 213, 0.2);
}

.cookie-banner.show {
  display: block;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content h4 {
  color: var(--cream);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.cookie-content p {
  font-size: 0.85rem;
  color: var(--beige);
  margin-bottom: 16px;
  line-height: 1.45;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background-color: var(--terracotta);
  color: var(--white);
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-cookie-accept:hover {
  background-color: var(--terracotta-dark);
}

.btn-cookie-decline {
  background-color: transparent;
  color: var(--beige);
  border: 1px solid var(--beige);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.cookie-link {
  color: var(--beige-light);
  text-decoration: underline;
  font-size: 0.82rem;
}