/* CSS Variables - Quiet Luxury Palette */
:root {
  --background: #f5f3ef;
  --foreground: #3d3630;
  --card: #ebe7e0;
  --card-foreground: #3d3630;
  --primary: #1a2744;
  --primary-foreground: #f5f3ef;
  --secondary: #e5e0d6;
  --secondary-foreground: #3d3630;
  --secondary-bg: #f1ede6;
  --muted: #d9d3c8;
  --muted-foreground: #6b6158;
  --accent: #4a6741;
  --accent-foreground: #faf9f7;
  --border: #d4cfc4;
  --ring: #a89968;
  --radius: 0.25rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.font-serif {
  font-family: "Playfair Display", Georgia, serif;
}

/* Utility Classes */
.container {
  max-width: 1152px;
  margin: 0.5rem auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.section-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
}

.section-title {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* ===============================
       TOP BAR
    =============================== */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.top-bar a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}

.top-bar a:hover {
  opacity: 0.8;
}

/* ===============================
       HEADER
    =============================== */
.header {
  position: fixed;
  /* top: 2rem; */
  left: 0;
  right: 0;
  z-index: 90;
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}

.header.scrolled {
  background: var(--background);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

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

.logo img {
  height: 4rem;
  width: auto;
  transition: filter 0.3s;
  filter: brightness(0) invert(1);
}

.header.scrolled .logo img {
  filter: brightness(1);
}

.nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
  letter-spacing: 0.025em;
}

.nav a:hover {
  color: white;
}

.header.scrolled .nav a {
  color: rgba(61, 54, 48, 0.8);
}

.header.scrolled .nav a:hover {
  color: var(--foreground);
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .header-cta {
    display: block;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  letter-spacing: 0.025em;
}

.btn-primary {
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  text-align: center;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-white {
  background: white;
  color: var(--foreground);
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
}

.header.scrolled .btn-white {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
}

.header.scrolled .mobile-menu-btn {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--background);
  border-top: 1px solid var(--border);
  padding: 1rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: rgba(61, 54, 48, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(212, 207, 196, 0.5);
}

.mobile-menu a:last-of-type {
  border-bottom: none;
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  opacity: 0;
  transition: opacity 1s;
}

.hero-video.loaded {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.5); */
}

.hero-gradient {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.hero-scroll a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.hero-scroll a:hover {
  color: white;
}

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

/* ===============================
       OVERVIEW
    =============================== */
.overview {
  padding: 4rem 0;
  background: var(--card);
}

@media (min-width: 640px) {
  .overview {
    padding: 5rem 0;
  }
}

.overview-header {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.overview-desc {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  text-align: center;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--secondary);
  margin-bottom: 1rem;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  background: var(--accent);
  color: var(--accent-foreground);
}

.feature-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* ===============================
       VISUAL PREVIEW
    =============================== */
.visual-preview {
  padding: 4rem 0;
  background: var(--background);
}

@media (min-width: 640px) {
  .visual-preview {
    padding: 5rem 0;
  }
}

.visual-preview-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .visual-preview-header {
    margin-bottom: 3.5rem;
  }
}

/* 

@media (min-width: 640px) {
  .render-featured {
    aspect-ratio: 21 / 9;
  }
}

.render-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.render-featured:hover img {
  transform: scale(1.02);
} */

.render-label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
}

.render-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .render-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.render-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.5rem;
}

.render-featured {
  aspect-ratio: 21 / 9;
  grid-column: span 2 / span 2;
}

@media (min-width: 768px) {
  .render-featured {
    grid-column: span 3 / span 3;
  }
}

.render-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}

.render-item:hover img {
  transform: scale(1.02);
}

.render-item .render-label {
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.625rem;
}

.render-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0) 100%
  );

  opacity: 0;
  transition: opacity 500ms ease;
}

.render-item:hover .render-overlay {
  opacity: 1;
}

