/* ==========================================================
   The Address by GS - Wadala
   Clean Hostinger-ready stylesheet
   ========================================================== */

:root {
  --bg: #0e0d0b;
  --bg-soft: #14120e;
  --bg-card: #100e0b;
  --gold: #c6a15b;
  --gold-light: #e7c988;
  --text: #efe9dd;
  --muted: #b3ac9f;
  --muted-dark: #8c8578;
  --line: rgba(198, 161, 91, 0.2);
  --line-soft: rgba(198, 161, 91, 0.12);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Figtree", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

::selection {
  color: var(--bg);
  background: var(--gold);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--bg);
  background: var(--gold);
  border-radius: 3px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 9vw, 130px) 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: -0.045em;
}

h1 {
  max-width: 920px;
  margin-bottom: 18px;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 400;
  line-height: 0.94;
}

h2 {
  margin-bottom: 20px;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 74px);
  font-weight: 400;
  line-height: 1;
}

h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
}

p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  color: #14120e;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn--small {
  min-height: auto;
  padding: 11px 22px;
  font-size: 12px;
}

.btn--full {
  width: 100%;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 64px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.brand--logo {
  flex-direction: row;
  align-items: center;
}

.brand__logo {
  display: block;
  width: clamp(180px, 18vw, 280px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.brand--footer .brand__logo {
  width: clamp(190px, 20vw, 300px);
}

.brand__title {
  color: #f3eee3;
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

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

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 42px);
}

.nav-links a:not(.btn) {
  color: #cfc8ba;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--gold-light);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--text);
  background: rgba(20, 18, 14, 0.6);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__image,
.enquiry__bg,
.clubhouse > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image {
  animation: slowZoom 12s ease-out forwards;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 35%, rgba(198, 161, 91, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(10, 9, 7, 0.55), rgba(10, 9, 7, 0.58) 42%, #0e0d0b 96%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 0 clamp(68px, 9vw, 110px);
  animation: floatUp 900ms ease-out both;
}

.hero__lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: #d4ccbe;
  font-size: clamp(18px, 2vw, 23px);
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 13px 22px;
  color: var(--gold-light);
  background: rgba(15, 13, 10, 0.72);
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 0.08em;
}

/* Trust */
.trust-strip {
  background: #0b0a08;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  width: min(1500px, 100%);
  margin: auto;
}

.trust-card {
  padding: 26px 24px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.trust-card strong {
  display: block;
  color: var(--gold-light);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
}

.trust-card span {
  display: block;
  margin-top: 6px;
  color: #9a9488;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Layout helpers */
.grid {
  display: grid;
  gap: clamp(34px, 5vw, 72px);
}

.grid--overview,
.grid--location,
.grid--enquiry {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.section-copy {
  max-width: 700px;
}

.section-copy p {
  max-width: 660px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

blockquote {
  position: relative;
  margin: 36px 0 0;
  padding-left: 28px;
  color: #d7d0c5;
  border-left: 1px solid var(--gold);
  font-family: "Figtree", system-ui, sans-serif;
  font-size: clamp(21px, 2vw, 28px);
  font-style: italic;
  line-height: 1.45;
}

blockquote cite {
  display: block;
  margin-top: 16px;
  color: var(--gold);
  font-family: "Figtree", system-ui, sans-serif;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.overview-media,
.residence-card,
.payment-box,
.form-card {
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.overview-media {
  overflow: hidden;
}

.overview-media img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 50px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.stat-card {
  padding: 32px 28px;
  background: var(--bg);
}

.stat-card strong {
  display: block;
  color: var(--gold-light);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Residences */
.residences {
  background:
    radial-gradient(circle at 75% 15%, rgba(198, 161, 91, 0.09), transparent 30%),
    #0e0d0b;
}

.residence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.residence-card {
  display: flex;
  flex-direction: column;
}

.residence-card__top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 32px 0;
}

.residence-card h3 {
  margin-bottom: 10px;
  color: var(--text);
  font-size: clamp(30px, 3vw, 38px);
  letter-spacing: 0.02em;
}

.residence-card p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 15px;
}

.residence-card strong {
  color: var(--gold-light);
  font-size: 18px;
  font-weight: 400;
}

.residence-card__top span {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.floor-plan {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 22px 32px;
  background: #0b0a08;
  border-top: 1px solid var(--line-soft);
}

.floor-plan img {
  width: min(100%, 470px);
  opacity: 0.95;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  color: var(--gold-light);
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
}

.card-link img {
  width: 18px;
  color: currentColor;
}

.payment-box {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 30px;
  align-items: center;
  margin-top: 34px;
  padding: 30px;
}

.payment-box h3 {
  margin-bottom: 0;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
}

.payment-card {
  padding: 30px 24px;
  background: var(--bg);
}

.payment-card strong {
  display: block;
  color: var(--gold-light);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 300;
}

.payment-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

/* Clubhouse */
.clubhouse {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.clubhouse__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 9, 7, 0.15), rgba(10, 9, 7, 0.45) 44%, #0e0d0b 100%);
}

.clubhouse__content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(60px, 8vw, 98px);
}

.clubhouse__content p:not(.eyebrow) {
  max-width: 620px;
  color: #d8d1c6;
}

/* Amenities */
.amenities {
  background: #0b0a08;
}

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

.amenity-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  background: var(--bg-card);
}

.amenity-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.amenity-card figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(180deg, transparent 45%, rgba(10, 9, 7, 0.82));
}

.amenity-card span {
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.amenity-card strong {
  margin-top: 4px;
  color: #f3eee3;
  font-size: 19px;
  font-weight: 400;
}

.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 26px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

.upgrade-card {
  padding: 36px 30px;
  background: var(--bg);
}

.upgrade-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

.upgrade-card h3 {
  margin: 16px 0 10px;
  color: var(--text);
  font-size: 19px;
  line-height: 1.3;
}

.upgrade-card p {
  margin: 0;
  color: #9a9488;
  font-size: 14px;
  line-height: 1.55;
}

/* Location */
.location-list {
  margin-top: 28px;
}

.location-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line-soft);
}

.location-row span {
  color: #c3bcae;
  font-size: 14px;
  font-weight: 300;
}

.location-row strong {
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
}

.location-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  aspect-ratio: 1 / 1;
}

.location-gallery img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  border-radius: 2px;
}

.location-gallery img:first-child {
  grid-row: span 2;
}

/* Enquiry */
.enquiry {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 130px) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--line);
}

