/**
 * Pin for Life â€” mobile & small-tablet responsive
 * Loads after pfl-color-grading.css
 */

/* â€”â€”â€” Tokens (phones) â€”â€”â€” */
@media (max-width: 767px) {
    .fw-shree {
        --header-top: max(12px, env(safe-area-inset-top, 0px) + 8px);
        --side-gap: max(1rem, env(safe-area-inset-left, 0px) + 0.65rem);
        --gutter: 0.5rem;
        --burger-w: 44px;
        --header-inner-h: 44px;
        --header-height: calc(var(--header-top) + var(--header-inner-h));
    }
}

@media (max-width: 380px) {
    .fw-shree {
        --side-gap: max(0.85rem, env(safe-area-inset-left, 0px) + 0.5rem);
    }
}

/* â€”â€”â€” Header â€”â€”â€” */
@media (max-width: 767px) {
    .pfl-header-right {
        display: none;
    }

    .pfl-logo {
        max-width: min(200px, 54vw);
        max-height: var(--header-inner-h);
    }

    .pfl-logo__brand {
        font-size: clamp(0.68rem, 3.1vw, 0.84rem);
        letter-spacing: 0.12em;
    }

    #navbar:not(.pfl-header--hero) .pfl-logo__brand {
        color: var(--pfl-ink);
    }

    .fw-shree #navbar.pfl-header--hero .pfl-logo__brand {
        color: #ffffff;
    }

    body.pfl-menu-open .fw-shree .pfl-logo__brand {
        color: #f3ead9 !important;
    }

    .pfl-menu__logo-text {
        font-size: clamp(0.72rem, 3.4vw, 0.9rem);
    }

    .pfl-header-toggle {
        width: var(--burger-w);
        height: var(--header-inner-h);
        z-index: 10070;
    }

    .pfl-header-toggle .pfl-burger {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 15px 11px;
        box-sizing: border-box;
    }

    .pfl-burger__line {
        width: calc(100% - 22px);
        left: 11px;
    }

    .pfl-burger__line--top {
        transform: translateY(calc(-50% - 5px));
    }

    .pfl-burger__line--bottom {
        transform: translateY(calc(-50% + 5px));
    }

    .pfl-burger.is-open .pfl-burger__line--top {
        transform: translateY(-50%) rotate(45deg);
    }

    .pfl-burger.is-open .pfl-burger__line--bottom {
        transform: translateY(-50%) rotate(-45deg);
    }

    .pfl-menu {
        justify-content: flex-start;
        padding-top: calc(var(--header-height) + 0.75rem);
        padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px) + 1.25rem);
        -webkit-overflow-scrolling: touch;
    }

    .pfl-menu__nav {
        font-size: clamp(1.85rem, 9vw, 3rem);
        line-height: 1.08;
        margin-bottom: 1.75rem;
    }

    .pfl-menu__nav a {
        display: inline-block;
        padding: 0.12em 0;
        min-height: 44px;
        line-height: 1.15;
    }

    .pfl-menu__aside {
        gap: 1.5rem;
    }

    .pfl-menu__text {
        font-size: 1rem;
        max-width: 100%;
    }

    .pfl-menu__copy {
        padding-top: 1.5rem;
        font-size: 0.62rem;
    }
}

/* ——— Hero (Forever Workspace) ——— */
@media (max-width: 767px) {
    #hero.fw-hero {
        box-sizing: border-box;
    }

    #hero .hero-inner {
        box-sizing: border-box;
    }

    #hero .hero-scroll-hint {
        z-index: 20;
    }
}

/* ——— Vision — follows full-screen hero on scroll ——— */
@media (max-width: 767px) {
    .fw-shree .fw-vision {
        scroll-margin-top: var(--header-height, 4.5rem);
        padding: 2rem 0 2.35rem;
    }

    .fw-vision__grid {
        gap: 1.35rem;
    }

    .fw-vision__title {
        font-size: clamp(1.45rem, 5.2vw, 1.75rem);
        line-height: 1.22;
    }

    .fw-vision__pillar-desc {
        font-size: 0.8rem;
        line-height: 1.45;
    }

    #about.about-section {
        padding-top: 2.5rem;
        padding-bottom: 2.75rem;
    }

    #about .about-visual-frame {
        min-height: 320px;
    }

    #about .about-visual-shell {
        height: clamp(300px, 52vw, 380px) !important;
    }

    #about .fw-overview-card {
        padding: 0.95rem 0.65rem;
    }

    #about .fw-overview-card__value {
        font-size: 0.88rem;
    }

    #about .about-stat-card {
        padding: 1.15rem;
    }
}

