:root{
  --green:#2c4035;
  --green-dark:#1b2a22;
  --green-light:#466152;
  --green-soft:#375143;
  --accent:#2c4035;
  --accent-hover:#1e2f26;
  --ink:#18251f;
  --ink-soft:#2d3f35;
  --muted:#4f6459;
  --cream:#fbf9f4;
  --panel:#f3ede2;
  --ivory:#f4edd9;
  --dark:#192620;
  --dark-soft:#22332a;
  --line:#dfd8c8;
  --radius:12px;
  --btn-radius:24px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
html.lenis, html.lenis body{height:auto;}
.lenis.lenis-smooth{scroll-behavior:auto !important;}
.lenis.lenis-stopped{overflow:hidden;}

/* ============ PAGE LOADER ============ */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--green-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 3px rgba(244, 237, 217, 0.25);
}
.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--ivory);
  border-right-color: rgba(244, 237, 217, 0.3);
  animation: loaderSpin 1s linear infinite;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}
.loader-pulse {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(244, 237, 217, 0.15);
  animation: loaderPulse 1.8s ease-out infinite;
}
@keyframes loaderPulse {
  0%   { transform: scale(0.9); opacity: 0.6; }
  50%  { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(0.9); opacity: 0; }
}
.loader-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.12em;
  color: rgba(244, 237, 217, 0.65);
  text-align: center;
}


body{
  margin:0;
  font-family:'Jost', sans-serif;
  color:var(--ink-soft);
  background:var(--cream);
  font-weight:400;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:'Playfair Display', serif;
  color:var(--ink);
  margin:0;
  font-weight:500;
  letter-spacing:.2px;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
ul{list-style:none;margin:0;padding:0;}
button{font-family:inherit;cursor:pointer;}
.wrap{max-width:1200px;margin:0 auto;padding:0 32px;}

/* ---------- Lucide Icon Alignment ---------- */
i[data-lucide]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  line-height:0;
  vertical-align:middle;
}
i[data-lucide] svg{
  display:block;
}



/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 32px;
  background:var(--green);
  color:var(--ivory);
  border:1px solid var(--green);
  border-radius:var(--btn-radius);
  font-size:14px;
  letter-spacing:.5px;
  font-weight:500;
  line-height:1;
  white-space:nowrap;
  box-sizing:border-box;
  transition:all .3s ease;
}
.btn:hover{
  background:var(--green-dark);
  border-color:var(--green-dark);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(27,42,34,.2);
}
.btn-outline{
  background:transparent;
  border:1px solid var(--green);
  color:var(--green);
  border-radius:var(--btn-radius);
  height:48px;
  padding:0 32px;
  line-height:1;
}
.btn-outline:hover{
  background:var(--green);
  color:var(--ivory);
  transform:translateY(-2px);
  box-shadow:0 6px 16px rgba(44,64,53,.15);
}

.eyebrow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:var(--green-light);
  font-size:13px;
  letter-spacing:2px;
  margin-bottom:18px;
  font-weight:500;
}
.eyebrow span{white-space:nowrap;text-transform:uppercase;}
.eyebrow svg{width:34px;height:10px;color:var(--green-light);}
.eyebrow.left{justify-content:flex-start;}
section{position:relative;}

/* ---------- Topbar ---------- */
.topbar{
  background:var(--dark);
  color:#d4dfd9;
  font-size:13px;
}
.topbar .wrap{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px 32px;
  gap:20px;
  flex-wrap:wrap;
}
.topbar-left{display:flex;gap:26px;flex-wrap:wrap;}
.topbar a{display:flex;align-items:center;gap:8px;transition:color .2s ease;}
.topbar a:hover{color:#fff;}
.topbar svg{width:14px;height:14px;color:var(--ivory);flex-shrink:0;}
.topbar-right{display:flex;align-items:center;gap:8px;opacity:.9;}

/* ---------- Header / Nav ---------- */
header.main{
  background:#fff;
  border-bottom:1px solid var(--line);
  position:sticky;top:0;z-index:100;
}
header.main .wrap{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 32px;
  gap:20px;
}
.logo{display:flex;align-items:center;gap:14px;flex-shrink:0;}
.logo-mark{width:46px;height:46px;object-fit:cover;border-radius:50%;flex-shrink:0;}
.logo-text{line-height:1.15;}
.logo-text .top{font-family:'Playfair Display',serif;font-size:18px;letter-spacing:1.5px;color:var(--green-dark);font-weight:600;}
.logo-text .bottom{font-size:9.5px;letter-spacing:3px;color:var(--green-light);font-weight:500;}

/* Animated Navbar Underline & Prominent Links */
nav.primary{display:block;}
nav.primary ul{display:flex;gap:32px;align-items:center;margin:0;padding:0;list-style:none;}
nav.primary ul a{
  font-size:15px;
  color:var(--green-dark);
  font-weight:500;
  position:relative;
  padding:8px 0;
  letter-spacing:0.2px;
  transition:color .25s ease;
  display:inline-block;
}
nav.primary ul a::after{
  content:'';
  position:absolute;
  bottom:2px;
  left:0;
  width:0;
  height:2px;
  background-color:var(--green);
  transition:width .3s ease;
}
nav.primary ul a:hover{
  color:var(--green);
}
nav.primary ul a:hover::after{
  width:100%;
}

.nav-contact-mobile{display:none;}

.header-actions{display:flex;align-items:center;gap:18px;flex-shrink:0;}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:none;padding:6px;cursor:pointer;}
.burger span{width:24px;height:2px;background:var(--green-dark);display:block;transition:all .3s ease;}
.burger.active span:nth-child(1){transform:rotate(45deg) translate(5px, 5px);}
.burger.active span:nth-child(2){opacity:0;}
.burger.active span:nth-child(3){transform:rotate(-45deg) translate(5px, -5px);}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  background:linear-gradient(rgba(12, 22, 17, 0.75), rgba(12, 22, 17, 0.65)),
    url('images/used_under_700kb/private-waterfront-villa-hero.webp') center/cover no-repeat fixed;
  color:#fff;
  padding:60px 24px;
  overflow:hidden;
}
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:0;
  pointer-events:none;
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(12, 22, 17, 0.75), rgba(12, 22, 17, 0.65));
  z-index:1;
  pointer-events:none;
}
.hero-inner{
  position:relative;
  z-index:2;
  max-width:820px;
  width:100%;
  margin:0 auto;
}
.hero .eyebrow{
  color:var(--ivory);
  text-shadow:0 2px 8px rgba(0,0,0,0.5);
  max-width:100%;
  margin-bottom:18px;
}
.hero .eyebrow svg{
  color:var(--ivory);
  flex-shrink:0;
}
.hero h1{
  font-size:clamp(32px,5.2vw,58px);
  line-height:1.18;
  font-weight:400;
  font-style:italic;
  margin-bottom:22px;
  color:#ffffff;
  text-shadow:0 4px 20px rgba(0,0,0,0.65);
  text-wrap:balance;
}
.hero p{
  font-size:16.5px;
  color:#ffffff;
  max-width:540px;
  margin:0 auto 34px;
  font-weight:400;
  text-shadow:0 2px 10px rgba(0,0,0,0.6);
  text-wrap:pretty;
}

