:root {
  --bg: #f4efe9;
  --panel: #f8f5f2;
  --card: #fffdfb;
  --stone: #d7c6b3;
  --ink: #01434d;
  --muted: #486a70;
  --line: rgba(1, 67, 77, 0.14);
  --accent: #01434d;
  --accent-soft: #dfe9eb;
  --shadow: 0 20px 60px rgba(1, 67, 77, 0.1);
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Preloader */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.8, 0, 0.2, 1), transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}

.site-preloader.is-loaded {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px) scale(1.02);
}

.preloader-logo-wrap {
  overflow: hidden;
}

.preloader-logo {
  width: clamp(80px, 30vw, 140px);
  height: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: preloaderReveal 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes preloaderReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

html {
  overflow-x: clip;
  max-width: 100%;
}

img {
  width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.section-shell {
  padding: 96px 0;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
  border: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  gap: 20px;
  padding-top: 18px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 86px;
  height: 86px;
  padding: 12px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-logo {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav {
  position: absolute;
  top: 84px;
  right: 28px;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 22px;
  min-width: 220px;
  background: rgba(12, 16, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav.open {
  display: flex;
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.phone-pill {
  display: none;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  width: 48px;
  height: 48px;
  padding: 0;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.menu-toggle svg {
  display: block;
  flex-shrink: 0;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e5dfd7;
}

/* ----  HERO SCROLL SEQUENCE  ---- */
.hero-sequence {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: 300vh;          /* 3 images × 100vh of scroll room */
}

/* Sticky pin: stays glued to viewport while parent scrolls */
.hero-sticky-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* All panels are stacked absolutely inside the pin */
.hero-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}

.hero-panel.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.0));
}

/* Text overlay — absolutely centred inside the sticky pin */
.hero-text-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.hero-text-overlay h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 8vw, 7.5rem);
  color: #ffffff;
  text-align: center;
  text-shadow: 0 12px 34px rgba(0,0,0,0.45);
  line-height: 1;
  margin: 0;
  padding: 0 20px;
  letter-spacing: -0.02em;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02) brightness(0.96);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 45%, rgba(255, 255, 255, 0.10));
}

.hero-content {
  display: none;
}

.villa-layout {
  background: linear-gradient(180deg, #f5efe9 0%, #f7f3ef 100%);
}

.villa-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.villa-layout-image-wrap {
  display: grid;
  gap: 18px;
}

.villa-layout-image {
  overflow: visible;
  background: transparent;
}

.villa-layout-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.villa-price-strip {
  display: flex;
  justify-content: center;
  padding-top: 2px;
}

.villa-price-strip div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}

.villa-price-strip span {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.1rem, 2.8vw, 3.2rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.06em;
  font-weight: 700;
}

