/* ============================================================
   VALIA — Dubai Creek Harbour by Emaar
   Landing page stylesheet
   ============================================================ */

:root {
  --navy: #0a1a2f;
  --navy-2: #0f2340;
  --navy-3: #16304f;
  --ink: #232a35;
  --body: #4a5361;
  --gold: #c6a15b;
  --gold-deep: #a9843f;
  --gold-light: #e9d9b4;
  --cream: #f8f4ec;
  --sand: #efe8db;
  --line: #e3dccd;
  --white: #ffffff;
  --shadow-lg: 0 30px 60px -18px rgba(10, 26, 47, 0.28);
  --shadow-md: 0 18px 40px -16px rgba(10, 26, 47, 0.22);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
  --font-num: "Playfair Display", "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--body);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.container-wide {
  width: min(1400px, 94%);
  margin-inline: auto;
}

/* ---------- typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.12;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  font-size: 12px;
  font-weight: 400;
  color: var(--gold-deep);
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(34px, 4.6vw, 56px);
  margin: 18px 0 20px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-deep);
}

.lead {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 62ch;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-gold {
  background: linear-gradient(135deg, #d7b878, var(--gold) 55%, var(--gold-deep));
  color: var(--navy);
  box-shadow: 0 14px 30px -12px rgba(169, 132, 63, 0.55);
}

.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(169, 132, 63, 0.65); }

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-3px); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover { background: var(--navy-3); transform: translateY(-3px); }

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
  padding: 22px 0;
}

.site-header .container-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-header.scrolled {
  background: rgba(10, 26, 47, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.45);
  padding: 12px 0;
}

.brand { display: flex; flex-direction: column; line-height: 1; }

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
  transition: height 0.4s ease;
}

.site-header.scrolled .brand-logo { height: 46px; }

.brand .brand-name {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--white);
}

.brand .brand-sub {
  font-size: 9.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 6px;
}

.main-nav { display: flex; align-items: center; gap: 34px; }

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}

.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 16px; }

.header-cta .btn { padding: 13px 26px; font-size: 12px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 140;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  margin: 6px auto;
  transition: transform 0.35s var(--ease), opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  will-change: transform;
}

.hero-inner { will-change: transform; }

/* soft golden glow that follows the cursor */
.hero-glow {
  position: absolute;
  top: -320px;
  left: -320px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 217, 180, 0.20) 0%, rgba(198, 161, 91, 0.10) 38%, transparent 68%);
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: transform;
}

.hero.glow-active .hero-glow { opacity: 1; }

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 26, 47, 0.55) 0%, rgba(10, 26, 47, 0.08) 34%, rgba(10, 26, 47, 0.42) 72%, rgba(7, 17, 30, 0.92) 100%),
    linear-gradient(100deg, rgba(10, 26, 47, 0.55) 0%, rgba(10, 26, 47, 0) 55%);
}

.hero-inner {
  width: min(1400px, 94%);
  margin-inline: auto;
  padding: 160px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 12px;
  color: var(--gold-light);
}

.hero-eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(64px, 11vw, 150px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--white);
  margin: 18px 0 6px;
  line-height: 0.95;
}

.hero .hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 32px);
  color: var(--gold-light);
  margin-bottom: 22px;
}

.hero p.hero-copy {
  max-width: 56ch;
  font-size: clamp(15px, 1.35vw, 18px);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 36px 0 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(4px);
}

.hero-stat {
  padding: 26px 28px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stat:last-child { border-right: none; }

.hero-stat .value {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 36px);
  color: var(--white);
}

.hero-stat .label {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 6px;
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
section { position: relative; }

.section-pad { padding: clamp(80px, 10vw, 130px) 0; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 70px); }

.section-head.center { margin-inline: auto; text-align: center; }

