:root{
  --ink: #1A2C28;
  --river-deep: #16302B;
  --river: #2D5953;
  --sand: #D8C7A8;
  --paper: #F2EEE4;
  --sun: #E8A845;
  --mist: #BFD3CC;
  --paper-soft: #FAF7F0;

  --display: "Fraunces", serif;
  --body: "Work Sans", sans-serif;
  --mono: "Space Mono", monospace;
}

*{ margin:0; padding:0; box-sizing:border-box; }

body{
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }

.container{
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ NAV ============ */
header{
  background: var(--river-deep);
  padding: 18px 0;
}
nav{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.logo{
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--paper-soft);
}
.logo img{
  display:block;
  height: 76px;
  background: var(--paper-soft);
  padding: 6px 10px;
  border-radius: 8px;
}
.logo span{ color: var(--sun); }
.back-link{
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  display:flex;
  align-items:center;
  gap: 8px;
  transition: color 0.2s ease;
}
.back-link:hover{ color: var(--sun); }
.back-link svg{ width:14px; height:14px; }

/* ============ HERO ============ */
.unit-hero{
  position: relative;
  aspect-ratio: 16/9;
  max-height: 560px;
  overflow:hidden;
  background: var(--river);
}
.unit-hero img{
  width:100%; height:100%; object-fit: cover;
}
.unit-hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(22,48,43,0.85), rgba(22,48,43,0) 55%);
}
.unit-hero-content{
  position:absolute;
  bottom: 28px; left:0; right:0;
  z-index: 2;
}
.unit-tag{
  display:inline-block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  background: var(--sun);
  color: var(--river-deep);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.unit-hero h1{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--paper-soft);
}

/* ============ VIDEO HERO FULL WIDTH ============ */
.unit-video-hero{
  width: 100%;
  background: var(--river-deep);
  overflow: hidden;
  height: 85vh;
  position: relative;
}
.unit-video-hero video{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.unit-hero-info-full{
  padding-top: 36px;
  padding-bottom: 48px;
}
.unit-hero-info-full h1{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--river-deep);
  margin: 14px 0 0;
}
.unit-hero-info-full .unit-specs{
  margin: 24px 0 22px;
}
.unit-hero-info-full .unit-desc{
  margin-bottom: 32px;
}

/* ============ SPECS ============ */
.unit-specs{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 28px;
}
.unit-specs span{
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  background: var(--paper-soft);
  border: 1px solid var(--sand);
  color: var(--river-deep);
  padding: 8px 16px;
  border-radius: 999px;
}

/* ============ DESCRIPTION ============ */
.unit-desc{
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--river);
  margin-bottom: 40px;
}

/* ============ GALLERY ============ */
.unit-gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}
.unit-gallery img{
  width:100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}
.unit-gallery img:first-child{
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: 1/1;
}
@media (max-width: 860px){
  .unit-gallery{ grid-template-columns: repeat(2, 1fr); }
  .unit-gallery img:first-child{ grid-column: span 2; aspect-ratio: 4/3; }
}

/* ============ REEL ============ */
.unit-reel{
  max-width: 300px;
  margin: 0 auto 56px;
}
.unit-reel video{
  width:100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--sand);
}

/* ============ AMENITIES ============ */
.unit-amen-head{
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--river);
  margin-bottom: 28px;
}
.unit-amen-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}
.unit-amen-col h4{
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--river-deep);
}
.unit-amen-col ul{
  list-style:none;
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.unit-amen-col li{
  font-size: 0.94rem;
  color: var(--river);
  padding-left: 18px;
  position:relative;
}
.unit-amen-col li::before{
  content:"";
  position:absolute;
  left:0; top: 9px;
  width: 7px; height: 7px;
  border-radius:50%;
  background: var(--sun);
}

/* ============ BUILDING AMENITIES ============ */
.unit-building{
  background: var(--river-deep);
  color: var(--paper-soft);
  border-radius: 18px;
  padding: 36px;
  margin-bottom: 60px;
}
.unit-building h4{
  font-family: var(--display);
  font-weight:600;
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--sun);
}
.unit-building-tags{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.unit-building-tags span{
  font-family: var(--mono);
  font-size: 0.8rem;
  border: 1px solid rgba(242,238,228,0.25);
  padding: 7px 14px;
  border-radius: 999px;
}

/* ============ CTA ============ */
.unit-cta{
  background: linear-gradient(135deg, var(--river-deep), var(--river));
  color: var(--paper-soft);
  border-radius: 28px;
  padding: 56px 40px;
  text-align:center;
  margin-bottom: 60px;
}
.unit-cta h2{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 14px;
}
.unit-cta p{
  color: var(--mist);
  margin-bottom: 28px;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.94rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid transparent;
}
.btn-primary{
  background: var(--sun);
  color: var(--river-deep);
  box-shadow: 0 8px 24px -8px rgba(232,168,69,0.6);
}
.btn-primary:hover{ transform: translateY(-2px); }
.btn-ghost{
  border-color: rgba(242,238,228,0.35);
  color: var(--paper-soft);
}
.btn-ghost:hover{ border-color: var(--paper-soft); transform: translateY(-2px); }

/* ============ FOOTER ============ */
footer{
  background: var(--river-deep);
  color: var(--mist);
  padding: 32px 0;
  text-align:center;
  font-family: var(--mono);
  font-size: 0.78rem;
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float{
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 200;
  background: #25D366;
  color:#fff;
  width: 58px; height:58px;
  border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,0.4);
  transition: transform 0.25s ease;
}
.wa-float:hover{ transform: scale(1.08); }
.wa-float svg{ width: 28px; height:28px; }

/* ============ MAIN CONTENT WRAPPER ============ */
main{ padding-top: 48px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px){
  .unit-amen-grid{ grid-template-columns: 1fr; gap: 36px; }
  .unit-cta{ padding: 44px 24px; }
}
