/**
 * Pin for Life — green theme + Shree Buildcon layout (self-contained)
 */
:root {
    --pfl-ink: #0e2404;
    --pfl-green: #1b5300;
    --pfl-forest: #0f2414;
    --pfl-accent: #e4d4a8;
    --pfl-cream: #fffae7;
    --pfl-base: #fffaf7;
    --pfl-surface: #f6f1de;
    --pfl-beige: #f5f5dc;
    --pfl-muted: #1a1a1a;
    --pfl-label: #8ca673;
    --pfl-border: #e8e4d4;
    --pfl-error: #ff003d;

    --header-top: 32px;
    --header-height: calc(var(--header-top) + var(--header-top) + 1em);
    --max: max(0px, calc((100vw - 2426px) / 2));
    --side-gap: clamp(16px, max(2.7vw, var(--max)), max(64px, var(--max)));
    --gutter: 40px;
    --burger-w: clamp(40px, 2.7vw, 64px);
    /* Aliases used across components */
    --c-black: var(--pfl-ink);
    --c-primary: var(--pfl-green);
    --c-accent: var(--pfl-accent);
    --c-ciel: var(--pfl-beige);
    --c-light-ciel: var(--pfl-cream);
    --c-extra-light-ciel: var(--pfl-base);
    --c-brown: var(--pfl-muted);
    --c-gblue: var(--pfl-label);
    --c-border: var(--pfl-border);
    --font: "Inter", system-ui, sans-serif;
    --font-wide: "Montserrat", system-ui, sans-serif;
}

/* ——— Site base (scoped) ——— */
.pfl-shree {
    font-family: var(--font);
    background-color: var(--c-extra-light-ciel);
    color: var(--c-black);
}

.pfl-shree .page-curtain {
    background-color: var(--c-extra-light-ciel);
}

.pfl-shree .font-serif,
.pfl-shree .nav-brand-text__main,
.pfl-shree .pin-for-life-hero-title,
.pfl-shree h1,
.pfl-shree h2,
.pfl-shree h3 {
    font-family: var(--font-wide);
}

.pfl-shree .selection\:bg-brand-primary::selection,
.pfl-shree ::selection {
    background-color: var(--c-accent);
    color: var(--c-black);
}

/* Tailwind brand token overrides */
.pfl-shree .bg-brand-primary { background-color: var(--c-black) !important; }
.pfl-shree .bg-brand-primaryDeep,
.pfl-shree .bg-brand-primaryDark,
.pfl-shree .bg-brand-forest,
.pfl-shree .hover\:bg-brand-primaryDeep:hover,
.pfl-shree .hover\:bg-brand-primary:hover { background-color: var(--c-black) !important; }
.pfl-shree .text-brand-primary,
.pfl-shree .hover\:text-brand-primary:hover { color: var(--c-black) !important; }
.pfl-shree .text-brand-primaryDeep,
.pfl-shree .hover\:text-brand-primaryDeep:hover { color: var(--c-brown) !important; }

/* Form submit buttons — keep label visible on hover/disabled (theme overrides) */
.pfl-shree .inq-submit-btn,
.pfl-shree .contact-form button[type="submit"],
.pfl-shree #modal-panel button[type="submit"],
.pfl-shree #download-form button[type="submit"] {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}
.pfl-shree .inq-submit-btn:hover:not(:disabled),
.pfl-shree .contact-form button[type="submit"]:hover:not(:disabled),
.pfl-shree #modal-panel button[type="submit"]:hover:not(:disabled),
.pfl-shree #download-form button[type="submit"]:hover:not(:disabled) {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}
.pfl-shree .inq-submit-btn:disabled,
.pfl-shree .contact-form button[type="submit"]:disabled,
.pfl-shree #modal-panel button[type="submit"]:disabled,
.pfl-shree #download-form button[type="submit"]:disabled {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff;
}
.pfl-shree .bg-brand-accent,
.pfl-shree .text-brand-accent { color: var(--c-gblue); }
.pfl-shree .bg-brand-accent { background-color: var(--c-accent) !important; }
.pfl-shree .text-brand-accent { color: var(--c-gblue) !important; }
.pfl-shree .border-brand-primary { border-color: var(--c-black) !important; }
.pfl-shree .border-brand-accent { border-color: var(--c-accent) !important; }
.pfl-shree .bg-brand-creamBg,
.pfl-shree .bg-white { background-color: #fff; }
.pfl-shree .bg-brand-cream,
.pfl-shree .bg-brand-greyLight { background-color: var(--c-light-ciel) !important; }
.pfl-shree .bg-brand-charcoal,
.pfl-shree #footer { background-color: var(--c-black) !important; }
.pfl-shree .text-brand-charcoal { color: var(--c-black) !important; }
.pfl-shree .text-brand-cream,
.pfl-shree .text-brand-beige { color: var(--c-light-ciel) !important; }
.pfl-shree .border-brand-greyBorder { border-color: var(--c-border) !important; }
.pfl-shree .ring-brand-accent,
.pfl-shree .focus\:ring-brand-accent\/35:focus { --tw-ring-color: rgba(228, 212, 168, 0.45); }
.pfl-shree .focus\:border-brand-accent:focus { border-color: var(--c-accent) !important; }

/* ——— Header (Shree Buildcon) ——— */
.pfl-header-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: #fff;
    z-index: 120;
    transform-origin: top left;
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transition:
        box-shadow 0.4s ease,
        background 0.4s ease,
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.nav-scrolled .pfl-header-bg,
#navbar.pfl-header--hero .pfl-header-bg {
    box-shadow: 0 4px 24px rgba(14, 36, 4, 0.08);
}