.render-disclaimer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(107, 97, 88, 0.7);
  margin-left: auto;
  margin-right: auto;
}

/* ===============================
       LOCATION
    =============================== */
.location {
  padding: 4rem 0;
  background: var(--background);
}

@media (min-width: 640px) {
  .location {
    padding: 5rem 0;
  }
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.location-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.location-point-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.location-point:hover .location-point-icon {
  background: var(--accent);
  color: var(--accent-foreground);
}

.location-point h3 {
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.location-point p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.location-map {
  position: relative;
}

.location-map-overlay {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
}

.location-map-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

@media (max-width: 640px) {
  .location-map {
    padding: 1rem;
  }
}

.map-placeholder {
  aspect-ratio: 1;
  background: var(--secondary);
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
  padding: 2rem;
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.map-marker-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(61, 54, 48, 0.4);
}

.map-marker-dot.main {
  width: 24px;
  height: 24px;
  background: var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.map-marker span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  white-space: nowrap;
}

.map-marker span.main-label {
  font-weight: 500;
  color: var(--foreground);
  background: var(--card);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  margin-top: 0.5rem;
}

.map-waterfront {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background: linear-gradient(to top, rgba(74, 103, 65, 0.1), transparent);
}

.map-waterfront span {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: rgba(74, 103, 65, 0.6);
  letter-spacing: 0.1em;
}

.location-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-size: 0.875rem;
  font-weight: 500;
}

@media (max-width: 640px) {
  .location-badge {
    right: 0;
  }
}

/* ===============================
       GALLERY
    =============================== */
.gallery {
  padding: 4rem 0;
  background: var(--primary);
}

@media (min-width: 640px) {
  .gallery {
    padding: 5rem 0;
  }
}

.gallery-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery-header .section-title {
  color: var(--primary-foreground);
}

.gallery-header p {
  color: rgba(245, 243, 239, 0.7);
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item.featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item.featured img {
  aspect-ratio: 16 / 10;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  transition: background 0.3s;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  transform: translateY(100%);
  transition: transform 0.3s;
  text-align: center;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption p {
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===============================
       FLOOR PLANS
    =============================== */
.floorplans {
  padding: 4rem 0;
  background: var(--card);
}

@media (min-width: 640px) {
  .floorplans {
    padding: 5rem 0;
  }
}

.floorplans-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.floorplans-header p {
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

.filter-tabs {
  display: flex;
  overflow-x: auto;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
  justify-content: flex-start;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

@media (min-width: 640px) {
  .filter-tabs {
    justify-content: center;
  }
}

.filter-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--foreground);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover {
  background: rgba(229, 224, 214, 0.8);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--primary-foreground);
}

.filter-btn .count {
  font-size: 0.75rem;
  padding: 0.125rem 0.375rem;
  border-radius: 9999px;
  background: var(--muted);
  color: var(--muted-foreground);
}

.filter-btn.active .count {
  background: rgba(245, 243, 239, 0.2);
  color: var(--primary-foreground);
}

.floorplans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .floorplans-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .floorplans-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.floorplan-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.floorplan-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.floorplan-image {
  aspect-ratio: 1;
  background: white;
  position: relative;
}

.floorplan-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}

.floorplan-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 39, 68, 0);
  transition: background 0.3s;
}

.floorplan-card:hover .floorplan-hover {
  background: rgba(26, 39, 68, 0.1);
}

.floorplan-hover span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}

.floorplan-card:hover .floorplan-hover span {
  opacity: 1;
}

.floorplan-info {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.floorplan-title {
  display: flex;
  flex-direction: column;
}

.floorplan-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
}

.floorplan-size {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

.floorplan-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 2rem;
}

/* ===============================
       LIFESTYLE
    =============================== */
.lifestyle {
  padding: 4rem 0;
  background: var(--primary);
  color: var(--primary-foreground);
}