.section-head.center .eyebrow { justify-content: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .lead { margin-inline: auto; }

/* reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-media img { height: 100%; object-fit: cover; }

.about-media .media-tag {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(10, 26, 47, 0.78);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-radius: 12px;
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-copy .section-title { max-width: 16ch; }

.about-features {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 34px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature .f-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-deep);
}

.feature .f-icon svg { width: 20px; height: 20px; }

.feature h3 { font-family: var(--font-body); font-size: 15.5px; font-weight: 500; color: var(--navy); letter-spacing: 0.02em; }

.feature p { font-size: 14.5px; line-height: 1.6; margin-top: 4px; }

/* ============================================================
   AMENITIES
   ============================================================ */
.amenities-section { background: var(--navy); color: rgba(255, 255, 255, 0.82); }

.amenities-section .section-title { color: var(--white); }
.amenities-section .eyebrow { color: var(--gold-light); }

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.amenity-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}

.amenity-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.amenity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 26, 47, 0) 30%, rgba(7, 17, 30, 0.88) 100%);
}

.amenity-card:hover img { transform: scale(1.06); }

.amenity-card .a-body { padding: 28px; }

.amenity-card h3 {
  color: var(--white);
  font-size: 26px;
  margin-bottom: 6px;
}

.amenity-card p { font-size: 14.5px; color: rgba(255, 255, 255, 0.78); max-width: 40ch; }

.amenity-card.span-7 { grid-column: span 7; }
.amenity-card.span-5 { grid-column: span 5; }
.amenity-card.span-6 { grid-column: span 6; }

.amenity-list {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px 30px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.amenity-item svg { flex: 0 0 auto; width: 17px; height: 17px; color: var(--gold); }

/* ============================================================
   RESIDENCES / UNITS
   ============================================================ */
.units-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.unit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.unit-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.unit-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.4s;
}

.unit-card:hover::before { opacity: 1; }

.unit-card .u-type {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--navy);
}

.unit-card .u-units {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 4px 0 20px;
}

.unit-card dl { display: grid; gap: 12px; }

.unit-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.unit-card dt { font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; color: #8b93a1; }

.unit-card dd { font-weight: 500; color: var(--ink); font-size: 15px; }

.unit-card .u-price {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
}

.unit-card .u-price .from {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #8b93a1;
}

.unit-card .u-price .amount {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold-deep);
}

.units-note {
  margin-top: 26px;
  font-size: 13px;
  color: #8b93a1;
  text-align: center;
}

/* ---------- payment plan ---------- */
.payment-wrap {
  margin-top: clamp(60px, 8vw, 90px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(34px, 4.5vw, 60px);
  box-shadow: var(--shadow-md);
}

.payment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
}

.payment-head h3 { font-size: clamp(26px, 3vw, 38px); }

.payment-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  background: var(--navy);
  color: var(--white);
  border-radius: 14px;
  padding: 14px 24px;
}

.payment-badge .big { font-family: var(--font-display); font-size: 34px; color: var(--gold-light); }
.payment-badge .small { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }

.timeline {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 5.5%;
  right: 5.5%;
  height: 1px;
  background: var(--line);
}

.milestone {
  text-align: center;
  padding: 0 6px;
  position: relative;
}

.milestone .dot {
  width: 19px;
  height: 19px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--white);
  position: relative;
  z-index: 1;
}

.milestone.key .dot { background: var(--gold); }

.milestone .pct {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy);
}

.milestone .when {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8b93a1;
  margin-top: 2px;
}

.milestone .tag {
  font-size: 10.5px;
  color: var(--gold-deep);
  margin-top: 4px;
  letter-spacing: 0.08em;
}

/* ============================================================
   FLOOR PLANS
   ============================================================ */
.floorplans-section { background: var(--sand); }

.fp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.fp-tab {
  padding: 13px 30px;
  border-radius: 999px;
  border: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.fp-tab.active, .fp-tab:hover { background: var(--navy); color: var(--white); }

.fp-panel { display: none; }
.fp-panel.active { display: grid; animation: fadeUp 0.6s var(--ease); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.fp-panel {
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.fp-media {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-md);
}

.fp-media img { border-radius: 10px; }

.fp-info h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }

.fp-specs { display: grid; gap: 14px; margin-bottom: 30px; }

.fp-specs div {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #d6cdba;
  padding-bottom: 12px;
}

.fp-specs dt { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #8b93a1; }
.fp-specs dd { font-weight: 500; color: var(--ink); }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.g-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}

.g-item.tall { grid-row: span 2; aspect-ratio: auto; }

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.g-item:hover img { transform: scale(1.07); }

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(10, 26, 47, 0.45));
  opacity: 0;
  transition: opacity 0.4s;
}

