/* =========================================================
   MERLIN RISE MICROSITE
========================================================= */

:root {
    --blue: #064b72;
    --blue-dark: #033650;
    --blue-light: #0b638e;
    --orange: #ef6c22;
    --orange-dark: #d95812;
    --white: #ffffff;
    --black: #111111;
    --dark: #1b1b1b;
    --gray: #777777;
    --light-gray: #f4f4f2;
    --border: #dedede;

    --heading-font: "Playfair Display", Georgia, serif;
    --body-font: "DM Sans", Arial, sans-serif;

    --container: 1240px;
    --transition: 0.35s ease;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--black);
    background: var(--white);
    font-family: var(--body-font);
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   COMMON
========================================================= */

.section {
    padding: 30px 20px;
}

.section-kicker {
    margin-bottom: 12px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.section-heading {
    width: min(800px, 100%);
    margin: 0 auto 20px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 14px;
    color: var(--blue);
    font-family: var(--heading-font);
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 500;
    line-height: 1.1;
}

.section-heading p:not(.section-kicker) {
    max-width: 650px;
    margin: 0 auto;
    color: #6c6c6c;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   BUTTON
========================================================= */

.orange-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    min-height: 48px;
    padding: 13px 27px;
    color: var(--white);
    background: var(--orange);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    transition:
        background var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.orange-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(239, 108, 34, 0.25);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    background: #033650;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.site-header.scrolled {
    background: rgba(3, 54, 80, 0.97);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: min(var(--container), calc(100% - 60px));
    height: 100%;

    margin: auto;
}


/* =========================================================
   BRAND GROUP
========================================================= */

.brand-group {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.brand {
    display: flex;
    align-items: center;
    width: 245px;
    flex-shrink: 0;
}

.brand img {
    display: block;
    width: auto;
    max-width: 245px;
    max-height: 200px;
    object-fit: contain;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 3px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.partner-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.partner-logo span {
    display: block;
    width: 65px;
    color: #ffffff;
    font-family: var(--body-font);
    font-size: 7px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
}


/* =========================================================
   DESKTOP NAV
========================================================= */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav a {
    position: relative;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: color var(--transition);
}

.desktop-nav a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    width: 0;
    height: 2px;
    margin: auto;
    content: "";
    background: var(--orange);
    transition: width var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--white);
}


/* =========================================================
   MOBILE BUTTON
========================================================= */

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: var(--white);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 0;

    display: flex;
    flex-direction: column;

    width: min(350px, 88%);
    height: 100vh;

    padding: 80px 30px 30px;
    background: var(--blue);
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 40px;
    height: 40px;
    color: var(--white);
    background: transparent;
    font-size: 34px;
}

.mobile-brand-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 35px;
}

.mobile-logo {
    width: auto;
    max-width: 135px;
    max-height: 50px;
    object-fit: contain;
}

.mobile-partner-logo {
    width: auto;
    max-width: 85px;
    height: 42px;
    object-fit: contain;
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
}

.mobile-menu nav a {
    padding: 15px 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mobile-menu .orange-btn {
    margin-top: 25px;
}


/* =========================================================
   FLOATING ENQUIRE
========================================================= */

.floating-enquire {
    position: fixed;
    z-index: 900;
    top: 50%;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 145px;

    color: var(--white);
    background: var(--orange);
    border-radius: 10px 0 0 10px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    writing-mode: vertical-rl;
    transform: translateY(-50%);

    transition:
        background var(--transition),
        width var(--transition);
}

.floating-enquire:hover {
    width: 55px;
    background: var(--orange-dark);
}


/* =========================================================
   HERO SECTION
========================================================= */

.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 82px);
    margin-top: 82px;
    overflow: hidden;
    background: #033650;
}

.hero-desktop-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: fill !important;
    object-position: center;
}

.hero-mobile-image {
    display: none !important;
}


/* =========================================================
   OVERVIEW
========================================================= */

.intro {
    background: var(--white);
}

.intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    width: min(var(--container), 100%);
    margin: auto;
    align-items: center;
}

.intro-copy h2 {
    margin-bottom: 24px;
    color: var(--blue);
    font-family: var(--heading-font);
    font-size: clamp(35px, 3vw, 50px);
    font-weight: 400;
    line-height: 1.08;
}

.intro-copy h2 em {
    color: var(--orange);
    font-style: italic;
}

.intro-copy p:not(.section-kicker) {
    margin-bottom: 15px;
    color: #6d6d6d;
    font-size: 15px;
    line-height: 1.8;
}

.intro-copy .orange-btn {
    margin-top: 10px;
}

.intro-image {
    position: relative;
}

.intro-image::before {
    position: absolute;
    z-index: 0;
    top: -15px;
    right: -15px;
    width: 70%;
    height: 70%;
    content: "";
    border-top: 2px solid var(--orange);
    border-right: 2px solid var(--orange);
}

.intro-image img {
    position: relative;
    border-radius: 10px;
    z-index: 1;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}


/* =========================================================
   STATS
========================================================= */

.stats {
    padding: 20px 30px;
    background: var(--blue);
}

.stats-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: min(var(--container), 100%);
    margin: auto;
}

.stat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 25px;
    color: var(--white);
    text-align: center;
}

.stat:not(:last-child)::after {
    position: absolute;
    top: 10%;
    right: 0;
    width: 1px;
    height: 80%;
    content: "";
    background: rgba(255, 255, 255, 0.25);
}

.stat strong {
    margin-bottom: 4px;
    font-family: var(--body-font);
    font-size: clamp(30px, 2vw, 40px);
    font-weight: 400;
}

.stat span {
    margin-bottom: 6px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.stat small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}


/* =========================================================
   AMENITIES
========================================================= */

.amenities {
    background: #f7f7f5;
}

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    width: min(var(--container), 100%);
    margin: auto;
}

.amenity-card {
    position: relative;
    border-radius: 10px;
    min-height: 390px;
    overflow: hidden;
    background: var(--blue);
}

.amenity-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.amenity-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.05) 65%);
}

.amenity-card:hover > img {
    transform: scale(1.08);
}

.amenity-card > div {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 22px;
    left: 22px;
    color: var(--white);
}

.amenity-card i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: var(--white);
    background: var(--orange);
    font-size: 16px;
}

.amenity-card h3 {
    margin-bottom: 4px;
    font-family: var(--heading-font);
    font-size: 25px;
    font-weight: 400;
}

.amenity-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}


/* =========================================================
   FLOOR PLANS
========================================================= */

.plans {
    background: var(--white);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    width: min(900px, 100%);
    margin: auto;
}

.plan-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    border-radius: 10px;
    text-align: left;
    background: #f5f5f3;
    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.plan-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    filter: blur(5px);
    background: #eeeeec;
}

.plan-card > span {
    display: block;
    padding: 18px 22px 4px;
    color: var(--blue);
    font-family: var(--heading-font);
    font-size: 27px;
}

.plan-card > small {
    display: block;
    padding: 0 22px 15px;
    color: #777;
    font-size: 12px;
}

.plan-card > b {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 22px;
    color: var(--white);
    background: var(--blue);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.plan-card > b i {
    transition: transform var(--transition);
}

.plan-card:hover > b i {
    transform: translateX(5px);
}


/* =========================================================
   LOCATION
========================================================= */

.location {
    background: #f2f2ef;
}

.map-wrap {
    position: relative;
    width: 100%;
    height: 480px;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.2);
}

.map-message {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 8px 13px;
    color: #555;
    background: rgba(255, 255, 255, 0.9);
    font-size: 10px;
}


/* =========================================================
   GALLERY SECTION (DESKTOP)
========================================================= */

.gallery {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    width: min(var(--container), 100%);
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 6px;
    background: #e5e5e5;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-btn {
    display: flex;
    margin: 30px auto 0;
}

.gallery-mobile-slider {
    display: none !important;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    background: var(--blue);
}

