

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&family=Inter:wght@300;400;500&display=swap');

:root{
  --ink:            #0b0b0a;
  --ivory:          #f6f3ec;
  --gold:           #c9a463;
  --gold-dim:       rgba(201,164,99,0.45);
  --overlay-top:    rgba(6,6,5,0.55);
  --overlay-bottom: rgba(6,6,5,0.15);
  --line:           rgba(246,243,236,0.22);
  --line-soft:      rgba(246,243,236,0.12);

  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body:    'Inter',  sans-serif;

  --nav-height: 92px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  
  
  color: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
button{ font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
a{ color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


/*********************  HEADER & BANNER ************************/

/* NAVBAR */
.navbar{
  position: fixed; top:0; left:0; right:0; z-index:100;
  height: var(--nav-height);
  display:flex; align-items:center;
  background: transparent;
  transition: background 0.5s var(--ease), height 0.4s var(--ease), backdrop-filter 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.is-scrolled{
  height:96px;
  background: #FDFCFB;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.navbar.is-scrolled .navbar__link{
  color: #141414;   
}

.navbar__inner{
  width:100%; max-width:1440px; margin:0 auto; padding:0 48px;
  display:flex; align-items:center; justify-content:space-between;
}
.navbar__logo {
    display: flex;
    align-items: center;
    margin-top: 8px;
    
}

.navbar__logo img {
    height: 72px;   /* Adjust as needed */
    width: auto;
    display: block;
    
}

.navbar__list{ list-style:none; display:flex; align-items:center; gap:20px; margin:0; padding:0; }
.navbar__item{ position:relative; }
.navbar__link{
  display:inline-flex; align-items:center; gap:6px;
  font-family: var(--font-body); font-size:12px; font-weight:500;
  letter-spacing:0.14em; text-transform:uppercase; color: var(--ivory);
  padding:6px 0; position:relative;
}
.navbar__link::after{
  content:''; position:absolute; left:0; bottom:-3px; width:0; height:1px;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.navbar__link:hover::after, .navbar__item--dropdown:hover .navbar__link::after{ width:100%; }
.navbar__link--outline{
  border:1px solid var(--line); padding:9px 20px; border-radius:2px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.navbar__link--outline::after{ display:none; }
.navbar__link--outline:hover{ border-color: var(--gold); background: rgba(201,164,99,0.08); }
.navbar__chevron{ transition: transform 0.3s var(--ease); opacity:0.8; }
.navbar__item--dropdown:hover .navbar__chevron{ transform: rotate(180deg); }

.navbar__dropdown{
  list-style:none; margin:0; padding:10px 0;
  position:absolute; top: calc(100% + 18px); left:50%;
  transform: translate(-50%, 8px);
  min-width:210px;
  background: rgba(11,11,10,0.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border:1px solid var(--line-soft); border-radius:3px;
  opacity:0; visibility:hidden;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}
.navbar__item--dropdown:hover .navbar__dropdown,
.navbar__item--dropdown.is-open .navbar__dropdown{
  opacity:1; visibility:visible; transform: translate(-50%, 0);
}
.navbar__dropdown-link{
  display:block; padding:12px 22px; font-size:12px; letter-spacing:0.1em;
  text-transform:uppercase; color: var(--ivory); opacity:0.85;
  transition: opacity 0.25s var(--ease), padding-left 0.25s var(--ease);
  white-space: nowrap;
}
.navbar__dropdown-link:hover{ opacity:1; padding-left:28px; color: var(--gold); }

.navbar__toggle{
  display:none; width:26px; height:18px; flex-direction:column;
  justify-content:space-between; z-index:110;
}
.navbar__toggle span{
  display:block; height:1px; width:100%; background: var(--ivory);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(8.5px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-8.5px) rotate(-45deg); }

/* HERO */
.hero{ position:relative; width:100%; height:100vh; min-height:560px; overflow:hidden; background: var(--ink); }
.hero__track{ position:absolute; inset:0; }
.hero__slide{
  position:absolute; inset:0; background-size:cover; background-position:center;
  opacity:0; transform: scale(1.08);
  transition: opacity 1.4s var(--ease);
  will-change: opacity, transform;
  
}
.hero__slide.is-active{ opacity:1; z-index:2; animation: kenburns 8s var(--ease) forwards; }
@keyframes kenburns{ from{ transform: scale(1.08); } to{ transform: scale(1); } }

.hero__overlay{
  position:absolute; inset:0; z-index:3; pointer-events:none;
  background: linear-gradient(to bottom, var(--overlay-top) 0%, transparent 22%, transparent 78%, rgba(6,6,5,0.35) 100%);
}

.hero__arrow{
  position:absolute; top:50%; transform: translateY(-50%); z-index:5;
  width:52px; height:52px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; font-size:17px; color: var(--ivory);
  background: rgba(9,9,8,0.18);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease);
}
.hero__arrow span{ transform: translateY(-1px); }
.hero__arrow--prev{ left:32px; }
.hero__arrow--next{ right:32px; }
.hero__arrow:hover{ border-color: var(--gold); background: rgba(9,9,8,0.4); }
.hero__arrow--prev:hover{ transform: translateY(-50%) translateX(-3px); }
.hero__arrow--next:hover{ transform: translateY(-50%) translateX(3px); }

.hero__preview{ position:absolute; right:40px; bottom:40px; z-index:5; }
.hero__preview-frame{
  width:100px; height:100px; padding:6px;
  border:1px solid var(--gold-dim); border-radius:2px;
  background: rgba(9,9,8,0.35);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}
.hero__preview-image{
  width:100%; height:100%; background-size:cover; background-position:center;
  border-radius:1px; transition: opacity 0.5s var(--ease);
}



/* ===========================
   FORM STYLE
=========================== */

.form-section{
      position:relative;
      width:100%;
      padding:40px 100px 30px;
      background:#ECECEC;
  }
 
  /* ===========================
     TITLE
  =========================== */
  .form-title{
      display:flex;
      align-items:center;
      justify-content:center;
      gap:18px;
      text-align:center;
      color:#141414;
      font-size:24px;
      font-weight:500;
      margin:0 0 26px;
      text-transform: uppercase;
      font-family: Georgia, "Times New Roman", serif;
  }
 .form-title::before,
.form-title::after {
    content: "";
    height: 1px;
    width: 60px;
    background: #F1DC5F;
}
  .title-dot{
      width:6px;
      height:6px;
      border-radius:50%;
      background:#b88a44;
      display:inline-block;
  }
 
  /* ===========================
     FORM WRAPPER — width matches the row inside it, no side padding
     (form-section's own padding already creates the side margins,
     so this wrapper must not add a second, uneven layer of padding)
  =========================== */
  .lead-form{
      width:100%;
      max-width:900px;
      margin:0 auto;
      background:transparent;
      position: relative;
      z-index: 21;
  }
 
  /* ===========================
     FORM ROW
  =========================== */
  .form-row{
      display:flex;
      width:100%;
      gap:90px;
      align-items:flex-start;
      flex-wrap:wrap;
  }
 
  /* ===========================
     FORM GROUP — equal-width columns, label above underline input
  =========================== */
  .form-group{
      flex:1 1 0;
      min-width:220px;
      display:flex;
      flex-direction:column;
  }
  .form-group label{
      font-size:14px;
      font-weight:400;
      letter-spacing:.5px;
      color:#141414;
      text-transform:uppercase;
      margin-bottom:16px;
  }
  .form-group input{
      width:100%;
      max-width:220px;
      height:auto;
      border:none;
      border-bottom:1px solid #a7a7a7;
      border-radius:0;
      padding:0 0 10px;
      font-size:14px;
      color:#141414;
      background:transparent;
      transition:.35s;
      outline:none;
  }
  .form-group input::placeholder{
      color:#9a9a9a;
  }
  .form-group input:hover{
      border-color:#c7a46d;
  }
  .form-group input:focus{
      border-color:#c7a46d;
      box-shadow:0 1px 0 0 #c7a46d;
  }
 
  /* ===========================
     BUTTON — centered rectangle, own row below fields, full width of .lead-form
  =========================== */
  .submit-row{
      display:flex;
      width:100%;
      justify-content:center;
      margin-top:40px;
  }
  .submit-btn{
      width:auto;
      min-width:120px;
      height:38px;
      padding:0 10px;
      border: 1px solid #F1DC5F !important;
      border-radius:1px;
      background:transparent;
      color:#141414;
      font-size:14px;
      font-weight:400;
      letter-spacing:.3px;
      cursor:pointer;
      transition:.35s;
      font-family: 'Inter', Serif;
  }
  .submit-btn:hover{
      background:#F1DC5F;
      border: 1px solid #F1DC5F !important;
      transform:translateY(-2px);
      box-shadow:0 12px 25px rgba(0,0,0,.15);
  }

/* ===========================
   ABOUT SECTION
=========================== */


.about-wrapper{
    width:100%;
    padding:40px 6% 30px;
    text-align:center;
    margin-top: 20px;
}
 
.about-wrapper .section-tag{
    display:inline-flex;
    align-items:center;
    gap:16px;
    color:#222;
    font-size:13px;
    letter-spacing:4px;
    margin-bottom:12px;
    text-transform:uppercase;
    opacity:.8;
}
 
.about-wrapper .section-tag::before,
.about-wrapper .section-tag::after{
    content:"";
    display:inline-block;
    width:36px;
    height:1px;
    background:linear-gradient(90deg, transparent, #d8b36a);
}
 
.about-wrapper .section-tag::after{
    background:linear-gradient(90deg, #d8b36a, transparent);
}
 
.about-wrapper h2{
    font-size:30px;
    line-height:1.4;
    color:#111;
    margin:0 0 10px;
    font-weight:500;
    font-family: Georgia, "Times New Roman", serif;
    letter-spacing: 1px;
}
 
/* ============================
   ORIGINAL STYLES — UNCHANGED
   ============================ */
 
.about-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: auto;

    display: flex;
    justify-content: flex-end;
    align-items: flex-start;

    padding: 10px 6% 60px;

    background:
        linear-gradient(rgba(20,20,20,.05), rgba(20,20,20,.05)),
        url("../images/about-home.jpg") 10% center / cover no-repeat;

    overflow: hidden;
}
 
.about-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        90deg,
        rgba(0,0,0,.10) 20%,
        rgba(0,0,0,.30) 55%,
        rgba(0,0,0,.55) 80%,
        rgba(0,0,0,.65) 100%
    );
}
 
.about-content {
    position: relative;
    z-index: 2;
    max-width: 540px;
    padding: 30px;
    margin-top: 35px;
}
 
.about-content p{
 
    color:rgba(255,255,255,.85);
    font-size:16px;
    font-weight: 400;
    line-height:1.9;
    margin-bottom:20px;
    text-align: left;
    font-family: 'Inter', sans-serif;
 
}
 
.about-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:120px;
    height:38px;
    text-decoration:none;
    color:#fff;
    background:transparent;
    border: 1px solid #F1DC5F !important;
    font-weight:400;
    font-size:14px!important;
    transition:.4s;
     font-family: 'Inter', Serif;
}

.about-btn:hover{
    background:#F1DC5F;
    color:#141414;
    border: 1px solid #F1DC5F !important;
    transform:translateX(6px);
}
 
/* demo-only: fallback background so the layout is visible without your image asset */
.about-section{
    background-image:
        linear-gradient(rgba(20,20,20,.05), rgba(20,20,20,.05)),
        url("../images/about-home.jpg") ;
}

/* =========================================
       COUNTDOWN NUMBERS
========================================= */

:root{
    --cde-ink:#ECECEC;
    --cde-panel:#E2E2E2;
    --cde-paper:#1E1D1B;
    --cde-paper-dim:#6B6863;
    --cde-brass:#A87C2E;
    --cde-brass-dim:rgba(168,124,46,0.28);
    --cde-line:rgba(30,29,27,0.09);
  }
 
  .cde-section{
    position:relative;
    background:#ECECEC;
    padding:32px 40px;
    overflow:hidden;
    isolation:isolate;
  }
 
  .cde-bg-grid{
    position:absolute;
    inset:0;
    z-index:0;
    background-size:64px 64px;
    opacity:0.6;
  }
 
  .cde-container{
    position:relative;
    z-index:2;
    max-width:1180px;
    margin:0 auto;
  }
 
  .cde-heading{
    text-align:center;
    margin-bottom:0;
  }
 
  .cde-heading-title{
    font-family:Georgia, "Times New Roman", serif;
    font-optical-sizing:auto;
    font-weight:500;
    font-style:normal;
    color:var(--cde-paper);
    font-size:30px;
    line-height:1.15;
    letter-spacing:0.01em;
    margin:0 0 20px;
    text-transform: uppercase;
  }
 
  .cde-heading-rule{
    width:156px;
    height:2px;
    margin:0 auto 40px;
    background:#F1DC5F;
  }
 
  /* ---- ROW: every item is a column flex container so the
     number / underline / label rows sit at the SAME height
     across all four items, no matter how wide the number or
     how tall the word is. ---- */
  .cde-metrics{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    align-items:stretch;
    gap:0;
  }
 
  .cde-metric{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
    text-align:center;
    padding:0 20px;
  }
 
  .cde-metric:not(:first-child)::before{
    content:"";
    position:absolute;
    left:0;
    top:6px;
    bottom:4px;
    width:2px;
    background:var(--cde-line);
  }
 
  /* fixed-height number band: every number/word sits on the
     same baseline row regardless of digit count or being a word */
  .cde-metric-value-row{
    display:flex;
    align-items:baseline;
    justify-content:center;
    gap:2px;
    height:58px;              /* locks the band height */
  }
 
  .cde-metric-value{
    font-family:'Fraunces', serif;
    font-weight:400;
    font-size:clamp(38px, 4.2vw, 50px);
    color:#141414;
    line-height:1;
    letter-spacing:0.005em;
    font-variant-numeric:tabular-nums;
  }
 
  .cde-metric-suffix{
    font-family:'Fraunces', serif;
    font-weight:400;
    font-size:clamp(22px, 2.4vw, 30px);
    color:var(--cde-brass);
    line-height:1;
  }
 
  .cde-metric--word .cde-metric-value-row{
    align-items:center;       /* word sits centered, not on number baseline */
  }
 
  .cde-metric--word .cde-metric-value{
    font-size:clamp(26px, 3.6vw, 42px);   /* as close to number height as the column's padding allows */
    letter-spacing:0.02em;
    color:#141414;
    white-space:nowrap;
  }
 
  /* underline: identical position under every band, same size */
  .cde-metric-rule{
    width:30px;
    height:1px;
    margin:14px 0 20px;
    background:#141414;
    transform:scaleX(0);
    transform-origin:center;
    transition:transform 1.1s cubic-bezier(.22,.9,.24,1);
  }
 
  .cde-metric.is-revealed .cde-metric-rule{
    transform:scaleX(1);
  }
 
  /* label sits at the bottom of every column, and the two-line
     labels all start flush thanks to flex column + fixed band above */
  .cde-metric-label{
    font-family:'Inter',sans-serif;
    font-size:13.5px;
    font-weight:500;
    letter-spacing:0.06em;
    text-transform:uppercase;
    color:var(--cde-paper-dim);
    line-height:1.6;
  }



/* =========================================
       ONGOING PROJECTS
========================================= */


 .communities-section {
    width: 100%;
    padding: 40px 8%;
    background: transparent;
    box-sizing: border-box;
}

    .communities-container {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
    }


    /* =========================================
       HEADING
    ========================================= */

    .communities-heading {
        text-align: center;
        margin-bottom: 55px;
    }

    .communities-heading .small-title {
        display: inline-flex;
        align-items: center;
        gap: 10px;

        margin-bottom: 15px;

        font-size: 16px;
        font-weight: 500;
        letter-spacing: 3px;
        text-transform: uppercase;

        color: #8b8178;
    }

    .communities-heading .small-title::before,
.communities-heading .small-title::after {
    content: "";
    display: inline-block;
    width: 22px;
    height: 1px;
    background: #a59b92;
    vertical-align: middle;
    margin: 0 10px;
}

    .communities-heading h2 {
        margin: 0;

        font-family: Georgia, "Times New Roman", serif;

        font-size: 30px;
        font-weight: 500;

        line-height: 1.05;
        letter-spacing: 1px;

        color: #302e2c;
        text-transform: uppercase;
    }
     
    .communities-heading p {
    margin: 18px auto 0;
    max-width: 1000px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #77716b;
    font-family: 'Inter',  sans-serif;
}

    /* =========================================
       CARDS GRID
    ========================================= */

    .communities-grid {
        display: grid;

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 40px;

        max-width: 1300px;

        margin: 0 auto;
    }


    /* =========================================
       CARD
    ========================================= */

    .community-card {
        overflow: hidden;

        background: #ffffff;

        border: 1px solid rgba(50, 45, 40, 0.08);

        border-radius: 0px;

        transition:
            transform 0.4s ease,
            box-shadow 0.4s ease;
    }

    .community-card:hover {
        transform: translateY(-7px);

        box-shadow:
            0 20px 50px rgba(40, 35, 30, 0.10);
    }


    /* =========================================
       IMAGE
    ========================================= */

    .community-image {
        position: relative;

        width: 100%;
        height: 420px;

        overflow: hidden;
    }

    .community-image img {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;

        transition: transform 0.7s ease;
    }

    .community-card:hover .community-image img {
        transform: scale(1.045);
    }


    /* =========================================
       CONTENT
    ========================================= */

    .community-content {
        padding: 27px 28px 30px;
    }


    /* TITLE */

    .community-title {
        margin: 0 0 10px;

        font-family: Georgia, "Times New Roman", serif;

        font-size: 28px;
        font-weight: 400;

        line-height: 1.2;

        color: #302e2c;
    }


    /* =========================================
       LOCATION
    ========================================= */

    .community-location {
        display: flex;
        align-items: center;
        gap: 7px;

        margin-bottom: 24px;

        font-size: 14px;
        font-weight: 500;

        color: #77716c;
    }

    .community-location svg {
        width: 15px;
        height: 15px;

        fill: none;
        stroke: #8d8177;
        stroke-width: 1.5;

        stroke-linecap: round;
        stroke-linejoin: round;
    }


    /* =========================================
       AMENITIES 2 x 2
    ========================================= */

    .community-amenities {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        border-top: 1px solid #ebe7e3;
        border-left: 1px solid #ebe7e3;
    }


    /* AMENITY */

    .amenity-item {
        display: flex;
        align-items: center;

        gap: 12px;

        min-height: 70px;

        padding: 13px 12px;

        border-right: 1px solid #ebe7e3;
        border-bottom: 1px solid #ebe7e3;
    }


    /* ICON */

    .amenity-icon {
        flex: 0 0 34px;

        width: 34px;
        height: 34px;

        display: flex;
        align-items: center;
        justify-content: center;

        border: 1px solid #ded8d3;

        border-radius: 50%;

        background: #FDFCFB;
    }

    .amenity-icon svg {
        width: 17px;
        height: 17px;

        fill: none;

        stroke: #756a61;

        stroke-width: 1.4;

        stroke-linecap: round;
        stroke-linejoin: round;
    }


    /* TEXT */

    .amenity-text {
        display: flex;
        flex-direction: column;

        gap: 4px;
    }

    .amenity-text span {
        font-size: 9px;

        letter-spacing: 1px;

        text-transform: uppercase;

        color: #99918a;
    }

    .amenity-text strong {
        font-size: 12px;

        font-weight: 600;

        color: #3c3835;
    }







 /* =========================================
       COMPLETED GEMS SECTION
    ========================================= */

    .completed-gems-section {
        width: 100%;
        padding:40px 130px 40px;
        background: transparent;
    }

    .completed-gems-container {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
    }


    /* =========================================
       HEADING
    ========================================= */

    .completed-gems-heading {
        text-align: center;
        margin-bottom: 35px;
    }

    
   

    .completed-gems-heading h2 {
        margin: 0;

        font-family: Georgia, "Times New Roman", serif;

        font-size: 30px;
        font-weight: 500;

        line-height: 1.05;

        letter-spacing: 2px;

        color: #302e2c;
    }
    .completed-gems-heading p{
        margin: 18px auto 0;
    max-width: 1000px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #77716b;
    font-family: 'Inter', sans-serif;
    }


    /* =========================================
       PROJECT GRID
    ========================================= */

    .completed-gems-grid {
        display: grid;

        grid-template-columns: repeat(3, minmax(0, 1fr));

        gap: 24px;

        width: 100%;
    }


    /* =========================================
       PROJECT CARD
    ========================================= */

    .completed-gem-card {
        
        display: block;
    text-decoration: none;
    color: inherit;
        position: relative;

        overflow: hidden;

        height: 460px;

        border-radius: 2px;

        background: #ddd;

        cursor: pointer;

        box-shadow:
            0 12px 35px rgba(35, 31, 28, 0.08);
    }


    /* =========================================
       IMAGE
    ========================================= */

    .completed-gem-image {
        position: relative;

        width: 100%;
        height: 100%;

        overflow: hidden;
    }

    .completed-gem-image img {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;

        transition:
            transform 0.8s cubic-bezier(.2,.7,.2,1);
    }

    .completed-gem-card:hover .completed-gem-image img {
        transform: scale(1.055);
    }


    /* =========================================
       DARK GRADIENT
    ========================================= */

    .completed-gem-overlay {
        position: absolute;

        inset: 0;

        background:
            linear-gradient(
                to bottom,
                rgba(0, 0, 0, 0.00) 25%,
                rgba(0, 0, 0, 0.06) 45%,
                rgba(0, 0, 0, 0.58) 78%,
                rgba(0, 0, 0, 0.82) 100%
            );

        pointer-events: none;
    }


    /* =========================================
       CONTENT
    ========================================= */

    .completed-gem-info {
        position: absolute;

        left: 0;
        right: 0;
        bottom: 0;

        padding: 0 28px 28px;

        color: #fff;
    }


    /* =========================================
       LOCATION
    ========================================= */

    .completed-gem-location {
        margin-bottom: 8px;

        font-size: 12px;
        font-weight: 400;

        letter-spacing: 2px;

        color: rgba(255,255,255,0.86);
    }


    /* =========================================
       PROJECT TITLE
    ========================================= */

    .completed-gem-info h3 {
        margin: 0;

        font-family: Georgia, "Times New Roman", serif;

        font-size: clamp(26px, 2vw, 30px);
        font-weight: 400;

        line-height: 1.1;

        letter-spacing: -1px;

        color: #fff;
    }


    /* =========================================
   PROPERTY DETAILS
========================================= */

.completed-gem-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;

    margin-top: 14px;
    padding-top: 14px;

    border-top: 1px solid rgba(255, 255, 255, 0.30);
}


/* EACH DETAIL */

.completed-gem-detail {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


/* RIGHT SIDE */

.completed-gem-detail:nth-child(2) {
    padding-left: 100px;
    /*border-left: 1px solid rgba(255, 255, 255, 0.25);*/
}


/* LABEL */

.completed-gem-detail span {
    font-size: 9px;
    font-weight: 500;

    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}


/* VALUE */

.completed-gem-detail strong {
    font-size: 13px;
    font-weight: 400;
    color: #ffffff;
}


    /* =========================================
       EXPLORE
    ========================================= */

    .completed-gem-explore {
        display: inline-flex;

        align-items: center;

        gap: 9px;

        font-size: 11px;
        font-weight: 700;

        letter-spacing: 1.8px;

        text-decoration: none;

        color: #fff;

        transition:
            gap 0.3s ease;
    }

    .completed-gem-explore span {
        font-size: 18px;
        font-weight: 300;

        line-height: 1;

        transition:
            transform 0.3s ease;
    }

    .completed-gem-card:hover .completed-gem-explore {
        gap: 14px;
    }

    .completed-gem-card:hover .completed-gem-explore span {
        transform: translateX(3px);
    }


    /* =========================================
       VIEW MORE
    ========================================= */

    .completed-gems-more {
        display: flex;

        justify-content: center;

        margin-top: 42px;
    }

   .completed-gems-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 155px;
    padding: 14px 25px;

    border: 1px solid #F1DC5F ;
    border-radius: 0 !important; /* Rectangle */

    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0px;
    font-family: 'Inter', Serif;
    text-decoration: none;
    color: #141414;
    background: transparent;

    transition:
        background 0.35s ease,
        color 0.35s ease,
        gap 0.35s ease;
}

    .completed-gems-button span {
        font-size: 16px;
        line-height: 1;
    }

    .completed-gems-button:hover {
        background: #F1DC5F ;
        color: #141414;

        gap: 17px;
    }    
    
    
    
/* =========================================
       PHILOSOPHY
    ========================================= */
.philosophy{
    background: transparent;
}

.title {
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    font-size: 32px;
    letter-spacing: 3px;
    color: #1B2A41;
    margin: 0 0 60px 0;
    margin-top: 40px;
  }
 
  .title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #F1DC5F;
    margin: 18px auto 0;
  }
 
  .row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
  }
 
  .item {
    width: 210px;
    text-align: center;
  }
 
  .item img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 12px 24px rgba(27, 42, 65, 0.0);
    display: block;
  }
 
  .item p {
    margin-top: 15px;
    font-size: 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    color: #1B2A41;
    line-height: 1.35;
  }
 
  /* zigzag vertical offsets — item 1 sits normal, each next one steps down, then resets */
  .item:nth-child(2) { margin-top: 30px; }
  .item:nth-child(3) { margin-top: 0px; }
  .item:nth-child(4) { margin-top: 30px; }
  .item:nth-child(5) { margin-top: 0px; }
  
  
  
  

