:root {
    --integration-gold: #d9ad3b;
    --integration-ink: #121212;
    --integration-muted: #666;
}

[data-brand-logo][data-cms-logo-state]:not([data-cms-logo-state="ready"]) {
    visibility: hidden !important;
}

#hero h1,
#hero h2,
#hero h3,
#hero h4,
#hero h5,
#hero h6,
#main-content h1,
#main-content h2,
#main-content h3,
#main-content h4,
#main-content h5,
#main-content h6 {
    text-transform: none;
}

@media (min-width: 993px) {
    #hero .hero-content {
        width: min(720px, 62vw);
        max-width: none;
    }

    #hero .hero-title {
        width: 100%;
        max-width: none;
        text-wrap: balance;
    }

    #hero .hero-description {
        max-width: 520px;
    }
}

#header .logo-img {
    width: 156px;
    height: 58px;
    object-fit: contain;
}

/* Keep the wide wordmark comfortably inside the fixed header. */
#header {
    padding-top: 10px;
    padding-bottom: 10px;
}

#header.scrolled .logo-img {
    width: 124px;
    height: 48px;
}

#header.scrolled {
    padding-top: 7px;
    padding-bottom: 7px;
}

/* Keep the complete CMS navigation readable across desktop widths. */
@media (min-width: 993px) {
    #header {
        padding-left: 3%;
        padding-right: 3%;
    }

    #header .nav-left .nav-links,
    #header .nav-right .nav-links {
        gap: 12px;
    }

    #header .nav-left .nav-links li,
    #header .nav-right .nav-links li {
        gap: 12px;
    }

    #header .nav-left .nav-links li a,
    #header .nav-right .nav-links li a {
        font-size: clamp(10px, 0.72vw, 12px);
        letter-spacing: 1px;
        white-space: nowrap;
    }

    #header .cta-btn {
        padding: 11px 18px;
        font-size: 11px;
        letter-spacing: 1px;
        white-space: nowrap;
    }

    #header.scrolled .nav-right .scrolled-nav {
        gap: 16px;
    }
}

/* The location section follows the dark CTA directly; keep that transition tight. */
.cta-section + .location-section {
    padding-top: 64px;
}

.floor-plans-section,
.pricing-section + .gallery-section {
    padding-top: 64px;
}

.amenity-icon svg {
    stroke: var(--gold);
}

.amenity-item:hover .amenity-icon {
    border-color: var(--gold);
}

.site-footer .footer-logo img {
    width: 164px;
    height: 60px;
    object-fit: contain;
    object-position: left center;
}

#lead-modal .lead-modal__brand-mark {
    width: 148px;
    height: 54px;
    object-fit: contain;
    object-position: left center;
    border: 0;
}

@media (max-width: 992px) {
    #header,
    #header.scrolled {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .cta-section + .location-section {
        padding-top: 32px !important;
    }

    .floor-plans-section,
    .pricing-section + .gallery-section {
        padding-top: 40px !important;
    }

    #hero .hero-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    #hero .hero-btn {
        width: auto !important;
        flex: 1 1 0;
        padding: 13px 8px !important;
        font-size: clamp(9px, 2.6vw, 11px) !important;
        white-space: nowrap;
    }

    #header .logo-img {
        width: 126px;
        height: 48px;
    }

    #header.scrolled .logo-img {
        width: 108px;
        height: 42px;
    }

    #lead-modal .lead-modal__brand-mark {
        width: 98px;
        height: 38px;
    }
}

[data-cms-section-hidden="true"] {
    display: none !important;
}

.cms-layout-pending #main-content {
    visibility: hidden;
}

.map-container.has-map-embed {
    display: block;
    min-height: 460px;
    background: #e8e8e8;
}

.location-map-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 460px;
    border: 0;
}

@media (max-width: 992px) {
    .map-container.has-map-embed,
    .location-map-frame {
        width: 100%;
        max-width: none;
        min-height: 380px;
    }
}