.contact-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
    width: min(1000px, 100%);
    margin: auto;
    color: var(--white);
}

.contact-inner h2 {
    margin-bottom: 17px;
    font-family: var(--heading-font);
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 400;
    line-height: 1.05;
}

.contact-inner > div > p:not(.section-kicker) {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.contact-form > input[type="text"] {
    width: 100%;
    height: 53px;
    padding: 0 16px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: none;
    font-size: 14px;
}

.contact-form input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.contact-form input:focus {
    border-color: var(--orange);
}


/* =========================================================
   PHONE INPUT
========================================================= */

.phone-field {
    width: 100%;
}

.phone-field .iti {
    width: 100%;
}

.phone-field .iti input {
    width: 100%;
}

.contact-form .phone-field input {
    width: 100%;
    height: 53px;
    padding-right: 16px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    outline: none;
    font-size: 14px;
}

.contact-form .phone-field input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.contact-form .iti__selected-country {
    background: transparent;
}

.contact-form .iti__selected-dial-code {
    color: var(--white);
}

.contact-form .iti__arrow {
    border-top-color: var(--white);
}

.popup .phone-field input {
    width: 100%;
    height: 52px;
    padding-right: 15px;
    color: #222;
    background: var(--white);
    border: 1px solid #d4d4d4;
    outline: none;
    font-size: 14px;
}


/* =========================================================
   PRIVACY
========================================================= */

.privacy-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 2px 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    line-height: 1.6;
}

.privacy-consent input {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    margin-top: 3px;
    accent-color: #b43e39;
    cursor: pointer;
}

.privacy-consent span {
    flex: 1;
}

.privacy-consent a {
    color: #ff9b6a;
    text-decoration: underline;
    font-weight: 600;
}

.popup .privacy-consent {
    color: #666;
}

.popup .privacy-consent a {
    color: #b43e39;
}

.phone-error {
    display: none;
    margin-top: -5px;
    color: #ff8f8f;
    font-size: 11px;
    line-height: 1.4;
}

.popup .phone-error {
    color: #dc3545;
}

.phone-error.show {
    display: block;
}

.form-message {
    min-height: 18px;
    font-size: 12px;
}


/* =========================================================
   POPUP
========================================================= */

.popup-overlay {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.popup-overlay.open {
    opacity: 1;
    visibility: visible;
}

.popup {
    position: relative;
    width: min(500px, 100%);
    max-height: 70vh;
    overflow-y: auto;
    padding: 40px;
    padding-bottom: 10px;
    background: var(--white);
    transform: translateY(25px) scale(0.98);
    transition: transform var(--transition);
}

.popup-overlay.open .popup {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 40px;
    height: 40px;
    color: #555;
    background: transparent;
    font-size: 30px;
}

.popup h2 {
    margin-bottom: 8px;
    color: var(--blue);
    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 400;
}

.popup > p:not(.section-kicker) {
    margin-bottom: 22px;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
}

.popup form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup form > input[type="text"] {
    width: 100%;
    height: 52px;
    padding: 0 15px;
    border: 1px solid #d4d4d4;
    outline: none;
    font-size: 14px;
}

.popup form > input[type="text"]:focus,
.popup .phone-field input:focus {
    border-color: var(--blue);
}

.popup .orange-btn {
    width: 100%;
}


/* =========================================================
   GALLERY LIGHTBOX
========================================================= */

.gallery-lightbox {
    position: fixed;
    z-index: 5000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.94);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--transition),
        visibility var(--transition);
}

.gallery-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox img {
    width: auto;
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    width: 45px;
    height: 45px;
    color: var(--white);
    background: transparent;
    font-size: 38px;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    font-size: 25px;
    transform: translateY(-50%);
}

.lightbox-prev { left: 25px; }
.lightbox-next { right: 25px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--orange);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-top {
    position: fixed;
    z-index: 800;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    color: var(--white);
    background: var(--blue);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity var(--transition),
        visibility var(--transition),
        background var(--transition);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--orange);
}


