/* =========================================================
   Aurelia Heights — Responsive Layer (desktop first)
   Breakpoints: 1200 / 992 / 768 / 576
   ========================================================= */

/* ---------- Large desktop / small desktop ---------- */
@media (max-width: 1200px) {
    :root {
        --section-y: 100px;
    }

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

    .hl-block.wide {
        grid-column: span 2;
    }

    .masonry {
        grid-auto-rows: 190px;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 992px) {
    :root {
        --section-y: 84px;
    }

    /* Navigation */
    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 4px;
        padding: 20px;
        border-radius: 24px;
        background: rgba(247, 245, 241, .94);
        backdrop-filter: blur(20px) saturate(150%);
        border: 1px solid rgba(0, 0, 0, .08);
        box-shadow: 0 30px 70px -30px rgba(16, 38, 60, .5);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition: opacity .35s ease, transform .35s cubic-bezier(.22, 1, .36, 1), visibility .35s;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-links a {
        color: #1a1a1a !important;
        padding: 10px 6px;
        display: block;
        font-size: .85rem;
    }

    .nav-shell {
        position: relative;
    }

    .burger {
        display: flex;
    }

    .nav-actions .btn-lux {
        display: none;
    }

    /* Hero: reflow into image → content → form */
    .hero {
        min-height: auto;
        padding: 0px 0 0;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        min-height: auto;
    }

    .hero-visual { order: 1; }
    .hero-visual img { min-height: 420px; }

    .hero-content { order: 2; padding: 8px 24px 40px; }

    .hero-enquiry {
        order: 3;
        position: relative;
        left: auto;
        bottom: auto;
        width: auto;
        margin: -60px 24px 40px;
    }

    /* About */
    .about-stack {
        min-height: auto;
        padding-bottom: 90px;
    }

    .about-img-a {
        width: 78%;
        height: 400px;
    }

    .about-img-b {
        width: 55%;
        height: 250px;
        bottom: 40px;
    }

    .exp-badge {
        width: 108px;
        height: 108px;
    }

    .stat-float {
        left: 0;
        padding: 14px 20px;
        gap: 18px;
    }

   

    /* Modal */
    .lux-modal-card {
        grid-template-columns: 1fr;
    }

    .modal-media img {
        min-height: 190px;
        max-height: 200px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    :root {
        --section-y: 70px;
    }

    body {
        font-size: 15px;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .display-title {
        letter-spacing: -1px;
    }

    /* Hero */
    .hero-heading { font-size: 30px; }

    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn-lux { width: 100%; justify-content: center; }

    .hero-enquiry {
        margin: -40px 16px 30px;
        padding: 36px 20px 22px;
    }
    .hero-visual img { min-height: 300px; }

    .hero-price { padding-left: 14px; }

    .cta-row .btn-lux {
        flex: 1 1 100%;
    }

    .hero-trust {
        gap: 0;
        font-size: .62rem;
    }

    .about-img-a {
        width: 100%;
        height: 300px;
    }

    .about-img-b {
        width: 60%;
        height: 190px;
        bottom: -30px;
        right: 0;
    }

    .about-stack {
        padding-bottom: 120px;
    }

    .exp-badge {
        top: -10px;
        right: 0;
        width: 92px;
        height: 92px;
    }

    .exp-badge strong {
        font-size: 1.7rem;
    }

    .stat-float {
        bottom: 30px;
    }

    .hl-grid {
        grid-template-columns: 1fr;
    }

    .hl-block.wide {
        grid-column: span 1;
    }

    /* Masonry -> compact 2-column mobile masonry */
    .masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 12px;
    }

    .ms-item.wide {
        grid-column: span 2;
    }

    .ms-item figcaption {
        opacity: 1;
        transform: none;
        font-size: 1rem;
        padding: 16px;
    }

    .loc-cards {
        grid-template-columns: 1fr;
    }

    .lifestyle-banner {
        min-height: 340px;
    }

    /* Floating actions collapse, sticky bar appears */
    .floaters {
        bottom: 84px;
        right: 14px;
    }

    .fab.call,
    .fab.wa {
        display: none;
    }

    .mobile-bar {
        display: grid;
        grid-template-columns: 1fr 1fr 1.2fr;
        gap: 0px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 850;
        padding: 0;
        background: radial-gradient(120% 70% at 0% 0%, rgba(232, 205, 151, .10), transparent 60%),
    radial-gradient(90% 70% at 100% 100%, rgba(46, 150, 124, .18), transparent 60%),
    linear-gradient(155deg, #04140f 0%, #082a22 48%, #04140f 100%);
        backdrop-filter: blur(16px);
        border-top: 1px solid rgba(255, 255, 255, .12);
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

    .mobile-bar a,
    .mobile-bar button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding:8px 6px;
        color: #fff;
        font-size: .76rem;
        font-weight: 600;
        letter-spacing: .04em;
    }
    .mobile-bar a:first-child{
        border-right: 2px solid #fff ;
    }

    .mobile-bar .primary {
        background: linear-gradient(120deg, #b98f42, #d2a857 45%, #f0d69a);
        color: #2a1e08;
        border-color: transparent;
    }

    .footer {
        padding-bottom: 56px;
    }

    .modal-body {
        padding: 28px 22px;
    }

    .lb-copy h3 {
        font-size: 1.6rem;
    }
}

/* ---------- Small mobile ---------- */
@media (max-width: 576px) {
    .brand-text {
        font-size: 1.15rem;
    }

    .form-title {
        font-size: 1.55rem;
    }

    .pc-type {
        font-size: 2rem;
    }

    .price-card {
        min-width: 84vw;
        padding: 30px 22px;
    }

    .masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .ms-item.wide,
    .ms-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .timeline b {
        display: block;
        margin-bottom: 4px;
    }

  
}

@media (max-width: 992px){

    .hero-badge, .hero-kicker, .hero-config{
        margin-bottom: 12px;
    }
    .hero-actions{
        display: none !important;
    }
    .hero-enquiry{
        right: 0 !important;
    }
    .platter-project{
        padding-top: 2rem !important;
    }
    .platter-b h3{
        font-size: 28px  !important;
    }
    .f-grid{
        grid-template-columns: 1fr;
    }
    .f-disc{
        max-width: 100%;
    }
    .hero-price{
        margin-bottom: 16px;
                background: #031e17;
        padding: 8px;
    }
    .hero-price,
.tag-bottom {
    position: relative;
    overflow: hidden;
}

.hero-price::after,
.tag-bottom::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 45%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.45),
        transparent
    );
    transform: skewX(-20deg);
    animation: highlightSweep 2.8s ease-in-out infinite;
}

@keyframes highlightSweep {
    0% {
        left: -100%;
    }

    45%,
    100% {
        left: 150%;
    }
}
    .fab{
        display: none;
    }
    .loc-split{
            grid-template-columns: 1fr;
    }
    .section{
        padding: 1rem 0rem;
    }
    .loc-copy{
        padding: 15px;
    }
    h2{
        font-size: 1.5rem;
    }
    .hero-tag{
        font-weight: 600;
    }
    .tag-bottom{
        left: 24px;
    }
}