/* ---------- Hero CTAs ---------- */
.hero-actions{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
}
.btn-primary-hero{
  background:var(--ivory);
  color:var(--green-dark);
  border-color:var(--ivory);
  gap:8px;
}
.btn-primary-hero:hover{
  background:#ffffff;
  border-color:#ffffff;
  color:var(--green-dark);
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,0.35);
}
.btn-outline-hero{
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.4);
  color:#ffffff;
  backdrop-filter:blur(8px);
  gap:8px;
}
.btn-outline-hero:hover{
  background:rgba(255,255,255,0.25);
  border-color:#ffffff;
  color:#ffffff;
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,0.35);
}

/* ---------- Availability Section & Widget ---------- */
.availability-section{
  padding:50px 0;
  background:var(--panel);
  border-bottom:1px solid var(--line);
  position:relative;
  z-index:10;
}
.availability-card{
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:20px;
  padding:36px 40px;
  box-shadow:0 12px 36px rgba(27,42,34,0.06);
}
.availability-header{
  text-align:center;
  margin-bottom:28px;
}
.availability-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:rgba(44,64,53,0.08);
  color:var(--green);
  font-size:12px;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:20px;
  margin-bottom:12px;
}
.availability-header h2{
  font-size:clamp(22px,3vw,30px);
  margin-bottom:6px;
}
.availability-header p{
  color:var(--muted);
  font-size:15px;
  margin:0;
}
.airbnb-inline-link{
  color:var(--green);
  font-weight:500;
  text-decoration:underline;
  text-underline-offset:3px;
  display:inline-flex;
  align-items:center;
  gap:4px;
  transition:color 0.2s ease;
}
.airbnb-inline-link i{
  width:14px;
  height:14px;
}
.airbnb-inline-link:hover{
  color:var(--green-dark);
}
.availability-form{
  display:grid;
  grid-template-columns:repeat(4, 1fr) auto;
  gap:16px;
  align-items:end;
}
.form-group{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.form-group label{
  font-size:13px;
  font-weight:600;
  color:var(--ink);
  letter-spacing:0.3px;
  display:flex;
  align-items:center;
  gap:6px;
}
.form-group label i{
  color:var(--green);
  width:16px;
  height:16px;
}
.form-input{
  height:48px;
  padding:0 16px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#ffffff;
  color:var(--ink);
  font-family:'Jost', sans-serif;
  font-size:14px;
  outline:none;
  transition:all 0.25s ease;
  width:100%;
  box-sizing:border-box;
}
.form-input:focus{
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(44,64,53,0.12);
}
.counter-control{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:48px;
  padding:0 8px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#ffffff;
  box-sizing:border-box;
  user-select:none;
}
.counter-btn{
  width:34px;
  height:34px;
  border-radius:8px;
  border:1px solid var(--line);
  background:var(--cream);
  color:var(--ink);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  transition:all 0.2s ease;
}
.counter-btn:hover:not(:disabled){
  background:var(--green);
  border-color:var(--green);
  color:var(--ivory);
}
.counter-btn:disabled{
  opacity:0.35;
  cursor:not-allowed;
}
.counter-value{
  font-size:15px;
  font-weight:600;
  color:var(--ink);
  min-width:32px;
  text-align:center;
}
.form-group-btn{
  display:flex;
  align-items:flex-end;
}
.btn-whatsapp{
  background:#25D366;
  border-color:#25D366;
  color:#ffffff;
  gap:8px;
  width:100%;
}
.btn-whatsapp:hover{
  background:#1da851;
  border-color:#1da851;
  color:#ffffff;
  box-shadow:0 6px 18px rgba(37,211,102,0.3);
}

@media (max-width: 992px) {
  .availability-form{
    grid-template-columns:1fr 1fr;
  }
  .form-group-btn{
    grid-column:span 2;
  }
}
@media (max-width: 640px) {
  .availability-section{
    padding:32px 0;
  }
  .availability-card{
    padding:24px 20px;
    border-radius:16px;
  }
  .availability-form{
    grid-template-columns:1fr;
    gap:14px;
  }
  .form-group-btn{
    grid-column:span 1;
    margin-top:6px;
  }
  .hero-actions{
    flex-direction:column;
    width:100%;
    gap:12px;
  }
  .hero-actions .btn{
    width:100%;
    max-width:320px;
  }
}

/* ---------- Welcome ---------- */
.welcome{padding:120px 0 100px;overflow:hidden;}
.welcome-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:60px;
  align-items:center;
  position:relative;
  z-index:1;
}
.welcome-images{
  position:relative;
  height:520px;
  width:100%;
  max-width:560px;
}
.welcome-images .img-back,
.welcome-images .img-front{
  position:absolute;
  background-size:cover;
  background-position:center;
}
.welcome-images .img-back{
  width:70%;
  height:90%;
  bottom:0;
  left:0;
  border-radius:18px;
  overflow:hidden;                /* clips the inner div — box never moves */
  box-shadow:0 20px 45px -10px rgba(25,38,31,.2);
}
.welcome-images .img-back-inner{
  position:absolute;
  inset:-60px 0;                  /* Clamp to ±50px → exactly 100px total drift room */
  background-image:url('images/used_under_700kb/aerial-waterfront-villa-view.webp');
  background-size:cover;
  background-position:center;
  will-change:transform;
}
.welcome-images .img-front{
  width:58%;
  height:52%;
  top:0;
  right:0;
  border-radius:20px;
  border-left:8px solid var(--cream);
  border-bottom:8px solid var(--cream);
  border-top:none;
  border-right:none;
  box-shadow:none;
  z-index:2;
  background-image:url('images/unused_under_700kb/waterfront-entrance-view.webp');
}
.about-story-back{
  background-image:url('images/used_under_700kb/aerial-waterfront-villa-view.webp');
}
.about-story-front{
  background-image:url('images/unused_under_700kb/waterfront-entrance-view.webp');
}