@media (max-width: 359px) {
    #about .about-stat-card {
        padding: 1rem;
    }
}

@media (max-width: 767px) {
    .section_hero_video .padding-global.height-100.padding-hero {
        padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-height) + 0.35rem);
        padding-bottom: max(7.25rem, env(safe-area-inset-bottom, 0px) + 6.5rem);
    }

    .section_hero_video .hero_heading-wrap.hero_heading-wrap--pin-for-life {
        gap: 0;
    }

    .hero-heading-top {
        padding-bottom: 0.5rem;
    }

    .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1 {
        font-size: clamp(2.4rem, 10.5vw, 3.1rem);
        line-height: 0.94;
        margin-bottom: 0.15rem;
    }

    .hero-pre-rera-badge {
        margin-bottom: 0.4rem;
        font-size: 0.56rem;
        letter-spacing: 0.12em;
    }

    .hero-title-accent {
        margin-top: 0.85rem;
        margin-bottom: 1rem;
    }

    .hero-heading-middle {
        flex: 1;
        justify-content: center;
        gap: 0.85rem;
        padding: clamp(0.5rem, 3vh, 1.25rem) 0;
        max-width: 100%;
    }

    .hero-heading-middle .pin-for-life-hero-tagline {
        text-align: left;
        padding-left: 0.65rem;
        border-left: 2px solid var(--pfl-green);
    }

    .hero-heading-middle .hero-desc,
    .hero-heading-middle [data-hero-desc] {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        padding-right: 0.15rem;
    }

    .hero-cta-mobile {
        width: 100%;
        max-width: 100%;
        margin-top: 0.85rem;
        min-height: 48px;
        font-size: 0.68rem;
        letter-spacing: 0.12em;
    }

    .pin-for-life-hero-title {
        overflow-wrap: anywhere;
    }

    .hero-chips-bar {
        bottom: max(5.75rem, env(safe-area-inset-bottom, 0px) + 5rem);
        padding-left: max(1rem, env(safe-area-inset-left, 0px) + 0.75rem);
        padding-right: max(1rem, env(safe-area-inset-right, 0px) + 0.75rem);
    }

    .hero-chips__list {
        font-size: 0.52rem;
    }

    .hero-scroll-hint {
        bottom: max(1.15rem, env(safe-area-inset-bottom, 0px) + 0.85rem);
        z-index: 6;
        font-size: 0.52rem;
        opacity: 0.85;
    }
}

@media (max-width: 380px) {
    .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1 {
        font-size: clamp(2.15rem, 9.8vw, 2.65rem);
    }

    .hero-heading-middle .pin-for-life-hero-tagline {
        font-size: 0.76rem;
        padding-left: 0.55rem;
    }

    .hero-heading-middle .hero-desc,
    .hero-heading-middle [data-hero-desc] {
        font-size: 0.84rem;
        line-height: 1.58;
    }

    .hero-chips-bar {
        bottom: max(5.5rem, env(safe-area-inset-bottom, 0px) + 4.75rem);
    }
}

/* ——— About stat cards (mobile) ——— */
@media (max-width: 767px) {
    .fw-shree .about-section .section-intro {
        align-items: center !important;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .fw-shree .about-section .section-intro > span.inline-flex {
        justify-content: center;
    }

    .fw-shree .about-section .section-intro h2,
    .fw-shree .about-section .section-intro p {
        text-align: center !important;
        text-align-last: center;
    }

    .fw-shree .about-section .about-pillars {
        justify-content: center;
    }

    #about .about-stats-grid {
        justify-items: center;
        align-items: stretch;
        width: 100%;
        max-width: 20rem;
        margin-left: auto;
        margin-right: auto;
    }

    #about .about-stat-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        max-width: 18rem;
    }

    #about .about-stat-card > i,
    #about .about-stat-card > svg,
    #about .about-stat-card [data-lucide] {
        margin-left: auto;
        margin-right: auto;
    }

    #about .about-stat-card .text-3xl {
        width: 100%;
        text-align: center;
    }

    #about .about-stat-card p {
        text-align: center;
    }
}