/* =========================================================
   VIEWPORT REVEAL
========================================================= */

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
    opacity: 0;
    will-change: opacity, transform;
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal { transform: translateY(40px); }
.reveal-left { transform: translateX(-45px); }
.reveal-right { transform: translateX(45px); }
.reveal-scale { transform: scale(0.94); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}


/* =========================================================
   TABLET MEDIA QUERY
========================================================= */

@media (max-width: 1100px) {
    .desktop-nav {
        gap: 16px;
    }

    .desktop-nav a {
        font-size: 10px;
    }

    .intro-inner {
        gap: 40px;
    }

    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* =========================================================
   MOBILE MEDIA QUERY
========================================================= */

@media (max-width: 768px) {

    .section {
        padding: 20px 15px;
    }

    .site-header {
        height: 70px;
    }

    .nav-container {
        width: calc(100% - 30px);
        height: 70px;
    }

   .brand-group {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    /* Merlin Rise Logo Container */
    .brand {
        display: flex;
        align-items: center;
        width: 145px !important;
        height: 50px !important;
    }
    /* Merlin Rise Logo Image (Larger & Brighter) */
    .brand img {
        display: block;
        width: 100% !important;
        max-width: 145px !important;
        height: auto !important;
        max-height: 46px !important;
        object-fit: contain !important;
        filter: brightness(1.2) contrast(1.1); /* Makes logo pop against dark blue header */
    }
    /* Brickfolio Partner Container */
    .partner-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding-left: 10px;
        border-left: 1px solid rgba(255, 255, 255, 0.4);
    }
    /* Brickfolio Logo Image */
    .partner-logo img {
        width: auto !important;
        max-width: 48px !important;
        height: 34px !important;
        object-fit: contain !important;
    }
    /* Authorized Sales Partner Text (Clear & Legible) */
    .partner-logo span {
        display: block !important;
        width: auto !important;
        color: #ffffff !important;
        font-family: var(--body-font) !important;
        font-size: 8px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        text-align: center !important;
        text-transform: uppercase !important;
        white-space: nowrap !important;
        letter-spacing: 0.3px !important;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-left: auto;
        padding: 0;
        flex-shrink: 0;
    }

    .floating-enquire {
        width: 41px;
        height: 120px;
        font-size: 9px;
    }
    .hero {
        width: 100%;
        height: calc(100vh - 70px);
        margin-top: 70px;
        overflow: hidden;
        background: #033650;
    }

    .hero-desktop-image {
        display: none !important;
    }

    .hero-mobile-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: fill !important;
        object-position: center;
    }
    .intro-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-copy h2 {
        font-size: 33px;
    }

    .intro-image {
        margin: 0 8px;
    }

    .stats {
        padding: 30px 15px;
    }

    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 30px;
    }

    .stat {
        padding: 0 8px;
    }

    .stat:nth-child(2)::after {
        display: none;
    }

    .stat strong {
        font-size: 38px;
    }

    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .amenity-card {
        min-height: 280px;
    }

    .amenity-card > div {
        right: 14px;
        bottom: 14px;
        left: 14px;
    }

    .amenity-card h3 {
        font-size: 21px;
    }

    .amenity-card p {
        font-size: 10px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .plan-card img {
        height: 290px;
    }

    .map-wrap {
        height: 350px;
    }

    .gallery-desktop {
        display: none !important;
    }

    .gallery-mobile-slider {
        display: block !important;
        position: relative;
        width: 100%;
        overflow: hidden;
        padding-bottom: 45px;
    }

    .gallery-mobile-track {
        display: flex;
        width: 100%;
        transition: transform 0.55s ease-in-out;
        will-change: transform;
    }

    .gallery-mobile-page {
        flex: 0 0 100%;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, 150px);
        gap: 10px;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .gallery-mobile-item {
        display: block;
        width: 100%;
        height: 150px;
        overflow: hidden;
        border-radius: 5px;
        position: relative;
    }

    .gallery-mobile-item img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-mobile-prev,
    .gallery-mobile-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 34px;
        height: 34px;
        border: none;
        border-radius: 50%;
        background: rgba(3, 54, 80, 0.9);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 5;
    }

    .gallery-mobile-prev { left: 5px; }
    .gallery-mobile-next { right: 5px; }

    .gallery-mobile-dots {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        z-index: 5;
    }

    .gallery-mobile-dot {
        width: 7px;
        height: 7px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: #c8c8c8;
        cursor: pointer;
    }

    .gallery-mobile-dot.active {
        width: 20px;
        border-radius: 10px;
        background: #ef6c22;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-inner h2 {
        font-size: 33px;
    }

    .privacy-consent {
        font-size: 10.5px;
    }

    .popup {
        padding: 10px 22px 0;
    }

    .popup h2 {
        font-size: 36px;
    }

    .footer-container {
        padding: 0 15px;
    }

    .footer-top,
    .footer-top + .footer-divider {
        display: none !important;
    }

    .footer-mobile-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding: 0 0 10px;
        text-align: center;
    }

    .footer-mobile-logo {
        width: auto;
        height: 48px;
        margin-bottom: 3px;
        object-fit: contain;
    }

    .footer-contact {
        display: flex;
        flex-direction: row !important;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 0;
        text-align: left;
    }

    .footer-contact-item {
        flex: 1;
    }

    .footer-contact-item h4 {
        margin-bottom: 2px;
        font-size: 11px;
    }

    .footer-contact-item a,
    .footer-contact-item p {
        font-size: 11px;
        line-height: 1.3;
    }

    .footer-divider {
        margin: 10px 0;
    }

    .footer-rera {
        margin: 15px 0;
        padding: 8px 10px;
    }

    .footer-disclaimer {
        padding: 0;
        margin-bottom: 15px;
    }

    .footer-links {
        padding: 10px 0 15px;
    }

    .mobile-bottom-bar {
        display: flex !important;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 50px;
        z-index: 99999;
        margin: 0;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    }

    .mobile-bottom-btn {
        flex: 1 1 50%;
        width: 50%;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        color: #ffffff;
        font-family: var(--body-font);
        font-size: 15px;
        font-weight: 600;
        border: 0;
        outline: none;
    }

    .btn-whatsapp {
        background-color: #1ebd61;
    }

    .btn-call {
        background-color: var(--orange);
    }

    body {
        padding-bottom: 60px;
    }

    .bottom-floating-actions {
        display: none !important;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .site-header {
        height: 65px;
    }

    .nav-container {
        width: calc(100% - 20px);
        height: 65px;
    }

    .brand {
        width: 135px !important;
        height: 48px !important;
    }
    .brand img {
        max-width: 135px !important;
        max-height: 44px !important;
    }
    .partner-logo img {
        max-width: 42px !important;
        height: 32px !important;
    }
    .partner-logo span {
        font-size: 7.5px !important;
    }
       .hero {
        width: 100%;
        height: calc(100vh - 65px);
        margin-top: 65px;
        overflow: hidden;
    }

    .hero-mobile-image {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: fill !important;
    }

    .gallery-mobile-page {
        grid-template-rows: repeat(2, 125px);
        gap: 8px;
        padding: 0 10px;
    }

    .gallery-mobile-item {
        height: 125px;
    }

    .gallery-mobile-prev,
    .gallery-mobile-next {
        width: 30px;
        height: 30px;
    }

    .mobile-bottom-bar {
        height: 55px;
    }

    .mobile-bottom-btn {
        height: 55px;
        font-size: 14px;
    }
}


