:root {
  --bg: #ffffff;
  --card: #94908c;
  --text: #3e2f27;
  --muted: #6b5a50;
  --accent: #edd5c0;
  --accent-dark: #d8bfa9;
  --border: rgba(107, 90, 80, 0.2);
  --bg-deep: #f4e5d5;
  --bg-soft: #fbf5ea;
  --bg-light: #fffdf5;
}

html {
  /* CODEx: offset anchor scroll for sticky header */
  scroll-padding-top: 90px;
}

@font-face {
  font-family: "Bruno Ace SC";
  src: url("../font/BrunoAceSC-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* Shadow reset per request */
  box-shadow: none;
  text-shadow: none;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  /* CODEx: prevent mobile right-side gap */
  overflow-x: hidden;
}

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

.page {
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.header-wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 245, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  padding: 12px 20px;
  /* CODEx: let header span full width */
  max-width: 100%;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0;
  position: relative;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  /* CODEx: increase header logo size */
  height: clamp(40px, 5.5vw, 64px);
  width: auto;
  display: block;
}

.site-nav a {
  margin-left: 0;
  /* CODEx: keep nav links aligned in desktop header */
  margin-top: 0;
  color: var(--text);
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 999px;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a.is-active {
  color: var(--text);
  font-weight: 600;
  background: var(--bg-soft);
}

.site-nav a:hover {
  background: var(--bg-soft);
}

.site-nav a:active {
  /* CODEx: add top margin on click */
  margin-top: 20px;
}

/* Mobile hamburger menu */
.mobile-menu {
  display: none;
  margin-left: auto;
  position: relative;
}

.mobile-menu__toggle {
  width: 42px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}

.mobile-menu__panel {
  position: absolute;
  right: 0;
  top: 48px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  display: none;
  flex-direction: column;
  min-width: 180px;
  gap: 6px;
  z-index: 20;
}

.mobile-menu__panel a {
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  margin-top: 0;
}

.mobile-menu__panel a:hover {
  background: var(--bg-soft);
}

.mobile-menu__panel a:active {
  /* CODEx: add top margin on click */
  margin-top: 20px;
}

.mobile-menu.is-open .mobile-menu__panel {
  display: flex;
}


.main-content {
  display: block;
}

.hero-image-block {
  position: relative;
  margin: 12px 0 44px;
  border-radius: 20px;
  overflow: hidden;
  /* Shadow removed per request */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 20px;
}

.hero-image-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.7) 15%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  z-index: 1;
  pointer-events: none;
}


.hero-image-block img {
  width: 100%;
  /* Responsive hero height */
  height: clamp(280px, 48vw, 560px);
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 28px 32px 56px;
  background: transparent;
}

.hero-image-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--bg-light);
  font-family: "Bruno Ace SC", sans-serif;
}

.hero-image-subtitle {
  font-size: clamp(1rem, 2.6vw, 1.35rem);
  color: rgba(255, 253, 245, 0.9);
}

.hero-image-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.cta.cta-secondary {
  background: rgba(255, 253, 245, 0.18);
  color: var(--bg-light);
  border: 1px solid rgba(255, 253, 245, 0.4);
}

.cta.cta-secondary:hover {
  background: rgba(255, 253, 245, 0.28);
  transform: translateY(-2px);
}