@media (min-width: 640px) {
  .lifestyle {
    padding: 5rem 0;
  }
}

.lifestyle-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.lifestyle-header .section-title {
  color: var(--primary-foreground);
}

.lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .lifestyle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lifestyle-card {
  text-align: center;
}

.lifestyle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4/3;
  background: rgba(245, 243, 239, 0.1);
  margin-bottom: 1rem;
  color: var(--accent);
}

.lifestyle-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lifestyle-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.lifestyle-desc {
  font-size: 0.875rem;
  color: rgba(245, 243, 239, 0.7);
  line-height: 1.6;
}

/* ===============================
       AMENITIES
    =============================== */
.amenities {
  padding: 4rem 0;
  background: var(--card);
}

@media (min-width: 640px) {
  .amenities {
    padding: 5rem 0;
  }
}

.amenities-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.amenity-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  text-align: center;
  transition: border-color 0.3s;
}

.amenity-card:hover {
  border-color: var(--accent);
}

.amenity-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--secondary);
  margin-bottom: 0.75rem;
  transition: all 0.3s;
}

.amenity-card:hover .amenity-icon {
  background: var(--accent);
  color: var(--accent-foreground);
}

.amenity-name {
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.amenity-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===============================
       INVESTMENT
    =============================== */
.investment {
  padding: 4rem 0;
  background: var(--background);
}

@media (min-width: 640px) {
  .investment {
    padding: 5rem 0;
  }
}

.investment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .investment-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.investment-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .investment-points {
    grid-template-columns: repeat(2, 1fr);
  }
}

.investment-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.investment-point-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.investment-point:hover .investment-point-icon {
  background: var(--accent);
  color: var(--accent-foreground);
}

.investment-point h3 {
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.investment-point p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.investment-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  /* text-align: center; */
}

.stat-value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .stat-value {
    font-size: 2.25rem;
  }
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.promo-block {
  position: relative;
  background: var(--accent);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.promo-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(250, 249, 247, 0.05);
}

.promo-circle.top {
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  transform: translate(50%, -50%);
}

.promo-circle.bottom {
  bottom: 0;
  left: 0;
  width: 6rem;
  height: 6rem;
  transform: translate(-50%, 50%);
}

.promo-content {
  position: relative;
  padding: 1.5rem 2rem;
  text-align: center;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: rgba(250, 249, 247, 0.1);
  backdrop-filter: blur(4px);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.promo-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-foreground);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.promo-badge span {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.9);
}

.promo-title {
  color: rgba(250, 249, 247, 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.promo-value {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--accent-foreground);
  margin-bottom: 0.75rem;
}

.promo-value .number {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .promo-value .number {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .promo-value .number {
    font-size: 3.75rem;
  }
}

.promo-value .unit {
  font-size: 1.5rem;
  font-weight: 300;
  margin-left: 0.5rem;
}

@media (min-width: 640px) {
  .promo-value .unit {
    font-size: 1.875rem;
  }
}

.promo-desc {
  font-size: 0.875rem;
  color: rgba(250, 249, 247, 0.8);
  margin: 0 auto;
}

.promo-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
  height: 4px;
  background: rgba(250, 249, 247, 0.2);
  border-radius: 4px 4px 0 0;
}

/* ===============================
       CONTACT
    =============================== */
.contact {
  padding: 4rem 0;
  background: var(--card);
}

@media (min-width: 640px) {
  .contact {
    padding: 5rem 0;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.contact-content p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #25d366;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.whatsapp-btn:hover {
  background: #128c7e;
}

.back-to-top {
  border: none;
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--foreground);
  color: var(--background);
  border-radius: 50%;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  font-family: inherit;
  font-size: 0.875rem;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(168, 153, 104, 0.2);
}

.form-group textarea {
  resize: none;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-option input {
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  accent-color: var(--accent);
}

.radio-option span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-option {
  display: flex;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-group input {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  cursor: pointer;
  accent-color: var(--accent);
}

.checkbox-group label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  cursor: pointer;
}

.form-status {
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.form-status.success {
  background: rgba(74, 103, 65, 0.12);
  color: var(--accent);
  border: 1px solid rgba(74, 103, 65, 0.2);
}

.form-status.error {
  background: rgba(216, 71, 87, 0.12);
  color: #a22942;
  border: 1px solid rgba(216, 71, 87, 0.2);
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-success {
  text-align: center;
  padding: 2rem 0;
}

.form-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(74, 103, 65, 0.1);
  color: var(--accent);
  margin-bottom: 1rem;
}

.form-success h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===============================
       FOOTER
    =============================== */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
}

.footer-main {
  padding: 3.5rem 0 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 5fr 3fr 4fr;
    gap: 2rem;
  }
}

.footer-brand img {
  height: 4rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: rgba(245, 243, 239, 0.7);
  line-height: 1.7;
  max-width: 16rem;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 243, 239, 0.5);
  margin-bottom: 1rem;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(245, 243, 239, 0.8);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.3s;
  margin-bottom: 1rem;
}