/* =========================================================
   FOOTER SECTION (DESKTOP)
========================================================= */

.site-footer {
    width: 100%;
    padding-top: 20px;
    color: #444;
    background: #f9f9f9;
    border-top: 1px solid #e2e2e2;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 0 0 20px;
}

.footer-col {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
}

.footer-col-brand {
    align-items: flex-start;
}

.footer-brand-logo {
    width: auto;
    height: 48px;
    object-fit: contain;
}

/* AUTHORISED SALES PARTNER TEXT STYLING */
.footer-partner-text {
    display: block;
    margin-top: 6px;
    color: #555555;
    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* HIDE SOCIAL MEDIA LINKS IF STILL PRESENT IN HTML */
.footer-socials {
    display: none !important;
}

.footer-col-privado h3,
.footer-col-about h3 {
    margin-bottom: 2px;
    color: #111;
    font-size: 15px;
    font-weight: 700;
}

.footer-col-privado p,
.footer-col-about p {
    color: #555;
    font-size: 12px;
    line-height: 1.6;
}

.footer-bullets {
    display: flex;
    flex-direction: column;
    gap: 6px;
    list-style: none;
}

.footer-bullets li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #444;
    font-size: 11.5px;
}

.footer-bullets i {
    color: #a63d3a;
    font-size: 12.5px;
}

