/* =========================================================
   Maison Verane — responsive.css
   Desktop first → laptop → tablet → mobile
   ========================================================= */

/* ---------- Laptop / small desktop ---------- */
@media (max-width: 1200px) {
    :root {
        --sec-pad: 104px;
    }

    .hero-grid {
        gap: 30px;
    }

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: .76rem;
    }

    .amen-scroller {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-layout {
        gap: 36px;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 992px) {
    :root {
        --sec-pad: 84px;
    }

    .about {
        background: linear-gradient(180deg, var(--bg) 0%, var(--bg-muted) 100%) !important;
    }

    .h-lux {
        font-size: 1.8rem !important;
        font-weight: 500;
    }

    .hero-cta {
        display: none;
    }

    /* Mobile hero order: header -> banner image -> text -> enquiry form */
    .hero {
        min-height: auto;
        display: block;
        overflow: visible;
        padding: 104px 0 40px;
    }

    .hero-bg {
        position: relative;
        inset: auto;
        height: 320px;
        border-radius: 0 0 var(--r-lg) var(--r-lg);
        overflow: hidden;
        margin-bottom: 30px;
        box-shadow: var(--sh-md);
    }

    .hero-veil {
        opacity: .5;
    }

    .orb-a,
    .orb-b {
        display: none;
    }

    .btn-lux,
    .btn-ghost {
        padding: 11px 30px;
    }

    .price-card {
        padding: 27px 21px 21px;
    }

    .orb-a {
        background: #000000;
    }

    .about-img-main {
        aspect-ratio: auto !important;
        height: 100%;
    }

    .pc-price span {
        display: inline;
        margin-left: 8px;
    }

    .field {
        margin-bottom: 11px;
    }

    /* Nav becomes a hamburger drawer */
    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 4px;
        padding: 18px;
        border-radius: 26px;
        background: rgb(255, 255, 255);
        backdrop-filter: blur(22px) saturate(160%);
        border: 1px solid var(--border);
        box-shadow: var(--sh-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
    }

    .nav-links.is-open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-links a {
        display: block;
        padding: 12px 10px;
        color: var(--ink);
        font-size: .9rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links li:last-child a {
        border-bottom: 0;
    }

    .hamburger {
        display: block;
    }

    .nav-actions .btn-lux-sm {
        display: none;
    }

    /* Hero: image → content → form (padding/height set above) */
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .hero-points {
        grid-template-columns: 1fr 1fr;
    }

    .enquiry-card {
        animation: none;
    }

    /* About stacks */
    .about-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-media {
        padding: 0 40px 10px 0;
        max-width: 620px;
    }

    .exp-badge {
        left: -14px;
        width: 112px;
        height: 112px;
    }

    /* Pricing — stacked cards, one below another (no more slider) */
    .price-grid {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .price-card {
        min-width: 0;
        width: 100%;
        transform: none !important;
    }

    .price-card.is-popular {
        transform: none !important;
    }

    .plan-view-btn {
        justify-content: center;
        width: 90%;
    }

    .f-bottom {
        margin-top: 8px;
    }

    .hl-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .hl-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Amenities — 2 per row grid, wraps to the next row */
    .amen-scroller {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .lifestyle-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 30px;
        text-align: left;
    }

    .trust-row {
        margin-top: 5px;
    }

    .float-stack {
        display: none;
    }

    .field input {
        padding: 8px 18px;
    }

    .masonry {
        grid-template-columns: repeat(2, 1fr);
    }

    .plan-panel {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 26px;
    }

    /* Location — map on top, key-distances card below */
    .loc-split {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .loc-map {
        min-height: 320px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .modal-card {
        grid-template-columns: 1fr;
    }

    .modal-visual {
        height: 190px;
    }

    .about-copy p {
        text-align: justify;
    }

    /* Sticky mobile CTA bar */
    .mobile-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 880;
        background: rgba(255, 255, 255, .9);
        backdrop-filter: blur(18px) saturate(160%);
        border-top: 1px solid var(--border);
        box-shadow: 0 -10px 30px rgba(20, 47, 39, .12);
    }

    .mobile-bar>* {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 6px;
        font-size: .78rem;
        font-weight: 600;
        letter-spacing: .05em;
        color: var(--primary);
        border-right: 1px solid var(--border);
    }

    .mobile-bar>*:last-child {
        border-right: 0;
        background: var(--grad-gold);
        color: #16241d;
    }

    .float-stack {
        bottom: 84px;
        right: 16px;
    }

    .float-stack .f-call {
        display: none;
    }

    body {
        padding-bottom: 54px;
    }




    .badge-lux {
        background: rgba(7, 7, 7, 0.12);
        border: 1px solid rgba(8, 8, 8, 0.28);
        backdrop-filter: blur(12px);
        color: #000;
    }


    .display-lux {
        color: #000;
    }


    .price-plate-label {
        color: #000;
    }

    .hero-points li {
        color: #000;
    }

}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
    :root {
        --sec-pad: 25px;
        --r-xl: 28px;
        --r-lg: 22px;
    }

    body {
        font-size: 15px;
    }

    .container {
        width: 97%;
    }

    .nav-shell {

        inset: 9px 0 auto;
    }

    .nav-glass {
        padding: 10px 14px;
    }

    .brand-text {
        font-size: 1.15rem;
    }

    .nav-call {
        width: 36px;
        height: 36px;
        border: 1px solid rgba(15, 15, 15, 0.705);
        color: #000;
    }

    .hero {
        padding: 72px 0 22px;
    }

    .hero-bg {
        height: 230px;
        margin-bottom: 22px;
        border-radius: 0 0 var(--r-md) var(--r-md);
    }

    .display-lux {
        font-size: clamp(2.8rem, 12vw, 4rem);
        margin-top: 11px;
        margin-bottom: 25px;
    }

    
.brand-text img{
      width: 150px;
    filter: brightness(0) invert(0);
}


    .hero-tagline {
        font-size: 1.2rem;
    }

    .price-plate {
        padding: 20px 26px;
        width: 100%;
    }

    .price-plate-value {
        font-size: 29px;
    }

    .hero-points {
        grid-template-columns: 1fr;
        gap: 3px;
        margin: 6px 0 15px;
    }

    .hero-points li {
        white-space: normal;
        font-size: .94rem;
    }


    .hero-cta .btn-lux,
    .hero-cta .btn-ghost {
        width: 100%;
    }


    .trust-row {
        gap: 8px;
    }

    .enquiry-card {
        padding: 34px 22px 26px;
    }

    .curve-divider {
        height: 50px;
    }

    .about-media {
        padding: 0 0 0px;
    }

    .about-img-float {
        display: none;

    }

    .exp-badge {
        left: 0;
        top: -18px;
        width: 96px;
        height: 96px;
    }

    .exp-num {
        font-size: 1.9rem;
    }

    .stat-float {
        left: 0;
        right: 0;
        justify-content: center;
        padding: 14px 10px;
    }

    .stat strong {
        font-size: 1.6rem;
    }

    .sec-head.split {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-row {
        width: 100%;
        margin-top: 15px;
    }

    .cta-row .btn-lux,
    .cta-row .btn-ghost {
        flex: 1 1 100%;
    }

    /* Highlights — single column on small phones */
    .hl-grid {
        grid-template-columns: 1fr;
    }

    .hl-point {
        padding: 18px 20px;
    }

    /* Amenities stay 2-per-row even on small phones */
    .amen-scroller {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .amen-card {
        padding: 22px 14px;
    }

    .amen-ic {
        width: 54px;
        height: 54px;
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .amen-card h3 {
        font-size: 1.1rem;
    }

    .amen-card p {
        font-size: .78rem;
    }

    .masonry {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .m-item figcaption {
        opacity: 1;
        transform: none;
    }

    .m-item::after {
        opacity: .6;
    }



    .plan-tabs {
        gap: 8px;
    }

    .plan-tab {
        padding: 10px 18px;
        font-size: .7rem;
    }

    .map-cta {
        position: static;
        margin: 16px;
        width: calc(100% - 32px);
    }

    .map-pin {
        top: 18%;
        left: 12%;
        font-size: .7rem;
        padding: 8px 14px;
    }

    .loc-map {
        min-height: 240px;
    }

    .loc-copy {
        padding: 28px 22px;
    }

    .footer {
        padding: 80px 0 14px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .f-qr {
        width: 88px;
        height: 88px;
    }

    .field-row {
        grid-template-columns: 1fr;
    }

    .f-form {
        padding: 28px 20px;
    }

    .f-legal-line {
        font-size: .8rem;
    }

    .modal-form {
        padding: 8px 22px;
    }

    .modal-visual {
        height: 190px;
    }
}

/* ---------- Very small phones ---------- */
@media (max-width: 380px) {

    .btn-lux,
    .btn-ghost {
        padding: 14px 20px;
        font-size: .74rem;
    }

    .mobile-bar>* {
        font-size: .7rem;
        gap: 5px;
    }

    .amen-card h3 {
        font-size: 1rem;
    }
}