#navbar.pfl-header--hero .pfl-header-bg {
    background: transparent;
    box-shadow: none;
}

.pfl-logo {
    position: fixed;
    top: var(--header-top);
    left: var(--side-gap);
    z-index: 480;
    max-width: min(240px, 58vw);
    text-decoration: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.pfl-logo__brand {
    display: block;
    font-family: var(--font-wide);
    font-size: clamp(0.78rem, 3vw, 1rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pfl-ink);
    white-space: nowrap;
    transition: color 0.35s ease;
}

/* Hero chrome — dark ink default; Pin for Life cinematic hero overrides below */
#navbar.pfl-header--hero .pfl-logo__brand {
    color: var(--pfl-ink);
    text-shadow: 0 1px 12px rgba(255, 250, 247, 0.85);
}

.pfl-shree #navbar.pfl-header--hero .pfl-logo__brand {
    color: #fffae7;
    text-shadow: 0 2px 18px rgba(14, 36, 4, 0.45);
}

#navbar.nav-scrolled .pfl-logo__brand {
    color: var(--pfl-ink);
}

.pfl-burger {
    position: fixed;
    /* halo ::before in pfl-shree inline theme */
    top: var(--header-top);
    right: var(--side-gap);
    z-index: 710;
    width: var(--burger-w);
    height: var(--burger-w);
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--pfl-ink);
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transform: none;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.35s ease;
}

#navbar.pfl-header--hero .pfl-burger,
#navbar.nav-scrolled .pfl-burger {
    color: var(--pfl-ink);
}

.pfl-shree #navbar.pfl-header--hero .pfl-burger {
    color: #fffae7;
}

body.pfl-menu-open .pfl-burger {
    color: var(--pfl-ink);
}

body.pfl-menu-open.pfl-shree .pfl-burger,
body.pfl-menu-open .pfl-shree #navbar.pfl-header--hero .pfl-burger {
    color: #fffae7;
}

.pfl-burger__line {
    position: absolute;
    left: 11px;
    right: 11px;
    width: auto;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transform-origin: center center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pfl-burger__line--top {
    top: calc(50% - 6px);
}

.pfl-burger__line--bottom {
    top: calc(50% + 6px);
}

.pfl-burger.is-open .pfl-burger__line--top {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.pfl-burger.is-open .pfl-burger__line--bottom {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.pfl-header-right {
    position: fixed;
    top: var(--header-top);
    right: calc(var(--side-gap) + var(--burger-w) + 0.65rem);
    z-index: 480;
    display: flex;
    align-items: center;
    min-height: var(--burger-w);
    gap: 1rem;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    font-family: var(--font-wide);
    font-size: clamp(0.7rem, 1.2vw, 0.875rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.pfl-header-enquire {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    font-family: var(--font-wide);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: var(--c-black);
    border: 1px solid var(--c-black);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

#navbar.pfl-header--hero .pfl-header-enquire {
    background: #fff;
    color: var(--c-black);
    border-color: rgba(255, 255, 255, 0.35);
}

.pfl-header-enquire:hover {
    transform: translateY(-2px);
    background: var(--c-primary);
    border-color: var(--c-primary);
}

.pfl-header-link {
    color: var(--c-black);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.3s ease;
}

#navbar.pfl-header--hero .pfl-header-link {
    color: var(--pfl-ink);
}

.pfl-shree #navbar.pfl-header--hero .pfl-header-link {
    color: #fffae7;
}

.pfl-shree #navbar.pfl-header--hero .pfl-header-link:hover {
    color: var(--pfl-accent);
}

.pfl-header-link:hover {
    color: var(--c-gblue);
}

.pfl-header-link__dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: currentColor;
}

@media (max-width: 767px) {
    .pfl-header-link--corp {
        display: none;
    }
}

/* ——— Full-screen burger menu ——— */
.pfl-menu-bg {
    position: fixed;
    inset: 0;
    z-index: 475;
    background: var(--pfl-surface);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.pfl-menu-bg.is-open {
    opacity: 1;
    visibility: visible;
}

.pfl-menu {
    position: fixed;
    inset: 0;
    z-index: 480;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--header-height) var(--side-gap) 2.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.pfl-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.pfl-menu__nav {
    font-family: var(--font-wide);
    font-size: clamp(2.5rem, 10vw, 5rem);
    line-height: 1.05;
    text-transform: uppercase;
    list-style: none;
    margin: 0 0 3rem;
    padding: 0;
}

.pfl-menu__nav li {
    margin-bottom: 0.2em;
}

.pfl-menu__nav a {
    color: var(--c-black);
    text-decoration: none;
    transition: color 0.25s ease;
}

.pfl-menu__nav a:hover {
    color: #fff;
}

.pfl-menu__aside {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 36rem;
}

@media (min-width: 768px) {
    .pfl-menu {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: var(--gutter);
    }
    .pfl-menu__nav {
        flex: 1 1 50%;
        margin-bottom: 4rem;
    }
    .pfl-menu__aside {
        flex: 1 1 280px;
    }
}

.pfl-menu__label {
    font-family: var(--font-wide);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-gblue);
    margin-bottom: 0.75rem;
}

.pfl-menu__text {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.35;
    margin-bottom: 1rem;
    max-width: 17em;
}

.pfl-arrow-link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    font-family: var(--font-wide);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-black);
    text-decoration: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
}