.welcome-text .eyebrow{justify-content:flex-start;}
.welcome-text h2{font-size:clamp(28px,3.6vw,42px);line-height:1.25;margin-bottom:22px;}
.welcome-text p{font-size:16px;color:var(--ink-soft);margin-bottom:30px;max-width:490px;font-weight:400;line-height:1.75;}
.welcome-text strong{color:var(--ink);font-weight:600;}

/* ---------- The Villa Spaces (Interactive Bento Spotlight) ---------- */
.villa-spaces{
  padding:100px 0;
  background:var(--cream);
  position:relative;
}
.villa-spaces-head{
  max-width:700px;
  margin-bottom:48px;
  text-align:left;
}
.villa-spaces-head h2{
  font-size:clamp(28px,3.4vw,40px);
  margin-bottom:14px;
}
.villa-spaces-head p{
  font-size:16px;
  color:var(--ink-soft);
  line-height:1.75;
  margin:0;
  font-weight:400;
}

.villa-spotlight-wrapper{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:32px;
  align-items:stretch;
}

/* Featured Spotlight Card (Left) */
.spotlight-display{
  background:#ffffff;
  border-radius:24px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 14px 40px -10px rgba(27,42,34,0.08);
  display:flex;
  flex-direction:column;
  transition:opacity 0.25s ease, transform 0.25s ease;
}
.spotlight-display.is-transitioning{
  opacity:0.6;
  transform:scale(0.995);
}
.spotlight-image-container{
  position:relative;
  height:360px;
  overflow:hidden;
  background:var(--panel);
}
.spotlight-image{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.spotlight-display:hover .spotlight-image{
  transform:scale(1.03);
}
.spotlight-badge{
  position:absolute;
  top:20px;
  left:20px;
  background:rgba(27,42,34,0.85);
  backdrop-filter:blur(8px);
  color:var(--ivory);
  font-size:11px;
  font-weight:600;
  letter-spacing:1.5px;
  text-transform:uppercase;
  padding:6px 14px;
  border-radius:20px;
  border:1px solid rgba(244,237,217,0.25);
  box-shadow:0 4px 12px rgba(0,0,0,0.25);
}
.spotlight-content{
  padding:32px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  flex-grow:1;
}
.spotlight-header h3{
  font-size:26px;
  margin-bottom:12px;
  color:var(--ink);
}
.spotlight-header p{
  color:var(--ink-soft);
  font-size:15px;
  line-height:1.7;
  margin:0 0 24px;
}
.spotlight-specs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding-top:20px;
  border-top:1px solid var(--line);
}
.spec-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  background:var(--panel);
  color:var(--green-dark);
  font-size:13px;
  font-weight:500;
  padding:7px 14px;
  border-radius:20px;
  border:1px solid var(--line);
}
.spec-chip i, .spec-chip svg{
  width:15px;
  height:15px;
  color:var(--green);
}