.g-item:hover::after { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(7, 15, 27, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 26px;
  right: 30px;
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
}

/* ============================================================
   LOCATION
   ============================================================ */
.location-section { background: var(--navy); color: rgba(255, 255, 255, 0.85); }

.location-section .section-title { color: var(--white); }
.location-section .eyebrow { color: var(--gold-light); }

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.location-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
}

.drive-times {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 36px 0;
}

.drive {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.drive .mins {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--gold-light);
  line-height: 1;
}

.drive .mins span { font-size: 16px; letter-spacing: 0.1em; }

.drive .place { margin-top: 8px; font-size: 13.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }

.poi-list { display: flex; flex-wrap: wrap; gap: 10px; }

.poi {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  padding: 9px 18px;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   DEVELOPER
   ============================================================ */
.dev-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}

.dev-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dev-stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
}

.dev-stat .num {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 38px);
  color: var(--navy);
}

.dev-stat .lbl { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #8b93a1; margin-top: 4px; }

/* ============================================================
   REGISTER / FORM
   ============================================================ */
.register-section {
  position: relative;
  isolation: isolate;
  color: var(--white);
}

.register-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.register-bg img { width: 100%; height: 100%; object-fit: cover; }

.register-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(7, 17, 30, 0.94) 0%, rgba(10, 26, 47, 0.88) 45%, rgba(10, 26, 47, 0.55) 100%);
}

.register-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.register-copy .section-title { color: var(--white); }
.register-copy .eyebrow { color: var(--gold-light); }
.register-copy p { color: rgba(255, 255, 255, 0.85); }

.register-perks { margin-top: 30px; display: grid; gap: 14px; }

.register-perks li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
}

.register-perks svg { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; }

.lead-form {
  background: rgba(255, 255, 255, 0.97);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(30px, 3.5vw, 48px);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.55);
  color: var(--body);
}

.lead-form h3 {
  font-size: 30px;
  margin-bottom: 6px;
}

.lead-form .form-sub { font-size: 14px; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #d9d2c2;
  border-radius: 12px;
  background: #fdfcf9;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group textarea { resize: vertical; min-height: 96px; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.16);
}

.form-group input.error, .form-group select.error { border-color: #c0392b; }

/* intl-tel-input (country flags) */
.form-group .iti { width: 100%; }
.iti__selected-flag { border-radius: 12px 0 0 12px; background: transparent; }
.iti--separate-dial-code .iti__selected-flag { background: rgba(198, 161, 91, 0.08); }
.iti__country-list { z-index: 500; border-radius: 12px; border-color: #d9d2c2; }

.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.55;
  margin: 6px 0 22px;
}

.form-consent input {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  accent-color: var(--gold-deep);
  flex: 0 0 auto;
}

.form-consent a { color: var(--gold-deep); text-decoration: underline; }

.lead-form .btn { width: 100%; }

.form-note { font-size: 12px; color: #98a0ad; text-align: center; margin-top: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #07111e;
  color: rgba(255, 255, 255, 0.68);
  padding: 80px 0 0;
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* company footer (reference style) */
.footer-co { max-width: 900px; }

.footer-logo {
  height: 96px;
  width: auto;
  margin-bottom: 26px;
}

.footer-co-name {
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-bottom: 18px;
}

.footer-co p { margin-bottom: 16px; font-size: 15px; line-height: 1.75; }

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  margin-top: 26px;
  padding-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-contact-grid h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-contact-grid p { font-size: 15px; line-height: 1.7; }

.footer-contact-grid a { color: rgba(255, 255, 255, 0.8); transition: color 0.3s; }
.footer-contact-grid a:hover { color: var(--gold-light); }

.footer-italic {
  margin-top: 34px;
  font-style: italic;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .brand-name { font-size: 40px; }

.footer-about p { margin-top: 18px; max-width: 34ch; font-size: 14px; }

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links { display: grid; gap: 12px; }

.footer-links a { transition: color 0.3s; }
.footer-links a:hover { color: var(--gold-light); }

.footer-contact { display: grid; gap: 14px; }

.footer-contact a { color: var(--gold-light); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-legal .legal-links { display: flex; gap: 22px; }

.footer-legal a:hover { color: var(--gold-light); }

.footer-disclaimer {
  padding: 0 0 34px;
  font-size: 11.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.38);
}

/* ============================================================
   THANK YOU PAGE
   ============================================================ */
.ty-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  color: var(--white);
  text-align: center;
}

.ty-hero .register-bg img { object-position: center 30%; }

.ty-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.62) 55%, rgba(0, 0, 0, 0.8) 100%);
}