.pfl-arrow-link:hover {
    color: var(--c-brown);
}

.pfl-arrow-link svg {
    width: 0.85rem;
    transition: transform 0.3s ease;
}

.pfl-arrow-link:hover svg {
    transform: translateX(4px);
}

.pfl-menu__social a {
    display: block;
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--c-black);
    text-decoration: none;
    margin-bottom: 0.35rem;
}

.pfl-menu__social a:hover {
    text-decoration: underline;
}

.pfl-menu__copy {
    width: 100%;
    margin-top: auto;
    padding-top: 2rem;
    font-family: var(--font-wide);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-brown);
}

body.pfl-menu-open {
    overflow: hidden;
}

#navbar.pfl-header--menu-open.navbar-scroll-hidden .pfl-header-bg,
#navbar.pfl-header--menu-open.navbar-scroll-hidden .pfl-logo,
#navbar.pfl-header--menu-open.navbar-scroll-hidden .pfl-burger,
#navbar.pfl-header--menu-open.navbar-scroll-hidden .pfl-header-right {
    transform: none;
}

#navbar.navbar-scroll-hidden:not(.pfl-header--menu-open) .pfl-header-bg,
#navbar.navbar-scroll-hidden:not(.pfl-header--menu-open) .pfl-logo,
#navbar.navbar-scroll-hidden:not(.pfl-header--menu-open) .pfl-burger,
#navbar.navbar-scroll-hidden:not(.pfl-header--menu-open) .pfl-header-right {
    transform: translateY(calc(-1 * var(--header-height) - 24px));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        transform 0.38s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.28s ease,
        visibility 0.38s ease;
}

#navbar.pfl-header--menu-open .pfl-burger {
    z-index: 710;
}

/* Hide legacy nav chrome */
.pfl-shree #navbar > .relative.w-full {
    display: none !important;
}

/* ——— Hero: plain solid background only ——— */
.pfl-shree .section_hero_video {
    background: var(--c-extra-light-ciel);
    min-height: 100svh;
    min-height: 100dvh;
}

.pfl-shree .section_hero_video::before {
    display: none;
}

.pfl-shree .hero-text-bg,
.pfl-shree .hero-text-bg__word {
    display: none !important;
}

.pfl-shree .hero-chips__list {
    font-family: var(--font-wide);
    color: var(--c-gblue);
}

.pfl-shree .hero-chip {
    color: var(--pfl-ink);
}

.pfl-shree .pin-for-life-hero-title,
.pfl-shree .section_hero_video .hero_heading-wrap--pin-for-life .pin-for-life-hero-title.heading-h1 {
    color: var(--c-black);
    font-family: var(--font-wide);
    text-transform: uppercase;
    letter-spacing: -0.03em;
}

.pfl-shree .hero-title-accent {
    background: linear-gradient(90deg, var(--c-black) 0%, var(--c-accent) 100%);
}

.pfl-shree .pin-for-life-hero-tagline,
.pfl-shree .section_hero_video [data-hero-desc],
.pfl-shree .section_hero_video .hero_heading-wrap--pin-for-life > p {
    color: var(--c-brown);
    font-family: var(--font);
}

.pfl-shree .hero-cta-mobile {
    background: var(--c-black);
    color: #fff;
    border-color: var(--c-black);
    font-family: var(--font-wide);
}

.pfl-shree .hero-cta-mobile:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
}