/* =========================================
       Testimonials
    ========================================= */

:root{
    --gold:#c9a24b;
    --gold-soft:rgba(201,162,75,0.35);
    --ink:#0d0e12;
    --paper:#f4f1ea;
    --glass-border:rgba(255,255,255,0.16);
  }
 
 
 
  .testimonial-title{
     font-family: Georgia, "Times New Roman", serif;
    text-align:center;
    color:#141414;
    font-size:30px;
    font-weight:500;
    letter-spacing:0.5px;
    padding-top:40px;
    text-transform: uppercase;
  }
 
  .testimonial-wrapper{
    box-sizing:border-box;
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    padding:10px 16px;
    margin-bottom: 40px;
  }
 
  .testimonial-section,
  .testimonial-section *{
    box-sizing:border-box;
    margin:0;
    padding:0;
  }
 
  .testimonial-section{
    font-family:'Inter',sans-serif;
    position:relative;
    width:100%;
    max-width:1200px;
    height:500px;
    border-radius:1px;
    overflow:hidden;
    background-image:
      linear-gradient(to right, rgba(10,10,13,0.15) 0%, rgba(10,10,13,0.55) 42%, rgba(10,10,13,0.88) 62%, rgba(10,10,13,0.95) 100%),
      url('../images/home-testimonial.JPG');
    background-size:cover;
    background-position:center;
    box-shadow:0 30px 80px -20px rgba(0,0,0,0.0);
  }
 
  .testimonial-section::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(ellipse 700px 500px at 78% 45%, var(--gold-soft) 0%, rgba(201,162,75,0) 70%);
    opacity:0.35;
    pointer-events:none;
  }
 
  .glass-panel{
    position:absolute;
    top:50%;
    right:4%;
    transform:translateY(-50%);
    width:54%;
    min-width:360px;
    height:70%;
    background:transparent;
    border:1px solid var(--glass-border);
    border-radius:20px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:38px 48px;
    overflow:hidden;
  }
 
  .eyebrow{
    font-family:'Inter',sans-serif;
    font-size:12px;
    font-weight:600;
    letter-spacing:0.22em;
    text-transform:uppercase;
    color:var(--gold);
    margin-bottom:14px;
    display:flex;
    align-items:center;
    gap:10px;
  }
  .eyebrow::before{
    content:"";
    width:26px;
    height:1px;
    background:var(--gold);
    display:inline-block;
  }
 
  .quote-mark{
    font-family:'Fraunces', serif;
    font-size:46px;
    line-height:1;
    color:var(--gold);
    opacity:0.85;
    margin-bottom:-10px;
  }
 
  .slider-track{
    position:relative;
    min-height:150px;
  }
 
  .slide{
    position:absolute;
    inset:0;
    opacity:0;
    transform:translateX(24px);
    transition:opacity 0.55s ease, transform 0.55s ease;
    pointer-events:none;
  }
  .slide.active{
    position:relative;
    opacity:1;
    transform:translateX(0);
    pointer-events:auto;
  }
 
  .slide-quote{
    font-family:'Inter', sans-serif;
    font-weight:400;
    font-size:18px;
    line-height:1.5;
    color:var(--paper);
    letter-spacing:0.1px;
    margin-bottom:15px;
    min-height:114px; 
    text-align: left;
  }
 
  .slide-person{
    display:flex;
    align-items:center;
    gap:14px;
  }
 
  .avatar{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    background:transparent;
    border:1.5px solid var(--gold-soft);
  }
  .avatar svg{
    width:22px;
    height:22px;
  }
  .avatar svg path{
    stroke:var(--gold);
  }
 
  .person-info .name{
    font-size:15px;
    font-weight:600;
    color:var(--paper);
    letter-spacing:0.2px;
  }
  .person-info .role{
    font-size:13px;
    color:rgba(244,241,234,0.6);
    margin-top:2px;
  }
 
  .stars{
    margin-top:2px;
    color:var(--gold);
    font-size:13px;
    letter-spacing:2px;
  }
 
  /* Arrow buttons sit on the right side of the panel, vertically aligned
     with the person-info row (avatar + name). Their top offset is set
     by JS to match the active slide's person row, since quote length
     (and therefore row position) can vary slide to slide. */
  .side-arrows{
    position:absolute;
    right:48px;
    display:flex;
    gap:10px;
    transform:translateY(-50%);
    z-index:5;
  }
  .arrow-btn{
    width:40px;
    height:40px;
    border-radius:50%;
    background:transparent;
    border:1px solid rgba(255,255,255,0.2);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  }
  .arrow-btn:hover{
    background:var(--gold);
    border-color:var(--gold);
    transform:translateY(-2px);
  }
  .arrow-btn:hover svg path{ stroke:#161616; }
  .arrow-btn svg{ width:16px; height:16px; }
  .arrow-btn svg path{ stroke:var(--paper); transition:stroke 0.25s ease; }
  .arrow-btn:active{ transform:translateY(0); }


/* =========================================
       BoTTOM FORM
    ========================================= */  


:root{
    --dxb-sky-warm:#d9a273;
    --dxb-glass-bg:rgba(255,255,255,0.14);
    --dxb-glass-border:rgba(255,255,255,0.35);
    --dxb-ink:#0c2237;
    --dxb-accent:#c99b78;
    --dxb-accent-dark:#a97d5c;
    --dxb-error:#e2664a;
    --dxb-success:#3f9c76;
  }
 
  /* ---------- Background image (section, cover) ---------- */
  .dxb-bg{
    position:absolute;
    inset:0;
    z-index:0;
    overflow:hidden;
  }
  .dxb-bg img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
  }
  /* dark overlay so left-side text and card stay readable over any photo */
  .dxb-bg::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(4,14,26,0.62) 0%, rgba(4,14,26,0.42) 45%, rgba(4,14,26,0.28) 100%);
  }
 
  /* ---------- Layout ---------- */
  .dxb-section{
    position:relative;
    height:600px;
    overflow:hidden;
    font-family:'Manrope', sans-serif;
    color:var(--dxb-ink);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;
    padding:0 6vw;
    flex-wrap:wrap;
  }
 
  .dxb-intro{
    position:relative;
    z-index:1;
    flex:1 1 380px;
    max-width:520px;
    color:#fff;
    padding-top:20px;
  }
  .dxb-eyebrow{
    display:flex;
    align-items:center;
    gap:14px;
    font-size:12px;
    letter-spacing:.22em;
    text-transform:uppercase;
    color:rgba(255,255,255,0.85);
    font-weight:500;
    margin-bottom:26px;
    font-family: 'Inter', sans-serif;
  }
  .dxb-eyebrow::before{
    content:'';
    width:34px;
    height:1px;
    background:rgba(255,255,255,0.65);
  }
  .dxb-intro h2{
    font-family: Georgia, 'Times New Roman', serif;
    font-weight:500;
    font-size:clamp(40px, 5.2vw, 68px);
    line-height:1.05;
    margin:0 0 6px 0;
    letter-spacing:.005em;
  }
  .dxb-intro h2 span{
    display:block;
    color:#F1DC5F;
    font-style:italic;
  }
  .dxb-intro p{
    margin-top:22px;
    font-size:16px;
    line-height:1.65;
    color:rgba(255,255,255,0.82);
    max-width:420px;
    font-family: 'Inter', sans-serif;
  }
 
  /* ---------- Glass Card ---------- */
  .dxb-card{
    position:relative;
    z-index:1;
    flex:1 1 420px;
    max-width:460px;
    background:var(--dxb-glass-bg);
    border:1px solid var(--dxb-glass-border);
    backdrop-filter:blur(22px) saturate(140%);
    -webkit-backdrop-filter:blur(22px) saturate(140%);
    border-radius:22px;
    padding:38px 36px 32px;
    box-shadow:0 30px 60px -20px rgba(6,20,35,0.55), inset 0 1px 0 rgba(255,255,255,0.4);
  }
 
  .dxb-field{
    margin-bottom:20px;
  }
  .dxb-field label{
    display:block;
    font-size:12px;
    font-weight:600;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:rgba(20,40,60,0.72);
    margin-bottom:9px;
    font-family: 'Inter', sans-serif;
  }
  .dxb-field input,
  .dxb-field textarea{
    width:100%;
    border:1px solid rgba(255,255,255,0.55);
    background:rgba(255,255,255,0.55);
    border-radius:12px;
    padding:14px 16px;
    font-size:14.5px;
    font-family:inherit;
    color:var(--dxb-ink);
    outline:none;
    transition:border-color .18s ease, background .18s ease, box-shadow .18s ease;
  }
  .dxb-field input::placeholder,
  .dxb-field textarea::placeholder{
    color:rgba(20,40,60,0.4);
  }
  .dxb-field input:focus,
  .dxb-field textarea:focus{
    background:rgba(255,255,255,0.85);
    border-color:var(--dxb-accent);
    box-shadow:0 0 0 4px rgba(201,155,120,0.22);
  }
  .dxb-field textarea{
    resize:vertical;
    min-height:96px;
    font-family:inherit;
  }
 
  .dxb-field.dxb-invalid input,
  .dxb-field.dxb-invalid textarea{
    border-color:var(--dxb-error);
    background:rgba(255,240,238,0.75);
  }
  .dxb-field.dxb-valid input,
  .dxb-field.dxb-valid textarea{
    border-color:var(--dxb-success);
  }
 
  .dxb-error-msg{
    display:none;
    align-items:center;
    gap:6px;
    font-size:12.5px;
    color:var(--dxb-error);
    margin-top:7px;
    font-weight:600;
  }
  .dxb-field.dxb-invalid .dxb-error-msg{
    display:flex;
  }
 
  .dxb-submit-btn{
    width:100%;
    margin-top:6px;
    border:none;
    cursor:pointer;
    background:#FEFAE0;
    color:#141414;
    font-family:inherit;
    font-weight:500;
    font-size:16px;
    letter-spacing:.01em;
    padding:16px 22px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
    box-shadow:0 14px 28px -10px rgba(169,125,92,0.65);
    font-family: 'Inter', sans-serif;
  }
  .dxb-submit-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 18px 34px -10px rgba(169,125,92,0.75);
  }
  .dxb-submit-btn:active{
    transform:translateY(0);
  }
  .dxb-submit-btn svg{
    width:16px;
    height:16px;
    transition:transform .15s ease;
  }
  .dxb-submit-btn:hover svg{
    transform:translateX(3px);
  }
 
  .dxb-success-banner{
    display:none;
    align-items:center;
    gap:10px;
    background:rgba(63,156,118,0.18);
    border:1px solid rgba(63,156,118,0.45);
    color:#1f5b41;
    font-size:13.5px;
    font-weight:700;
    padding:12px 14px;
    border-radius:10px;
    margin-bottom:18px;
  }
  .dxb-success-banner.dxb-show{
    display:flex;
  }



  :root{
    --bg: #f3efe6;
    --text-dark: #1f1f1f;
    --accent: #F1DC5F;
    --accent-soft: #F1DC5F;
    --muted: #5a5a5a;
    --line: #ddd6c9;
  }
 
  .site-footer{
    background: #FBFAF8;
    padding: 40px 60px 0 60px;
    color: var(--text-dark);
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
  }
 
  /* ---- Top bar: logo left, social icons right ---- */
  .footer-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
    padding-bottom: 5px;
  }
 
  .footer-logo img{
    height: 72px;
    display:block;
  }
 
  .footer-social{
    display:flex;
    gap:14px;
  }
 
  .footer-social a{
    width:36px;
    height:36px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    text-decoration:none;
    transition: transform .2s ease, opacity .2s ease;
  }
 
  .footer-social a svg{
    display:block;
  }
 
  .footer-social a:hover{
    transform: translateY(-3px);
    opacity:.9;
  }
 
  .social-facebook{ background:#1877f2; }
  .social-instagram{ background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4); }
 .social-youtube{
    background: #FF0000;
    color: #fff;
}