.footer-whatsapp:hover {
  background: #20bd5a;
}

.footer-contact-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(245, 243, 239, 0.7);
  margin-bottom: 1.5rem;
}

.footer-contact-links a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact-links a:hover {
  color: var(--primary-foreground);
}

.footer-contact-links span {
  color: rgba(245, 243, 239, 0.3);
}

.footer-developer {
  padding-top: 1rem;
  border-top: 1px solid rgba(245, 243, 239, 0.1);
  font-size: 0.75rem;
  color: rgba(245, 243, 239, 0.5);
}

.footer-developer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}

.footer-developer a:hover {
  color: rgba(245, 243, 239, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 243, 239, 0.1);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(245, 243, 239, 0.5);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: rgba(245, 243, 239, 0.5);
}

.footer-bottom-links span {
  display: none;
}

@media (min-width: 640px) {
  .footer-bottom-links span {
    display: inline;
  }
}

.footer-bottom-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: rgba(245, 243, 239, 0.7);
}

/* ===============================
       FLOATING WHATSAPP
    =============================== */
.floating-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  background: #25d366;
  color: white;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ===============================
       LIGHTBOX
    =============================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: white;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  color: white;
  font-size: 0.875rem;
}

/* Icons (simple SVG inline) */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-sm {
  width: 20px;
  height: 20px;
}

.icon-xs {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 28px;
  height: 28px;
}