body.ui-overlay-open {
    overflow: hidden !important;
}

.gallery-lightbox,
.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 56px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms ease, visibility 220ms ease;
}

.gallery-lightbox {
    background: rgba(3, 6, 14, 0.96);
}

.gallery-lightbox.is-open,
.lead-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-lightbox__stage {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox__image {
    display: block;
    width: auto;
    height: auto;
    max-width: min(94vw, 1500px);
    max-height: 88vh;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.gallery-lightbox__caption {
    position: absolute;
    bottom: 0;
    left: 50%;
    max-width: min(88vw, 900px);
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}

.gallery-lightbox__close,
.lead-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: grid;
    width: 46px;
    height: 46px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.36);
    color: #fff;
    cursor: pointer;
    font: 300 30px/1 Arial, sans-serif;
    transition: background 180ms ease, transform 180ms ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
    background: var(--integration-gold);
    color: var(--integration-ink);
    transform: rotate(4deg);
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9980;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.24);
    color: #fff;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 29px;
    height: 29px;
    fill: currentColor;
}

.call-float {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 9981;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.24);
    color: #fff;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.call-float:hover,
.call-float:focus-visible {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.call-float svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lead-modal {
    z-index: 21000;
    background: rgba(3, 6, 14, 0.82);
    backdrop-filter: blur(7px);
}

.lead-modal__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, 0.86fr) minmax(500px, 1.14fr);
    width: min(980px, 100%);
    max-height: min(760px, calc(100vh - 36px));
    overflow: auto;
    border: 1px solid rgba(217, 173, 59, 0.58);
    background: #fff;
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    transition: opacity 260ms ease, transform 320ms cubic-bezier(.2,.8,.2,1);
}

.lead-modal.is-open .lead-modal__card {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.lead-modal__visual {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    background: #071321 url('/assest/used image/hero-section-image.jpg') center/cover no-repeat;
    color: #fff;
}

.lead-modal__visual-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(3, 9, 18, 0.2), rgba(3, 9, 18, 0.94)),
        linear-gradient(90deg, rgba(3, 9, 18, 0.42), transparent 70%);
}

.lead-modal__visual-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 650px;
    padding: 38px 34px 34px;
    flex-direction: column;
    justify-content: flex-end;
}

.lead-modal__brand-mark {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 66px;
    height: 66px;
    object-fit: cover;
    border: 1px solid rgba(217, 173, 59, 0.65);
}

.lead-modal__visual-content > p {
    margin: 0 0 9px;
    color: #e2bd59;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.lead-modal__visual-content h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(29px, 3vw, 43px);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
}

.lead-modal__visual-content > span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 1.55;
}

.lead-modal__visual-content ul {
    display: grid;
    gap: 9px;
    margin: 25px 0 0;
    padding: 21px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    list-style: none;
}

.lead-modal__visual-content li {
    position: relative;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 11px;
    line-height: 1.45;
}

.lead-modal__visual-content li::before {
    position: absolute;
    top: 0.5em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--integration-gold);
    content: '';
}

.lead-modal__panel {
    position: relative;
    padding: 44px 48px 38px;
}

.lead-modal__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-color: #ddd;
    background: #fff;
    color: var(--integration-ink);
    font-size: 27px;
}

.lead-modal__close:hover,
.lead-modal__close:focus-visible {
    border-color: var(--integration-gold);
    background: var(--integration-gold);
}

.lead-modal__eyebrow {
    margin: 0 50px 9px 0;
    color: #7c6527;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.lead-modal__title {
    margin: 0 50px 12px 0;
    color: var(--integration-ink);
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 500;
    line-height: 1.08;
}

.lead-modal__description {
    max-width: 570px;
    margin: 0 0 18px;
    color: var(--integration-muted);
    font-size: 14px;
    line-height: 1.65;
}

.lead-modal__benefits {
    display: flex;
    margin: 0 0 23px;
    flex-wrap: wrap;
    gap: 7px;
}

