/* Branded Property, Facility and Community service detail pages. */

.pm-core-service-page {
    color: #0b1738;
    background: #fff;
}

.pm-core-service-page main {
    overflow: hidden;
}

.pm-core-service-hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    padding: 190px 0 90px;
    isolation: isolate;
    background: linear-gradient(110deg, #f9fbff 0%, #f5f8fd 52%, #e9eff8 100%);
}

.pm-core-service-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 0 45%;
    z-index: -2;
    background-image: var(--pm-service-hero-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.pm-core-service-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(249,251,255,1) 0%, rgba(249,251,255,.98) 36%, rgba(249,251,255,.82) 55%, rgba(11,23,56,.20) 100%),
        linear-gradient(180deg, rgba(255,255,255,.18), rgba(11,23,56,.08));
}

.pm-core-service-hero__content {
    width: min(690px, 100%);
    padding: 42px;
    border: 1px solid rgba(11,23,56,.10);
    border-radius: 28px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 25px 65px rgba(11,23,56,.14);
    backdrop-filter: blur(15px);
}

.pm-core-service-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 23px;
    color: #68738a;
    font-size: .86rem;
    font-weight: 700;
}

.pm-core-service-breadcrumb a {
    color: #0b1738;
}

.pm-core-service-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
    color: #9b7226;
    font-size: .79rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.pm-core-service-kicker::before {
    content: "";
    width: 34px;
    height: 2px;
    background: #d9ae56;
}

.pm-core-service-hero h1 {
    margin: 0 0 20px;
    color: #0b1738;
    font-size: clamp(2.65rem, 5vw, 4.8rem);
    line-height: .98;
    letter-spacing: -.045em;
}

.pm-core-service-hero__lead {
    max-width: 630px;
    margin: 0;
    color: #56637d;
    font-size: 1.08rem;
    line-height: 1.8;
}

.pm-core-service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.pm-core-button,
.pm-core-button-outline,
.pm-core-button-dark {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 800;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.pm-core-button {
    color: #0b1738;
    background: linear-gradient(135deg, #f4d88f, #d9aa4e);
    box-shadow: 0 12px 28px rgba(181,128,30,.22);
}

.pm-core-button-outline {
    color: #0b1738;
    border: 1px solid rgba(11,23,56,.20);
    background: rgba(255,255,255,.70);
}

.pm-core-button-dark {
    color: #fff;
    background: #0b1738;
    box-shadow: 0 13px 30px rgba(11,23,56,.20);
}

.pm-core-button:hover,
.pm-core-button-outline:hover,
.pm-core-button-dark:hover {
    transform: translateY(-2px);
}

.pm-core-service-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 26px 0 0;
    padding: 0;
    list-style: none;
}

.pm-core-service-audience li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid rgba(11,23,56,.10);
    border-radius: 999px;
    color: #42506b;
    background: rgba(247,249,253,.86);
    font-size: .82rem;
    font-weight: 700;
}

.pm-core-section {
    padding: 100px 0;
}

.pm-core-section--soft {
    background: #f5f8fd;
}

.pm-core-section-head {
    max-width: 780px;
    margin: 0 auto 48px;
    text-align: center;
}

.pm-core-section-head h2,
.pm-core-intro__copy h2 {
    margin: 0 0 17px;
    color: #0b1738;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.pm-core-section-head p,
.pm-core-intro__copy > p {
    margin: 0;
    color: #65718b;
    line-height: 1.8;
}

.pm-core-intro {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 70px;
    align-items: center;
}

.pm-core-intro__visual {
    position: relative;
    min-height: 540px;
    border-radius: 30px;
    overflow: hidden;
    background: #e9eff8;
    box-shadow: 0 24px 55px rgba(11,23,56,.14);
}

.pm-core-intro__visual img {
    display: block;
    width: 100%;
    height: 540px;
    object-fit: cover;
}

.pm-core-intro__badge {
    position: absolute;
    right: 22px;
    bottom: 22px;
    max-width: 290px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px;
    color: #fff;
    background: rgba(11,23,56,.93);
    box-shadow: 0 16px 32px rgba(11,23,56,.22);
}

.pm-core-intro__badge strong,
.pm-core-intro__badge span {
    display: block;
}

.pm-core-intro__badge strong {
    margin-bottom: 6px;
    color: #e6bd68;
    font-size: 1.02rem;
}

.pm-core-intro__badge span {
    color: rgba(255,255,255,.78);
    line-height: 1.55;
}

.pm-core-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin: 26px 0 30px;
    padding: 0;
    list-style: none;
}

.pm-core-benefits li {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    padding: 15px;
    border: 1px solid rgba(11,23,56,.08);
    border-radius: 15px;
    background: #f7f9fd;
}

.pm-core-benefits i {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #0b1738;
    background: #e4bc66;
}

.pm-core-benefits strong,
.pm-core-benefits span {
    display: block;
}

.pm-core-benefits strong {
    margin-bottom: 3px;
    color: #0b1738;
    font-size: .94rem;
}

.pm-core-benefits span {
    color: #6a768d;
    font-size: .86rem;
    line-height: 1.5;
}

.pm-core-trust-grid,
.pm-core-scope-grid,
.pm-core-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 21px;
}