/* Bento Selector Rail (Right) */
.bento-selector-rail{
  display:flex;
  flex-direction:column;
  gap:12px;
  justify-content:space-between;
}
.bento-card{
  display:flex;
  align-items:center;
  gap:18px;
  padding:12px 16px;
  background:#ffffff;
  border:1px solid var(--line);
  border-radius:16px;
  cursor:pointer;
  text-align:left;
  transition:all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  position:relative;
  width:100%;
  box-sizing:border-box;
}
.bento-card:hover{
  border-color:var(--green-light);
  transform:translateX(4px);
  box-shadow:0 6px 18px rgba(27,42,34,0.06);
}
.bento-card.active{
  background:var(--panel);
  border-color:var(--green);
  box-shadow:0 8px 24px rgba(44,64,53,0.12);
  transform:translateX(6px);
}
.bento-thumb{
  width:80px;
  height:80px;
  border-radius:12px;
  overflow:hidden;
  flex-shrink:0;
}
.bento-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.4s ease;
}
.bento-card:hover .bento-thumb img{
  transform:scale(1.08);
}
.bento-info{
  flex-grow:1;
  min-width:0;
}
.bento-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:4px;
}
.bento-tag{
  font-size:10.5px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--green);
}
.bento-indicator{
  color:var(--muted);
  opacity:0;
  transition:all 0.25s ease;
  transform:translateX(-4px);
}
.bento-indicator svg{
  width:16px;
  height:16px;
}
.bento-card.active .bento-indicator{
  opacity:1;
  color:var(--green);
  transform:translateX(0);
}
.bento-info h4{
  font-size:16px;
  font-weight:600;
  margin:0 0 4px;
  color:var(--ink);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.bento-caption{
  font-size:12.5px;
  color:var(--muted);
  margin:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

/* ---------- Facilities (Long Horizontal Cards) ---------- */
.facilities{background:var(--panel);padding:110px 0;overflow:hidden;}
.facilities-head{text-align:center;max-width:600px;margin:0 auto 50px;position:relative;z-index:1;}
.facilities-head h2{font-size:clamp(28px,3.6vw,40px);}
.facility-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:20px;
  position:relative;
  z-index:1;
}
.facility-card{
  background:#fff;
  padding:32px 24px 28px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 4px 14px rgba(25,38,31,.04);
  transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  text-align:center;
}
.facility-card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 24px -6px rgba(25,38,31,.1);
  border-color:var(--green-light);
}
.facility-card .icon{
  width:56px;
  height:56px;
  color:var(--green);
  border:1px solid var(--green-light);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--cream);
  flex-shrink:0;
}
.facility-card .icon svg{width:24px;height:24px;}
.facility-info{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.facility-card h3{
  font-size:15.5px;
  font-weight:500;
  color:var(--green-dark);
  margin:0;
  line-height:1.3;
}
.facility-desc{
  font-size:13.5px;
  color:var(--muted);
  margin:0;
  line-height:1.55;
  font-weight:400;
}



/* ---------- Prime Location & Nearby Escapes ---------- */
.location-section{
  padding:100px 0;
  background:var(--cream);
  position:relative;
}
.location-head{
  text-align:center;
  max-width:680px;
  margin:0 auto 48px;
}
.location-head h2{
  font-size:clamp(28px,3.6vw,40px);
  margin-bottom:14px;
}
.location-head p{
  font-size:15.5px;
  color:var(--muted);
  line-height:1.65;
  margin:0;
}

.location-layout{
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:24px;
  align-items:stretch;
}

.location-map{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 8px 24px -8px rgba(25,38,31,.12);
}
.location-map iframe{
  display:block;
  width:100%;
  height:100%;
  min-height:480px;
}

.location-sidebar{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  display:flex;
  flex-direction:column;
  gap:24px;
  box-shadow:0 4px 14px rgba(25,38,31,.03);
  height:fit-content;
}

.location-highlights{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.location-highlight{
  display:flex;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:10px;
  transition:all .25s ease;
}
.location-highlight:hover{
  border-color:var(--green-light);
  background:var(--ivory);
  transform:translateX(4px);
}

.location-highlight-icon{
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--cream);
  border:1px solid var(--line);
  color:var(--green);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.location-highlight-icon svg{width:18px;height:18px;}

.location-highlight-content h4{
  font-size:14px;
  font-weight:600;
  color:var(--green-dark);
  margin:0 0 2px;
  font-family:'Playfair Display', serif;
}
.location-highlight-content p{
  font-size:12px;
  color:var(--muted);
  margin:0;
  white-space:nowrap;
}

.location-address{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding-top:16px;
  border-top:1px solid var(--line);
  margin-top:8px;
}
.location-address i{
  color:var(--green);
  margin-top:2px;
}
.location-address strong{
  display:block;
  font-size:14px;
  color:var(--ink);
  font-family:'Playfair Display', serif;
  margin-bottom:2px;
}
.location-address span{
  font-size:13px;
  color:var(--muted);
  line-height:1.5;
}

@media (max-width: 992px) {
  .location-layout{
    grid-template-columns:1fr;
  }
  .location-map iframe{
    min-height:380px;
  }
  .location-sidebar{
    padding:24px;
  }
}
@media (max-width: 640px) {
  .location-section{
    padding:60px 0;
  }
  .location-map iframe{
    min-height:300px;
  }
  .location-sidebar{
    padding:20px;
  }
  .location-highlight{
    padding:12px 14px;
  }
}

/* ---------- Testimonial ---------- */
.testimonial{
  background:var(--dark);
  color:#e4ece7;
  padding:120px 0;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.testimonial h2{color:#f5fbf7;font-size:clamp(28px,3.6vw,40px);margin-bottom:30px;}
.stars{display:flex;justify-content:center;gap:6px;margin-bottom:30px;}
.stars svg{width:16px;height:16px;color:var(--ivory);}
.t-body{max-width:720px;margin:0 auto;position:relative;z-index:1;min-height:170px;touch-action:pan-y pinch-zoom;}
.t-quote{font-size:18px;line-height:1.85;color:#e8f0ec;transition:opacity .4s ease;font-weight:400;}
.t-person{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:34px;}
.t-person img{width:52px;height:52px;border-radius:50%;object-fit:cover;border:2px solid var(--green-light);}
.t-person .name{font-family:'Playfair Display',serif;font-size:16px;color:#fff;}
.t-person .loc{font-size:13px;color:#b2c5bb;font-weight:400;}
.t-nav{display:flex;justify-content:center;gap:18px;margin-top:44px;}
.t-nav button{
  width:42px;height:42px;border-radius:50%;
  border:1px solid #3b5045;background:transparent;color:#d4dfd9;
  display:flex;align-items:center;justify-content:center;
  transition:.25s ease;
  cursor:pointer;
}
.t-nav button:hover{background:var(--green-light);border-color:var(--green-light);color:#fff;}
.t-nav svg{width:16px;height:16px;}

/* ---------- Gallery Carousel ---------- */
.gallery{padding:110px 0 100px;text-align:center;}
.gallery-head{margin-bottom:50px;}
.gallery-head h2{font-size:clamp(28px,3.6vw,40px);}

.gallery-carousel-wrapper{
  position:relative;
  display:flex;
  align-items:center;
  gap:16px;
}
.gallery-carousel{
  overflow:hidden;
  width:100%;
  border-radius:var(--radius);
  touch-action:pan-y pinch-zoom;
}
.gallery-track{
  display:flex;
  gap:24px;
  transition:transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change:transform;
}
.gallery-item{
  flex:0 0 calc((100% - 48px) / 3);
  height:310px;
  border-radius:var(--radius);
  background-size:cover;
  background-position:center;
  position:relative;
  overflow:hidden;
  display:block;
  transition:transform .4s ease, box-shadow .4s ease;
  box-sizing:border-box;
}
.gallery-item:hover{
  transform:scale(1.02);
  box-shadow:0 14px 32px -8px rgba(25,38,31,.18);
}
.gallery-item::after{
  content:'';position:absolute;inset:0;
  background:rgba(25,38,31,0);
  transition:background .3s ease;
}
.gallery-item:hover::after{background:rgba(25,38,31,.18);}
.gallery-item-hero{background-image:url('images/used_under_700kb/private-waterfront-villa-hero.webp');}
.gallery-item-front{background-image:url('images/used_under_700kb/private-villa-front-exterior.webp');}
.gallery-item-suite{background-image:url('images/used_under_700kb/master-waterfront-suite-bedroom.webp');}
.gallery-item-sitout{background-image:url('images/used_under_700kb/riverside-sitout-water-view.webp');}
.gallery-item-lounge{background-image:url('images/used_under_700kb/air-conditioned-living-lounge.webp');}
.gallery-item-bath{background-image:url('images/used_under_700kb/modern-ensuite-bathroom.webp');}

.g-nav{
  width:46px;height:46px;border-radius:50%;
  border:1px solid var(--line);
  background:#fff;
  color:var(--green-dark);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  flex-shrink:0;
  box-shadow:0 4px 12px rgba(0,0,0,.06);
  transition:all .25s ease;
  z-index:2;
}
.g-nav:hover{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
  transform:scale(1.05);
  box-shadow:0 6px 18px rgba(44,64,53,.2);
}
.g-nav svg{width:20px;height:20px;}

/* ---------- Footer ---------- */
footer{
  background:var(--panel);
  padding:80px 0 0;
  position:relative;
  overflow:hidden;
  border-top:1px solid var(--line);
}
.footer-grid{
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:48px;
  position:relative;z-index:1;
  padding-bottom:50px;
}
.footer-about .logo{margin-bottom:20px;}
.footer-about p{font-size:14.5px;color:var(--ink-soft);max-width:320px;line-height:1.7;font-weight:400;}
footer h4{font-size:16px;margin-bottom:22px;font-weight:500;color:var(--green-dark);}
footer .col ul li{margin-bottom:13px;font-size:14px;color:var(--ink-soft);}
footer .col ul li a{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--ink-soft);
  transition:color .25s ease, transform .25s ease;
}
footer .col ul li a:hover{
  color:var(--green);
  transform:translateX(5px);
}
footer .col svg{
  width:14px;
  height:14px;
  color:var(--green);
  flex-shrink:0;
  transition:color .25s ease;
}
footer .col ul li a:hover svg{
  color:var(--green-dark);
}

.footer-bottom{
  border-top:1px solid var(--line);
  padding:22px 0;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:13px;
  color:var(--muted);
  text-align:center;
}


/* ---------- Gallery Grid Page ---------- */
.gallery-hero {
  background: linear-gradient(rgba(12, 22, 17, 0.72), rgba(12, 22, 17, 0.65)),
    url('images/used_under_700kb/private-waterfront-villa-hero.webp') center/cover no-repeat;
}
.gallery-main-grid {
  padding: 100px 0;
  background: var(--cream);
}
/* ---------- Asymmetrical Brick Gallery Grid Page ---------- */
.gallery-brick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 24px;
}
.gallery-brick-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(25, 38, 31, 0.08);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-brick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(25, 38, 31, 0.16);
}
.gallery-brick-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.gallery-brick-card:hover img {
  transform: scale(1.07);
}
.gallery-brick-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 26, 20, 0.92) 0%,
    rgba(15, 26, 20, 0.45) 50%,
    rgba(15, 26, 20, 0) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 22px;
  color: #ffffff;
  transition: background 0.35s ease;
}
.gallery-brick-card:hover .gallery-brick-overlay {
  background: linear-gradient(
    to top,
    rgba(15, 26, 20, 0.96) 0%,
    rgba(15, 26, 20, 0.58) 55%,
    rgba(15, 26, 20, 0.12) 100%
  );
}
.gallery-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #dfd8c8;
  margin-bottom: 6px;
  opacity: 0.92;
}
.gallery-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 500;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  transform: translateY(0);
  transition: transform 0.3s ease;
}
.gallery-brick-card:hover .gallery-title {
  transform: translateY(-2px);
}

/* Brick Grid Spans */
.brick-large {
  grid-column: span 2;
  grid-row: span 2;
}
.brick-wide {
  grid-column: span 2;
  grid-row: span 1;
}
.brick-tall {
  grid-column: span 1;
  grid-row: span 2;
}
.brick-std {
  grid-column: span 1;
  grid-row: span 1;
}

@media (max-width: 992px) {
  .gallery-brick-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
    gap: 20px;
  }
  .brick-large {
    grid-column: span 2;
    grid-row: span 2;
  }
  .brick-wide {
    grid-column: span 2;
    grid-row: span 1;
  }
  .brick-tall {
    grid-column: span 1;
    grid-row: span 2;
  }
}
@media (max-width: 640px) {
  .gallery-main-grid {
    padding: 60px 0;
  }
  .gallery-brick-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
    gap: 16px;
  }
  .brick-large,
  .brick-wide,
  .brick-tall,
  .brick-std {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-brick-overlay {
    padding: 18px 16px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .facility-grid{
    grid-template-columns:repeat(2, 1fr);
    gap:16px;
  }
  /* Switch to horizontal compact card on tablet */
  .facility-card{
    flex-direction:row;
    align-items:center;
    padding:16px 20px;
    text-align:left;
    gap:16px;
  }
  .facility-card .icon{
    width:46px;
    height:46px;
    flex-shrink:0;
  }
  .facility-card .icon svg{width:22px;height:22px;}
  /* Hide description on tablet & mobile */
  .facility-desc{
    display:none;
  }
  /* Footer 2-column grid on tablet */
  .footer-grid{
    grid-template-columns:1fr 1fr;
    gap:36px;
  }
  .villa-spotlight-wrapper{
    grid-template-columns:1fr;
    gap:28px;
  }
  .bento-selector-rail{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
  }
  .bento-card{
    transform:none !important;
  }
  .gallery-item{
    flex:0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width:820px){
  .topbar{
    display:none;
  }
  nav.primary{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#ffffff;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
    padding:20px 24px 26px;
    box-shadow:0 14px 32px rgba(27,42,34,0.14);
    max-height:calc(100vh - 80px);
    overflow-y:auto;
  }
  nav.primary.active{
    display:block;
  }
  nav.primary ul{
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
  }
  nav.primary a{
    font-size:16px;
    padding:6px 0;
  }
  .nav-contact-mobile{
    display:flex;
    flex-direction:column;
    gap:14px;
    margin-top:18px;
    padding-top:18px;
    border-top:1px solid var(--line);
  }
  .nav-contact-item{
    display:flex;
    align-items:center;
    gap:10px;
    color:var(--ink-soft);
    font-size:14.5px;
    font-weight:400;
    transition:color .25s ease;
  }
  .nav-contact-item:hover{
    color:var(--green);
  }
  .nav-contact-item svg{
    width:16px;
    height:16px;
    color:var(--green);
    flex-shrink:0;
  }
  .btn-mobile-book{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    width:100%;
    height:48px;
    margin-top:14px;
    padding:0 24px;
    background:var(--green);
    color:var(--ivory);
    border:1px solid var(--green);
    border-radius:24px;
    font-size:14px;
    font-weight:500;
    letter-spacing:0.5px;
    line-height:1;
    box-shadow:0 4px 14px rgba(44,64,53,0.2);
    box-sizing:border-box;
    transition:all 0.3s ease;
    cursor:pointer;
    text-decoration:none;
  }
  .btn-mobile-book span{
    color:inherit;
    line-height:1;
    display:inline-flex;
    align-items:center;
  }
  .btn-mobile-book:hover, .btn-mobile-book:active{
    background:var(--green-dark);
    border-color:var(--green-dark);
    color:#ffffff;
    transform:translateY(-2px);
    box-shadow:0 6px 18px rgba(27,42,34,0.3);
  }
  .btn-mobile-book i[data-lucide], .btn-mobile-book svg{
    width:18px;
    height:18px;
    color:inherit;
    flex-shrink:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .burger{
    display:flex;
  }
  .villa-spaces-head{max-width:100%;text-align:left;}
  .welcome-grid{grid-template-columns:1fr;gap:60px;}
  .welcome-images{height:420px;max-width:100%;}
  .footer-grid{grid-template-columns:1fr;gap:36px;}
  .social-btn{width:100%;}
  .hero{
    min-height:80vh;
    padding:50px 24px;
    background-attachment:scroll;
  }
  .hero-inner{
    max-width:620px;
  }
  .hero h1{
    font-size:clamp(28px, 4.6vw, 42px);
    line-height:1.22;
  }
  .hero p{
    max-width:480px;
    font-size:15.5px;
    margin:0 auto 30px;
  }
}

@media (max-width:640px){
  .wrap{padding:0 20px;}

  /* Facility long cards 1 per row on mobile */
  .facility-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  
  /* Villa Spotlight Mobile */
  .villa-spaces{
    padding:60px 0;
  }
  .villa-spaces-head{
    margin-bottom:28px;
  }
  .spotlight-image-container{
    height:250px;
  }
  .spotlight-content{
    padding:20px;
  }
  .spotlight-header h3{
    font-size:22px;
    margin-bottom:8px;
  }
  .spotlight-header p{
    font-size:14px;
    line-height:1.6;
    margin-bottom:16px;
  }
  .spotlight-specs{
    gap:8px;
    padding-top:14px;
    justify-content:flex-start;
  }
  .spec-chip{
    font-size:12px;
    padding:6px 12px;
  }
  .bento-selector-rail{
    display:flex;
    flex-direction:row;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    gap:12px;
    padding:6px 0 14px;
    margin:0;
    width:100%;
    scrollbar-width:none;
    -ms-overflow-style:none;
    scroll-padding-left:0;
  }
  .bento-selector-rail::-webkit-scrollbar{
    display:none;
  }
  .bento-card{
    flex:0 0 255px;
    scroll-snap-align:start;
    padding:10px 14px;
    gap:12px;
    border-radius:14px;
  }
  .bento-thumb{
    width:64px;
    height:64px;
  }
  .bento-info h4{
    font-size:14.5px;
  }
  .bento-caption{
    font-size:11.5px;
  }
  
  /* Strictly 1 element/card per view on mobile for gallery slider */
  .gallery-item{
    flex:0 0 100% !important;
    width:100% !important;
    max-width:100% !important;
  }
  
  .slider-wrapper, .gallery-carousel-wrapper{
    gap:8px;
  }
  .slide-nav, .g-nav{
    width:38px;
    height:38px;
  }
  .slide-nav svg, .g-nav svg{
    width:18px;
    height:18px;
  }
  
  /* Hero mobile refinements */
  .hero{
    min-height:52vh;
    padding:38px 20px 42px;
  }
  .hero-inner{
    max-width:480px;
    width:100%;
  }
  .hero .eyebrow{
    font-size:11px;
    letter-spacing:1.2px;
    gap:8px;
    margin-bottom:14px;
    flex-wrap:nowrap;
  }
  .hero .eyebrow svg{
    width:20px;
    height:8px;
  }
  .hero .eyebrow span{
    white-space:normal;
    line-height:1.35;
    text-align:center;
  }
  .hero h1{
    font-size:clamp(22px, 5.2vw, 29px);
    line-height:1.24;
    margin-bottom:14px;
    text-wrap:balance;
  }
  .hero p{
    font-size:14.5px;
    line-height:1.6;
    max-width:340px;
    margin:0 auto 22px;
    text-wrap:pretty;
  }
  .hero .btn{
    padding:0 28px;
  }
  
  .welcome{padding:80px 0 60px;}
  .welcome-images{height:340px;}
  .villa-spaces,.facilities,.testimonial,.gallery{padding:70px 0;}
  .header-actions .btn{display:none;}
  .t-body{min-height:220px;}
}

@media (max-width:380px){
  .hero{
    padding:32px 14px 36px;
    min-height:48vh;
  }
  .hero-inner{
    max-width:290px;
  }
  .hero .eyebrow{
    font-size:10px;
    letter-spacing:0.8px;
    gap:5px;
    margin-bottom:12px;
  }
  .hero .eyebrow svg{
    width:14px;
  }
  .hero h1{
    font-size:21px;
    line-height:1.25;
    margin-bottom:12px;
  }
  .hero p{
    font-size:13.5px;
    max-width:250px;
    margin-bottom:18px;
  }
}


/* ============ ABOUT PAGE ============ */
.about-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(12, 22, 17, 0.72), rgba(12, 22, 17, 0.65)),
    url('images/used_under_700kb/private-waterfront-villa-hero.webp') center/cover no-repeat;
  color: #fff;
  padding: 60px 24px;
}
.about-hero .eyebrow {
  color: var(--ivory);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  max-width: 100%;
}
.about-hero .eyebrow svg {
  color: var(--ivory);
  flex-shrink: 0;
}
.about-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}
.about-hero h1 {
  font-size: clamp(32px, 4.8vw, 50px);
  line-height: 1.2;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0,0,0,0.5);
}
.about-hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: #ffffff;
  max-width: 580px;
  margin: 0 auto;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  text-wrap: pretty;
}