.enquiry__bg {
  opacity: 0.18;
  filter: saturate(0.75);
}

.enquiry__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #100e0b 0%, rgba(16, 14, 11, 0.88) 46%, rgba(16, 14, 11, 0.56));
}

.grid--enquiry {
  position: relative;
  z-index: 1;
}

.contact-points {
  margin-top: 28px;
}

.contact-points p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  color: #cfc8ba;
  font-size: 14px;
  line-height: 1.6;
}

.contact-points img {
  width: 20px;
  min-width: 20px;
  color: var(--gold);
}

.form-card {
  padding: clamp(28px, 3vw, 40px);
  background: rgba(20, 18, 14, 0.72);
  backdrop-filter: blur(6px);
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-card label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-card label span {
  color: var(--muted-dark);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-card input,
.form-card select {
  width: 100%;
  padding: 15px 16px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-card input:focus,
.form-card select:focus {
  border-color: var(--gold);
}

.form-card select {
  color: #cfc8ba;
}

.form-card small {
  color: var(--muted-dark);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.form-success {
  padding: 34px 24px;
  border: 1px solid rgba(198, 161, 91, 0.3);
  text-align: center;
}

.form-success h3 {
  margin-bottom: 12px;
  color: var(--gold-light);
}

.form-success p {
  margin-bottom: 0;
  font-size: 15px;
}

/* Footer */
.site-footer {
  padding: 56px 0 34px;
  background: #0b0a08;
  border-top: 1px solid var(--line-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.site-footer h3 {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer p {
  margin-bottom: 6px;
  color: #9a9488;
  font-size: 13px;
  line-height: 1.75;
}

.footer-note {
  max-width: 110ch;
  margin-top: 26px;
  color: #6d675d;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.7;
}

/* Animations */
@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowZoom {
  from {
    transform: scale(1.08);
  }

  to {
    transform: scale(1);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .trust-grid,
  .amenity-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--overview,
  .grid--location,
  .grid--enquiry,
  .payment-box {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .upgrade-grid,
  .payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-media img {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: fixed;
    background: rgba(14, 13, 11, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
  }

  .navbar {
    padding: 16px 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    background: rgba(14, 13, 11, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero__content {
    padding-top: 170px;
  }

  .residence-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .location-gallery {
    aspect-ratio: auto;
  }

  .location-gallery img {
    min-height: 210px;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 64px 0;
  }

  .trust-grid,
  .stats-grid,
  .payment-grid,
  .amenity-grid,
  .upgrade-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  h2 {
    font-size: clamp(34px, 11vw, 50px);
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn,
  .price-chip {
    width: 100%;
  }

  .residence-card__top {
    flex-direction: column;
  }

  .payment-box,
  .form-card {
    padding: 22px;
  }
}



/* ==========================================================
   Conversion CTAs and Popup Form
   ========================================================== */

.btn--outline {
  color: var(--gold-light);
  background: transparent;
  border-color: rgba(198, 161, 91, 0.55);
}

.btn--outline:hover {
  color: var(--bg);
  background: var(--gold-light);
}

.cta-band {
  padding: 70px 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(198, 161, 91, 0.18), transparent 32%),
    linear-gradient(135deg, #14120e, #080706);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-band h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(34px, 4.5vw, 64px);
}

.cta-band p {
  max-width: 680px;
  color: var(--muted);
}

.cta-band__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}

.mini-cta {
  padding: 26px 0;
  background: #0b0a08;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.mini-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mini-cta p {
  margin: 0;
  color: var(--text);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 600;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  padding: 20px;
  overflow-y: auto;
}

.modal.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 0;
  width: min(980px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #100e0b;
  border: 1px solid rgba(198, 161, 91, 0.26);
  box-shadow: var(--shadow);
}

.modal__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(30px, 4vw, 54px);
  background:
    linear-gradient(rgba(14, 13, 11, 0.82), rgba(14, 13, 11, 0.95)),
    url("../images/enquiry-background.jpg") center/cover;
}

.modal__intro h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 58px);
}

.modal__intro p:not(.eyebrow) {
  color: var(--muted);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  color: var(--text);
  background: rgba(14, 13, 11, 0.86);
  border: 1px solid rgba(198, 161, 91, 0.32);
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.has-modal-open {
  overflow: hidden;
}

.floating-cta {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  min-height: 48px;
  padding: 0 20px;
  color: #14120e;
  background: var(--gold);
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.45);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.form-card__heading {
  margin-bottom: 18px;
}

.form-card__heading h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(24px, 2.6vw, 34px);
}

.contact-points a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.contact-points a:hover,
.site-footer a:hover {
  color: var(--gold-light);
}

@media (max-width: 900px) {
  .cta-band__inner,
  .modal__dialog {
    grid-template-columns: 1fr;
  }

  .cta-band__actions {
    min-width: 0;
  }

  .modal__intro {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .cta-band {
    padding: 52px 0;
  }

  .cta-band__actions,
  .mini-cta__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .mini-cta__inner {
    text-align: center;
  }

  .modal {
    padding: 12px;
  }

  .modal__dialog {
    max-height: calc(100vh - 24px);
  }

  .floating-cta {
    left: 14px;
    right: 14px;
    width: calc(100% - 28px);
  }
}

/* ==========================================================
   WhatsApp OTP Step Form
   ========================================================== */

.otp-step-form {
  width: 100%;
}

.form-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.progress-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 7px 11px;
  color: var(--muted-dark);
  border: 1px solid rgba(198, 161, 91, 0.18);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.progress-step.is-active,
.progress-step.is-complete {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

.progress-line {
  flex: 1;
  height: 1px;
  background: rgba(198, 161, 91, 0.25);
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.otp-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(198, 161, 91, 0.18);
  background: rgba(255, 255, 255, 0.035);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-actions .btn {
  flex: 1;
}

.text-button {
  min-height: 48px;
  padding: 0 10px;
  color: var(--gold-light);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.text-button:hover {
  color: var(--gold);
}

.radio-group {
  padding: 0;
  margin: 0;
  border: 0;
}

.radio-group legend {
  margin-bottom: 10px;
  color: var(--muted-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.radio-grid {
  display: grid;
  gap: 10px;
}

.radio-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.radio-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-card .radio-card {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px;
  color: #cfc8ba;
  background: var(--bg);
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card span {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.radio-card:has(input:checked) {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted-dark);
  font-size: 13px;
  line-height: 1.45;
}

.form-message.is-success {
  color: #9ee6ae;
}

.form-message.is-error {
  color: #ff9b9b;
}

.btn.is-loading,
.text-button.is-loading {
  opacity: 0.65;
  pointer-events: none;
}

@media (max-width: 620px) {
  .form-progress {
    align-items: stretch;
  }

  .progress-step {
    flex: 1;
    padding-inline: 8px;
    font-size: 9px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .radio-grid--three {
    grid-template-columns: 1fr;
  }
}

.radio-card.is-selected {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

@media (max-width: 640px) {
  .brand__logo {
    width: 170px;
  }

  .brand--footer .brand__logo {
    width: 190px;
  }
}

/* ==========================================================
   Final form/design polish - fixed step form + CTA popup
   ========================================================== */

.site-header {
  background: linear-gradient(180deg, rgba(9, 8, 6, 0.86), rgba(9, 8, 6, 0));
}

.brand__logo {
  width: clamp(190px, 17vw, 270px);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.nav-links a:not(.btn) {
  font-weight: 700;
}

.form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 36px);
  background:
    linear-gradient(145deg, rgba(24, 22, 17, 0.96), rgba(11, 10, 8, 0.96)),
    radial-gradient(circle at top right, rgba(198, 161, 91, 0.18), transparent 36%);
  border: 1px solid rgba(198, 161, 91, 0.32);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 28%);
}

.form-card > * {
  position: relative;
  z-index: 1;
}

.form-card__heading {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(198, 161, 91, 0.16);
}

.form-card__heading h3 {
  font-family: "Figtree", system-ui, sans-serif;
  font-size: clamp(26px, 2.4vw, 38px);
  line-height: 1.08;
}

.otp-step-form {
  display: block;
}

.form-progress {
  gap: 12px;
  margin-bottom: 20px;
}

.progress-step {
  min-height: 34px;
  padding: 8px 13px;
  color: #d8ccb8;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(198, 161, 91, 0.24);
}

.progress-step.is-active,
.progress-step.is-complete {
  color: #100e0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
}

.progress-line {
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.75), rgba(198, 161, 91, 0.12));
}

.form-step[hidden] {
  display: none !important;
}

.form-step.is-active {
  display: grid;
  gap: 16px;
}

.form-card label span,
.radio-group legend {
  color: #d6c9b4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  min-height: 52px;
  padding: 15px 16px;
  color: #fff9ed;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(198, 161, 91, 0.26);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-card input::placeholder {
  color: rgba(239, 233, 221, 0.45);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.12);
}

.otp-panel {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: rgba(198, 161, 91, 0.08);
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-radius: 14px;
}

.otp-panel[hidden] {
  display: none !important;
}

.form-actions {
  display: flex;
  gap: 12px;
}

.form-actions .btn,
.form-actions .text-button {
  min-height: 50px;
}

.text-button {
  padding: 0 14px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(198, 161, 91, 0.2);
  border-radius: 12px;
}

.text-button:hover {
  color: #100e0b;
  background: var(--gold-light);
}

.radio-group {
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(198, 161, 91, 0.14);
  border-radius: 14px;
}

.radio-grid {
  display: grid;
  gap: 10px;
}

.form-card .radio-card {
  min-height: 54px;
  padding: 14px 12px;
  color: #efe9dd;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(198, 161, 91, 0.24);
  border-radius: 12px;
}

.form-card .radio-card:hover {
  border-color: rgba(231, 201, 136, 0.72);
}

.radio-card.is-selected,
.radio-card:has(input:checked) {
  color: #100e0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
}

.radio-card span {
  color: inherit;
}

.form-message {
  min-height: 22px;
  padding: 0 2px;
  font-weight: 600;
}

.form-message.is-success {
  color: #9ff2bb;
}

.form-message.is-error {
  color: #ff9c9c;
}

.btn.is-loading,
.text-button.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.form-success {
  border-radius: 16px;
  background: rgba(158, 242, 187, 0.08);
}

.modal {
  z-index: 9999;
}

.modal.is-open {
  align-items: center;
  justify-content: center;
}

.modal__dialog {
  width: min(980px, calc(100vw - 28px));
  border-radius: 22px;
  overflow: hidden;
  background: #0d0c0a;
}

.modal__intro {
  background:
    linear-gradient(rgba(14, 13, 11, 0.68), rgba(14, 13, 11, 0.96)),
    url("../images/enquiry-background.jpg") center/cover;
}

.modal__dialog .form-card {
  border: 0;
  border-radius: 0;
  min-height: 100%;
}

.modal__close {
  border-radius: 50%;
}

.floating-cta {
  min-height: 52px;
  padding-inline: 24px;
  color: #100e0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: 0;
}

.cta-band__actions,
.hero__actions,
.mini-cta__inner {
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .modal__dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 28px);
  }

  .modal__intro {
    min-height: auto;
    padding: 28px 24px;
  }

  .modal__intro h2 {
    font-size: clamp(30px, 8vw, 46px);
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 16px 18px;
  }

  .brand__logo {
    width: 170px;
  }

  .form-card {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .form-progress {
    gap: 8px;
  }

  .progress-step {
    flex: 1;
    min-height: 32px;
    padding: 7px 6px;
    font-size: 8.5px;
  }

  .form-actions {
    flex-direction: column;
  }

  .radio-grid--two,
  .radio-grid--three {
    grid-template-columns: 1fr;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }

  .site-footer {
    padding-bottom: 86px;
  }
}


/* ==========================================================
   FINAL HOSTINGER POLISH PATCH
   Fixes: logo visibility, step form visibility, popup CTAs,
   radio design, section alignment, mobile responsiveness.
   ========================================================== */

html,
body {
  overflow-x: hidden;
}

.site-header {
  position: absolute;
  background: linear-gradient(180deg, rgba(7, 7, 8, 0.88), rgba(7, 7, 8, 0.38) 66%, rgba(7, 7, 8, 0));
}

.navbar {
  align-items: center;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: min(330px, 48vw);
  min-height: 78px;
  padding: 10px 16px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 6px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}

.brand-logo-card .brand__logo,
.brand__logo {
  width: clamp(210px, 17vw, 270px) !important;
  max-width: 100%;
  max-height: 66px;
  object-fit: contain;
  filter: none !important;
}

.brand--footer.brand-logo-card {
  min-height: 70px;
  max-width: 300px;
  padding: 9px 14px;
}

.brand--footer.brand-logo-card .brand__logo {
  width: 240px !important;
  max-height: 58px;
}

.hero {
  min-height: 100vh;
  align-items: center;
  padding-top: 132px;
}

.hero__content {
  padding-top: clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 9vw, 120px);
}

.nav-links .btn,
.hero__actions .btn,
.cta-band__actions .btn,
.mini-cta .btn,
.floating-cta {
  white-space: nowrap;
}

/* Section rhythm and alignment */
.section {
  padding-top: clamp(76px, 8vw, 118px);
  padding-bottom: clamp(76px, 8vw, 118px);
}

.residence-grid,
.amenity-grid,
.upgrade-grid,
.location-gallery {
  align-items: stretch;
}

.floor-plan {
  min-height: 300px;
}

.floor-plan img {
  max-height: 270px;
  object-fit: contain;
}

.payment-box {
  overflow: hidden;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.55fr);
  gap: 0;
  padding: 0;
  border-radius: 4px;
}

.payment-box > div:first-child {
  height: 100%;
  padding: clamp(28px, 3vw, 42px);
  border-right: 1px solid var(--line-soft);
}

.payment-grid {
  height: 100%;
  background: transparent;
}

.payment-card {
  display: flex;
  min-height: 152px;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--line-soft);
}

.stats-grid,
.upgrade-grid {
  border-radius: 4px;
  overflow: hidden;
}

.cta-band__inner,
.mini-cta__inner {
  align-items: center;
}

.mini-cta {
  padding: 34px 0;
}

/* Modal and popup fixes */
.modal[hidden] {
  display: none !important;
}

.modal {
  background: rgba(0, 0, 0, 0.72);
}

.modal.is-open {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.modal__dialog {
  width: min(1040px, calc(100vw - 30px));
  max-height: calc(100vh - 30px);
  border-radius: 18px;
  overflow: auto;
}

.modal__close {
  color: #100e0b;
  background: var(--gold-light);
  border: 0;
}

/* Step form hard reset */
.otp-step-form {
  display: block !important;
  width: 100%;
}

.form-step {
  display: none !important;
}

.form-step.is-active:not([hidden]) {
  display: grid !important;
  gap: 16px;
}

.form-step[hidden],
.otp-panel[hidden] {
  display: none !important;
}

.form-card label {
  display: grid;
  gap: 8px;
}

.form-card input:not([type='radio']) {
  width: 100%;
  min-height: 54px;
  padding: 15px 16px;
  color: #fff9ed;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(198, 161, 91, 0.32);
  border-radius: 10px;
}

.form-card input:not([type='radio']):focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 4px rgba(198, 161, 91, 0.14);
}

.form-progress {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.progress-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 13px;
  color: #d8ccb8;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(198, 161, 91, 0.24);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.progress-step.is-active,
.progress-step.is-complete {
  color: #100e0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
}

.progress-line {
  display: block;
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(198, 161, 91, 0.75), rgba(198, 161, 91, 0.12));
}

.preference-group {
  display: grid;
  gap: 12px;
  padding: 16px;
  margin: 0;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(198, 161, 91, 0.16);
  border-radius: 14px;
}

.preference-title {
  margin: 0;
  color: #d6c9b4;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.radio-grid {
  display: grid !important;
  gap: 10px;
}

.radio-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.radio-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-card .radio-card {
  position: relative;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 12px;
  color: #efe9dd;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(198, 161, 91, 0.26);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
}

.form-card .radio-card input[type='radio'] {
  position: absolute;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.form-card .radio-card span {
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-card .radio-card:hover,
.form-card .radio-card:focus-within {
  border-color: var(--gold-light);
}

.form-card .radio-card.is-selected,
.form-card .radio-card:has(input:checked) {
  color: #100e0b;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
}

.form-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.form-actions .btn {
  flex: 1;
}

.text-button {
  min-height: 50px;
  padding: 0 16px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-radius: 12px;
}

.form-message {
  min-height: 22px;
  margin: 0;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 600;
}

.form-message.is-success { color: #9ff2bb; }
.form-message.is-error { color: #ff9c9c; }

/* Responsive polish */
@media (max-width: 1024px) {
  .payment-box {
    grid-template-columns: 1fr;
  }

  .payment-box > div:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .payment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .grid--enquiry,
  .grid--overview,
  .grid--location,
  .modal__dialog {
    grid-template-columns: 1fr;
  }

  .modal__intro {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .navbar {
    padding: 14px 16px;
  }

  .brand-logo-card {
    max-width: 220px;
    min-height: 58px;
    padding: 8px 10px;
  }

  .brand-logo-card .brand__logo,
  .brand__logo {
    width: 190px !important;
    max-height: 46px;
  }

  .hero {
    padding-top: 96px;
  }

  .hero__content {
    padding-top: 70px;
  }

  .radio-grid--two,
  .radio-grid--three,
  .payment-grid,
  .stats-grid,
  .upgrade-grid {
    grid-template-columns: 1fr;
  }

  .form-actions,
  .cta-band__actions,
  .hero__actions,
  .mini-cta__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .floating-cta {
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
  }
}


/* ==========================================================
   Thank You Page + Final Form Error States
   ========================================================== */
.form-message.is-error {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(255, 130, 130, 0.45);
  background: rgba(120, 25, 25, 0.25);
  border-radius: 10px;
  color: #ffb0b0;
}

.form-message.is-success {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(159, 242, 187, 0.35);
  background: rgba(28, 92, 52, 0.22);
  border-radius: 10px;
  color: #9ff2bb;
}

.thank-you-page {
  min-height: 100vh;
  background: #0e0d0b;
  color: #f3efe5;
}

.thank-you-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 0 90px;
}

.thank-you-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.thank-you-hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(198, 161, 91, 0.14), transparent 34%), linear-gradient(90deg, rgba(14, 13, 11, 0.94), rgba(14, 13, 11, 0.74), rgba(14, 13, 11, 0.92));
}

.thank-you-card {
  position: relative;
  z-index: 1;
  max-width: 760px;
  border: 1px solid rgba(198, 161, 91, 0.28);
  background: rgba(14, 13, 11, 0.78);
  backdrop-filter: blur(12px);
  padding: clamp(32px, 5vw, 64px);
}

.thank-you-card h1 {
  margin: 12px 0 18px;
  font-family: "Figtree", system-ui, sans-serif;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.thank-you-card p {
  max-width: 650px;
  color: #d9d0bf;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.thank-you-next {
  padding: 70px 0;
  border-top: 1px solid rgba(198, 161, 91, 0.18);
  background: #0b0a09;
}

.thank-you-next__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.thank-you-next__item {
  border: 1px solid rgba(198, 161, 91, 0.22);
  padding: 28px;
  background: rgba(255,255,255,0.025);
}

.thank-you-next__item strong {
  display: block;
  color: #d0aa5d;
  font-size: 30px;
  margin-bottom: 8px;
}

.thank-you-next__item span {
  color: #d8d0bd;
}

@media (max-width: 768px) {
  .thank-you-hero { padding: 130px 0 70px; }
  .thank-you-next__grid { grid-template-columns: 1fr; }
}

/* Firebase invisible reCAPTCHA holder */
.firebase-recaptcha {
  position: fixed;
  left: -9999px;
  bottom: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