.pfl-shree .hero-scroll-hint {
    color: var(--c-gblue);
    font-family: var(--font-wide);
}

/* Section rhythm */
.pfl-shree .grid-p-section {
    padding-left: var(--side-gap);
    padding-right: var(--side-gap);
}

.pfl-shree #about {
    background: #fff;
}

.pfl-shree #amenities {
    background: var(--c-black);
}

.pfl-shree #gallery {
    background: var(--c-black);
}

/* Section headings — corporate uppercase */
.pfl-shree .font-serif.text-4xl,
.pfl-shree .font-serif.text-5xl,
.pfl-shree h2.font-serif {
    font-family: var(--font-wide) !important;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pfl-shree .text-brand-primary.font-semibold.tracking-\[0\.2em\] {
    font-family: var(--font-wide);
    color: var(--pfl-green) !important;
}

/* CTA strip before footer */
.pfl-shree .pin-for-life-amenity-card {
    background: linear-gradient(180deg, #fff 0%, var(--c-light-ciel) 100%);
    border-color: var(--c-border);
}

.pfl-shree .pin-for-life-amenity-card:hover {
    border-color: var(--c-accent);
}

.pfl-shree .modal-backdrop-pin-for-life {
    background: rgba(14, 36, 4, 0.72);
}

.pfl-shree .pin-for-life-modal-forest {
    background-color: var(--c-black);
}

/* ——— Global Tailwind utility grading ——— */
.pfl-shree .bg-brand-cream\/40,
.pfl-shree .border-brand-cream\/40,
.pfl-shree .border-brand-cream\/70 {
    border-color: rgba(214, 214, 215, 0.7) !important;
}

.pfl-shree .bg-brand-cream\/40 {
    background-color: rgba(255, 250, 231, 0.7) !important;
}

.pfl-shree .text-brand-charcoal\/80,
.pfl-shree .text-brand-charcoal\/70,
.pfl-shree .text-brand-charcoal\/60 {
    color: var(--c-brown) !important;
}

.pfl-shree .hover\:text-brand-accent:hover,
.pfl-shree .text-brand-accent {
    color: var(--c-accent) !important;
}

.pfl-shree .text-brand-beige,
.pfl-shree .text-brand-beige\/90,
.pfl-shree .text-brand-beige\/80,
.pfl-shree .text-brand-beige\/70,
.pfl-shree .text-brand-beige\/60,
.pfl-shree .text-brand-beige\/95 {
    color: var(--c-light-ciel) !important;
}

.pfl-shree .bg-brand-primary\/10 {
    background-color: rgba(27, 83, 0, 0.1) !important;
}

.pfl-shree .ring-brand-primary,
.pfl-shree .focus\:ring-brand-primary:focus {
    --tw-ring-color: rgba(14, 36, 4, 0.25) !important;
}

.pfl-shree .focus\:border-brand-primary:focus,
.pfl-shree .focus\:border-transparent:focus {
    border-color: var(--c-accent) !important;
}

.pfl-shree section.bg-white {
    background-color: #fff !important;
}

.pfl-shree #specifications,
.pfl-shree #layout,
.pfl-shree #brochure,
.pfl-shree #contact {
    background-color: var(--c-extra-light-ciel);
}

/* Floating actions (main site) */
.btn-whatsapp-pulse {
    background: #25d366;
    color: #fff;
    position: fixed;
    bottom: 30px;
    right: 24px;
    font-size: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 0;
    height: 0;
    padding: 25px;
    text-decoration: none;
    border-radius: 50%;
    animation: pfl-pulse 1.5s ease-out infinite;
    z-index: 99999;
}

.btn-call {
    background: #f00;
    border: 2px solid #f00;
    border-radius: 50%;
    box-shadow: 0 8px 10px rgba(255, 0, 0, 0.35);
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 24px;
    bottom: 110px;
    z-index: 99999;
    text-decoration: none;
    animation: pfl-hover-wave 1s linear infinite;
}

.btn-call i {
    color: #fff;
    font-size: 24px;
}

@keyframes pfl-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    80% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
}

@keyframes pfl-hover-wave {
    0% { box-shadow: 0 8px 10px rgba(255, 0, 0, 0.3), 0 0 0 0 rgba(255, 0, 0, 0.2); }
    40% { box-shadow: 0 8px 10px rgba(255, 0, 0, 0.3), 0 0 0 15px rgba(255, 0, 0, 0.15); }
    80% { box-shadow: 0 8px 10px rgba(255, 0, 0, 0.3), 0 0 0 26px rgba(255, 0, 0, 0); }
}

@media (max-width: 767px) {
    .btn-call {
        height: 40px;
        width: 40px;
        bottom: 94px;
    }
    .btn-call i { font-size: 16px; }
    .btn-whatsapp-pulse {
        font-size: 26px;
        bottom: 37px;
        padding: 20px;
    }
}
