:root {
    --emerald: #003d32;
    --midnight: #062e2a;
    --teal: #004c43;
    --gold: #d6a63b;
    --gold-soft: #f5c85b;
    --ivory: #faf8f1;
    --ink: #172b26;
    --white: #ffffff;
    --muted: #5d6f69;
    --line: rgba(214, 166, 59, 0.45);
    --header: 78px;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: Poppins, sans-serif;
    --script: "Great Vibes", cursive;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--ivory);
    font-size: 16px;
    line-height: 1.65;
}

img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.skip {
    position: absolute;
    left: 12px;
    top: -40px;
    background: var(--gold);
    color: var(--ink);
    padding: 8px 12px;
    z-index: 100;
}
.skip:focus { top: 12px; }

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

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

.icon {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}
.icon use { stroke: inherit; fill: none; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.eyebrow::before,
.eyebrow::after {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
    flex: 0 0 auto;
}
.eyebrow.center { justify-content: center; }
.eyebrow.light { color: var(--gold-soft); }

.section { padding: 72px 0; }
.section h2,
.legal-card h1,
.hero h1 {
    font-family: var(--serif);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1;
    transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.btn-gold {
    background: linear-gradient(180deg, #f7d56a 0%, #d6a63b 100%);
    color: var(--ink);
    border-color: #e4c36a;
}
.btn-gold:hover { filter: brightness(1.04); }
.btn-ghost {
    background: rgba(6, 46, 42, 0.28);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.72);
}
.btn-line {
    background: transparent;
    color: var(--gold-soft);
    border-color: var(--gold);
}
.btn-block { width: 100%; }

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    color: var(--white);
    transition: background 0.25s ease;
}
.site-header.is-stuck {
    background: rgba(6, 46, 42, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}
.nav {
    min-height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    z-index: 2;
}
.brand-script {
    font-family: var(--script);
    font-size: 36px;
    line-height: 0.8;
}
.brand-lockup {
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.45);
    padding-left: 8px;
    font-size: 9px;
    line-height: 1.25;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.92rem;
}
.nav-links a:hover { color: var(--gold-soft); }
.nav-links > li:first-child { display: none; }
.nav-toggle,
.nav-close {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
}

.hero { position: relative; color: var(--white); background: var(--midnight); min-height: 100svh; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 30, 26, 0.9) 0%, rgba(6, 30, 26, 0.72) 34%, rgba(6, 30, 26, 0.28) 62%, rgba(6, 30, 26, 0.18) 100%),
        linear-gradient(180deg, rgba(6, 30, 26, 0.35), rgba(6, 30, 26, 0) 28%, rgba(0, 61, 50, 0.45));
}
.hero-wrap {
    position: relative;
    z-index: 1;
    min-height: 100svh;
    display: flex;
    align-items: center;
}
.hero-content {
    max-width: 620px;
    padding: 110px 0 72px;
}
.hero h1 {
    max-width: 8.4em;
    margin: 8px 0 16px;
    font-size: clamp(3rem, 7vw, 5.4rem);
    color: var(--white);
}
.hero-loc {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-soft);
    font-weight: 500;
}
.hero-loc .icon { width: 18px; height: 18px; }
.hero-copy {
    max-width: 42ch;
    margin: 14px 0 26px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    font-size: 1.02rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.highlights { background: var(--emerald); color: var(--white); }
.highlights-grid { display: grid; grid-template-columns: 1fr 1fr; }
.highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 84px;
    padding: 16px 8px;
    color: var(--gold-soft);
    border-bottom: 1px solid rgba(214, 166, 59, 0.22);
}
.highlight span { color: var(--white); font-size: 0.84rem; line-height: 1.35; }
.highlight:nth-child(odd) { padding-right: 10px; }
.highlight:last-child { grid-column: 1 / -1; }

.about { background: var(--ivory); overflow: hidden; }
section[id] { scroll-margin-top: 88px; }
.about-grid { display: grid; gap: 36px; align-items: center; }
.about-photo {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(214, 166, 59, 0.35);
}
.about-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-copy { position: relative; }
.about-copy h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 18px; }
.about-copy p { color: var(--muted); font-size: 1.02rem; max-width: 48ch; }
.about-mark {
    position: absolute;
    right: -10px;
    bottom: -70px;
    font-family: var(--script);
    font-size: 220px;
    line-height: 1;
    color: rgba(0, 61, 50, 0.06);
    pointer-events: none;
}