@media (max-width: 800px) {
  .hero-image-block {
    margin: 8px 0 32px;
  }

  .hero-image-overlay {
    padding: 22px 20px;
    background: transparent;
  }

  .hero-image-actions {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .hero-image-block img {
    height: clamp(360px, 95vw, 620px);
  }

  .hero-image-overlay {
    padding: 18px 12px 22px;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
  }

  .hero-image-title {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
  }

  .hero-image-subtitle {
    font-size: clamp(0.95rem, 4.5vw, 1.1rem);
  }

  .hero-image-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-image-actions .cta {
    width: 100%;
    justify-content: center;
  }
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.cta:focus-visible,
.site-nav a:focus-visible {
  outline: 2px solid rgba(216, 191, 169, 0.8);
  outline-offset: 2px;
  border-radius: 999px;
}

.cta-button {
  border: none;
  cursor: pointer;
}

.card {
  background: var(--bg);
  border: none;
  border-radius: 16px;
  padding: 24px;
  /* Shadow removed per request */
}

.contact-card {
  background: #fff;
  max-width: 720px;
  margin: 0 auto 40px;
  padding: 32px 28px;
  border: 1px solid rgba(107, 90, 80, 0.35);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(107, 90, 80, 0.18);
}

.checklist {
  padding-left: 20px;
  margin-top: 12px;
  color: var(--muted);
}

.checklist li {
  margin-bottom: 8px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

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

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.feature-title {
  font-weight: 600;
  margin-bottom: 8px;
}

/* Card Section Start */
.card-section {
  display: flex;
  justify-content: center;
  padding: 32px 0 56px;
}

.card-section__inner {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 24px;
}

.flip-card {
  position: relative;
  /* Card width/height */
  width: clamp(240px, 40vw, 360px);
  height: clamp(180px, 28vw, 240px);
  background-color: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  /* Shadow removed per request */
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Dark overlay for image opacity color */
.flip-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.6;
  z-index: 1;
}

.flip-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  z-index: 0;
}

.flip-card__image-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 28px;
  height: 28px;
  fill: #fff;
  z-index: 2;
}

.flip-card__image-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  z-index: 2;
}

.flip-card:hover {
  transform: scale(1.05);
  /* Shadow removed per request */
}

.flip-card__content {
  position: absolute;
  inset: 0;
  padding: 20px;
  box-sizing: border-box;
  background-color: var(--bg-light);
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flip-card:hover .flip-card__content {
  transform: rotateX(0deg);
}

.flip-card__title {
  margin: 0;
  font-size: clamp(18px, 3vw, 24px);
  color: var(--text);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.flip-card__title-svg {
  width: 1.1em;
  height: 1.1em;
  fill: var(--text);
  flex-shrink: 0;
}

.flip-card:hover .flip-card__icon {
  transform: scale(0);
}

.flip-card__description {
  margin: 10px 0 0;
  font-size: 40px;
  color: var(--text);
  line-height: 1.4;
  text-align: center;
  font-family: "Bruno Ace SC", sans-serif;
}

/* Carousel section styles */
.carousel-section {
  margin: 48px 0 64px;
}

.carousel-header {
  text-align: center;
  margin-bottom: 20px;
}

.carousel-header h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--text);
  margin-bottom: 6px;
  font-family: "Bruno Ace SC", sans-serif;
}

.carousel-header p {
  color: var(--muted);
}

.carousel {
  --items-per-view: 3;
  --carousel-img-height: clamp(240px, 30vw, 360px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.carousel-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  gap: 16px;
  padding: 4px;
}

.carousel-item {
  scroll-snap-align: start;
  width: calc((100vw - 80px - (16px * (var(--items-per-view) - 1))) / var(--items-per-view));
  max-width: 360px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-light);
}

.carousel-item img {
  width: 100%;
  height: var(--carousel-img-height);
  object-fit: cover;
  display: block;
}

.carousel-btn {
  background: var(--bg-light);
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease-in, background 0.2s ease-in, color 0.2s ease-in;
}

.carousel-btn:active {
  transform: scale(0.94);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .carousel {
    --items-per-view: 2;
    --carousel-img-height: clamp(220px, 40vw, 320px);
  }
}

@media (max-width: 600px) {
  .carousel {
    --items-per-view: 1;
    --carousel-img-height: clamp(200px, 70vw, 300px);
  }
}
/* Card Section End */


@keyframes autoRun3d {
  from {
    transform: perspective(900px) rotateY(-360deg);
  }
  to {
    transform: perspective(900px) rotateY(0deg);
  }
}

@keyframes animateBrightness {
  10% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(0.1);
  }
  90% {
    filter: brightness(1);
  }
}

.contact-form {
  margin-top: 16px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.form-input,
.form-textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--text);
  font-size: 0.95rem;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  /* Focus shadow removed per request */
}

footer {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* 404 page */
.not-found {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 220px);
  padding: 32px 0 56px;
  text-align: center;
}

.not-found__card {
  max-width: 640px;
  width: 100%;
  text-align: center;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px 32px;
}

.not-found__code {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  letter-spacing: 4px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  font-family: "Bruno Ace SC", sans-serif;
}

.not-found h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 12px;
  color: var(--text);
}

.not-found__copy {
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.7;
}