/* Nav Active Styling */
nav.primary ul a.active-nav {
  color: var(--green);
}
nav.primary ul a.active-nav::after {
  width: 100%;
}

/* About Pillars */
.about-pillars {
  background: var(--panel);
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pillars-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}
.pillars-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: 0 4px 14px rgba(25,38,31,.03);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px -6px rgba(25,38,31,.1);
  border-color: var(--green-light);
}
.pillar-icon {
  width: 54px;
  height: 54px;
  color: var(--green);
  border: 1px solid var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  margin-bottom: 22px;
}
.pillar-icon svg {
  width: 22px;
  height: 22px;
}
.pillar-card h3 {
  font-size: 19px;
  color: var(--green-dark);
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}
.pillar-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.65;
}

/* Heritage Section */
.about-heritage {
  padding: 100px 0;
  background: var(--cream);
}
.heritage-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.heritage-text h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.25;
  margin-bottom: 22px;
}
.heritage-text p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.75;
}
.heritage-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}
.heritage-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.heritage-point i, .heritage-point svg {
  color: var(--green);
  margin-top: 4px;
  flex-shrink: 0;
}
.heritage-point h4 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--green-dark);
  margin: 0 0 4px;
}
.heritage-point p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.heritage-image-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -8px rgba(25,38,31,.12);
  height: 420px;
}
.heritage-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Team Section */
.about-team {
  padding: 100px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.team-image-container {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px -8px rgba(25,38,31,.12);
  height: 420px;
}
.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-text h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.25;
  margin-bottom: 22px;
}
.team-text p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.75;
}
.team-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.team-highlights li i, .team-highlights li svg {
  color: var(--green);
  margin-top: 4px;
  flex-shrink: 0;
}