@media (min-width: 640px) and (max-width: 767px) {
    #about .about-stats-grid {
        max-width: 100%;
    }
}

/* â€”â€”â€” Floating actions (safe area) â€”â€”â€” */
@media (max-width: 767px) {
    .btn-whatsapp-pulse {
        right: max(16px, env(safe-area-inset-right, 0px) + 12px);
        bottom: max(20px, env(safe-area-inset-bottom, 0px) + 14px);
    }

    .btn-call {
        right: max(16px, env(safe-area-inset-right, 0px) + 12px);
        bottom: max(88px, env(safe-area-inset-bottom, 0px) + 72px);
    }
}

/* â€”â€”â€” Section rhythm â€”â€”â€” */
@media (max-width: 1023px) {
    .fw-shree #about,
    .fw-shree #amenities,
    .fw-shree #specifications,
    .fw-shree #layout,
    .fw-shree #brochure,
    .fw-shree #gallery,
    .fw-shree #location,
    .fw-shree #contact {
        padding-top: 3.75rem !important;
        padding-bottom: 3.75rem !important;
    }

    .fw-shree #amenities > div,
    .fw-shree #gallery > div {
        padding-left: max(1rem, env(safe-area-inset-left, 0px) + 0.5rem);
        padding-right: max(1rem, env(safe-area-inset-right, 0px) + 0.5rem);
    }
}

@media (max-width: 767px) {
    .fw-shree #about,
    .fw-shree #amenities,
    .fw-shree #specifications,
    .fw-shree #layout,
    .fw-shree #brochure,
    .fw-shree #gallery,
    .fw-shree #location,
    .fw-shree #contact {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    .fw-shree .max-w-7xl,
    .fw-shree .max-w-\[min\(100\%\,1420px\)\] {
        padding-left: max(1rem, env(safe-area-inset-left, 0px) + 0.5rem);
        padding-right: max(1rem, env(safe-area-inset-right, 0px) + 0.5rem);
    }

    .fw-shree h2.font-serif,
    .fw-shree .font-serif.text-4xl {
        font-size: clamp(1.65rem, 7.5vw, 2.25rem) !important;
        line-height: 1.12 !important;
    }

    .fw-shree .text-lg.md\:text-xl,
    .fw-shree p.text-lg {
        font-size: 1rem;
        line-height: 1.55;
    }
}

/* â€”â€”â€” About â€”â€”â€” */
@media (max-width: 767px) {
    #about .relative.z-10.pr-8 {
        padding-right: 0.5rem;
        padding-bottom: 1rem;
    }

    #about .relative.w-full.h-\[400px\] {
        height: min(52vh, 360px);
    }

    #about .translate-x-4 {
        transform: translate(0.5rem, 0.5rem);
    }
}

@media (max-width: 380px) {
    #about .relative.w-full.h-\[400px\] {
        height: min(48vh, 300px);
    }
}