.configs { background: linear-gradient(180deg, var(--emerald), var(--midnight)); color: var(--white); }
.section-head {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}
.section-head h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.config-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.config-card {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(214, 166, 59, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(250, 248, 241, 0.97), #f6f2e6);
    color: var(--ink);
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 22px 14px 16px;
    text-align: center;
}
.config-card::after {
    content: "";
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 120px;
    height: 120px;
    opacity: 0.08;
    background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath fill='%23003D32' d='M10 70V28L28 14h8v14h20V18h8v52H10zm8-8h10V46H18v16zm18 0h10V46H36v16zm18 0h8V36h-8v26z'/%3E%3C/svg%3E");
}
.config-card h3 {
    position: relative;
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 500;
    margin-bottom: 6px;
}
.config-area { position: relative; color: var(--muted); font-size: 0.86rem; }
.config-price {
    position: relative;
    margin: 8px 0 16px;
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2vw, 1.85rem);
    color: var(--emerald);
}
.disclaimer { margin: 18px 0 0; color: rgba(255, 255, 255, 0.72); font-size: 0.82rem; }

.plans { background: var(--ivory); }
.plans .intro { max-width: 46ch; color: var(--muted); margin: 8px 0 28px; }
.plan-grid { display: grid; gap: 16px; }
.plan {
    position: relative;
    min-height: 300px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #d9d3c4;
}
.plan img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(7px);
    transform: scale(1.12);
    position: absolute;
    inset: 0;
}
.plan-overlay {
    position: relative;
    z-index: 1;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 16px;
    text-align: center;
    background: rgba(23, 43, 38, 0.38);
    color: var(--white);
}
.lock {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--gold-soft);
    border: 1px solid var(--gold);
    background: rgba(6, 46, 42, 0.45);
}
.plan h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.note { margin-top: 14px; color: var(--muted); font-size: 0.85rem; }

.master {
    position: relative;
    min-height: 560px;
    color: var(--white);
    background: var(--midnight) center / cover no-repeat url("../images/masterplan.webp");
    display: flex;
    align-items: center;
}
.master::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 46, 42, 0.18), rgba(6, 46, 42, 0.55) 48%, rgba(6, 46, 42, 0.82));
}
.master .container { position: relative; display: flex; justify-content: flex-end; }
.master-copy { max-width: 460px; }
.master h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); margin-bottom: 14px; }
.master p { color: rgba(255, 255, 255, 0.88); }

.amenities { background: var(--white); }
.amenities h2,
.location h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.center-copy { text-align: center; }
.map-pin { width: 42px; height: 42px; }
.amenity-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}
.amenity {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 16px 10px;
    border: 1px solid rgba(214, 166, 59, 0.35);
    border-radius: 14px;
    background: var(--ivory);
    color: var(--gold);
}
.amenity span { color: var(--ink); font-size: 0.88rem; }

.location { background: var(--ivory); padding-top: 20px; }
.location-grid { display: grid; gap: 28px; align-items: center; }
.connect { list-style: none; margin: 22px 0 0; padding: 0; }
.connect li {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(0, 61, 50, 0.1);
}
.connect .icon { color: var(--gold); }
.connect strong { display: block; font-weight: 500; }
.connect em { font-style: normal; color: var(--muted); font-size: 0.92rem; }
.map-card {
    min-height: 380px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #e7efe9;
    position: relative;
}
.map-card iframe,
.map-fallback { width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-fallback { display: grid; place-items: center; padding: 20px; text-align: center; }
.map-pin { color: #c0392b; }
.map-label { margin-top: 8px; }
.map-label strong { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.map-link { color: var(--teal); }

.gallery { background: var(--emerald); color: var(--white); }
.gallery h2 { font-size: clamp(2.3rem, 4vw, 3.6rem); }
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 26px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border: 0;
    padding: 0;
    border-radius: 16px;
    cursor: pointer;
    background: var(--midnight);
    min-height: 150px;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 150px;
    transition: transform 0.55s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery .note { color: rgba(255, 255, 255, 0.72); }

.enquiry-band { background: var(--white); }
.enquiry-grid { display: grid; gap: 28px; }
.enquiry-copy h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: 12px; }
.enquiry-copy p { color: var(--muted); max-width: 42ch; }
.form-card {
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
}
.fields { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid rgba(0, 61, 50, 0.16);
    background: var(--white);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid rgba(214, 166, 59, 0.7);
    border-color: var(--gold);
}
.form-status { min-height: 1.4em; margin: 0; font-size: 0.92rem; }
.form-status.is-error { color: #8d2d2d; }
.form-status.is-ok { color: var(--teal); }
.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.invest {
    position: relative;
    color: var(--white);
    text-align: center;
    background: var(--midnight) center / cover no-repeat url("../images/cta.webp");
    padding: 110px 0;
}
.invest::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(6, 46, 42, 0.84), rgba(6, 46, 42, 0.5) 72%);
}
.invest .container { position: relative; }
.invest h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin: 0 auto 12px; max-width: 16ch; }
.invest p { margin-bottom: 22px; color: rgba(255, 255, 255, 0.88); }