/* CTA Section */
.about-cta {
  padding: 100px 0;
  background: var(--cream);
}
.cta-card {
  background: linear-gradient(rgba(12, 22, 17, 0.82), rgba(12, 22, 17, 0.75)),
    url('images/used_under_700kb/aerial-waterfront-villa-view.webp') center/cover no-repeat;
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 14px 40px -10px rgba(27,42,34,0.15);
  max-width: 1000px;
  margin: 0 auto;
}
.cta-card h2 {
  color: #ffffff;
  font-size: clamp(26px, 3.8vw, 36px);
  margin-bottom: 16px;
}
.cta-card p {
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}
.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pillar-card {
    padding: 30px 24px;
  }
  .heritage-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .heritage-image-container {
    height: 320px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .team-image-container {
    height: 320px;
    order: 2; /* Move image below text on tablet/mobile */
  }
}
@media (max-width: 640px) {
  .about-hero {
    min-height: 38vh;
    padding: 40px 20px;
  }
  .about-pillars, .about-heritage, .about-team, .about-cta {
    padding: 60px 0;
  }
  .cta-card {
    padding: 40px 24px;
    border-radius: 16px;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ============ EXPLORE THE VILLA PAGE ============ */
.villa-hero {
  background: linear-gradient(rgba(12, 22, 17, 0.72), rgba(12, 22, 17, 0.65)),
    url('images/used_under_700kb/aerial-waterfront-villa-view.webp') center/cover no-repeat;
}

.space-jump {
    position: sticky;
    top: 74px;
    z-index: 90;
    background: var(--green-dark);
    border-bottom: 1px solid rgba(244, 237, 217, 0.12);
    padding: 8px 0;
  }
.space-jump-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 0 24px;
}
.space-jump a {
  color: rgba(244, 237, 217, 0.72);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 16px 14px;
  border-bottom: 2px solid transparent;
  text-align: center;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.space-jump a:hover {
  color: var(--ivory);
  border-bottom-color: var(--ivory);
}

.villa-plan {
  padding: 80px 0 48px;
  background: var(--cream);
}
.villa-plan-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.villa-plan-head h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.22;
  margin-bottom: 14px;
  text-wrap: balance;
}
.villa-plan-head p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0 auto;
  max-width: 54ch;
  text-wrap: pretty;
}