/* ——— Amenities slider ——— */
@media (max-width: 767px) {
    #amenity-slider-track {
        height: min(52vh, 380px) !important;
    }

    .fw-amenity-slider__nav {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .fw-amenity-slider__nav--prev {
        left: max(0.75rem, env(safe-area-inset-left, 0px) + 0.5rem);
    }

    .fw-amenity-slider__nav--next {
        right: max(0.75rem, env(safe-area-inset-right, 0px) + 0.5rem);
    }

    .fw-amenity-slider__counter {
        bottom: max(1rem, env(safe-area-inset-bottom, 0px) + 0.5rem);
        right: max(0.75rem, env(safe-area-inset-right, 0px) + 0.5rem);
        font-size: 0.65rem;
    }

    .fw-amenity-slider__dots {
        bottom: max(1rem, env(safe-area-inset-bottom, 0px) + 0.5rem);
        left: max(0.75rem, env(safe-area-inset-left, 0px) + 0.5rem);
        right: 5.5rem;
    }

    #amenity-grid {
        gap: 0.75rem;
    }

    #amenities .amenity-grid-card {
        padding: 0.85rem 0.65rem;
    }

    #amenities .amenity-chip {
        width: 2.75rem;
        height: 2.75rem;
    }

    .amenity-grid-card__icon {
        width: 1.35rem;
        height: 1.35rem;
    }

    #amenities .amenity-name {
        font-size: 0.68rem;
    }

    .fw-amenity-feature {
        padding: 0.85rem 0.95rem;
    }
}

@media (max-width: 380px) {
    #amenity-slider-track {
        height: min(46vh, 300px) !important;
    }
}

/* â€”â€”â€” Specifications carousel â€”â€”â€” */
@media (max-width: 767px) {
    #spec-slider {
        display: grid !important;
        grid-auto-flow: column;
        grid-auto-columns: 85%;
        grid-template-rows: 1fr;
        overflow-x: auto !important;
        overflow-y: hidden;
        scroll-padding-inline: 1rem;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding-bottom: 0.25rem;
        padding-right: max(1rem, env(safe-area-inset-right, 0px) + 0.5rem);
    }

    #spec-slider .snap-start {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        scroll-snap-align: start;
    }

    #spec-slider .spec-card {
        width: 100%;
        max-width: 100%;
    }

    #spec-slider .spec-card__body {
        min-height: 16rem;
        padding: 1.5rem;
    }

    .fw-spec-head h2 {
        text-align: left;
    }

    .fw-spec-progress {
        padding-right: max(1rem, env(safe-area-inset-right, 0px) + 0.5rem);
    }
}

/* â€”â€”â€” Unit Plans (Architecture) â€”â€”â€” */
@media (max-width: 1023px) {
    #layout .max-w-7xl {
        padding-left: max(1rem, env(safe-area-inset-left, 0px) + 0.5rem);
        padding-right: max(1rem, env(safe-area-inset-right, 0px) + 0.5rem);
    }

    #layout .layout-content {
        position: relative;
        inset: auto;
    }

    #layout .layout-plans-shell {
        min-height: 0;
    }

    #layout .layout-plans-grid {
        width: 100%;
    }

    #layout .layout-info-panel {
        min-height: min(220px, 38vh) !important;
        height: auto !important;
        padding: 1.35rem 1.15rem !important;
    }

    #layout .layout-info-panel__title {
        max-width: 100%;
    }

    #layout .layout-info-panel__desc {
        max-width: 100%;
    }

    #layout .layout-features-col {
        width: 100%;
        padding: 0.25rem 0.15rem 0.5rem !important;
    }
}

@media (max-width: 767px) {
    #layout .layout-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        max-width: 100%;
        padding-bottom: 0.35rem;
        margin-left: -0.15rem;
        margin-right: -0.15rem;
        padding-left: 0.15rem;
        padding-right: 0.15rem;
        scrollbar-width: none;
    }

    #layout .layout-tabs::-webkit-scrollbar {
        display: none;
    }

    #layout .layout-tab-btn {
        flex-shrink: 0;
        scroll-snap-align: start;
        min-height: 44px;
        padding: 0.65rem 1rem;
        font-size: 0.65rem;
        letter-spacing: 0.08em;
    }

    #layout .layout-plans-shell {
        padding: 1rem !important;
        border-radius: 1.25rem;
    }

    #layout .layout-plans-grid {
        gap: 1rem;
    }

    #layout .layout-info-panel {
        min-height: min(200px, 36vh) !important;
        padding: 1.15rem 1rem !important;
    }

    #layout .layout-info-panel__title {
        font-size: clamp(1.45rem, 6vw, 1.75rem);
    }

    #layout .layout-info-panel__desc {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    #layout .layout-features-col {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #layout .layout-features-col__title,
    #layout .layout-features-col__desc {
        text-align: center;
        width: 100%;
        max-width: 22rem;
    }

    #layout .layout-features-list {
        width: 100%;
        max-width: 20rem;
        text-align: left;
    }

    #layout .layout-features-list__item {
        justify-content: flex-start;
    }
}

