/* =========================================================
   PAX & PEARL — GLOBAL LAYOUT SYSTEM
========================================================= */
/* =========================================
   PREMIUM HEADER
========================================= */

.top-bar {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 82px;

    padding: 16px 0;

    margin-bottom: 8px;
}


/* -----------------------------------------
   GREETING
----------------------------------------- */

.greeting {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
}

.greeting-eyebrow {
    margin-bottom: 5px;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 600;

    letter-spacing: 2.2px;
    text-transform: uppercase;

    color: #a38a68;

    opacity: 0.9;
}

#greeting {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px;

    margin: 0;

    font-family: "DM Sans", sans-serif;
    font-size: 20px;
    line-height: 1.25;

    font-weight: 500;

    color: #29251f;
}

#user-name {
    font-weight: 600;
    color: #29251f;
}

#time-greeting {
    font-size: 20px;
    font-weight: 400;
    color: #777168;
}

.greeting-divider {
    font-size: 12px;
    color: #b8955a;
    opacity: 0.7;
}


/* -----------------------------------------
   RIGHT SIDE
----------------------------------------- */

.top-bar-right {
    display: flex;
    align-items: center;

    gap: 12px;
}


/* -----------------------------------------
   LOGO
----------------------------------------- */

.brand-logo {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 6px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.78);

    border: 1px solid rgba(184, 149, 90, 0.18);

    box-shadow:
        0 4px 16px rgba(61, 49, 35, 0.07),
        inset 0 0 0 1px rgba(255,255,255,0.5);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.brand-logo:hover {
    transform: translateY(-1px);

    box-shadow:
        0 7px 20px rgba(61, 49, 35, 0.10);
}

.brand-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* -----------------------------------------
   NOTIFICATION BUTTON
----------------------------------------- */

.notification-btn {
    position: relative;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(184, 149, 90, 0.16);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.82);

    color: #6f6251;

    cursor: pointer;

    box-shadow:
        0 4px 16px rgba(61, 49, 35, 0.06);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.notification-btn:hover {
    transform: translateY(-2px);

    background: #ffffff;

    box-shadow:
        0 7px 20px rgba(61, 49, 35, 0.10);
}

.notification-btn:active {
    transform: scale(0.94);
}

.notification-btn .material-icons-round {
    font-size: 22px;
    font-weight: 400;
}


/* -----------------------------------------
   NOTIFICATION INDICATOR
----------------------------------------- */

.notification-dot {
    position: absolute;

    top: 10px;
    right: 10px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #b8955a;

    border: 2px solid #fff;

    box-sizing: content-box;

    opacity: 0;

    transform: scale(0);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


/* Activate when notifications exist */
.notification-btn.has-notifications .notification-dot {
    opacity: 1;
    transform: scale(1);
}


/* -----------------------------------------
   HEADER FADE-IN
----------------------------------------- */

.top-bar {
    animation: headerEnter 0.65s ease both;
}

@keyframes headerEnter {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .top-bar {
        min-height: 72px;
        padding: 12px 0;
    }

    .greeting-eyebrow {
        font-size: 8px;
        letter-spacing: 1.8px;
        margin-bottom: 4px;
    }

    #greeting {
        font-size: 17px;
        gap: 5px;
    }

    #time-greeting {
        font-size: 17px;
    }

    .greeting-divider {
        font-size: 10px;
    }

    .top-bar-right {
        gap: 8px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
        padding: 5px;
    }

    .notification-btn {
        width: 42px;
        height: 42px;
    }

    .notification-btn .material-icons-round {
        font-size: 20px;
    }

    .notification-dot {
        top: 8px;
        right: 8px;
        width: 6px;
        height: 6px;
    }

}


/* =========================================
   VERY SMALL PHONES
========================================= */

@media (max-width: 380px) {

    .greeting-eyebrow {
        font-size: 7px;
        letter-spacing: 1.4px;
    }

    #greeting {
        font-size: 15px;
    }

    #time-greeting {
        font-size: 15px;
    }

    .brand-logo {
        width: 38px;
        height: 38px;
    }

    .notification-btn {
        width: 38px;
        height: 38px;
    }

}