.estate-spine {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1.15fr 1.1fr 0.95fr;
  gap: 18px;
  align-items: end;
}
.spine-stop {
  display: flex;
  flex-direction: column;
  color: inherit;
  min-width: 0;
}
.spine-stop img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
  transition: filter 0.35s ease;
}
.spine-stop:nth-child(2) img { height: 168px; }
.spine-stop:nth-child(3) img { height: 232px; }
.spine-stop:nth-child(4) img { height: 186px; }
.spine-stop:nth-child(5) img { height: 154px; }
.spine-stop:hover img {
  filter: brightness(0.92);
}
.spine-from {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.spine-stop strong {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
  line-height: 1.25;
}
.spine-stop span:last-child {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.space-chapter {
  padding: 72px 0;
  background: var(--cream);
  scroll-margin-top: 140px;
}
.space-chapter-alt {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.space-chapter-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.space-chapter-grid.is-reverse .space-chapter-media {
  order: 2;
}
.space-chapter-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 420px;
}
.space-chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.space-chapter-copy h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.25;
  margin-bottom: 18px;
  text-wrap: balance;
}
.space-chapter-copy p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 16px;
  max-width: 54ch;
  text-wrap: pretty;
}

.villa-rhythm {
  padding: 96px 0;
  background: var(--green-dark);
  color: var(--ivory);
}
.villa-rhythm h2 {
  color: var(--ivory);
  font-size: clamp(26px, 3.4vw, 38px);
  text-align: center;
  margin-bottom: 48px;
  text-wrap: balance;
}
.rhythm-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.rhythm-block h3 {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(244, 237, 217, 0.22);
}
.rhythm-block p {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(244, 237, 217, 0.82);
  margin: 0;
}