.footer-mobile-brand {
    display: none;
}

.footer-divider {
    margin: 15px 0;
    border: 0;
    border-top: 1px solid #eaeaea;
}

.footer-contact {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}

.footer-contact-item {
    flex: 1;
}

.footer-contact-item h4 {
    margin-bottom: 4px;
    color: #777;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-contact-item a,
.footer-contact-item p {
    color: #333;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

.footer-rera {
    margin: 15px 0;
    padding: 10px 20px;
    text-align: center;
    background: #fff;
    border-top: 1px dashed #cccccc;
    border-bottom: 1px dashed #cccccc;
}

.footer-rera p {
    color: #222;
    font-size: 12px;
    font-weight: 700;
}

.footer-disclaimer {
    padding: 0;
    margin-bottom: 20px;
}

.footer-disclaimer p {
    color: #777;
    font-size: 10.5px;
    line-height: 1.6;
    text-align: justify;
}

.footer-links {
    padding: 10px 0 20px;
    text-align: center;
}

.footer-links a {
    margin: 0 5px;
    color: #7834bc;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

.footer-copyright-bar {
    padding: 12px 20px;
    color: #fff;
    background: #111;
    text-align: center;
}

.footer-copyright-bar p {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   FLOATING ACTION BUTTONS (DESKTOP)
========================================================= */

.bottom-floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.float-whatsapp {
    background-color: #25d366;
}

.float-phone {
    background-color: var(--orange);
}

.float-btn:hover {
    transform: scale(1.08);
}

.mobile-bottom-bar {
    display: none;
}


/* =========================================================
   INTL-TEL-INPUT CUSTOM FIX
========================================================= */

.contact-form .iti__country-list {
    background-color: #fff !important;
    color: #222 !important;
}

.contact-form .iti__country {
    background-color: #fff !important;
    color: #222 !important;
}

.contact-form .iti__country-name {
    color: #222 !important;
}

.contact-form .iti__dial-code {
    color: #666 !important;
}

.contact-form .iti__country:hover,
.contact-form .iti__country.iti__highlight {
    background-color: #f2f5f7 !important;
    color: #222 !important;
}

.contact-form .iti__search-input {
    background-color: #fff !important;
    color: #222 !important;
    border-color: #ddd !important;
}

/* AUTHORISED SALES PARTNER TEXT STYLING */
.footer-partner-text {
    display: block;
    margin-top: 6px;
    color: #555555;
    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* MOBILE FOOTER BRAND FIX */
@media (max-width: 768px) {

    .footer-mobile-brand {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px;
        padding: 15px 0 10px;
        text-align: center;
        width: 100%;
    }

    .footer-mobile-logo {
        display: block !important;
        width: auto !important;
        max-width: 150px !important;
        height: 45px !important;
        margin: 0 auto 4px !important;
        object-fit: contain !important;
    }

    .footer-mobile-brand .footer-partner-text {
        display: block !important;
        color: #555555 !important;
        font-family: var(--body-font) !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.35 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        text-align: center !important;
    }

}