.ty-card { margin-top: 10vh; }

.ty-card {
  width: min(760px, 92%);
  margin-inline: auto;
  padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 60px);
}

.ty-check {
  width: 92px;
  height: 92px;
  margin: 0 auto 30px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  animation: pop 0.7s var(--ease) 0.2s backwards;
}

@keyframes pop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.ty-check svg {
  width: 40px;
  height: 40px;
  color: var(--gold-light);
}

.ty-check svg path {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw 0.7s var(--ease) 0.65s forwards;
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.ty-hero h1 {
  color: var(--white);
  font-size: clamp(42px, 6.5vw, 72px);
  margin-bottom: 16px;
}

.ty-hero .ty-sub {
  color: rgba(255, 255, 255, 0.88);
  max-width: 52ch;
  margin: 0 auto 40px;
  font-size: clamp(15px, 1.5vw, 18px);
}

.ty-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 44px;
  text-align: left;
}

.ty-step {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 22px;
}

.ty-step .n {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold-light);
}

.ty-step h3 { color: var(--white); font-family: var(--font-body); font-weight: 500; font-size: 15px; margin: 8px 0 6px; }

.ty-step p { font-size: 13.5px; color: rgba(255, 255, 255, 0.72); line-height: 1.6; }

.ty-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-hero {
  background: var(--navy);
  color: var(--white);
  padding: 170px 0 70px;
}

.legal-hero h1 { color: var(--white); font-size: clamp(38px, 5vw, 58px); }

.legal-hero p { color: rgba(255, 255, 255, 0.7); margin-top: 12px; }

.legal-body { padding: 70px 0 100px; }

.legal-body .container { max-width: 860px; }

.legal-body h2 {
  font-size: 27px;
  margin: 44px 0 14px;
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p, .legal-body li { font-size: 15.5px; margin-bottom: 12px; }

.legal-body ul { padding-left: 22px; margin-bottom: 16px; }

.legal-body strong { color: var(--navy); font-weight: 500; }

/* ============================================================
   FORM POPUP MODAL
   ============================================================ */
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(7, 15, 27, 0.82);
  backdrop-filter: blur(8px);
  padding: 20px;
}

.form-modal.open { display: flex; }

.form-modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 50px 110px -20px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.45s var(--ease);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(34px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.form-modal-card h3 {
  font-size: 28px;
  padding-right: 34px;
}

.form-modal-card .form-sub { font-size: 14px; margin: 6px 0 24px; }

.form-modal-card .btn { width: 100%; }

.form-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: #8b93a1;
  cursor: pointer;
  transition: color 0.3s;
}

.form-modal-close:hover { color: var(--navy); }

/* ============================================================
   MISC
   ============================================================ */
.whatsapp-float {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px -10px rgba(37, 211, 102, 0.65);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 20px 40px -12px rgba(37, 211, 102, 0.75);
}

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

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s;
  transform: translateY(12px);
  box-shadow: var(--shadow-md);
}

.back-to-top.show { opacity: 1; pointer-events: auto; transform: none; }