.not-found__actions {
  display: grid;
  place-items: center;
  gap: 12px;
  width: 100%;
}

.not-found__actions .cta {
  justify-content: center;
  width: fit-content;
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
  }

  .site-nav a {
    margin-left: 0;
    margin-right: 12px;
  }

  .site-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }
}

@media (max-width: 480px) {
  .header-container {
    padding: 8px 12px;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 20px 12px 20px;
  }

  .hero-image-block {
    /* CODEx: avoid 100vw overflow on mobile */
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .card-section__inner {
    flex-direction: column;
    align-items: center;
  }

  .flip-card {
    width: min(100%, 360px);
  }

  .hero-image-actions {
    width: min(100%, 360px);
    padding: 0 8px;
    align-items: stretch;
  }

  .hero-image-actions .cta {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .amenity-card--list {
    max-width: 100%;
    padding: 24px;
  }

  .amenity-list {
    grid-template-columns: 1fr;
  }
}

/* About Project Card Styles */
.about-project {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 56px;
  padding: 0 0 32px 0;
}

.about-project .card {
  max-width: 600px;
  width: 100%;
  background: var(--bg);
  border: none;
  border-radius: 20px;
  /* Shadow removed per request */
  padding: 36px 28px 32px 28px;
  color: var(--text);
  transition: transform 0.2s;
}

.about-project .card:hover {
  /* Shadow removed per request */
  transform: translateY(-2px) scale(1.01);
}

.about-project h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 18px;
  color: #000;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: "Bruno Ace SC", sans-serif;
}

.about-project__meta {
  display: flex;
  gap: 24px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.about-project__meta-item {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 14px 20px 12px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 120px;
  margin-bottom: 6px;
}

.about-project__meta-label {
  font-size: 1.02rem;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.about-project__meta-value {
  font-size: 1.35rem;
  color: #000;
  font-weight: 800;
}

.about-project__meta-value--highlight {
  color: #000;
}

.about-project p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 14px;
  line-height: 1.7;
  text-align: justify;
}

/* Unique Selling Points */
.usp-section {
  margin: 32px 0 56px;
}

.usp-header {
  text-align: center;
  margin-bottom: 24px;
}

.usp-header h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--text);
  margin-bottom: 6px;
  font-family: "Bruno Ace SC", sans-serif;
}

.usp-header p {
  color: var(--muted);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.usp-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

/* USP bullets card layout */
.usp-card--bullets {
  max-width: 900px;
  margin: 0 auto;
}

.usp-image {
  width: 100%;
  height: clamp(220px, 28vw, 360px);
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  display: block;
  background: var(--bg-deep);
  border: 1px solid var(--border);
}

.usp-list {
  padding-left: 20px;
  color: var(--text);
  line-height: 1.7;
}

.usp-list li {
  margin-bottom: 10px;
}

.usp-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text);
}

.usp-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* Amenities */
.amenities-section {
  margin: 32px 0 56px;
}

.amenities-header {
  text-align: center;
  margin-bottom: 24px;
}

.amenities-header h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--text);
  margin-bottom: 6px;
  font-family: "Bruno Ace SC", sans-serif;
}

.amenities-header p {
  color: var(--muted);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.amenity-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.amenity-card--list {
  max-width: 1000px;
  margin: 0 auto;
}

.amenity-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 18px;
}

.amenity-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
}

.amenity-icon {
  width: 30px;
  height: 30px;
  fill: var(--text);
  flex-shrink: 0;
}

.amenity-icon-video {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.amenity-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--text);
}

.amenity-card p {
  color: var(--muted);
  line-height: 1.6;
}

/* Location */
.location-section {
  margin: 32px 0 56px;
}

.location-header {
  text-align: center;
  margin-bottom: 24px;
}

.location-header h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--text);
  margin-bottom: 6px;
  font-family: "Bruno Ace SC", sans-serif;
}

.location-header p {
  color: var(--muted);
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.location-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.location-meta {
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.95rem;
}

.location-list {
  margin-top: 14px;
  padding-left: 20px;
  color: var(--text);
  line-height: 1.7;
}

.location-list li {
  margin-bottom: 6px;
}

.location-map {
  padding: 0;
  overflow: hidden;
  display: flex;
  min-height: 320px;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
}

/* SEO content */
.seo-section {
  margin: 32px 0 56px;
  display: flex;
  justify-content: center;
}

.seo-card {
  max-width: 900px;
  width: 100%;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}

.seo-card h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin-bottom: 12px;
  color: var(--text);
  font-family: "Bruno Ace SC", sans-serif;
}