@media (max-width: 380px) {
    #layout .layout-tab-btn {
        font-size: 0.6rem;
        padding: 0.6rem 0.85rem;
    }

    #layout .layout-info-panel {
        min-height: 180px !important;
    }

    #layout .layout-info-panel__title {
        font-size: 1.35rem;
    }
}

/* ——— Gallery marquees ——— */
@media (max-width: 767px) {
    .gallery-sliders-bleed {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .fw-gallery-stats {
        gap: 0.65rem;
    }

    .fw-gallery-stat {
        padding: 0.85rem 0.9rem;
    }

    .fw-gallery-stat__value {
        font-size: 1rem;
    }

    .gallery-marquee-slide {
        width: clamp(260px, 78vw, 340px);
        height: clamp(170px, 42vw, 220px);
    }
}

/* ——— Location map ——— */
@media (max-width: 767px) {
    #location .fw-location-map,
    #location .h-\[400px\].md\:h-\[500px\] {
        height: min(56vh, 320px) !important;
    }

    .fw-location-perks {
        gap: 0.55rem;
    }

    .fw-location-perk {
        padding: 0.65rem 0.85rem;
        font-size: 0.9rem;
    }

    .fw-location-hero {
        gap: 1.5rem;
    }

    .fw-location-title {
        font-size: clamp(1.75rem, 7vw, 2.35rem) !important;
    }

    .fw-location-lead__card {
        padding: 1.25rem 1.1rem;
    }

    .fw-location-nearby__chip {
        padding: 0.85rem 0.5rem;
        font-size: 0.75rem;
    }

    .fw-location-map__link,
    #location a.absolute.bottom-4 {
        bottom: max(0.75rem, env(safe-area-inset-bottom, 0px) + 0.5rem);
        right: max(0.75rem, env(safe-area-inset-right, 0px) + 0.5rem);
        left: auto;
        max-width: calc(100% - 1.5rem);
        font-size: 0.62rem;
        padding: 0.55rem 0.85rem;
    }
}

/* â€”â€”â€” Contact â€”â€”â€” */
@media (max-width: 1023px) {
    .fw-shree .contact-form-card {
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .fw-shree .contact-layout {
        gap: 2.5rem;
    }

    .fw-shree .contact-intro h2,
    .fw-shree .fw-contact-title {
        font-size: clamp(1.75rem, 7vw, 2.35rem) !important;
    }

    .fw-contact-detail__icon {
        width: 3rem;
        height: 3rem;
    }

    .fw-shree .contact-form-card {
        padding: 1.5rem 1.25rem;
    }

    #contact input,
    #contact textarea,
    #contact select {
        font-size: 16px !important;
    }
}

/* â€”â€”â€” Modals â€”â€”â€” */
@media (max-width: 767px) {
    #contact-modal,
    #download-modal {
        padding: max(0.75rem, env(safe-area-inset-top, 0px) + 0.5rem)
            max(0.75rem, env(safe-area-inset-right, 0px) + 0.5rem)
            max(0.75rem, env(safe-area-inset-bottom, 0px) + 0.5rem)
            max(0.75rem, env(safe-area-inset-left, 0px) + 0.5rem);
        align-items: center;
    }

    #modal-panel,
    #download-modal-content {
        width: 100%;
        max-width: 100%;
        max-height: min(90dvh, 90svh);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        margin: auto 0;
        padding: 1.5rem 1.25rem;
    }

    #modal-panel #modal-title,
    #download-modal-content h4 {
        font-size: 1.65rem;
        padding-right: 2rem;
    }

    #modal-panel button[type="submit"],
    #download-modal-content button[type="submit"] {
        min-height: 48px;
    }

    #spec-blog-modal {
        padding: max(0.5rem, env(safe-area-inset-top, 0px))
            max(0.5rem, env(safe-area-inset-right, 0px))
            max(0.5rem, env(safe-area-inset-bottom, 0px))
            max(0.5rem, env(safe-area-inset-left, 0px));
        align-items: stretch;
    }

    #spec-blog-panel {
        max-height: min(92dvh, 92svh);
        height: auto;
        border-radius: 1rem;
        margin-top: auto;
        margin-bottom: auto;
    }
}