.footer { background: var(--midnight); color: rgba(255, 255, 255, 0.84); text-align: center; padding: 48px 0 28px; }
.footer .brand { justify-content: center; margin-bottom: 22px; }
.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 32px;
    margin-bottom: 18px;
}
.footer-contacts a { color: var(--white); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.footer-contacts small { display: block; color: var(--gold-soft); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem; }
.footer-links, .legal-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin: 8px 0; }
.footer-links a, .legal-links a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.88rem; }
.copyright { margin-top: 16px; color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; }
.footer-note {
    max-width: 920px;
    margin: 22px auto 0;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.75rem;
    line-height: 1.65;
    text-align: left;
}

.float-actions {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(6, 46, 42, 0.28);
}
.float-btn .icon,
.float-btn svg { width: 26px; height: 26px; }
.float-mail { background: var(--emerald); color: var(--gold-soft); }
.float-wa { background: #25d366; color: var(--white); }
.float-btn:hover { transform: translateY(-1px); }

.modal[hidden], .lightbox[hidden] { display: none; }
.modal, .lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(6, 46, 42, 0.66);
}
.modal-card {
    width: min(520px, 100%);
    max-height: min(92svh, 820px);
    overflow: auto;
    background: var(--ivory);
    border: 1px solid var(--gold);
    border-radius: 18px;
    padding: 22px 18px 18px;
    position: relative;
}
.modal-card h2 { font-family: var(--serif); font-size: 2.2rem; font-weight: 500; margin-bottom: 6px; }
.modal-card .lede { color: var(--muted); margin-bottom: 16px; }
.modal-close, .lightbox-close, .lightbox-nav {
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
}
.lightbox { grid-template-columns: auto 1fr auto; }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 78svh; margin: 0 auto; border-radius: 12px; }
.lightbox figcaption { color: var(--white); margin-top: 10px; }
.lightbox-close { position: absolute; top: 12px; right: 12px; color: var(--white); font-size: 2rem; }
.lightbox-nav {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    color: var(--ink);
    background: var(--gold-soft);
    font-size: 1.6rem;
}

.legal-page { background: var(--ivory); padding: 130px 0 72px; }
.legal-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px 22px;
}
.legal-card h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: 12px; }
.legal-card h2 { font-family: var(--serif); font-size: 1.8rem; margin: 22px 0 8px; }
.legal-card p, .legal-card li { color: var(--muted); }
.legal-card a { color: var(--teal); }

:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }

@media (max-width: 400px) {
    .brand-lockup { display: none; }
    .config-card { padding: 16px 10px 12px; }
    .config-price { font-size: 1.15rem; }
    .btn { padding-inline: 12px; }
}

@media (max-width: 1024px) {
    .nav-links > li:first-child { display: block; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(6, 46, 42, 0.98);
        flex-direction: column;
        justify-content: center;
        gap: 20px;
        transform: translateX(100%);
        transition: transform 0.28s ease;
    }
    .nav-links { z-index: 70; }
    .nav-links.is-open { transform: none; }
    .nav-links a { font-size: 1.2rem; }
    .nav-close { display: grid; place-items: center; position: absolute; top: 14px; right: 14px; }
    body.menu-open { overflow: hidden; }
}

@media (min-width: 720px) {
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .gallery-item:first-child { grid-column: span 2; min-height: 280px; }
}

@media (min-width: 900px) {
    .section { padding: 96px 0; }
    .container { width: min(1180px, calc(100% - 64px)); }
    .about-grid, .location-grid, .enquiry-grid { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
    .plan-grid { grid-template-columns: repeat(3, 1fr); }
    .amenity-grid { grid-template-columns: repeat(4, 1fr); }
    .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
    .highlight:last-child { grid-column: auto; }
}

@media (min-width: 1100px) {
    .highlights-grid { grid-template-columns: repeat(5, 1fr); }
    .highlight {
        justify-content: center;
        border-bottom: 0;
        border-right: 1px solid rgba(214, 166, 59, 0.28);
        padding: 28px 16px;
    }
    .highlight:last-child { border-right: 0; }
    .config-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .amenity-grid { grid-template-columns: repeat(7, 1fr); }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-item, .gallery-item:first-child { grid-column: auto; min-height: 190px; }
    .gallery-item:first-child, .gallery-item:nth-child(2) { grid-column: span 2; min-height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