.back-to-top:hover { background: var(--gold-deep); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: block; }

  .main-nav.mobile-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(7, 17, 30, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 130;
  }

  .main-nav.mobile-open a { font-size: 19px; }

  .amenity-card.span-7, .amenity-card.span-5, .amenity-card.span-6 { grid-column: span 12; }
  .units-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 30px 10px; }
  .timeline::before { display: none; }
  .amenity-list { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fp-panel { grid-template-columns: 1fr; }
  .dev-grid, .register-grid, .about-grid, .location-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(2) { border-right: none; }
  .ty-steps { grid-template-columns: 1fr; }
}

@media (max-width: 1080px) {
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
  .hero-stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.22); }
  .hero-stat:nth-child(3), .hero-stat:nth-child(4) { border-bottom: none; }
}

@media (max-width: 620px) {
  body { font-size: 15.5px; }

  .brand .brand-name { font-size: 27px; }
  .brand .brand-sub { font-size: 8px; letter-spacing: 0.32em; }
  .brand-logo { height: 42px; }
  .site-header.scrolled .brand-logo { height: 36px; }

  .hero-inner { padding-top: 130px; }
  .hero h1 { font-size: clamp(58px, 19vw, 84px); }
  .hero p.hero-copy { font-size: 15px; }
  .hero-actions { margin: 28px 0 44px; }
  .hero-actions .btn { width: 100%; }
  .hero-stat { padding: 18px 16px 22px; }
  .hero-stat .value { font-size: 21px; }
  .hero-stat .label { font-size: 10px; letter-spacing: 0.18em; }

  .section-pad { padding: 70px 0; }
  .section-head { margin-bottom: 36px; }

  .about-features { grid-template-columns: 1fr; gap: 20px; }
  .about-media .media-tag { left: 14px; bottom: 14px; padding: 10px 16px; font-size: 10.5px; }

  .amenity-card { min-height: 260px; }
  .amenity-card .a-body { padding: 20px; }
  .amenity-card h3 { font-size: 22px; }

  .form-row { grid-template-columns: 1fr; }
  .units-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .drive-times { grid-template-columns: 1fr 1fr; gap: 12px; }
  .drive { padding: 18px; }
  .drive .mins { font-size: 34px; }
  .amenity-list { grid-template-columns: 1fr; margin-top: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-logo { height: 72px; }
  .footer-contact-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .timeline { grid-template-columns: 1fr 1fr; }

  .payment-wrap { padding: 26px 20px; }
  .payment-head { margin-bottom: 30px; }
  .payment-badge { padding: 10px 18px; }
  .payment-badge .big { font-size: 26px; }

  .fp-tabs { gap: 8px; }
  .fp-tab { padding: 11px 20px; font-size: 12px; flex: 1 1 calc(50% - 8px); }
  .fp-media { padding: 10px; }

  .lead-form { padding: 26px 20px; }

  .dev-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dev-stat { padding: 16px 14px; }
  .dev-stat .num { font-size: 20px; white-space: nowrap; }
  .dev-stat .lbl { font-size: 10.5px; letter-spacing: 0.1em; }

  .ty-actions .btn { width: 100%; }
  .legal-hero { padding: 130px 0 50px; }

  .back-to-top { width: 44px; height: 44px; right: 18px; bottom: 18px; }
  .whatsapp-float { width: 50px; height: 50px; left: 16px; bottom: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ============================================================
   NUMERIC DISPLAY VALUES — Playfair Display, all caps,
   lining figures (TT — digits full height on the baseline)
   (keep at end of file so it wins the cascade)
   ============================================================ */
.hero-stat .value,
.unit-card .u-price .amount,
.milestone .pct,
.drive .mins,
.dev-stat .num,
.payment-badge .big {
  font-family: var(--font-num);
  text-transform: uppercase;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}

/* number-led headings — same Playfair treatment, digits on the baseline */
.unit-card .u-type,
.fp-info h3 {
  font-family: var(--font-num);
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}

/* safety net: every digit site-wide renders as full-height lining figures */
body {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "onum" 0;
}