.villa-price-strip small {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.villa-stat-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(1, 67, 77, 0.18);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-item small {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  order: -1; /* label always on top */
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 2rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.04em;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(18px);
}

.villa-stat-list.is-visible .stat-number {
  animation: statReveal 0.8s ease forwards;
}

.villa-stat-list.is-visible .stat-item:nth-child(2) .stat-number {
  animation-delay: 0.12s;
}

.villa-stat-list.is-visible .stat-item:nth-child(3) .stat-number {
  animation-delay: 0.24s;
}

.stat-item small {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes statReveal {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.villa-layout-copy {
  padding: 18px 0;
}

.villa-layout-copy h2 {
  margin: 0 0 24px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}

.villa-layout-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.villa-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.villa-cta-row .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
  border: 1px solid transparent;
}

.villa-cta-row .btn-primary {
  background: #e8dfd3;
  color: #0f2d32;
  border-color: #e8dfd3;
}

.villa-cta-row .btn-secondary {
  background: transparent;
  color: #0f2d32;
  border-color: rgba(15, 45, 50, 0.8);
}

.villa-cta-row .btn:hover {
  transform: translateY(-1px);
}

.stacked-visual {
  position: relative;
  padding-top: 40px;
  padding-bottom: 120px;
}

.stacked-wrap {
  position: relative;
  height: 760px;
}

.stack-card {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(72vw, 820px);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 34px 100px rgba(12, 16, 18, 0.18);
  transform: translate(-50%, 120px) scale(0.96);
  opacity: 0;
  animation: stackRise 1s ease forwards;
  animation-delay: var(--delay);
}

.card-one {
  --delay: 0.15s;
}

.card-two {
  --delay: 0.35s;
}

.card-three {
  --delay: 0.55s;
}

.stack-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.card-one {
  transform: translate(-50%, 90px) scale(0.92);
  z-index: 1;
}

.card-two {
  width: min(68vw, 760px);
  transform: translate(-50%, 40px) scale(0.96);
  z-index: 2;
}

.card-three {
  width: min(62vw, 700px);
  z-index: 3;
}

@keyframes stackRise {
  0% {
    opacity: 0;
    transform: translate(-50%, 120px) scale(0.92);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow.dark {
  color: var(--accent);
  font-weight: 600;
}

.hero h1,
.story h2,
.showcase-block h2,
.club-card h3,
.contact h2,
.developer h2 {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: -0.02em;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 0.9;
}

.hero-sub {
  max-width: 620px;
  margin-top: 22px;
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  padding: 0 24px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: #f7f0e6;
  color: #1a1715;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.story {
  background: linear-gradient(180deg, var(--bg) 0%, #f7f5f2 100%);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading.center {
  text-align: center;
}

.section-heading p {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading .location-title {
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  letter-spacing: 0.1em;
}

.location-intro {
  margin: 0 auto;
  max-width: 1200px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: nowrap;
}

.story-copy {
  max-width: 940px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--muted);
  text-align: center;
}

.story-copy p {
  margin: 0 0 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 52px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-box h3 {
  margin: 0;
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-family: 'Cormorant Garamond', serif;
  line-height: 1;
  font-weight: 600;
}

.stat-box p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.config-strip {
  background: transparent;
  color: var(--white);
  padding: 0;
}

.config-shell {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 0;
}

.config-grid {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.04em;
  width: min(280px, 28vw);
}

.config-option {
  width: 100%;
  padding: 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--accent);
  color: #ffffff;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  cursor: pointer;
  transition: background 0.35s ease, transform 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

.config-option:hover,
.config-option:focus-visible {
  background: color-mix(in srgb, var(--accent) 82%, #ffffff 18%);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.config-option.is-active {
  background: color-mix(in srgb, var(--accent) 72%, #000000 28%);
  border-color: rgba(255, 255, 255, 0.72);
}

.intro-line-wrap {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-top: 18px;
}

.config-visual-wrap {
  min-width: 0;
  width: 100%;
}

.config-visual-frame {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column-reverse;
}

.config-visual-frame::after {
  display: none;
}

.config-visual-frame img {
  display: block;
  width: 100%;
  height: clamp(420px, 60vw, 760px);
  object-fit: cover;
  object-position: center;
  opacity: 1;
  filter: none;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 0.9s ease, filter 0.8s ease;
}

.config-visual-copy {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: 100%;
  color: var(--ink);
  text-align: center;
  text-shadow: none;
  padding: 0 16px 24px;
}

.config-visual-copy p {
  margin: 0;
  white-space: normal;
  font-size: clamp(1.05rem, 1.5vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-weight: 500;
}

@keyframes premiumImageReveal {
  0% {
    opacity: 0;
    transform: scale(1.12) translateY(8px);
    filter: saturate(0.9) contrast(0.96) brightness(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1.02) translateY(0);
    filter: saturate(1.06) contrast(1.04) brightness(1.02);
  }
}

.floor-plans {
  background: linear-gradient(rgba(241, 236, 219, 0.82), rgba(241, 236, 219, 0.82)), url('assets/animites-bg.svg') center/cover no-repeat;
  padding-top: 72px;
  padding-bottom: 70px;
}

.floor-plan-layout {
  position: relative;
}

.floor-plan-header {
  position: relative;
  margin-bottom: 26px;
}

.floor-plans-main-title {
  margin: 0;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 4vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: #0a4b57;
  font-weight: 600;
}

.floor-plan-controls {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.floor-plan-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(10, 75, 87, 0.2);
  background: rgba(255, 255, 255, 0.72);
  color: #0a4b57;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 22px rgba(10, 75, 87, 0.08);
}

.floor-plan-arrow:hover,
.floor-plan-arrow:focus-visible {
  background: #0a4b57;
  color: #fff;
  transform: scale(1.04);
}

.floor-plan-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.floor-plan-arrow span {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.floor-plan-grid {
  display: flex;
  align-items: stretch;
  gap: 22px;
  overflow: hidden;
}

.floor-plan-card {
  display: flex;
  flex: 0 0 calc(50% - 11px);
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.floor-plan-card.is-hidden {
  display: none;
}

.plan-tag-row {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 12px;
}

.plan-tag-row span {
  display: inline-block;
  padding: 2px 14px;
  border: 1px solid rgba(10, 75, 87, 0.2);
  background: rgba(255, 255, 255, 0.18);
  color: #0a4b57;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.floor-plan-card img {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border: 1px solid rgba(10, 75, 87, 0.18);
  background: #f5f1ea;
  box-shadow: 0 18px 34px rgba(20, 22, 20, 0.08);
}

.plan-direction {
  position: absolute;
  right: 6px;
  top: 52%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0a4b57;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 1.4vw, 1.9rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
  opacity: 1;
  z-index: 2;
}

.plan-direction span {
  display: inline-block;
  line-height: 1;
}

.plan-direction::before {
  content: '↑';
  display: block;
  margin-bottom: 10px;
  font-size: 1.6rem;
  line-height: 1;
}

.plan-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}

.plan-lightbox.is-open {
  display: flex;
}

.plan-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 17, 0.72);
}

.plan-lightbox-panel {
  position: relative;
  width: min(96vw, 1100px);
  max-height: 92vh;
  overflow-y: auto;
  background: #f6f1e8;
  border: 1px solid rgba(10, 75, 87, 0.16);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  padding: clamp(14px, 4vw, 28px) clamp(12px, 4vw, 24px) 20px;
  z-index: 1;
}

.plan-lightbox-panel img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #f5f1ea;
}

.plan-lightbox-title {
  margin-top: 10px;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a4b57;
}

.plan-close {
  position: absolute;
  right: 14px;
  top: 12px;
  border: 0;
  background: rgba(10, 75, 87, 0.08);
  color: #0a4b57;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

.amenities {
  background: linear-gradient(rgba(241, 236, 219, 0.85), rgba(241, 236, 219, 0.85)), url('assets/animites-bg.svg') center/cover no-repeat;
  padding-top: 78px;
  padding-bottom: 96px;
}

.amenities-wrap {
  max-width: 1460px;
}

.amenities-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.amenities-header h2 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(4rem, 6vw, 8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: #121212;
  font-weight: 600;
}

.amenities-rule {
  display: block;
  width: 130px;
  height: 3px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, 0.9) 20%, rgba(17, 17, 17, 0.9) 80%, rgba(17, 17, 17, 0) 100%);
}

.amenities-feature-grid {
  display: flex;
  align-items: stretch;
  gap: 12px;
  min-height: 520px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(29, 27, 20, 0.06);
  border: 1px solid rgba(10, 15, 17, 0.06);
  flex: 0.7 1 0;
  transition: flex 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease, transform 0.35s ease;
  cursor: pointer;
}

.feature-card:first-child {
  flex: 2.4 1 0;
}

.feature-card:hover,
.feature-card:focus-within {
  flex: 2.8 1 0;
}

.feature-card:hover~.feature-card,
.feature-card:focus-within~.feature-card {
  flex: 0.6 1 0;
}

.feature-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.7s ease, filter 0.35s ease;
}

.feature-card:hover img,
.feature-card:focus-within img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.feature-card-large {
  flex: 2.4 1 0;
}

.feature-card-tall {
  flex: 0.7 1 0;
}

.feature-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 18px 14px;
  background: linear-gradient(180deg, rgba(10, 12, 12, 0) 0%, rgba(10, 12, 12, 0.72) 100%);
}

.feature-card-overlay h3 {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2vw, 2.7rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #f5f2eb;
  font-weight: 600;
}

.amenities-specs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 34px;
}

.spec-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 10px 14px;
  text-align: center;
  border: 1px solid rgba(17, 17, 17, 0.18);
  background: rgba(255, 255, 255, 0.12);
  color: #0d3d43;
  font-size: 0.77rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.clubhouse-feature {
  padding-top: 32px;
  padding-bottom: 80px;
}

.clubhouse-feature-wrap {
  width: 100%;
  max-width: none;
}

.clubhouse-heading {
  margin-bottom: 18px;
}

.clubhouse-heading .clubhouse-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 7.5vw, 11rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: #121212;
}

.clubhouse-hero-image-wrap {
  position: relative;
  width: min(96vw, 1250px);
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  background: #f3efe8;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: none;
}

.clubhouse-hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  margin: 0;
}

.clubhouse-overlay-actions {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: min(92%, 1200px);
  z-index: 2;
}

.clubhouse-action-pill {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(20, 18, 16, 0.48);
  color: #f7f1ea;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.8rem 1.15rem;
  min-height: 42px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.clubhouse-action-pill:hover,
.clubhouse-action-pill.active {
  background: #01434d;
  border-color: rgba(251, 223, 175, 0.7);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-from-bottom {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.85s ease, transform 0.85s ease;
  will-change: opacity, transform;
}

.reveal.is-visible,
.reveal-from-bottom.is-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;
}

.reveal-from-bottom.reveal-delay-1 {
  transition-delay: 0.14s;
}

@media (prefers-reduced-motion: reduce) {

  .reveal,
  .reveal-from-bottom {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .location-intro {
    white-space: normal;
  }

  .amenities-feature-grid {
    flex-wrap: wrap;
  }

  .feature-card,
  .feature-card-large,
  .feature-card-tall {
    flex: 1 1 calc(50% - 12px);
    min-height: 420px;
  }

  .amenities-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {

  .amenities-feature-grid,
  .amenities-specs {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .feature-card,
  .feature-card-large,
  .feature-card-tall {
    flex: 1 1 auto;
    min-height: 300px;
  }
}

.accordion {
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: 0;
  padding: 22px 0;
  font-size: 1.08rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.accordion-trigger::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
}

.accordion-item.is-open .accordion-trigger::after {
  content: '–';
}

.accordion-panel {
  display: none;
  padding: 0 0 24px;
  color: var(--muted);
}

.accordion-item.is-open .accordion-panel {
  display: block;
}

.location-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.25fr) minmax(320px, 0.75fr);
  min-height: 500px;
  margin-top: 48px;
}

.location-map {
  height: 500px;
  background: #dfe9eb;
}

.location-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-nearby {
  padding: 32px 32px 28px 40px;
  background: #01434d;
  color: #f8f5f2;
}

.location-nearby .eyebrow {
  color: #f3c979;
  margin-bottom: 14px;
}

.location-nearby h2 {
  max-width: 300px;
  margin: 0 0 20px;
  color: #f8f5f2;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  line-height: 0.95;
}

.location-nearby-list {
  display: grid;
  gap: 12px;
}

.location-nearby-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(248, 245, 242, 0.24);
}

.location-nearby-item>span {
  color: #f3c979;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.location-nearby-item h3 {
  margin: 0 0 4px;
  color: #f8f5f2;
  font-size: 1rem;
}

.location-nearby-item p {
  margin: 0;
  color: rgba(248, 245, 242, 0.72);
  font-size: 0.82rem;
  line-height: 1.45;
}

.developer {
  background: linear-gradient(180deg, #f5efe9 0%, #eee5dd 100%);
  overflow: hidden;
}

.developer-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.developer-wrap h2 {
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.96;
}

.developer-copy>p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.9;
}

.developer-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.developer-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 18px 38px rgba(1, 67, 77, 0.16);
}

.contact {
  background: #f7f3ee;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.contact-copy {
  padding-right: 20px;
}

.contact h2 {
  margin: 0 0 15px;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.96;
}

.contact-copy p {
  margin: 0 0 18px;
  color: var(--muted);
}

.contact-details {
  margin-top: 24px;
}

.contact-details p {
  margin-bottom: 12px;
}

.enquiry-form {
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.field-row {
  margin-bottom: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

label {
  display: block;
}

label span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(32, 28, 26, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  min-height: 52px;
  padding: 0.9rem 1rem;
  color: var(--ink);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.form-actions .btn {
  min-width: 0;
}

.form-actions .btn-secondary {
  color: var(--ink);
  border-color: rgba(32, 28, 26, 0.2);
}

.site-footer {
  background: #0b3035;
  color: rgba(255, 255, 255, 0.74);
  padding: 72px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
}

.footer-brand img {
  width: 150px;
  height: auto;
  filter: brightness(0) invert(1);
}

.footer-brand>p {
  max-width: 220px;
  margin: 22px 0 28px;
  color: #f3c979;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  line-height: 1.1;
}

.footer-nav,
.social-links,
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-nav,
.footer-contact {
  align-content: start;
  flex-direction: column;
}

.footer-nav a,
.footer-contact a {
  width: fit-content;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover,
.social-links a:hover {
  color: #f3c979;
}

.footer-label {
  margin: 0 0 12px;
  color: #f3c979;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.footer-contact p:not(.footer-label) {
  max-width: 260px;
  margin: 4px 0 0;
  font-size: 0.78rem;
  line-height: 1.6;
}

.footer-contact-image {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-top: 12px;
  border-radius: 4px;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  line-height: 1.5;
}

/* ==============================
   RESPONSIVE — 980px (Tablet)
   ============================== */
@media (max-width: 980px) {
  .hero-panel,
  .hero-panel.is-active,
  .config-visual-frame img {
    transform: none;
  }

  .clubhouse-heading .clubhouse-title {
    font-size: clamp(3.5rem, 9vw, 7rem);
    white-space: normal;
  }

  /* Slide-in mobile nav */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(320px, calc(100vw - 54px));
    min-width: 0;
    min-height: 100vh;
    padding: 112px 28px 36px;
    background: rgba(20, 18, 17, 0.97);
    border-radius: 0 0 0 24px;
    box-shadow: -20px 0 60px rgba(0,0,0,0.28);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.4s ease, visibility 0.4s ease;
    z-index: 31;
  }

  .main-nav.open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 32;
  }

  .stats-grid,
  .club-levels,
  .location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Config section: image on top, buttons below */
  .config-shell {
    display: flex;
    flex-direction: column-reverse;
  }

  .config-grid {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    display: grid;
    padding: 24px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Single column layouts */
  .villa-layout-grid,
  .developer-wrap,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 40px;
  }

  .location-map-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .location-map,
  .location-map iframe {
    height: 400px;
  }

  .location-nearby {
    padding: 48px 32px;
  }

  .image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Amenities accordion on tablet */
  .amenities-feature-grid {
    flex-wrap: wrap;
  }

  .feature-card,
  .feature-card-large,
  .feature-card-tall {
    flex: 1 1 calc(50% - 12px);
    min-height: 360px;
  }

  .amenities-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==============================
   RESPONSIVE — 640px (Mobile)
   ============================== */
@media (max-width: 640px) {

  /* Base spacing */
  .section-shell {
    padding: 60px 0;
  }

  /* ---- HERO ---- */
  .hero-sequence {
    height: 250vh;
  }

  .hero-panel {
    padding: 12px;
  }

  .hero-panel img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
  }

  .hero-panel-overlay {
    inset: 12px;
    border-radius: 20px;
  }

  .hero-text-overlay h1 {
    font-size: clamp(2rem, 9vw, 3.5rem);
    padding: 0 16px;
  }

  /* ---- STACKED CARDS (About section animation) ---- */
  .stacked-visual {
    padding-top: 20px;
    padding-bottom: 60px;
  }

  .stacked-wrap {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
  }

  .stack-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    transform: none !important;
    opacity: 1;
    animation: none;
    border-radius: 16px;
  }

  .stack-card img {
    height: clamp(200px, 55vw, 320px);
  }

  /* ---- VILLA SECTION ---- */
  .villa-layout-grid {
    grid-template-columns: 1fr;
  }

  .villa-stat-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .villa-price-strip div {
    flex-wrap: wrap;
    justify-content: center;
  }

  .villa-cta-row {
    flex-direction: column;
  }

  .villa-cta-row .btn {
    width: 100%;
    text-align: center;
  }

  /* ---- CONFIG / BHK STRIP ---- */
  .config-grid {
    grid-template-columns: 1fr;
  }

  .config-visual-frame img {
    height: clamp(240px, 60vw, 420px);
  }

  /* ---- FLOOR PLANS ---- */
  .floor-plan-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .floor-plan-controls {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
  }

  .floor-plan-card {
    flex: 0 0 100%;
  }

  .floor-plan-card img {
    max-width: 100%;
  }

  /* ---- AMENITIES ---- */
  .amenities-feature-grid {
    flex-direction: column;
  }

  .feature-card,
  .feature-card-large,
  .feature-card-tall {
    flex: 1 1 auto;
    width: 100%;
    min-height: 260px;
  }

  .amenities-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ---- CLUBHOUSE ---- */
  .clubhouse-heading .clubhouse-title {
    font-size: clamp(2.8rem, 12vw, 5rem);
  }

  .clubhouse-hero-image-wrap {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .clubhouse-overlay-actions {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    padding: 20px 14px;
    gap: 10px;
  }

  /* ---- LOCATION ---- */
  .location-intro {
    white-space: normal;
    padding: 0 16px;
  }

  .location-map,
  .location-map iframe {
    height: 280px;
  }

  .location-nearby {
    padding: 36px 20px;
  }

  /* ---- STATS GRID ---- */
  .stats-grid,
  .club-levels,
  .location-grid,
  .two-col,
  .image-grid {
    grid-template-columns: 1fr;
  }

  /* ---- FORMS ---- */
  .footer-nav,
  .social-links,
  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .footer-legal {
    flex-direction: column;
    gap: 8px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  /* ---- FOOTER ---- */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==============================
   RESPONSIVE — 420px (Small phones)
   ============================== */
@media (max-width: 420px) {
  .villa-stat-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .stat-number {
    font-size: clamp(0.95rem, 4vw, 1.4rem);
  }

  .stat-item small {
    font-size: 0.55rem;
  }

  .amenities-specs {
    grid-template-columns: 1fr;
  }

  .brand-block {
    width: 72px;
    height: 72px;
    padding: 10px;
  }

  .hero-text-overlay h1 {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }
}

/* Floating Action Buttons */
.floating-action-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.fab {
  display: block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.fab img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
  /* Add a subtle drop shadow to the image itself if desired, or let the image asset provide it */
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.fab:hover, .fab:focus-visible {
  transform: translateY(-6px) scale(1.05);
}

@media (max-width: 640px) {
  .floating-action-buttons {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }

  .fab img {
    width: 46px;
    height: 46px;
  }
}

/* Brochure Modal */
.brochure-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.brochure-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.brochure-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 18, 0.8);
  backdrop-filter: blur(8px);
}

.brochure-modal-panel {
  position: relative;
  background: var(--card);
  width: 90%;
  max-width: 440px;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  z-index: 10000;
}

.brochure-modal.is-open .brochure-modal-panel {
  transform: translateY(0);
}

.brochure-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.brochure-modal-panel h3 {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--ink);
}

.brochure-modal-panel p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.brochure-form .field-row {
  margin-bottom: 16px;
}

.brochure-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brochure-form label span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  font-weight: 600;
}

.brochure-form input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.brochure-form input:focus {
  border-color: var(--ink);
}