/* ——— Brochure / flipbook ——— */
@media (max-width: 767px) {
    #brochure .flipbook-container,
    #brochure .df-container {
        max-width: 100%;
        min-height: 0;
    }

    .fw-brochure-highlights {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        padding-bottom: 0.35rem;
        margin-left: -0.15rem;
        margin-right: -0.15rem;
        padding-left: 0.15rem;
        padding-right: max(0.15rem, env(safe-area-inset-right, 0px));
        scrollbar-width: none;
    }

    .fw-brochure-highlights::-webkit-scrollbar {
        display: none;
    }

    .fw-brochure-pill {
        flex-shrink: 0;
    }

    #brochure .fw-brochure-viewer ._df_book {
        min-height: min(58vh, 420px);
        height: min(58vh, 420px);
    }
}

/* ——— Footer ——— */
@media (max-width: 1023px) {
    #footer {
        padding-left: max(1rem, env(safe-area-inset-left, 0px) + 0.5rem);
        padding-right: max(1rem, env(safe-area-inset-right, 0px) + 0.5rem);
        padding-top: 2rem;
        padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px) + 0.75rem);
    }

    #footer .footer-top-bar {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 0.65rem;
        padding-bottom: 0.75rem;
        border-bottom: none;
    }

    #footer .footer-nav-top {
        display: none;
    }

    #footer .footer-nav-bottom {
        margin: 0;
        padding: 0.45rem 0 0.08rem;
        text-align: left;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    #footer .footer-bottom-zone {
        margin-top: auto;
        padding-top: 0;
        border-top: none;
    }

    #footer .footer-disclaimer {
        font-size: 0.62rem;
        line-height: 1.55;
        text-align: left;
        margin-top: 0;
        padding-top: 0.65rem;
        padding-bottom: 0.35rem;
    }

    #footer .footer-copyright {
        margin-top: 0.65rem;
        padding-top: 0.85rem;
    }

    #footer .footer-nav-bottom .footer-nav-mobile-links {
        align-items: flex-start;
    }

    #footer .footer-nav-bottom .footer-nav-inline {
        text-align: left;
    }

    #footer .footer-nav-inline .footer-link {
        min-height: 0;
        padding: 0;
    }

    #footer #footer-back-to-top {
        min-height: 44px;
        min-width: 44px;
        gap: 0.35rem;
        padding: 0 0.15rem;
    }

    #footer .footer-back-to-top__label {
        display: inline;
    }

    @media (min-width: 640px) {
        #footer .footer-back-to-top__label {
            display: none;
        }
    }

    #footer .footer-main {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        padding-top: 0.5rem;
        padding-bottom: 0;
    }

    #footer .footer-info-col {
        order: 1;
        max-width: 100%;
    }

    #footer .footer-brand-col {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    #footer .footer-info-stack {
        gap: 2rem;
        text-align: left;
    }

    #footer .footer-article__label {
        margin-bottom: 0.75rem;
        font-size: 0.68rem;
    }

    #footer .footer-article__text {
        font-size: 1rem;
        line-height: 1.6;
        max-width: 100%;
        margin-bottom: 1rem;
        text-align: left;
        hyphens: auto;
        -webkit-hyphens: auto;
        overflow-wrap: break-word;
    }

    #footer .footer-article__cta {
        min-height: 44px;
        align-items: center;
        flex-wrap: wrap;
        font-size: 0.72rem;
    }

    #footer .footer-social-row {
        align-items: center;
    }

    #footer .footer-social-icon-btn {
        min-width: 44px;
        min-height: 44px;
    }

    #footer .footer-contact-list {
        gap: 0.65rem;
    }

    #footer .footer-contact-item a {
        min-height: 44px;
        align-items: center;
        width: 100%;
        font-size: 1rem;
        gap: 0.7rem;
    }

    #footer .footer-contact-item:first-child a {
        align-items: flex-start;
        min-height: 0;
        padding: 0.35rem 0;
    }

    #footer .footer-contact-item__line {
        overflow-wrap: anywhere;
    }

    #footer .footer-wordmark {
        width: 100%;
        max-width: 100%;
    }

    #footer .footer-disclaimer {
        font-size: 0.62rem;
        line-height: 1.55;
        text-align: left;
        margin-top: 0;
        padding-top: 0.65rem;
        padding-bottom: 0.35rem;
    }

    #footer .footer-copyright {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
        text-align: left;
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }

    #footer .footer-copyright__tagline,
    #footer .footer-copyright__copy {
        display: block;
        width: 100%;
        margin: 0;
        white-space: normal;
        overflow: visible;
        line-height: 1.45;
        text-wrap: balance;
    }

    #footer .footer-copyright__tagline {
        order: 1;
        font-size: 0.6rem;
    }

    #footer .footer-copyright__copy {
        order: 2;
        font-size: 0.58rem;
        color: rgba(255, 255, 255, 0.65);
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    #footer {
        padding-left: max(1.25rem, env(safe-area-inset-left, 0px) + 0.65rem);
        padding-right: max(1.25rem, env(safe-area-inset-right, 0px) + 0.65rem);
        padding-top: 2.5rem;
    }

    #footer .footer-nav-scroll {
        font-size: 0.76rem;
        letter-spacing: 0.15em;
    }

    #footer .footer-nav-scroll ul {
        gap: 1rem 1.35rem;
    }

    #footer .footer-main {
        gap: 2.5rem;
        padding-top: 1rem;
    }

    #footer .footer-info-stack {
        gap: 2.25rem;
    }
}