.seo-card p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.seo-details {
  border: none;
}

.seo-summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  padding: 6px 0;
  list-style: none;
}

.seo-summary::-webkit-details-marker {
  display: none;
}

.seo-details > .seo-summary::after {
  content: " +";
  transition: transform 0.3s ease-in-out;
}

.seo-details[open] > .seo-summary::after {
  content: " −";
}

.seo-details > *:not(.seo-summary) {
  animation: seo-expand 0.3s ease-in-out;
}

@keyframes seo-expand {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seo-list {
  padding-left: 20px;
  color: var(--text);
  line-height: 1.7;
}

.seo-list li {
  margin-bottom: 6px;
}

/* Floor Plans */
.floor-plans-section {
  margin: 32px 0 64px;
}

.floor-plans-header {
  text-align: left;
  margin-bottom: 12px;
}

.floor-plans-header h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--text);
  margin-bottom: 6px;
  font-family: "Bruno Ace SC", sans-serif;
}

.floor-plans-header p {
  color: var(--muted);
}

.floor-plan-actions {
  display: flex;
  justify-content: flex-start;
  margin: 8px 0 18px;
}

.floor-plans-accordion {
  display: grid;
  gap: 14px;
}

.floor-plan-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease-in, background 0.2s ease-in;
}

.floor-plan-card > summary {
  list-style: none;
}

.floor-plan-card > summary::-webkit-details-marker {
  display: none;
}

.floor-plan-summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  transition: background 0.2s ease-in;
}

.floor-plan-title h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--text);
}

.floor-plan-title p {
  color: var(--muted);
}

.floor-plan-toggle {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  transition: transform 0.2s ease;
}

.floor-plan-card[open] .floor-plan-toggle {
  transform: rotate(45deg);
}

.floor-plan-panel {
  padding: 0 16px 16px;
  animation: floor-plan-open 0.2s ease-in;
}

@keyframes floor-plan-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.floor-plan-panel img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  cursor: zoom-in;
  opacity: 0;
  animation: floor-plan-image-in 0.35s ease-in 0.5s forwards;
}

.floor-plan-meta {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.floor-plan-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text);
  font-size: 0.98rem;
}

.floor-plan-meta-row span {
  color: var(--muted);
}

.floor-plan-meta-row strong {
  font-weight: 700;
}

@keyframes floor-plan-image-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ accordion */
.faq-section {
  margin: 32px 0 64px;
  /* CODEx: keep FAQ anchor below sticky header */
  scroll-margin-top: 90px;
}

.faq-header {
  text-align: center;
  margin-bottom: 18px;
}

.faq-header h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--text);
  margin-bottom: 6px;
  font-family: "Bruno Ace SC", sans-serif;
}

.faq-header p {
  color: var(--muted);
}