/* =========================================================
   PAX & PEARL — LUXURY PRELOADER
========================================================= */

#preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(248, 245, 239, 1) 65%
        );

    opacity: 1;
    visibility: visible;
    pointer-events: all;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

/* Fade out */
#preloader.preloader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Main content */
.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    animation: preloaderEnter 0.9s ease forwards;
}

/* Logo */
.preloader-content img {
    width: 145px;
    max-width: 45vw;
    height: auto;

    display: block;
    object-fit: contain;

    margin-bottom: 24px;

    animation: logoPulse 2s ease-in-out infinite;
}

/* Brand name */
.preloader-brand {
    margin: 0 0 22px;

    font-family: "Montserrat", sans-serif;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 4px;
    text-transform: uppercase;

    color: #8b6f47;

    opacity: 0.85;
}

/* Loading ring */
.loader-ring {
    position: relative;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    border: 2px solid rgba(139, 111, 71, 0.14);

    border-top-color: #8b6f47;
    border-right-color: rgba(139, 111, 71, 0.55);

    animation: preloaderSpin 0.9s linear infinite;
}

/* Small center dot */
.loader-ring::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #b8955a;

    transform: translate(-50%, -50%);

    box-shadow:
        0 0 10px rgba(184, 149, 90, 0.45);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes preloaderSpin {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


@keyframes logoPulse {

    0%,
    100% {
        opacity: 0.75;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes preloaderEnter {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .preloader-content img {
        width: 115px;
        margin-bottom: 20px;
    }

    .preloader-brand {
        font-size: 9px;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }

    .loader-ring {
        width: 32px;
        height: 32px;
    }

}

/* =========================================================
   GLOBAL BOX MODEL
========================================================= */

html {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    overflow-x: hidden;
}


/* =========================================================
   UNIVERSAL PAGE SHELL
========================================================= */

.page-shell {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}


/* =========================================================
   UNIVERSAL CONTENT WIDTH
========================================================= */

.container,
.page-wrap {
    width: min(
        calc(100% - 32px),
        var(--content-width, 1180px)
    );

    max-width: var(--content-width, 1180px);

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   FULL-WIDTH SECTION
========================================================= */

.section,
.pp-section {
    width: 100%;
    position: relative;
}


/* =========================================================
   STANDARD SECTION SPACING
========================================================= */

.section {
    padding-top: var(--space-2xl, 48px);
    padding-bottom: var(--space-2xl, 48px);
}

.pp-section {
    padding-top: clamp(48px, 7vw, 88px);
    padding-bottom: clamp(48px, 7vw, 88px);
}


/* =========================================================
   SECTION CONTENT
   All section content must use the same page-wrap.
========================================================= */

.section > .page-wrap,
.section > .container,
.pp-section > .page-wrap,
.pp-section > .container {
    width: min(
        calc(100% - 32px),
        var(--content-width, 1180px)
    );

    max-width: var(--content-width, 1180px);

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   SOFT / BACKGROUND SECTIONS
========================================================= */

.section.soft-bg,
.section-soft,
.pp-section.soft {
    background: var(--bg-soft, #f8f5f3);
}

.pp-section.red-soft {
    background: rgba(156, 28, 28, 0.045);
}


/* =========================================================
   TOP HEADER
========================================================= */

.top-bar {
    width: 100%;

    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 12px 0 8px;
}


/* =========================================================
   HEADER RIGHT SIDE
========================================================= */

.top-bar-right {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


/* =========================================================
   GREETING
========================================================= */

.greeting {
    min-width: 0;
    max-width: 65%;

    flex: 1;
}

.greeting h2 {
    margin: 0;

    font-size: 18px;
    line-height: 1.15;

    overflow-wrap: break-word;
}

#user-name {
    display: block;

    font-size: 16px;
    font-weight: 600;
}

#time-greeting {
    display: block;

    margin-top: 4px;

    font-size: 10px;
    line-height: 1.3;

    color: var(--text-sub, #777);
}


/* =========================================================
   BRAND LOGO
========================================================= */

.brand-logo {
    flex-shrink: 0;
}

.brand-logo img {
    display: block;

    width: auto;
    height: 40px;
    max-width: 150px;

    object-fit: contain;
}


/* =========================================================
   SEARCH SECTION
========================================================= */

.search-section {
    width: 100%;

    padding: 8px 0 14px;
}

.search-section > .page-wrap {
    width: min(
        calc(100% - 32px),
        var(--content-width, 1180px)
    );

    max-width: var(--content-width, 1180px);

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   SEARCH BOX
========================================================= */

.search-box {
    width: 100%;

    min-width: 0;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 12px 14px;

    box-sizing: border-box;
}


/* =========================================================
   HERO — FULL BLEED
========================================================= */

.pp-hero {
    width: 100%;

    position: relative;

    display: flex;
    align-items: center;

    min-height: clamp(480px, 62vw, 680px);

    box-sizing: border-box;

    overflow: hidden;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.pp-hero-content {
    width: min(
        calc(100% - 32px),
        var(--content-width, 1180px)
    );

    max-width: var(--content-width, 1180px);

    margin-left: auto;
    margin-right: auto;

    padding-top: 80px;
    padding-bottom: 80px;

    position: relative;
    z-index: 2;
}


/* =========================================================
   TRUST STRIP
========================================================= */

.pp-trust-strip {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-bottom: 1px solid var(--border, #eee);
    border-top: 1px solid var(--border, #eee);
}


/* =========================================================
   TRUST ITEM
========================================================= */

.pp-trust-item {
    min-width: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 18px 12px;

    text-align: center;
}

.pp-trust-item + .pp-trust-item {
    border-left: 1px solid var(--border, #eee);
}


/* =========================================================
   CATEGORY AREA
========================================================= */

#explore-services {
    width: 100%;

    padding-top: 28px;
    padding-bottom: 24px;
}

#explore-services > .page-wrap {
    width: min(
        calc(100% - 32px),
        var(--content-width, 1180px)
    );

    max-width: var(--content-width, 1180px);

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   CATEGORY ROW
========================================================= */

.categories {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 14px;

    align-items: start;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.pp-section-heading {
    width: 100%;

    max-width: 760px;

    margin-bottom: 30px;
}

.pp-section-heading h2 {
    margin-top: 8px;
    margin-bottom: 10px;
}

.pp-section-heading p {
    margin: 0;

    max-width: 680px;
}


/* =========================================================
   SERVICE DISCOVERY
========================================================= */

.pp-service-discovery {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   POST SLIDER
========================================================= */

.post-slider {
    width: 100%;

    position: relative;

    padding: 10px 0 40px;

    overflow: hidden;
}

.post-slider > .page-wrap {
    position: relative;
}


/* =========================================================
   LOCATION COPY
========================================================= */

.pp-location-copy {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(280px, .75fr);

    gap: clamp(30px, 6vw, 80px);

    align-items: center;
}

.pp-location-copy-text {
    min-width: 0;
}

.pp-location-points {
    min-width: 0;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================================
   FEATURED MASSAGE
========================================================= */

.pp-featured-massage {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 0;

    overflow: hidden;
}


/* =========================================================
   FEATURED MASSAGE IMAGE
========================================================= */

.pp-featured-massage-image {
    min-height: 420px;

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* =========================================================
   FEATURED MASSAGE CONTENT
========================================================= */

.pp-featured-massage-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* =========================================================
   FEATURED META
========================================================= */

.pp-treatment-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 18px;
}


/* =========================================================
   SERVICE GRID
========================================================= */

.service-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   WHY GRID
========================================================= */

.pp-why-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   THERAPIST GRID
========================================================= */

.card-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   PACKAGES
========================================================= */

.pp-packages {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   REVIEWS HEADING
========================================================= */

.pp-reviews-heading {
    width: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 24px;

    margin-bottom: 24px;
}

.pp-google-summary {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 14px;
}


/* =========================================================
   GUIDES
========================================================= */

.pp-guides-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}


/* =========================================================
   FAQ
========================================================= */

.pp-faq {
    width: 100%;

    max-width: 900px;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   OFFICE INFORMATION
========================================================= */

.office-info {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(260px, .7fr);

    align-items: center;

    gap: 30px;

    padding: 40px max(16px, calc((100vw - var(--content-width, 1180px)) / 2));

    box-sizing: border-box;

    background: var(--card, #fff);

    border-top: 1px solid var(--border, #eee);
}


/* =========================================================
   OFFICE ADDRESS
========================================================= */

.office-address {
    min-width: 0;

    display: flex;
    align-items: flex-start;

    gap: 12px;
}

.office-address p {
    margin: 0;

    line-height: 1.7;
}


/* =========================================================
   VERTICAL DIVIDER
========================================================= */

.vertical-divider {
    width: 1px;
    height: 100px;

    background: var(--border, #ddd);
}


/* =========================================================
   GOOGLE RATING
========================================================= */

.google-rating {
    min-width: 0;
}


/* =========================================================
   FINAL CTA WRAPPER
========================================================= */

.page-wrap > .pp-final-cta {
    margin-top: 40px;
    margin-bottom: 40px;
}


/* =========================================================
   MODALS — PAGE LEVEL
========================================================= */

.modal-backdrop,
.install-modal,
.reviews-modal {
    position: fixed;

    inset: 0;

    z-index: 10000;
}


/* =========================================================
   MOBILE BOTTOM NAV
========================================================= */

.mobile-nav {
    position: fixed;

    left: 0;
    right: 0;
    bottom: 0;

    width: 100%;
    height: var(--mobile-nav-height, 64px);

    box-sizing: border-box;
}


/* =========================================================
   INSTALL BANNER
========================================================= */

.install-banner {
    display: none;

    position: fixed;

    left: 16px;
    right: 16px;
    bottom: 84px;

    box-sizing: border-box;

    z-index: 99999;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .pp-service-discovery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

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

    .pp-why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

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

    .pp-packages {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pp-guides-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pp-location-copy {
        grid-template-columns:
            1fr;
    }

    .pp-location-points {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .pp-featured-massage {
        grid-template-columns:
            1fr;
    }

    .pp-featured-massage-image {
        min-height: 360px;
    }

    .office-info {
        grid-template-columns:
            1fr 1fr;
    }

    .office-address {
        grid-column: 1 / -1;
    }

    .vertical-divider {
        display: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .container,
    .page-wrap,
    .section > .page-wrap,
    .section > .container,
    .pp-section > .page-wrap,
    .pp-section > .container {
        width: calc(100% - 32px);

        max-width: none;
    }


    /* ---------------------------------------------
       HEADER
    --------------------------------------------- */

    .top-bar {
        min-height: 58px;

        padding-top: 10px;
        padding-bottom: 8px;

        gap: 12px;
    }

    .greeting {
        max-width: 58%;
    }

    .greeting h2 {
        font-size: 16px;
    }

    #user-name {
        font-size: 15px;
    }

    .brand-logo img {
        height: 36px;
        max-width: 120px;
    }


    /* ---------------------------------------------
       SEARCH
    --------------------------------------------- */

    .search-section {
        padding-top: 6px;
        padding-bottom: 12px;
    }


    /* ---------------------------------------------
       HERO
    --------------------------------------------- */

    .pp-hero {
        min-height: 520px;
    }

    .pp-hero-content {
        width: calc(100% - 32px);

        max-width: none;

        padding-top: 70px;
        padding-bottom: 70px;
    }


    /* ---------------------------------------------
       TRUST STRIP
    --------------------------------------------- */

    .pp-trust-item {
        padding: 14px 8px;
    }

    .pp-trust-item strong {
        font-size: 13px;
    }

    .pp-trust-item span {
        font-size: 9px;
    }


    /* ---------------------------------------------
       CATEGORIES
    --------------------------------------------- */

    #explore-services {
        padding-top: 22px;
        padding-bottom: 20px;
    }

    .categories {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));

        gap: 6px;
    }


    /* ---------------------------------------------
       SECTIONS
    --------------------------------------------- */

    .section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .pp-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }


    /* ---------------------------------------------
       SECTION HEADINGS
    --------------------------------------------- */

    .pp-section-heading {
        margin-bottom: 24px;
    }

    .pp-section-heading h2 {
        font-size: 24px;
        line-height: 1.2;
    }


    /* ---------------------------------------------
       SERVICE DISCOVERY
    --------------------------------------------- */

    .pp-service-discovery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }


    /* ---------------------------------------------
       SLIDER
    --------------------------------------------- */

    .post-slider {
        padding-top: 4px;
        padding-bottom: 28px;
    }


    /* ---------------------------------------------
       LOCATION
    --------------------------------------------- */

    .pp-location-copy {
        gap: 30px;
    }

    .pp-location-points {
        grid-template-columns:
            1fr;
    }


    /* ---------------------------------------------
       FEATURED MASSAGE
    --------------------------------------------- */

    .pp-featured-massage-image {
        min-height: 280px;
    }


    /* ---------------------------------------------
       POPULAR SERVICES
    --------------------------------------------- */

    .service-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }


    /* ---------------------------------------------
       WHY
    --------------------------------------------- */

    .pp-why-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }


    /* ---------------------------------------------
       THERAPISTS
    --------------------------------------------- */

    .card-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 12px;
    }


    /* ---------------------------------------------
       PACKAGES
    --------------------------------------------- */

    .pp-packages {
        grid-template-columns:
            1fr;
    }


    /* ---------------------------------------------
       REVIEWS
    --------------------------------------------- */

    .pp-reviews-heading {
        align-items: flex-start;
        flex-direction: column;

        gap: 16px;
    }

    .pp-google-summary {
        width: 100%;
    }


    /* ---------------------------------------------
       GUIDES
    --------------------------------------------- */

    .pp-guides-grid {
        grid-template-columns:
            1fr;
    }


    /* ---------------------------------------------
       OFFICE
    --------------------------------------------- */

    .office-info {
        grid-template-columns:
            1fr;

        gap: 24px;

        padding-left: 16px;
        padding-right: 16px;
    }


    /* ---------------------------------------------
       FINAL CTA
    --------------------------------------------- */

    .page-wrap > .pp-final-cta {
        margin-top: 28px;
        margin-bottom: 28px;
    }


    /* ---------------------------------------------
       BOTTOM NAV SPACE
    --------------------------------------------- */

    body {
        padding-bottom: var(--mobile-nav-height, 64px);
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .container,
    .page-wrap,
    .section > .page-wrap,
    .section > .container,
    .pp-section > .page-wrap,
    .pp-section > .container {
        width: calc(100% - 24px);
    }

    .pp-hero-content {
        width: calc(100% - 24px);
    }

    .categories {
        gap: 2px;
    }

    .pp-service-discovery {
        gap: 10px;
    }

    .service-grid,
    .pp-why-grid,
    .card-grid {
        gap: 10px;
    }

}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .top-bar {
        padding-top: 16px;
        padding-bottom: 12px;
    }

    .brand-logo img {
        height: 50px;
    }

}

/* =====================================================
   HERO VIDEO BACKGROUND
===================================================== */

.pp-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 760px;

    display: flex;
    align-items: center;

    background: #111;
}


/* -----------------------------------------------------
   VIDEO CONTAINER
----------------------------------------------------- */

.pp-hero-video {
    position: absolute;
    inset: 0;

    z-index: -2;

    overflow: hidden;

    pointer-events: none;
}


.pp-hero-video-element {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 100%;
    height: 100%;

    min-width: 100%;
    min-height: 100%;

    transform: translate(-50%, -50%);

    object-fit: cover;
    object-position: center;

    display: block;
}


/* -----------------------------------------------------
   BRAND OVERLAY
----------------------------------------------------- */

.pp-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: -1;

    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 14, 0.50) 0%,
            rgba(5, 20, 14, 0.40) 38%,
            rgba(5, 20, 14, 0.25) 68%,
            rgba(5, 20, 14, 0.30) 100%
        );

    pointer-events: none;
}

/* -----------------------------------------------------
   HERO CONTENT
----------------------------------------------------- */

.pp-hero-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 760px;

    padding: 110px 6vw;
}


/* -----------------------------------------------------
   MOBILE
----------------------------------------------------- */

@media (max-width: 768px) {

    .pp-hero {
        min-height: 680px;
    }

    .pp-hero-video-element {
        object-position: center center;
    }

    .pp-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(5, 20, 14, 0.40) 0%,
                rgba(5, 20, 14, 0.48) 45%,
                rgba(5, 20, 14, 0.60) 100%
            );
    }

    .pp-hero-content {
        padding: 100px 24px 80px;
    }
}

/* -----------------------------------------------------
   REDUCED MOTION ACCESSIBILITY
----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .pp-hero-video-element {
        display: none;
    }

    .pp-hero {
        background:
            url("assets/images/hero-poster.jpg")
            center / cover no-repeat;
    }

}

/* =========================================
   BOOKING & CLIENT POLICY MODAL
========================================= */

.policy-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.policy-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Dark backdrop */

.policy-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Modal card */

.policy-dialog {
    position: relative;
    z-index: 2;
    width: min(680px, 100%);
    max-height: min(850px, 90vh);
    overflow-y: auto;

    background: #fff;
    border-radius: 18px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.3);

    transform: translateY(20px) scale(0.98);
    transition: transform 0.25s ease;

    scrollbar-width: thin;
}

.policy-modal.is-open .policy-dialog {
    transform: translateY(0) scale(1);
}

/* Close icon */

.policy-close {
    position: absolute;
    top: 16px;
    right: 16px;

    width: 42px;
    height: 42px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.06);

    color: #222;
    font-size: 28px;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.policy-close:hover {
    background: rgba(0, 0, 0, 0.12);
    transform: rotate(90deg);
}

/* Content */

.policy-content {
    padding: 50px 42px 30px;
}

.policy-eyebrow {
    margin: 0 0 8px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    opacity: 0.55;
}

.policy-content h2 {
    margin: 0;

    font-size: clamp(25px, 4vw, 34px);
    line-height: 1.2;
}

.policy-divider {
    width: 55px;
    height: 3px;

    margin: 18px 0 25px;

    background: #9c1c1c;
    border-radius: 10px;
}

.policy-content p {
    margin: 0 0 18px;

    font-size: 15px;
    line-height: 1.75;
}

/* Final brand statement */

.policy-footer {
    margin-top: 28px;
    padding-top: 22px;

    border-top: 1px solid rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.policy-footer strong {
    font-size: 15px;
}

.policy-footer span {
    font-size: 14px;
    opacity: 0.65;
}

/* Bottom close button */

.policy-close-bottom {
    display: block;

    margin: 0 42px 30px;
    width: calc(100% - 84px);

    padding: 13px 20px;

    border: none;
    border-radius: 10px;

    background: #9c1c1c;
    color: #fff;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.policy-close-bottom:hover {
    background: #7e1616;
    transform: translateY(-1px);
}

/* Prevent background scrolling */

body.policy-modal-open {
    overflow: hidden;
}

/* Mobile */

@media (max-width: 600px) {

    .policy-modal {
        padding: 12px;
    }

    .policy-dialog {
        max-height: 92vh;
        border-radius: 16px;
    }

    .policy-content {
        padding: 48px 24px 25px;
    }

    .policy-content p {
        font-size: 14px;
        line-height: 1.7;
    }

    .policy-close {
        top: 12px;
        right: 12px;

        width: 38px;
        height: 38px;

        font-size: 25px;
    }

    .policy-close-bottom {
        margin: 0 24px 24px;
        width: calc(100% - 48px);
    }
}

/* =========================================
   SERVICE POLICY TRIGGER
   CENTERED WITHIN ITS SECTION
========================================= */

.policy-trigger {
    appearance: none;
    -webkit-appearance: none;

    display: flex;
    align-items: center;
    justify-content: center;

    width: max-content;

    margin: 28px auto 0;
    padding: 10px 18px;

    border: 0;
    border-radius: 8px;

    background: transparent;
    color: #8b6f47;

    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;

    text-align: center;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.policy-trigger:hover {
    color: #9c1c1c;
    background: rgba(156, 28, 28, 0.05);
    transform: translateY(-1px);
}

.policy-trigger:active {
    transform: translateY(0);
}

.policy-trigger:focus-visible {
    outline: 2px solid #b8955a;
    outline-offset: 3px;
}


/* MOBILE */

@media (max-width: 600px) {

    .policy-trigger {
        margin-top: 24px;
        padding: 9px 16px;

        font-size: 14px;
    }

}