@media (max-width: 767px) {
    #footer .footer-disclaimer {
        font-size: 0.6rem;
        line-height: 1.5;
    }
}

@media (max-width: 380px) {
    #footer .footer-top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    #footer .footer-nav-scroll {
        mask-image: none;
        -webkit-mask-image: none;
    }

    #footer .footer-top-bar__actions {
        display: flex;
        justify-content: flex-end;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 0.35rem;
    }

    #footer .fw-brand-wordmark--footer {
        font-size: clamp(1.35rem, 4vw, 1.85rem);
    }
}

@media (min-width: 1024px) {
    #footer .footer-back-to-top__label {
        display: none;
    }
}

/* â€”â€”â€” iOS zoom fix (modals) â€”â€”â€” */
@media (max-width: 767px) {
    #contact-modal input,
    #contact-modal textarea,
    #download-modal input,
    #download-modal textarea {
        font-size: 16px !important;
    }
}

/* â€”â€”â€” Reduced horizontal bleed on very small screens â€”â€”â€” */
@media (max-width: 359px) {
    .hero-chips__list {
        font-size: 0.48rem;
    }
}

/* â€”â€”â€” Thank-you page â€”â€”â€” */
@media (max-width: 767px) {
    body.fw-shree main#content {
        padding-top: max(6rem, env(safe-area-inset-top, 0px) + 5.25rem);
        padding-left: max(1rem, env(safe-area-inset-left, 0px) + 0.75rem);
        padding-right: max(1rem, env(safe-area-inset-right, 0px) + 0.75rem);
    }

    body.fw-shree main#content h1 {
        font-size: clamp(1.75rem, 8vw, 2.5rem);
    }

    body.fw-shree main#content a.rounded-full {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* ——— GSAP / motion (mobile) ——— */
@media (max-width: 767px) {
    body.fw-shree {
        overflow-x: clip;
    }

    #hero,
    #hero #hero-parallax-root {
        overflow-x: hidden;
    }

    #spec-slider {
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
    }

    #amenity-slider {
        touch-action: pan-y pinch-zoom;
    }
}

@media (prefers-reduced-motion: reduce) {
    #hero .hero-scroll-hint__icon {
        animation: none !important;
    }
}