.faq-accordion {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.faq-item > summary {
  list-style: none;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  transition: background 0.2s ease-in;
  font-weight: 700;
  color: var(--text);
}

.faq-toggle {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  transition: transform 0.2s ease-in;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-panel {
  padding: 0 16px 16px;
  animation: faq-open 0.2s ease-in;
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-image {
  max-width: 92vw;
  max-height: 85vh;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 32px;
  cursor: pointer;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #25d366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  z-index: 1000;
  border: none;
  cursor: pointer;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-icon {
  width: 100%;
  height: 100%;
  border-radius: 999px;
  object-fit: cover;
}

/* WhatsApp nudge popup */
.whatsapp-nudge {
  position: fixed;
  right: 24px;
  bottom: 92px;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 1050;
}

.whatsapp-nudge.is-open {
  display: flex;
  animation: nudge-fade 0.25s ease-in;
}

.whatsapp-nudge__card {
  background: rgba(0, 0, 0, 0.65);
  border-radius: 12px;
  padding: 12px 16px;
  position: relative;
  text-align: center;
  min-width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.whatsapp-nudge__link {
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.whatsapp-nudge__subtext {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.whatsapp-nudge__close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
}

@keyframes nudge-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* WhatsApp modal */
.whatsapp-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 20px;
}

.whatsapp-modal.is-open {
  display: flex;
}

.whatsapp-modal__content {
  width: min(420px, 92vw);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.whatsapp-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

/* WhatsApp modal form style (based on components/form.php) */
.whatsapp-form-card {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: linear-gradient(to right, var(--bg-deep), var(--bg-soft));
  box-shadow: none;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

.whatsapp-form-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  margin-top: 6px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.whatsapp-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.whatsapp-inputbox {
  margin: 0.6em 0;
  width: 100%;
  position: relative;
}

.whatsapp-inputbox input,
.whatsapp-inputbox textarea {
  font-size: 100%;
  padding: 1.1em 0.7em 0.5em;
  outline: none;
  color: var(--text);
  border: none;
  border-bottom: 2px solid var(--text);
  background: transparent;
  border-radius: 0;
  width: 100%;
  resize: none;
}

.whatsapp-inputbox span {
  font-size: 100%;
  position: absolute;
  left: 0;
  color: var(--text);
  padding: 0.4em 0.7em;
  margin-left: 0;
  top: 0;
  pointer-events: none;
  transition: all 0.5s ease;
  text-transform: uppercase;
}

.whatsapp-inputbox input:focus ~ span,
.whatsapp-inputbox input:valid ~ span,
.whatsapp-inputbox textarea:focus ~ span,
.whatsapp-inputbox textarea:valid ~ span {
  transform: translateY(-50%) scale(0.9);
  margin: 0;
  padding: 0.4em;
  background: transparent;
}

.whatsapp-submit {
  font-family: inherit;
  font-size: 18px;
  background: #87ceeb;
  color: var(--bg-light);
  padding: 0.7em 1em;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  gap: 0.3em;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  margin-bottom: 6px;
  align-self: center;
}

.whatsapp-submit:hover .whatsapp-btn-icon {
  animation: whatsapp-fly 0.6s ease-in-out infinite alternate;
}

.whatsapp-submit:hover svg {
  transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

.whatsapp-submit:hover .whatsapp-btn-text {
  transform: translateX(5em);
}

.whatsapp-submit:active {
  transform: scale(0.95);
}

.whatsapp-btn-text {
  display: block;
  transition: all 0.3s ease-in-out;
}

.whatsapp-btn-icon {
  display: inline-flex;
  transform-origin: center center;
}

.whatsapp-btn-icon svg {
  display: block;
  transition: transform 0.3s ease-in-out;
}

@keyframes whatsapp-fly {
  from {
    transform: translateY(0.1em);
  }
  to {
    transform: translateY(-0.1em);
  }
}

.whatsapp-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text);
  font-size: 12px;
  opacity: 0.8;
  margin-top: -4px;
  margin-bottom: 6px;
  justify-content: center;
}

.whatsapp-privacy svg {
  width: 14px;
  height: 14px;
  fill: var(--text);
}

/* Brochure modal */
.brochure-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1150;
  padding: 20px;
}

.brochure-modal.is-open {
  display: flex;
  animation: brochure-fade 0.25s ease-in;
}

.brochure-card {
  width: min(420px, 92vw);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
}

.brochure-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.brochure-form input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  color: var(--text);
}

.brochure-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

@keyframes brochure-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 600px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
}


@media (max-width: 1024px) {
  .amenity-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (min-width: 1200px) {
  .amenity-card--list {
    max-width: 1100px;
    padding: 28px;
  }

  .amenity-list {
    gap: 18px 24px;
  }
}

@media (max-width: 700px) {
  .about-project .card {
    padding: 24px 10px 20px 10px;
    max-width: 98vw;
  }
  .about-project {
    padding: 0 0 18px 0;
  }
  .about-project__meta {
    gap: 10px;
  }
  .about-project__meta-item {
    min-width: 90px;
    padding: 8px 10px 6px 10px;
  }
}

@media (max-width: 420px) {
  .about-project .card {
    padding: 14px 2vw 12px 2vw;
    border-radius: 12px;
  }
  .about-project h2 {
    font-size: 1.2rem;
  }
  .about-project p {
    font-size: 0.98rem;
  }
  .about-project__meta {
    flex-direction: column;
    gap: 4px;
  }
  .about-project__meta-item {
    width: 100%;
    min-width: unset;
    align-items: flex-start;
  }
}

/* Hero image styles */