.fp-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.container-fp-modal {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-modal-content {
  display: grid;
  grid-template-rows: 1fr 1fr auto;
  position: relative;
  overflow: hidden;
  background-color: #f4eee6;
  width: 90%;
  height: 90%;
  max-height: 95%;
  border-radius: 4px;
  color: #333;
}

@media (min-width: 1024px) {
  .fp-modal-content {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr auto;
  }
}

.fp-close {
  z-index: 10;
  position: absolute;
  right: 20px;
  top: 10px;
  font-size: 28px;
  cursor: pointer;
}

.divider {
  height: 1px;
  background-color: rgba(212, 206, 196, 0.5);
}

.container-text {
  margin: 1rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.modal-size {
  font-size: 0.875rem;
  color: var(--accent);
  font-weight: 500;
}

.fp-subtitle {
  color: #666;
  font-size: 1.2rem;
}

.fp-image-container {
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  aspect-ratio: 4/3;
}

@media (min-width: 1024px) {
  .fp-image-container {
    max-height: 100%;
    grid-row: span 2 / span 2;
  }
}

.zoom-controls {
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(212, 206, 196, 0.5);
  background-color: #f8f6f3;
}

@media (min-width: 1024px) {
  .zoom-controls {
    padding: 1.28rem;
  }
}

.zoom-btn {
  padding: 0.375rem;
  color: var(--muted-foreground);
  border-radius: var(--radius);
  border: none;
  transition: all 0.2s ease;
}

.zoom-btn:hover {
  color: var(--foreground);
  background-color: var(--background);
}

.zoom-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.zoom-level {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  min-width: 3rem;
  text-align: center;
}

.fp-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
  cursor: zoom-in;
}

.fp-image-container img.zoomed {
  cursor: grab;
  transform-origin: center center;
}

.fp-image-container img.zoomed:active {
  cursor: grabbing;
}

.fp-zoom-hint {
  background: #4a5568;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  margin-top: -20px;
  position: relative;
}

.fp-details {
  overflow: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
}

.fp-description {
  margin: 1rem;
  line-height: 1.6;
}

.fp-interior-section {
  padding: 1rem;
}

.fp-gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.fp-thumb {
  border: none;
  aspect-ratio: 4/3;
  border-radius: 0.5rem;
  background: white;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  cursor: pointer;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.fp-thumb.active {
  border: 2px solid #128c7e;
}

.fp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
}

.fp-thumb span {
  font-size: 0.75rem;
  display: block;
  margin-top: 5px;
  color: #555;
}

.disclaimer {
  font-size: 0.625rem;
  font-style: italic;
  margin-top: 1rem;
  color: #999999;
}

.fp-footer-details {
  background-color: #f4eee6;
  position: sticky;
  bottom: 0;
  margin-top: 1rem;
}

.fp-actions {
  padding: 1rem 0.5rem 1rem;
  flex-shrink: 0;
}

.btn-dark {
  background: #1a202c;
  color: white;
  border: none;
  cursor: pointer;
  padding: 12px;
  width: 100%;
  font-weight: 500;
}

.modal-footer {
  padding: 1rem;
  border-top: 1px solid #e5ded5;
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: opacity 0.2s;
  padding: 8px 0;
}

.nav-btn:hover {
  opacity: 0.7;
}

.nav-btn:disabled {
  color: #a0a0a0;
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.page-counter {
  font-size: 16px;
  color: #666;
  font-weight: 400;
}

/* privacy policy styles */
.privacy-article {
  text-align: justify;
  padding-top: 8rem;
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .privacy-article {
    padding-top: 10rem;
    padding-bottom: 5rem;
  }
}

.page-title {
  font-family: "Playfair Display", Georgia, serif !important;
  font-weight: 300;
  color: var(--foreground);
  font-size: 1.875rem; /* text-3xl */
}

@media (min-width: 640px) {
  .page-title {
    font-size: 2.25rem;
  }
} /* sm:text-4xl */
@media (min-width: 768px) {
  .page-title {
    font-size: 3rem;
  }
} /* md:text-5xl */

.effective-date {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* --- Table of Contents --- */
.toc-container {
  background-color: var(--secondary-bg);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.toc-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.toc-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .toc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.toc-grid a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

.toc-grid a:hover {
  color: var(--accent);
}

/* --- Content Content Blocks (Prose Rules) --- */
.policy-section {
  margin-bottom: 3rem;
  scroll-margin-top: 8rem; /* scroll-mt-32 */
}

.prose p {
  color: var(--muted-foreground);
  line-height: 1.625;
  margin-bottom: 1rem;
}

.prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.prose .sub-heading {
  font-size: 1rem;
  font-weight: 500;
  color: var(--foreground);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.highlight-text {
  font-weight: 500;
  color: var(--foreground) !important;
  margin-top: 1rem;
}

/* --- Contact Address Frame --- */
.contact-box {
  font-style: normal;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background-color: var(--secondary-bg);
  border-radius: 0.5rem;
}

.contact-box span,
.contact-box br {
  line-height: 1.75;
}

.company-name {
  color: var(--foreground);
}

.accent-link {
  color: var(--accent);
  text-decoration: none;
}

.accent-link:hover {
  text-decoration: underline;
}
