:root {
  --navy: #082f6b;
  --blue: #1762b5;
  --burgundy: #941c2b;
  --ink: #10233f;
  --muted: #5c697a;
  --pale: #edf5ff;
  --line: #dce5ef;
  --white: #fff;
  --radius: 22px;
  --shadow: 0 16px 40px rgba(8, 47, 107, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(220, 229, 239, .8);
  backdrop-filter: blur(12px);
}

.menu-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 10px;
  place-content: center;
  gap: 5px;
  border: 0;
  border-radius: 10px;
  color: var(--navy);
  background: #edf5ff;
  cursor: pointer;
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.brand {
  position: absolute;
  left: 50%;
  width: 142px;
  height: 50px;
  overflow: hidden;
  transform: translateX(-50%);
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-cta {
  display: none;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  font-size: .82rem;
  font-weight: 800;
}

.site-nav {
  position: absolute;
  top: 100%;
  right: 12px;
  left: 12px;
  display: none;
  grid-template-columns: 1fr;
  gap: 4px;
  width: auto;
  margin: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 0 0 14px 14px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 14px 28px rgba(5, 38, 79, .16);
}

.site-nav.open {
  display: grid;
}

.site-nav a {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: flex-start;
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--navy);
  background: #edf5ff;
  font-size: .7rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: left;
}

section[id] {
  scroll-margin-top: 76px;
}

.hero {
  position: relative;
  color: var(--white);
  background: var(--navy);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 42svh;
  min-height: 315px;
  max-height: 400px;
  object-fit: cover;
  object-position: center 42%;
}

.hero-content {
  padding: 28px 20px 38px;
}

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

h1 {
  max-width: 500px;
  margin-bottom: 16px;
  font-size: clamp(2.45rem, 11vw, 5rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.hero p {
  max-width: 520px;
  margin-bottom: 24px;
  color: #dceaff;
  font-size: 1.02rem;
  line-height: 1.55;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 0;
  border-radius: 14px;
  font-size: .92rem;
  font-weight: 850;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--burgundy);
  box-shadow: 0 10px 24px rgba(148, 28, 43, .24);
}

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

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px 12px;
  color: var(--navy);
  background: var(--pale);
}

.trust-strip div {
  min-width: 0;
  padding: 0 8px;
  text-align: center;
}

.trust-strip div + div {
  border-left: 1px solid #c9dcf3;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 3px;
  font-size: .93rem;
}

.trust-strip span {
  color: var(--muted);
  font-size: .68rem;
}

.section {
  padding: 70px 20px;
}

.section-intro {
  padding-bottom: 28px;
}

.section-label {
  margin-bottom: 10px;
  color: var(--burgundy);
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 9vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -.045em;
}

.section-intro > p:last-child,
.enquiry-copy > p:last-child {
  max-width: 580px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.amenities {
  display: grid;
  gap: 4px;
  padding-top: 0;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.amenity-icon {
  display: grid;
  flex: 0 0 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: var(--blue);
  background: var(--pale);
  font-weight: 900;
}

.amenity h3,
.amenity p {
  margin-bottom: 0;
}

.amenity h3 {
  font-size: 1rem;
}

.amenity p {
  margin-top: 4px;
  color: var(--muted);
  font-size: .82rem;
}

.residences {
  background: var(--navy);
}

.residences .section-label {
  color: #f2a7b0;
}

.residences h2 {
  color: var(--white);
}

.residence-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.residence {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 14px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, .07);
}

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

.residence h3,
.residence p {
  margin-bottom: 0;
}

.residence h3 {
  font-size: 1.14rem;
}

.residence p,
.residence span {
  color: #bed2ec;
  font-size: .76rem;
  line-height: 1.4;
}

.residence.featured p,
.residence.featured span {
  color: var(--muted);
}

.residence strong {
  align-self: center;
  color: #84bfff;
  font-size: 1.3rem;
}

.residence.featured strong {
  color: var(--burgundy);
}

.residence > span {
  grid-column: 1 / -1;
}

.gallery {
  overflow: hidden;
  background: var(--pale);
}

.gallery-tabs {
  display: flex;
  gap: 8px;
  margin: 26px -20px 22px;
  padding: 0 20px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.gallery-tabs::-webkit-scrollbar {
  display: none;
}

.gallery-tab {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid #bfd3eb;
  border-radius: 999px;
  color: var(--navy);
  background: var(--white);
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}

.gallery-tab.active {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.gallery-track {
  display: grid;
  grid-auto-columns: 88%;
  grid-auto-flow: column;
  gap: 12px;
  margin: 0 -20px;
  padding: 0 20px 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-image {
  height: 330px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  scroll-snap-align: center;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
}

.gallery-lightbox {
  width: min(94vw, 1000px);
  max-width: none;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 18px;
  background: transparent;
}

.gallery-lightbox::backdrop {
  background: rgba(2, 15, 36, .92);
}

.gallery-lightbox img {
  width: 100%;
  max-height: 86vh;
  border-radius: 18px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  z-index: 1;
  top: -16px;
  right: -8px;
  width: 42px;
  height: 42px;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.reviews {
  overflow: hidden;
}

.review-track {
  display: grid;
  grid-auto-columns: 86%;
  grid-auto-flow: column;
  gap: 14px;
  margin: 30px -20px 0;
  padding: 0 20px 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.review-track::-webkit-scrollbar {
  display: none;
}

.review {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.stars {
  margin-bottom: 24px;
  color: #f2a51a;
  letter-spacing: .12em;
}

blockquote {
  margin: 0 0 24px;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.48;
}

cite {
  color: var(--blue);
  font-size: .86rem;
  font-style: normal;
  font-weight: 800;
}

.enquiry {
  color: var(--white);
  background: var(--blue);
}

.enquiry .section-label {
  color: #cfe3ff;
}

.enquiry h2 {
  color: var(--white);
}

.enquiry-copy > p:last-child {
  color: #e5f0ff;
}

form {
  margin-top: 30px;
  padding: 22px;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

label {
  display: block;
  margin: 16px 0 7px;
  font-size: .78rem;
  font-weight: 800;
}

label:first-child {
  margin-top: 0;
}

input,
select {
  width: 100%;
  height: 52px;
  padding: 0 14px;
  border: 1px solid #cfd9e5;
  border-radius: 12px;
  color: var(--ink);
  background: var(--white);
  font-size: .95rem;
}

input:focus,
select:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(23, 98, 181, .13);
}

form .button {
  width: 100%;
  margin-top: 20px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .72rem;
  text-align: center;
}

.form-status {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 750;
  text-align: center;
}

footer {
  padding: 50px 20px 100px;
  color: #c8d8ee;
  background: #051d43;
}

footer > img {
  width: 180px;
  height: auto;
  margin: 0 0 22px;
  filter: brightness(0) invert(1);
}

footer > p {
  max-width: 620px;
  font-size: .86rem;
  line-height: 1.65;
}

.footer-links {
  display: grid;
  gap: 12px;
  margin: 28px 0 38px;
}

.footer-links a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: .9rem;
  font-weight: 750;
}

.footer-links svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: currentColor;
}

.footer-links .footer-address {
  align-items: flex-start;
  line-height: 1.5;
}

.copyright {
  margin-bottom: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #8fa8c8;
  font-size: .72rem;
}

.powered-by {
  margin: 10px 0 0;
  color: #8fa8c8;
  font-size: .7rem;
}

.powered-by a {
  color: var(--white);
  font-weight: 700;
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .22);
}

.whatsapp-float svg {
  width: 31px;
}

.thank-you-page {
  display: grid;
  min-height: 100svh;
  padding: 24px;
  place-items: center;
  text-align: center;
  background: var(--navy);
}

.thank-you-card {
  width: min(100%, 520px);
  padding: 38px 24px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.thank-you-card > img {
  width: 190px;
  margin: 0 auto 28px;
}

.success-mark {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: #25a85a;
  font-size: 2.2rem;
  font-weight: 900;
}

.thank-you-card h1 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2.6rem, 12vw, 4rem);
}

.thank-you-card p {
  margin-bottom: 28px;
  color: var(--muted);
  line-height: 1.65;
}

.thank-you-card .button {
  width: 100%;
}

.thank-you-whatsapp {
  display: inline-block;
  margin-top: 20px;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 800;
}

@media (min-width: 700px) {
  .site-header,
  .section,
  footer {
    padding-left: max(6vw, calc((100vw - 1120px) / 2));
    padding-right: max(6vw, calc((100vw - 1120px) / 2));
  }

  .site-header {
    flex-wrap: nowrap;
  }

  .menu-toggle {
    display: none;
  }

  .brand {
    position: static;
    transform: none;
  }

  .site-nav,
  .site-nav.open {
    position: static;
    display: flex;
    order: initial;
    width: auto;
    gap: clamp(14px, 2vw, 28px);
    margin: 0 auto;
    padding: 0 24px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav a {
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    font-size: .78rem;
  }

  .header-cta {
    display: inline-flex;
  }

  section[id] {
    scroll-margin-top: 78px;
  }

  .hero {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    min-height: 720px;
  }

  .hero-image {
    width: 100%;
    height: 100%;
    min-height: 720px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 6vw;
  }

  .trust-strip {
    padding: 24px max(12vw, calc((100vw - 850px) / 2));
  }

  .amenities {
    grid-template-columns: repeat(2, 1fr);
    gap: 0 50px;
  }

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

  .gallery-tabs {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .gallery-track {
    grid-auto-columns: minmax(300px, 1fr);
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .review-track {
    grid-auto-columns: 340px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .enquiry {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 460px);
    align-items: center;
    gap: 70px;
  }

  form {
    margin-top: 0;
  }

  .footer-links {
    grid-template-columns: repeat(4, max-content);
    gap: 28px;
  }

  .footer-links .footer-address {
    grid-column: 1 / -1;
    max-width: 620px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