@media (max-width: 900px) {
  .estate-spine {
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  .spine-stop img,
  .spine-stop:nth-child(n) img {
    height: 180px;
  }
  .space-chapter-grid,
  .rhythm-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .space-chapter-grid.is-reverse .space-chapter-media {
    order: 0;
  }
  .space-chapter-media {
    height: 280px;
  }
  .space-jump {
    top: 74px;
    padding: 8px 0;
  }
  .space-jump-inner {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
  }
  .space-jump a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border-radius: 20px;
    background: rgba(244, 237, 217, 0.1);
    color: rgba(244, 237, 217, 0.85);
    border: 1px solid rgba(244, 237, 217, 0.15);
    transition: all 0.25s ease;
  }
  .space-jump a:hover {
    color: var(--ivory);
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 64, 53, 0.25);
  }

  .villa-hero {
    min-height: 48vh;
    padding: 60px 24px;
  }

  .villa-plan {
    padding: 60px 0 40px;
  }
  .villa-plan-head h2 {
    font-size: clamp(26px, 3.8vw, 36px);
  }

  .villa-rhythm {
    padding: 80px 0;
  }
  .villa-rhythm h2 {
    font-size: clamp(24px, 3.8vw, 34px);
  }
  .rhythm-block {
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(244, 237, 217, 0.1);
  }

  .space-chapter-copy p {
    max-width: 480px;
  }

  .about-cta {
    padding: 80px 0;
  }
  .cta-card {
    padding: 48px 32px;
  }
}

@media (max-width: 640px) {
  .villa-plan,
  .space-chapter,
  .villa-rhythm {
    padding: 56px 0;
  }
  .estate-spine {
    grid-template-columns: 1fr;
  }
  .spine-stop img {
    height: 200px !important;
  }
  .space-jump {
    position: sticky;
    top: 74px;
    padding: 8px 0;
  }
  .space-jump-inner {
    display: flex;
    align-items: center;
    padding: 6px 16px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-padding: 0 16px;
  }
  .space-jump-inner::-webkit-scrollbar {
    display: none;
  }
  .space-jump a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    white-space: nowrap;
    scroll-snap-align: start;
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(244, 237, 217, 0.1);
    color: rgba(244, 237, 217, 0.85);
    border: 1px solid rgba(244, 237, 217, 0.15);
    transition: all 0.25s ease;
  }
  .space-jump a:hover,
  .space-jump a:active {
    color: var(--ivory);
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(44, 64, 53, 0.25);
  }
  .space-chapter {
    scroll-margin-top: 128px;
  }
  .space-chapter-copy p {
    max-width: 340px;
  }
  .space-chapter-media {
    height: 260px;
  }
  .space-chapter-copy h2 {
    font-size: clamp(22px, 5.5vw, 28px);
  }

  .villa-hero {
    min-height: 38vh;
    padding: 40px 20px;
  }

  .villa-rhythm {
    padding: 60px 0;
  }
  .villa-rhythm h2 {
    font-size: clamp(22px, 5.5vw, 28px);
    margin-bottom: 32px;
  }
  .rhythm-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .rhythm-block {
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(244, 237, 217, 0.1);
  }
  .rhythm-block h3 {
    font-size: 12px;
    letter-spacing: 0.14em;
    margin-bottom: 10px;
    padding-bottom: 8px;
  }
  .rhythm-block p {
    font-size: 14.5px;
    line-height: 1.65;
  }

  .villa-plan {
    padding: 48px 0 32px;
  }
  .villa-plan-head {
    margin-bottom: 32px;
  }
  .villa-plan-head h2 {
    font-size: clamp(22px, 5.5vw, 28px);
  }
  .villa-plan-head p {
    font-size: 14.5px;
    max-width: 340px;
    margin: 0 auto;
  }

  .estate-spine {
    gap: 16px;
  }
  .spine-stop {
    text-align: center;
  }
  .spine-from {
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }
  .spine-stop strong {
    font-size: 18px;
  }
  .spine-stop span:last-child {
    font-size: 13px;
    max-width: 300px;
    margin: 0 auto;
  }

  .about-cta {
    padding: 60px 0;
  }
  .cta-card {
    padding: 32px 20px;
  }
  .cta-card h2 {
    font-size: clamp(22px, 5.5vw, 28px);
  }
  .cta-card p {
    font-size: 14.5px;
    max-width: 320px;
    margin: 0 auto 24px;
  }
  .cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ---------- Lightbox Modal ---------- */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.gallery-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.gallery-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 22, 17, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.gallery-modal-container {
  position: relative;
  z-index: 2;
  width: 92%;
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gallery-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}
.gallery-modal-close:hover {
  background: #ffffff;
  color: var(--green-dark);
  transform: scale(1.08);
}
.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10;
}
.gallery-modal-nav:hover {
  background: #ffffff;
  color: var(--green-dark);
  transform: translateY(-50%) scale(1.08);
}
.modal-nav-prev {
  left: -24px;
}
.modal-nav-next {
  right: -24px;
}
.gallery-modal-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  background: #111e17;
  border: 1px solid rgba(223, 216, 200, 0.2);
}
.gallery-modal-media {
  width: 100%;
  max-height: 72vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #09120d;
}
.gallery-modal-media img {
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}
.gallery-modal-info {
  width: 100%;
  padding: 20px 28px;
  background: #18271e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.gallery-modal-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #dfd8c8;
}
.gallery-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  margin: 0;
}

@media (max-width: 768px) {
  .gallery-modal-container {
    width: 95%;
  }
  .modal-nav-prev {
    left: 8px;
  }
  .modal-nav-next {
    right: 8px;
  }
  .gallery-modal-close {
    top: 12px;
    right: 12px;
  }
}

/* ---------- Floating WhatsApp Button ---------- */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
/* Hide WhatsApp button completely when lightbox modal is open */
body.modal-open .floating-whatsapp {
  pointer-events: none !important;
  opacity: 0 !important;
  transform: scale(0.8);
}
.whatsapp-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.floating-whatsapp:hover .whatsapp-icon-circle {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}
.whatsapp-tooltip {
  background: #18251f;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 640px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-icon-circle {
    width: 50px;
    height: 50px;
  }
  .whatsapp-icon-circle svg {
    width: 26px;
    height: 26px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}
