/**
 * Pin for Life — tablet & desktop responsive
 * Loads after pfl-mobile.css (min-width rules only)
 */

/* ——— Hero ——— */
@media screen and (min-width: 768px) {
    .section_hero_video .padding-global.height-100.padding-hero {
        min-height: 100svh;
        display: flex;
        align-items: stretch;
        padding-left: max(var(--side-gap, 2rem), clamp(2rem, 5vw, 4.5rem));
        padding-right: max(var(--side-gap, 2rem), clamp(2rem, 5vw, 4.5rem));
        padding-top: clamp(5.5rem, 12vh, 7.5rem);
        padding-bottom: clamp(6.25rem, 10vh, 8rem);
    }

    .section_hero_video .container-height-100 {
        flex: 1;
        max-width: min(96rem, calc(100vw - 2 * var(--side-gap, 2rem)));
        display: flex;
        align-items: stretch;
    }

    .section_hero_video .hero_content {
        display: flex;
        flex: 1;
        flex-direction: column;
        max-width: 100%;
        min-height: 100%;
    }

    .section_hero_video .hero_heading-wrap.hero_heading-wrap--pin-for-life {
        flex: 1;
        display: grid;
        grid-template-rows: auto auto;
        align-content: end;
        align-items: stretch;
        gap: 0;
        max-width: 100%;
        min-height: 100%;
    }

    .hero-heading-top {
        grid-row: 1;
        align-self: end;
        justify-content: flex-end;
    }

    .hero-heading-bottom {
        grid-row: 2;
        align-self: end;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(0.55rem, 1.3vh, 0.85rem);
        width: 100%;
        margin-top: clamp(2rem, 7vh, 4rem);
        margin-bottom: 0;
        text-align: left;
    }

    .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1,
    .pfl-shree .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1 {
        font-size: clamp(4.7rem, 9.5vw, 9rem);
        line-height: 0.82;
        letter-spacing: -0.065em;
    }

    .pin-for-life-hero-title .hero-title-line {
        display: block;
    }

    .pin-for-life-hero-title .hero-title-line + .hero-title-line {
        margin-top: 0.035em;
        margin-left: clamp(1.1rem, 6vw, 5.25rem);
    }

    .pin-for-life-hero-title .hero-title-line + .hero-title-line::before {
        content: none;
    }

    .hero-heading-middle {
        margin-top: 0;
        max-width: 100%;
        width: 100%;
    }

    .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-tagline {
        max-width: 100%;
    }

    .section_hero_video .hero-heading-middle .hero-desc,
    .section_hero_video .hero-heading-middle [data-hero-desc] {
        max-width: 100%;
    }

    .hero-chips-bar {
        padding-left: max(var(--side-gap, 2rem), clamp(1.5rem, 4vw, 3rem));
        padding-right: max(var(--side-gap, 2rem), clamp(1.5rem, 4vw, 3rem));
    }

    .hero-cta-mobile {
        display: inline-flex;
        width: auto;
        min-width: 14rem;
        max-width: 20rem;
        margin-top: 0;
    }
}

@media screen and (min-width: 1024px) {
    .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1,
    .pfl-shree .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1 {
        font-size: clamp(5.75rem, 8.7vw, 10rem);
        line-height: 0.82;
    }

    .section_hero_video .hero_heading-wrap.hero_heading-wrap--pin-for-life {
        max-width: 100%;
    }

    #amenity-slider-track {
        max-height: min(72vh, 720px);
    }
}

@media screen and (min-width: 1200px) {
    .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-tagline,
    .section_hero_video .hero-heading-middle .hero-desc,
    .section_hero_video .hero-heading-middle [data-hero-desc] {
        white-space: nowrap;
    }
}

@media screen and (min-width: 1280px) {
    .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1,
    .pfl-shree .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1 {
        font-size: clamp(6.5rem, 8vw, 11rem);
    }
}

@media screen and (min-width: 1536px) {
    .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1,
    .pfl-shree .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1 {
        font-size: clamp(7.25rem, 7vw, 11.75rem);
    }
}

/* Short desktop viewports — keep chips clear of hero copy */
@media screen and (min-width: 768px) and (max-height: 780px) {
    .section_hero_video .padding-global.height-100.padding-hero {
        padding-bottom: clamp(6.75rem, 16vh, 8.5rem);
        padding-top: clamp(4.5rem, 10vh, 6rem);
    }

    .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1,
    .pfl-shree .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1 {
        font-size: clamp(4rem, 7vw, 6.75rem);
    }
}

/* ——— Section typography & rhythm ——— */
@media screen and (min-width: 768px) {
    .pfl-shree .pfl-section-head h2.font-serif,
    .pfl-shree .pfl-section-head .font-serif.text-4xl,
    .pfl-shree .pfl-section-head .font-serif.text-5xl {
        text-wrap: balance;
    }

    .pfl-shree .pfl-section-copy,
    .pfl-shree .pfl-section-head > p.text-lg {
        max-width: 48rem;
    }

    #about .pfl-section-head {
        margin-left: auto;
        margin-right: auto;
    }

    #about .pfl-section-copy {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

@media screen and (min-width: 1024px) {
    .pfl-shree #about .relative.w-full.h-\[400px\] {
        height: 550px;
    }

    #specifications .pfl-section-head {
        align-items: flex-end;
    }

    #contact .pfl-section-head h2 {
        max-width: 14ch;
    }
}

@media screen and (min-width: 1280px) {
    .pfl-shree h2.font-serif.text-6xl,
    .pfl-shree h3.font-serif.text-6xl {
        font-size: clamp(2.75rem, 3.5vw, 3.75rem) !important;
    }
}

/* ——— Amenities grid on wide screens ——— */
@media screen and (min-width: 1280px) {
    #amenities .grid.grid-cols-2 {
        gap: 1.25rem;
    }
}

/* ——— Specifications carousel ——— */
@media screen and (min-width: 1024px) {
    #spec-slider .snap-start {
        max-width: 28rem;
    }
}

/* ——— Gallery marquee ——— */
@media screen and (min-width: 1024px) {
    .gallery-marquee-slide {
        width: clamp(340px, 36vw, 560px);
        height: clamp(220px, 22vw, 340px);
    }
}

/* ——— Layout unit plans ——— */
@media screen and (min-width: 1024px) {
    #layout .layout-plans-shell {
        padding: 2.5rem 3rem;
    }

    #layout .layout-info-panel {
        min-height: 480px;
    }
}

/* ——— Contact form column ——— */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
    #contact .grid.grid-cols-1 {
        gap: 3rem;
    }
}

/* ——— Header chrome ——— */
@media screen and (min-width: 768px) {
    .pfl-header-right .btn-header-enquire {
        white-space: nowrap;
    }
}

/* ——— Footer back to top ——— */
@media screen and (min-width: 768px) {
    .footer-back-to-top__arrow {
        width: 2rem;
        height: 2.5rem;
    }
}