.lead-modal__benefits span {
    border: 1px solid #e7dfc9;
    background: #fbf8f0;
    color: #67582f;
    padding: 6px 9px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lead-modal__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.lead-field {
    display: grid;
    gap: 7px;
}

.lead-field--full {
    grid-column: 1 / -1;
}

.lead-field--fill-row {
    grid-column: 1 / -1;
}

[data-cms-form-part-hidden="true"],
.lead-modal [hidden][data-cms-form-part-hidden],
#enquiry [hidden][data-cms-form-part-hidden] {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    gap: 0 !important;
}

.lead-modal__card.is-visual-hidden {
    width: min(640px, 100%);
    grid-template-columns: minmax(0, 1fr);
}

.lead-modal__card.is-visual-hidden .lead-modal__panel {
    min-width: 0;
}

.lead-field label {
    color: #454545;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.lead-field label em {
    color: #9a9a9a;
    font-size: 9px;
    font-style: normal;
    letter-spacing: 0.04em;
    text-transform: none;
}

.lead-field input,
.lead-field select {
    width: 100%;
    min-height: 52px;
    border: 1px solid #d9d9d9;
    border-radius: 0;
    background: #fff;
    color: var(--integration-ink);
    padding: 0 15px;
    font: inherit;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.lead-field input:focus,
.lead-field select:focus {
    border-color: var(--integration-gold);
    box-shadow: 0 0 0 3px rgba(217, 173, 59, 0.15);
}

.lead-field__error {
    min-height: 15px;
    color: #a42424;
    font-size: 11px;
}

.lead-field__error:empty,
.lead-form-status:empty,
.root-form-status:empty {
    display: none;
}

.lead-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.lead-modal__submit {
    grid-column: 1 / -1;
    min-height: 54px;
    border: 1px solid var(--integration-gold);
    background: var(--integration-gold);
    color: var(--integration-ink);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 180ms ease, color 180ms ease;
}

.lead-modal__consent {
    grid-column: 1 / -1;
    margin: -6px 0 0;
    color: #858585;
    font-size: 9px;
    line-height: 1.45;
    text-align: center;
}

.lead-modal__submit:hover,
.lead-modal__submit:focus-visible {
    background: var(--integration-ink);
    border-color: var(--integration-ink);
    color: #fff;
}

.lead-modal__submit:disabled,
.enquiry-form .form-btn:disabled {
    cursor: wait;
    opacity: 0.62;
}

.lead-form-status,
.root-form-status {
    grid-column: 1 / -1;
    min-height: 20px;
    margin: 2px 0 0;
    color: var(--integration-muted);
    font-size: 12px;
    line-height: 1.5;
}

.lead-form-status.is-success,
.root-form-status.is-success {
    color: #14753b;
}

.lead-form-status.is-error,
.root-form-status.is-error {
    color: #a42424;
}

.lead-modal__whatsapp {
    grid-column: 1 / -1;
    justify-self: center;
    color: #167a40;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.lead-modal__whatsapp:hover,
.lead-modal__whatsapp:focus-visible {
    text-decoration: underline;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.otp-verification {
    grid-column: 1 / -1;
    flex: 1 0 100%;
    width: min(720px, 100%);
    max-width: 100%;
    margin: 5px auto 2px;
    padding: 15px 16px;
    border: 1px solid rgba(217, 173, 59, 0.5);
    border-left: 3px solid var(--integration-gold);
    background: #fbf9f3;
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(270px, 1.15fr);
    align-items: center;
    gap: 10px 18px;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.lead-modal__form .otp-verification {
    width: 100%;
    margin-top: 2px;
    grid-template-columns: 1fr;
    padding: 13px 14px;
}

.otp-verification.is-verified {
    border-color: #65a77f;
    border-left-color: #278951;
    background: #f1f8f3;
}

.otp-verification__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.otp-verification__shield {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--integration-gold);
    border-radius: 50%;
    color: var(--integration-gold);
    font-weight: 800;
}

.is-verified .otp-verification__shield {
    border-color: #278951;
    background: #278951;
    color: #fff;
}

.otp-verification__heading strong,
.otp-verification__heading small {
    display: block;
}

.otp-verification__heading strong {
    margin-bottom: 3px;
    color: var(--integration-ink);
    font-size: 12px;
    letter-spacing: 0.04em;
}

.otp-verification__heading small {
    color: var(--integration-muted);
    font-size: 10px;
    line-height: 1.35;
}

.otp-verification__actions,
.otp-verification__code-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.otp-verification__code-row[hidden] {
    display: none;
}

.otp-verification__code-row label {
    flex: 1 1 auto;
    min-width: 0;
}

.otp-verification__code {
    width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 8px 11px !important;
    border: 1px solid #cfc9b9 !important;
    background: #fff !important;
    color: var(--integration-ink) !important;
    font-size: 15px !important;
    letter-spacing: 0.18em !important;
    text-align: center;
}

.otp-verification__send,
.otp-verification__verify {
    min-height: 42px;
    border: 1px solid var(--integration-ink);
    background: var(--integration-ink);
    color: #fff;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.otp-verification__send:disabled,
.otp-verification__verify:disabled {
    cursor: wait;
    opacity: 0.62;
}

.otp-verification__message {
    grid-column: 1 / -1;
    min-height: 15px;
    margin: 0;
    color: var(--integration-muted);
    font-size: 10px;
    line-height: 1.4;
}

.otp-verification__message.is-error { color: #a42424; }
.otp-verification__message.is-success { color: #14753b; font-weight: 650; }

@media (max-width: 760px) {
    .gallery-lightbox,
    .lead-modal {
        padding: 12px;
    }

    .gallery-lightbox__image {
        max-width: calc(100vw - 28px);
        max-height: 80vh;
    }

    .gallery-lightbox__close {
        top: 4px;
        right: 4px;
    }

    .gallery-lightbox__caption {
        bottom: 4px;
        width: calc(100vw - 36px);
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }

    .call-float {
        right: 16px;
        bottom: 82px;
        width: 54px;
        height: 54px;
    }

    .lead-modal__card {
        grid-template-columns: 1fr;
        max-height: calc(100vh - 24px);
    }

    .lead-modal__visual,
    .lead-modal__visual-content {
        min-height: 148px;
    }

    .lead-modal__visual-content {
        padding: 24px 22px 20px 96px;
        justify-content: flex-end;
    }

    .lead-modal__brand-mark {
        top: 24px;
        left: 22px;
        width: 56px;
        height: 56px;
    }

    .lead-modal__visual-content h3 {
        margin-bottom: 7px;
        font-size: 27px;
    }

    .lead-modal__visual-content > span,
    .lead-modal__visual-content ul {
        display: none;
    }

    .lead-modal__panel {
        padding: 30px 21px 24px;
    }

    .lead-modal__title {
        margin-right: 38px;
        font-size: 30px;
    }

    .lead-modal__description {
        margin-bottom: 14px;
        font-size: 12px;
    }

    .lead-modal__benefits {
        margin-bottom: 17px;
    }

    .lead-modal__form {
        grid-template-columns: 1fr;
    }

    .lead-modal__submit,
    .lead-modal__consent,
    .lead-form-status,
    .lead-modal__whatsapp,
    .lead-field--full {
        grid-column: 1;
    }

    .otp-verification {
        width: min(400px, 100%);
        grid-template-columns: 1fr;
        padding: 14px;
    }

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

    .otp-verification__code-row {
        width: 100%;
    }

    .otp-verification__send {
        width: 100%;
    }
}

@media (max-width: 576px) {
    #about .about-stats {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 24px;
    }

    #about .about-stat {
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-lightbox,
    .lead-modal,
    .call-float,
    .whatsapp-float,
    .lead-modal__card {
        transition: none;
    }
}