.pm-core-trust-card,
.pm-core-scope-card,
.pm-core-related-card {
    height: 100%;
    padding: 29px;
    border: 1px solid rgba(11,23,56,.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(31,52,115,.08);
}

.pm-core-trust-card__icon,
.pm-core-scope-card__icon,
.pm-core-related-card__icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 19px;
    border-radius: 16px;
    color: #0b1738;
    background: linear-gradient(135deg, #f5d995, #d5a94e);
    font-size: 1.25rem;
}

.pm-core-trust-card h3,
.pm-core-scope-card h3,
.pm-core-related-card h3 {
    margin: 0 0 11px;
    color: #0b1738;
    font-size: 1.22rem;
}

.pm-core-trust-card p,
.pm-core-scope-card p,
.pm-core-related-card p {
    margin: 0;
    color: #65718b;
    line-height: 1.7;
}

.pm-core-related-card {
    display: flex;
    flex-direction: column;
}

.pm-core-related-card p {
    flex: 1 1 auto;
}

.pm-core-related-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #9b7226;
    font-weight: 800;
}

.pm-core-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    counter-reset: core-process;
}

.pm-core-process__item {
    min-height: 240px;
    padding: 28px 24px;
    border: 1px solid rgba(11,23,56,.08);
    border-radius: 20px;
    background: #fff;
    counter-increment: core-process;
    box-shadow: 0 14px 30px rgba(31,52,115,.06);
}

.pm-core-process__item::before {
    content: counter(core-process, decimal-leading-zero);
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    color: #0b1738;
    background: #e4bc66;
    font-weight: 900;
}

.pm-core-process__item h3 {
    margin: 0 0 10px;
    color: #0b1738;
    font-size: 1.14rem;
}

.pm-core-process__item p {
    margin: 0;
    color: #65718b;
    line-height: 1.65;
}

.pm-core-faq {
    max-width: 920px;
    margin: 0 auto;
}

.pm-core-faq details {
    margin-bottom: 13px;
    border: 1px solid rgba(11,23,56,.09);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 11px 25px rgba(31,52,115,.05);
}

.pm-core-faq summary {
    position: relative;
    padding: 22px 58px 22px 23px;
    color: #0b1738;
    cursor: pointer;
    list-style: none;
    font-size: 1.02rem;
    font-weight: 800;
}

.pm-core-faq summary::-webkit-details-marker {
    display: none;
}

.pm-core-faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    color: #9b7226;
    font-size: 1.5rem;
}

.pm-core-faq details[open] summary::after {
    content: "−";
}

.pm-core-faq details p {
    margin: 0;
    padding: 0 23px 22px;
    color: #65718b;
    line-height: 1.75;
}

.pm-core-cta {
    padding: 20px 0 100px;
}

.pm-core-cta__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 30px;
    align-items: center;
    padding: 44px;
    border-radius: 25px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 25%, rgba(228,188,102,.20), transparent 34%),
        linear-gradient(135deg, #08142f, #142c68);
    box-shadow: 0 22px 48px rgba(11,23,56,.20);
}

.pm-core-cta__panel h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    line-height: 1.1;
}

.pm-core-cta__panel p {
    max-width: 670px;
    margin: 0;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
}

.pm-core-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pm-core-service-page[dir="rtl"] .pm-core-service-kicker::before {
    order: 2;
}

.pm-core-service-page[dir="rtl"] .pm-core-intro__badge {
    right: auto;
    left: 22px;
}

.pm-core-service-page[dir="rtl"] .pm-core-faq summary {
    padding: 22px 23px 22px 58px;
}

.pm-core-service-page[dir="rtl"] .pm-core-faq summary::after {
    right: auto;
    left: 22px;
}

@media (max-width: 1199px) {
    .pm-core-service-hero::before {
        inset-inline-start: 38%;
    }

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

@media (max-width: 991px) {
    .pm-core-service-hero {
        min-height: 600px;
        padding: 150px 0 75px;
    }

    .pm-core-service-hero::before {
        inset: 0;
        opacity: .30;
    }

    .pm-core-service-hero::after {
        background: rgba(249,251,255,.82);
    }

    .pm-core-service-hero__content {
        width: 100%;
    }

    .pm-core-intro {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .pm-core-trust-grid,
    .pm-core-scope-grid,
    .pm-core-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pm-core-section {
        padding: 76px 0;
    }

    .pm-core-service-hero__content {
        padding: 31px 24px;
        border-radius: 22px;
    }

    .pm-core-service-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.65rem);
    }

    .pm-core-benefits,
    .pm-core-trust-grid,
    .pm-core-scope-grid,
    .pm-core-related-grid,
    .pm-core-process {
        grid-template-columns: 1fr;
    }

    .pm-core-process__item {
        min-height: 0;
    }

    .pm-core-cta__panel {
        grid-template-columns: 1fr;
        padding: 34px 25px;
    }

    .pm-core-cta__actions {
        width: 100%;
    }
}

@media (max-width: 575px) {
    .pm-core-service-hero {
        min-height: auto;
        padding: 132px 0 60px;
    }

    .pm-core-service-actions,
    .pm-core-service-actions a,
    .pm-core-cta__actions a {
        width: 100%;
    }

    .pm-core-intro__visual,
    .pm-core-intro__visual img {
        min-height: 430px;
        height: 430px;
    }

    .pm-core-intro__badge {
        right: 14px;
        bottom: 14px;
        left: 14px;
        max-width: none;
    }

    .pm-core-service-page[dir="rtl"] .pm-core-intro__badge {
        right: 14px;
        left: 14px;
    }
}