.social-linkedin{ background:#0A66C2; }
.social-x{ background:#000; }
.social-threads{ background:#000; }}

  hr.footer-divider{
    border:none;
    border-top:1px solid var(--line);
    margin:0;
  }
 
  /* ---- Columns ---- */
  .footer-columns{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px 0;
    align-items: start;
  }
 
  .footer-col h3{
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    
  }
  
  .footer-col h4{
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    margin-bottom: 8px;
    margin-left: 8px;
    text-transform: uppercase;
    
  }
 
  .heading-underline{
    width: 40px;
    height: 3px;
    background: var(--accent);
    margin: 8px 0 20px 0;
    border:none;
  }
 
  .footer-col ul{
    list-style:none;
    margin:0;
    padding:0;
  }
 
  .footer-col ul li{
    margin-bottom: 14px;
  }
 
  .footer-col ul li a{
    color: var(--text-dark);
    text-decoration:none;
    font-size:15px;
    transition: color .2s ease;
    font-family: 'Inter', sans-serif;
  }
 
  .footer-col ul li a:hover{
    color: var(--accent);
  }
 
  /* Address column special layout */
  .contact-item{
    display:flex;
    align-items:flex-start;
    gap:10px;
    margin-bottom:16px;
    font-size:15px;
    line-height:1.5;
    font-family: 'Inter', sans-serif;
  }
 
  .contact-item .icon{
    color: var(--accent-soft);
    font-size:16px;
    margin-top:2px;
    flex-shrink:0;
  }
 
  .contact-item a{
    color: var(--text-dark);
    text-decoration:none;
  }
 
  .contact-item a:hover{
    color: var(--accent);
  }
 
  /* ---- Bottom bar ---- */
  
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
  font-family: 'Inter', sans-serif;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--accent);
}

.footer-powered {
  margin-left: auto;
  text-align: right;
}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
/* =====================================================================
   RESPONSIVE.CSS
   Add this AFTER your main CSS (or paste at the very end of it).
   Approach: desktop-first. Each query only overrides what is needed.

   Breakpoints
   >= 2200px  : 4K / ultra-wide
   >= 1600px  : large desktop / big monitors
   <= 1280px  : small laptops
   <= 1024px  : tablets landscape  (hamburger menu starts here)
   <= 900px   : tablets portrait   (stacked testimonial + bottom form)
   <= 767px   : mobile             (CDE + Philosophy become 2 x 2)
   <= 480px   : small phones
   <= 360px   : very small phones
===================================================================== */


/* =====================================================================
   0. GLOBAL SAFETY
===================================================================== */
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{ overflow-x:hidden; }
img, video{ max-width:100%; }

/* real mobile viewport height (fixes 100vh jump behind browser bars) */
.hero{ height:100vh; height:100svh; }


/* =====================================================================
   1. LARGE SCREENS  (>= 1600px)
===================================================================== */
@media (min-width:1600px){

  .navbar__inner{ max-width:1680px; padding:0 64px; }
  .navbar__list{ gap:28px; }
  .navbar__link{ font-size:13px; }

  /* form */
  .form-section{ padding:48px 100px 36px; }
  .lead-form{ max-width:1100px; }
  .form-title{ font-size:28px; }
  .form-group input{ max-width:280px; font-size:15px; }

  /* headings */
  .about-wrapper h2,
  .cde-heading-title,
  .communities-heading h2,
  .completed-gems-heading h2,
  .testimonial-title{ font-size:36px; }
  .title{ font-size:38px; }

  /* about */
  .about-section{ height:700px; }
  .about-content{ max-width:620px; }
  .about-content p{ font-size:18px; }

  /* countdown */
  .cde-container{ max-width:1400px; }
  .cde-metric-label{ font-size:15px; }

  /* projects */
  /* projects */
.communities-section{
    padding: 50px 60px;
}

.communities-container{
    max-width: 1400px;
}

.communities-grid{
    max-width: 1300px;
    gap: 40px;
}

.community-image{
    height: 420px;
}

  /* completed */
  .completed-gems-section{ padding:56px 130px; }
  .completed-gems-container{ max-width:1700px; }
  .completed-gem-card{ height:540px; }

  /* philosophy */
  .item{ width:240px; }
  .item img{ height:380px; }
  .item p{ font-size:20px; }
  .row{ gap:56px; }

  /* testimonial */
  .testimonial-section{ max-width:1440px; height:520px; }
  .slide-quote{ font-size:20px; min-height:128px; }

  /* bottom form */
  .dxb-section{ height:680px; padding:0 8vw; }

  /* footer */
  .site-footer{
    padding-left:max(60px, calc((100vw - 1680px) / 2));
    padding-right:max(60px, calc((100vw - 1680px) / 2));
  }
}


/* =====================================================================
   2. 4K / ULTRA-WIDE  (>= 2200px)
===================================================================== */
@media (min-width:2200px){

  .navbar__inner{ max-width:2000px; }
  .navbar__link{ font-size:14px; }
  .lead-form{ max-width:1300px; }
  .form-section{ padding-left:140px; padding-right:140px; }

  .communities-container,
  .completed-gems-container{ max-width:2000px; }
  .communities-grid{ max-width:1900px; }
  .community-image{ height:580px; }
  .completed-gem-card{ height:620px; }

  .cde-container{ max-width:1700px; }
  .cde-metric-label{ font-size:17px; }

  .testimonial-section{ max-width:1700px; height:580px; }
  .slide-quote{ font-size:22px; }

  .about-section{ height:780px; }
  .about-content{ max-width:700px; }
  .about-content p{ font-size:20px; }

  .site-footer{
    padding-left:max(60px, calc((100vw - 2000px) / 2));
    padding-right:max(60px, calc((100vw - 2000px) / 2));
  }
}


/* =====================================================================
   3. SMALL LAPTOPS  (<= 1280px)
===================================================================== */
@media (max-width:1280px){

  /* navbar (still full desktop menu, just tighter) */
  .navbar__inner{ padding:0 32px; }
  .navbar__list{ gap:14px; }
  .navbar__link{ font-size:11.5px; letter-spacing:.1em; }
  .navbar__link--outline{ padding:8px 14px; }

  /* form */
  .form-section{ padding:40px 64px 30px; }
  .form-row{ gap:60px; }

  /* projects */
  .communities-section{ padding:40px 80px; }

  /* completed */
  .completed-gems-section{ padding:40px 64px; }
  .completed-gem-detail:nth-child(2){ padding-left:32px; }

  /* philosophy: shrink fluidly instead of wrapping */
  .row{ flex-wrap:nowrap; gap:24px; padding:0 32px; }
  .item{ flex:1 1 0; width:auto; min-width:0; max-width:210px; }
  .item img{ height:auto; aspect-ratio:210 / 330; }
}


/* =====================================================================
   4. TABLETS LANDSCAPE  (<= 1024px)  — hamburger menu starts here
===================================================================== */
@media (max-width:1024px){

  /* ---------- NAVBAR ---------- */
  :root{ --nav-height:76px; }

  .navbar{ height:var(--nav-height); }
  .navbar.is-scrolled{
    height:72px;
    /* IMPORTANT: backdrop-filter would make the fixed full-screen
       menu relative to the navbar. Background is opaque anyway. */
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  .navbar__inner{ padding:0 24px; }
  .navbar__logo{ margin-top:0; }
  .navbar__logo img{ height:52px; }

  .navbar__toggle{ display:flex; }
  .navbar.is-scrolled .navbar__toggle span{ background:#141414; }
  .navbar.is-scrolled .navbar__toggle[aria-expanded="true"] span,
  .navbar .navbar__toggle[aria-expanded="true"] span{ background:var(--ivory); }

  /* full-screen menu panel */
  .navbar__list{
    position:fixed; top:0; left:0; right:0;
    height:100vh; height:100dvh;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    gap:22px;
    padding:96px 24px 40px;
    overflow-y:auto;
    background:rgba(11,11,10,.97);
    opacity:0; visibility:hidden;
    transform:translateY(-12px);
    transition:opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    z-index:105;
  }
  /* open state — works with any of these hooks */
  .navbar__list.is-open,
  .navbar.is-open .navbar__list,
  .navbar__toggle[aria-expanded="true"] + .navbar__list{
    opacity:1; visibility:visible; transform:none;
  }

  .navbar__item{ text-align:center; }
  .navbar .navbar__list .navbar__link,
  .navbar.is-scrolled .navbar__list .navbar__link{
    color:var(--ivory);
    font-size:15px;
    letter-spacing:.16em;
  }
  .navbar__link--outline{ padding:11px 26px; }

  /* dropdown becomes an accordion inside the panel */
  .navbar .navbar__dropdown,
  .navbar .navbar__item--dropdown:hover .navbar__dropdown{
    position:static;
    transform:none;
    min-width:0;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none; -webkit-backdrop-filter:none;
    opacity:1; visibility:visible;
    max-height:0; overflow:hidden;
    transition:max-height .4s var(--ease);
  }
  .navbar .navbar__item--dropdown.is-open .navbar__dropdown{
    max-height:420px;
    padding:10px 0 0;
  }
  .navbar__dropdown-link{ text-align:center; font-size:13px; padding:10px 16px; }
  .navbar__dropdown-link:hover{ padding-left:16px; }

  /* ---------- HERO ---------- */
 .hero {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;

        /* Gives the banner a proper tablet ratio */
        aspect-ratio: 16 / 7;

        overflow: hidden;
    }

    .hero__track,
    .hero__slide {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .hero__slide {
        background-size: cover !important;
        background-position: center center !important;

        transform: scale(1.03);
    }

    .hero__slide.is-active {
        animation: tabletKenburns 8s var(--ease) forwards;
    }

    @keyframes tabletKenburns {
        from {
            transform: scale(1.03);
        }

        to {
            transform: scale(1);
        }
    }

    /* Overlay */
    .hero__overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(6, 6, 5, 0.25) 0%,
                transparent 25%,
                transparent 75%,
                rgba(6, 6, 5, 0.30) 100%
            );
    }

    /* Arrows */
    .hero__arrow {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    .hero__arrow--prev {
        left: 18px;
    }

    .hero__arrow--next {
        right: 18px;
    }

    /* Preview */
    .hero__preview {
        right: 20px;
        bottom: 20px;
    }

    .hero__preview-frame {
        width: 78px;
        height: 78px;
        padding: 5px;
    }


  /* ---------- LEAD FORM ---------- */
  .form-section{ padding:36px 40px 28px; }
  .form-row{ gap:40px; }
  .form-group{ min-width:180px; }

  /* ---------- ABOUT ---------- */
  .about-wrapper h2{ font-size:26px; }
  .about-section{ height:520px; padding:10px 5% 60px; }
  .about-content{ max-width:480px; }

  /* ---------- COUNTDOWN ---------- */
  .cde-section{ padding:32px 24px; }
  .cde-heading-title{ font-size:26px; }
  .cde-metric{ padding:0 12px; }
  .cde-metric-label{ font-size:12.5px; }

  /* ---------- PROJECTS ---------- */
  .communities-section{ padding:40px 32px; }
  .communities-heading h2{ font-size:26px; }
  .communities-heading p{ font-size:16px; }
  .communities-grid{ gap:28px; }
  .community-image{ height:340px; }
  .community-title{ font-size:24px; }

  /* ---------- COMPLETED GEMS ---------- */
  .completed-gems-section{ padding:40px 32px; }
  .completed-gems-heading h2{ font-size:26px; }
  .completed-gems-heading p{ font-size:16px; }
  .completed-gems-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); gap:20px; }
  .completed-gem-card{ height:440px; }
  .completed-gem-detail:nth-child(2){ padding-left:40px; }

  /* ---------- PHILOSOPHY ---------- */
  .title{ font-size:28px; margin-bottom:44px; }
  .row{ gap:20px; padding:0 24px; }
  .item p{ font-size:16px; }

  /* ---------- TESTIMONIAL ---------- */
  .testimonial-title{ font-size:26px; }
  .testimonial-section{ height:auto; min-height:500px; }
  .glass-panel{
    width:62%;
    height:auto;
    min-height:65%;
    padding:32px 36px;
  }
  .slide-quote{ font-size:16.5px; min-height:100px; }
  .side-arrows{ right:36px; }

  /* ---------- BOTTOM FORM ---------- */
  .dxb-section {
        height: auto !important;
        min-height: 700px !important;

        padding: 50px 5vw !important;

        gap: 30px !important;

        align-items: center !important;

        overflow: hidden !important;
    }

    /* Keep background full section */
    .dxb-bg {
        position: absolute !important;
        inset: 0 !important;
        height: 100% !important;
    }

    .dxb-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Left content */
    .dxb-intro {
        flex: 1 1 45%;
        max-width: 450px;

        padding-top: 0 !important;
    }

    .dxb-intro h2 {
        font-size: 48px;
        line-height: 1.05;
    }

    .dxb-intro p {
        font-size: 14px;
        line-height: 1.55;
        max-width: 380px;
        margin-top: 18px;
    }

    /* Form */
    .dxb-card {
        flex: 0 1 420px;

        width: 100%;
        max-width: 420px;

        padding: 28px 26px 26px !important;

        box-sizing: border-box;
    }

    .dxb-field {
        margin-bottom: 14px;
    }

    .dxb-field label {
        font-size: 10px;
        margin-bottom: 6px;
    }

    .dxb-field input,
    .dxb-field textarea {
        padding: 11px 13px;
        font-size: 13px;
        box-sizing: border-box;
    }

    .dxb-field textarea {
        min-height: 75px;
    }

    .dxb-submit-btn {
        padding: 13px 18px;
        font-size: 14px;
    }


  /* ---------- FOOTER ---------- */
  .site-footer{ padding:40px 32px 0; }
  .footer-columns{ gap:28px; }
}



/* =====================================================================
   5. TABLETS PORTRAIT  (<= 900px)
===================================================================== */
@media (max-width:900px){

  /* ---------- TESTIMONIAL: stacked ---------- */
  .testimonial-wrapper{ padding:10px 16px; margin-bottom:32px; }
  .testimonial-title{ padding-top:32px; }
  .testimonial-section{
    min-height:540px;
    display:flex;
    align-items:flex-end;
  }
  .testimonial-section::after{
    content:"";
    position:absolute; inset:0;
    background:linear-gradient(to bottom, rgba(10,10,13,.25) 0%, rgba(10,10,13,.55) 40%, rgba(10,10,13,.9) 100%);
    pointer-events:none;
  }
  .glass-panel{
    position:relative;
    top:auto; right:auto;
    transform:none;
    z-index:2;
    width:calc(100% - 32px);
    min-width:0;
    height:auto;
    min-height:0;
    margin:0 16px 16px;
    padding:28px 26px;
    background:rgba(10,10,13,.35);
    -webkit-backdrop-filter:blur(6px);
    backdrop-filter:blur(6px);
  }
  .slider-track{ min-height:0; }
  .slide-quote{ min-height:0; text-align:left; }
  .side-arrows{
    position:static;      /* ignores the top value set by JS */
    transform:none;
    margin-top:18px;
    justify-content:flex-start;
  }

  /* ---------- BOTTOM FORM: stacked ---------- */
  .dxb-section{
    height:auto;
    flex-direction:column;
    flex-wrap:nowrap;
    align-items:stretch;
    justify-content:center;
    padding:64px 6vw;
    gap:32px;
  }
  .dxb-intro{ flex:none; max-width:100%; padding-top:0; }
  .dxb-intro p{ max-width:100%; }
  .dxb-card{ flex:none; width:100%; max-width:560px; }

  /* ---------- FOOTER ---------- */
  .footer-columns{ grid-template-columns:repeat(2, 1fr); }
  .footer-col:last-child{ grid-column:1 / -1; }
}


/* =====================================================================
   6. MOBILE  (<= 767px)
===================================================================== */
@media (max-width:767px){

  /* ---------- HERO ---------- */
  .hero {
        width: 100%;
        height: 600px !important;
        min-height: 600px !important;
        aspect-ratio: auto !important;
    }

    .hero__arrow{
        width:38px;
        height:38px;
        font-size:14px;
    }
  .hero__arrow{ width:38px; height:38px; font-size:14px; }
  .hero__arrow--prev{ left:10px; }
  .hero__arrow--next{ right:10px; }
  .hero__preview{ right:14px; bottom:14px; }
  .hero__preview-frame{ width:60px; height:60px; padding:4px; }

  /* ---------- LEAD FORM ---------- */
  .form-section{ padding:32px 20px 28px; }
  .form-title{ font-size:20px; gap:12px; margin-bottom:22px; }
  .form-title::before,
  .form-title::after{ width:32px; }
  .form-row{ flex-direction:column; gap:26px; }
  .form-group{ flex:none; width:100%; min-width:0; }
  .form-group label{ margin-bottom:12px; }
  .form-group input{ max-width:100%; font-size:16px; } /* 16px stops iOS zoom */
  .submit-row{ margin-top:30px; }
  .submit-btn{ min-width:160px; height:42px; }

  /* ---------- ABOUT ---------- */
  .about-wrapper{ padding:32px 5% 0; margin-top:10px; }
  .about-wrapper .section-tag{ font-size:11px; letter-spacing:3px; gap:12px; }
  .about-wrapper .section-tag::before,
  .about-wrapper .section-tag::after{ width:24px; }
  .about-wrapper h2{ font-size:22px; margin-bottom:28px; }

  .about-section{
    height:auto;
    min-height:480px;
    justify-content:center;
    align-items:center;
    padding:40px 5%;
    background-position:center;
  }
  .about-overlay{ background:rgba(0,0,0,.55); }
  .about-content{ max-width:100%; padding:10px; margin-top:0; }
  .about-content p{ font-size:15px; line-height:1.8; }

  /* ---------- COUNTDOWN: 2 rows x 2 columns ---------- */
  .cde-section{ padding:28px 16px; }
  .cde-heading-title{ font-size:22px; margin-bottom:16px; }
  .cde-heading-rule{ width:110px; margin-bottom:24px; }

  .cde-metrics{
    grid-template-columns:repeat(2, minmax(0,1fr));
    row-gap:0;
  }
  .cde-metric{ padding:24px 10px; }
  .cde-metric:nth-child(n+3){ border-top:1px solid var(--cde-line); }

  /* vertical divider only between column 1 and column 2 */
  .cde-metric:not(:first-child)::before{ display:none; }
  .cde-metric:nth-child(even)::before{ display:block; top:24px; bottom:24px; }

  .cde-metric-value-row{ height:46px; }
  .cde-metric-value{ font-size:36px; }
  .cde-metric-suffix{ font-size:22px; }
  .cde-metric--word .cde-metric-value{ font-size:24px; }
  .cde-metric-rule{ margin:10px 0 14px; }
  .cde-metric-label{ font-size:11.5px; letter-spacing:.05em; }

  /* ---------- PROJECTS ---------- */
  .communities-section{ padding:32px 16px; }
  .communities-heading{ margin-bottom:36px; }
  .communities-heading .small-title{ font-size:13px; letter-spacing:2px; }
  .communities-heading h2{ font-size:22px; }
  .communities-heading p{ font-size:15px; }
  .communities-grid{ grid-template-columns:1fr; gap:24px; }
  .community-image{ height:260px; }
  .community-content{ padding:22px 20px 24px; }
  .community-title{ font-size:22px; }
  .amenity-item{ padding:10px; min-height:64px; gap:10px; }

  /* ---------- COMPLETED GEMS ---------- */
  .completed-gems-section{ padding:32px 16px; }
  .completed-gems-heading h2{ font-size:22px; letter-spacing:1px; }
  .completed-gems-heading p{ font-size:15px; }
  .completed-gems-grid{ grid-template-columns:1fr; gap:18px; }
  .completed-gem-card{ height:380px; }
  .completed-gem-info{ padding:0 20px 20px; }
  .completed-gem-detail:nth-child(2){ padding-left:20px; }
  .completed-gems-more{ margin-top:32px; }

  /* ---------- PHILOSOPHY: 2 rows x 2 columns ---------- */
  .title{ font-size:24px; letter-spacing:2px; margin:28px 0 36px; }
  .row{
    display:grid;
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:28px 16px;
    padding:0 20px;
    justify-items:center;
  }
  .item{ width:100%; max-width:none; }
  .item:nth-child(n){ margin-top:0; }        /* remove zigzag */
  .item img{ height:auto; aspect-ratio:3 / 4; }
  .item p{ font-size:15px; margin-top:12px; }
  /* if there is an odd last item, centre it */
  .item:last-child:nth-child(odd){ grid-column:1 / -1; width:calc(50% - 8px); }

  /* ---------- TESTIMONIAL ---------- */
  .testimonial-title{ font-size:22px; padding-top:28px; }
  .testimonial-section{ min-height:520px; }
  .glass-panel{ padding:24px 20px; border-radius:16px; }
  .slide-quote{ font-size:15px; line-height:1.55; }
  .quote-mark{ font-size:38px; }

  /* ---------- BOTTOM FORM ---------- */
  .dxb-section{ padding:56px 20px; }
  .dxb-eyebrow{ font-size:11px; letter-spacing:.18em; margin-bottom:18px; }
  .dxb-intro h2{ font-size:clamp(34px, 9vw, 48px); }
  .dxb-intro p{ font-size:15px; }
  .dxb-card{ max-width:100%; padding:26px 20px 22px; border-radius:18px; }
  .dxb-field input,
  .dxb-field textarea{ font-size:16px; }

  /* ---------- FOOTER ---------- */
  .site-footer{ padding:32px 20px 0; }
  .footer-top{ flex-direction:column; align-items:center; text-align:center; gap:16px; }
  .footer-logo img{ height:56px; }
  .footer-social{ flex-wrap:wrap; justify-content:center; gap:12px; }
  .footer-columns{ grid-template-columns:1fr; gap:28px; padding:28px 0; }
  .footer-col:last-child{ grid-column:auto; }
  .footer-bottom{ flex-direction:column; justify-content:center; text-align:center; font-size:13px; }
}


/* =====================================================================
   7. SMALL PHONES  (<= 480px)
===================================================================== */
@media (max-width:480px){

  :root{ --nav-height:68px; }
  .navbar.is-scrolled{ height:64px; }
  .navbar__inner{ padding:0 16px; }
  .navbar__logo img{ height:46px; }

  .hero__preview{ display:none; }

  .form-title{ font-size:18px; }
  .form-title::before,
  .form-title::after{ width:22px; }

  .about-wrapper h2{ font-size:20px; }
  .about-section{ min-height:440px; }

  .cde-metric-value{ font-size:32px; }
  .cde-metric--word .cde-metric-value{ font-size:22px; }
  .cde-metric-label{ font-size:11px; }

  .community-image{ height:230px; }
  .community-title{ font-size:20px; }
  .amenity-icon{ flex-basis:30px; width:30px; height:30px; }
  .amenity-icon svg{ width:15px; height:15px; }

  .completed-gem-card{ height:340px; }
  .completed-gem-info h3{ font-size:24px; }

  .title{ font-size:22px; }
  .item p{ font-size:14px; }

  .testimonial-section{ min-height:500px; }
  .avatar{ width:42px; height:42px; }
  .person-info .name{ font-size:14px; }
  .person-info .role{ font-size:12px; }
  .arrow-btn{ width:36px; height:36px; }

  .submit-btn,
  .about-btn{ font-size:14px !important; }
}


/* =====================================================================
   8. VERY SMALL PHONES  (<= 360px)
===================================================================== */
@media (max-width:360px){

  .form-section{ padding-left:14px; padding-right:14px; }
  .cde-section{ padding-left:10px; padding-right:10px; }
  .cde-metric{ padding:20px 6px; }
  .cde-metric-value{ font-size:28px; }
  .cde-metric--word .cde-metric-value{ font-size:19px; letter-spacing:0; }
  .cde-metric-label{ font-size:10.5px; letter-spacing:.03em; }

  .communities-section,
  .completed-gems-section{ padding-left:12px; padding-right:12px; }
  .amenity-item{ gap:8px; padding:8px; }
  .amenity-text strong{ font-size:11px; }

  .row{ padding:0 14px; gap:22px 12px; }
  .glass-panel{ padding:20px 16px; }
  .footer-social a{ width:34px; height:34px; }
}


/* =====================================================================
   9. SHORT LANDSCAPE SCREENS (phones turned sideways)
===================================================================== */
@media (max-height:520px) and (orientation:landscape){
  .hero{ min-height:420px; }
  .navbar__list{
    justify-content:flex-start;
    gap:14px;
    padding-top:84px;
  }
}


/* =====================================================================
   10. TOUCH DEVICES — no sticky hover effects
===================================================================== */
@media (hover:none){
  .community-card:hover{ transform:none; box-shadow:none; }
  .community-card:hover .community-image img,
  .completed-gem-card:hover .completed-gem-image img{ transform:none; }
  .submit-btn:hover,
  .about-btn:hover,
  .arrow-btn:hover{ transform:none; }
}