/* =========================================================
   PMS PAGE — MASTER COLOR SYSTEM
   E&C Architectural / Engineering Palette

   #134074 — Deep Blue
   #13315C — Blue
   #0B2545 — Navy
   #8DA9C4 — Accent
   #EEF4ED — Light
========================================================= */


/* =========================================================
   01 — PMS HERO
========================================================= */

.pms-page-hero {
    --pms-accent: #8DA9C4;
    --pms-text: #EEF4ED;
    --pms-muted: rgba(238, 244, 237, 0.68);
    --pms-border: rgba(141, 169, 196, 0.20);

    position: relative;
    width: 100%;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #0B2545;
    color: var(--pms-text);
}


/* =========================================================
   HERO BACKGROUND
========================================================= */

.pms-page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        linear-gradient(
            90deg,
            rgba(11, 37, 69, 0.96) 0%,
            rgba(11, 37, 69, 0.82) 38%,
            rgba(19, 48, 92, 0.50) 70%,
            rgba(11, 37, 69, 0.72) 100%
        ),
        url("../images/pms/pms-hero.jpg")
        center / cover no-repeat;
    transform: scale(1.04);
    animation:
        pmsHeroZoom
        12s
        cubic-bezier(.2, .7, .2, 1)
        forwards;
}


/* =========================================================
   HERO OVERLAY
========================================================= */

.pms-page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(11, 37, 69, 0.45) 0%,
            transparent 30%,
            transparent 70%,
            rgba(11, 37, 69, 0.88) 100%
        ),
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(141, 169, 196, 0.05) 100%
        );
}


/* =========================================================
   TECHNICAL GRID
========================================================= */

.pms-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(238, 244, 237, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(238, 244, 237, 0.035) 1px,
            transparent 1px
        );
    background-size: 80px 80px;
    mask-image:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.85),
            transparent 90%
        );
    opacity: 0.45;
}


/* =========================================================
   VERTICAL TECHNICAL LINE
========================================================= */

.pms-page-hero::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: clamp(24px, 10%, 160px);
    width: 1px;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            transparent,
            var(--pms-accent),
            transparent
        );
    opacity: 0.45;
}


/* =========================================================
   HERO CONTAINER
========================================================= */

.pms-page-hero-container {
    position: relative;
    width: min(calc(100% - 48px), 1280px);
    min-height: 100%;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 105px 0 38px;
}


/* =========================================================
   TOP META
========================================================= */

.pms-page-hero-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid var(--pms-border);
}

.pms-page-hero-index {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(238, 244, 237, 0.62);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
}

.pms-page-hero-index span:first-child {
    color: var(--pms-accent);
    font-size: 12px;
}

.pms-page-hero-index i {
    display: block;
    width: 34px;
    height: 1px;
    background: var(--pms-accent);
}


/* =========================================================
   STATUS
========================================================= */

.pms-page-hero-status {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(141, 169, 196, 0.25);
    border-radius: 999px;
    background: rgba(141, 169, 196, 0.08);
    color: var(--pms-accent);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.pms-page-hero-status::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: var(--pms-accent);
    box-shadow:
        0 0 12px var(--pms-accent);
}


/* =========================================================
   HERO CONTENT
========================================================= */

.pms-page-hero-content {
    width: min(900px, 100%);
    padding-block: 60px;
}

.pms-page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--pms-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.22em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pms-page-hero-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    flex: 0 0 28px;
    background: currentColor;
}


/* =========================================================
   HERO TITLE
========================================================= */

.pms-page-hero-content h1 {
    max-width: 900px;
    margin: 0;
    font-size: clamp(58px, 7.5vw, 112px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.88;
    text-wrap: balance;
}

.pms-page-hero-content h1 span {
    display: block;
    color: transparent;
    -webkit-text-stroke:
        1px rgba(238, 244, 237, 0.65);
    text-stroke:
        1px rgba(238, 244, 237, 0.65);
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.pms-page-hero-content p {
    max-width: 620px;
    margin: 32px 0 0;
    color: var(--pms-muted);
    font-size: clamp(14px, 1.25vw, 17px);
    line-height: 1.75;
}


/* =========================================================
   BOTTOM INFORMATION
========================================================= */

.pms-page-hero-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--pms-border);
    color: rgba(238, 244, 237, 0.46);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.pms-page-hero-bottom span:last-child {
    color: rgba(238, 244, 237, 0.64);
}


/* =========================================================
   TECHNICAL MARK
========================================================= */

.pms-page-hero-container::after {
    content: "E&C / 2026";
    position: absolute;
    right: 0;
    top: 50%;
    color: rgba(238, 244, 237, 0.20);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.25em;
    white-space: nowrap;
    transform:
        translateY(-50%)
        rotate(90deg);
    transform-origin: right center;
    pointer-events: none;
}


/* =========================================================
   HERO ANIMATION
========================================================= */

@keyframes pmsHeroZoom {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1);
    }
}


/* =========================================================
   HERO TABLET
========================================================= */

@media (max-width: 900px) {

    .pms-page-hero {
        min-height: 680px;
    }

    .pms-page-hero-container {
        width: min(calc(100% - 40px), 760px);
        padding-block:
            75px
            28px;
    }

    .pms-page-hero-content {
        padding-block: 55px 65px;
    }

    .pms-page-hero-content h1 {
        font-size: clamp(48px, 8vw, 70px);
    }
}


/* =========================================================
   HERO MOBILE
========================================================= */

@media (max-width: 640px) {

    .pms-page-hero {
        min-height: 680px;
    }

    .pms-page-hero-bg {
        background:
            linear-gradient(
                180deg,
                rgba(11, 37, 69, 0.84) 0%,
                rgba(19, 48, 92, 0.72) 48%,
                rgba(11, 37, 69, 0.96) 100%
            ),
            url("../images/pms/pms-hero.jpg")
            center / cover no-repeat;
    }

    .pms-page-hero::after {
        left: 16px;
        opacity: 0.25;
    }

    .pms-page-hero-container {
        width: min(calc(100% - 32px), 560px);
        padding-block:
            25px
            22px;
    }

    .pms-page-hero-meta {
        align-items: flex-start;
        padding-bottom: 16px;
    }

    .pms-page-hero-index {
        gap: 9px;
        font-size: 8px;
    }

    .pms-page-hero-index i {
        width: 20px;
    }

    .pms-page-hero-status {
        display: none;
    }

    .pms-page-hero-content {
        padding-block: 55px 60px;
    }

    .pms-page-hero-eyebrow {
        gap: 9px;
        margin-bottom: 19px;
        font-size: 8px;
        letter-spacing: 0.16em;
    }

    .pms-page-hero-eyebrow::before {
        width: 18px;
        flex-basis: 18px;
    }

    .pms-page-hero-content h1 {
        font-size: clamp(43px, 13vw, 62px);
        line-height: 0.94;
        letter-spacing: -0.06em;
    }

    .pms-page-hero-content p {
        max-width: 440px;
        margin-top: 23px;
        font-size: 13px;
        line-height: 1.72;
    }

    .pms-page-hero-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding-top: 16px;
        font-size: 7px;
    }

    .pms-page-hero-container::after {
        display: none;
    }
}


/* =========================================================
   02 — PMS INTRO
========================================================= */

.pms-gallery-intro {
    --pms-accent: #8DA9C4;
    --pms-text: #0B2545;
    --pms-muted: #13315C;
    --pms-line: rgba(19, 48, 92, 0.18);

    position: relative;
    overflow: hidden;
    background: #EEF4ED;
    color: var(--pms-text);
}


/* =========================================================
   INTRO GRID
========================================================= */

.pms-gallery-intro .container {
    width: min(calc(100% - 48px), 1280px);
    margin-inline: auto;
    padding-block: 110px 0;
}

.pms-gallery-intro-grid {
    display: grid;
    grid-template-columns:
        minmax(80px, 0.55fr)
        minmax(0, 2fr)
        minmax(240px, 1fr);
    column-gap: clamp(40px, 6vw, 90px);
    align-items: start;
}


/* =========================================================
   INDEX
========================================================= */

.pms-gallery-intro-index {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 7px;
    color: rgba(19, 48, 92, 0.68);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1;
    text-transform: uppercase;
}

.pms-gallery-intro-index span:first-child {
    color: #0B2545;
}

.pms-gallery-intro-index i {
    display: block;
    width: 28px;
    height: 1px;
    background: #8DA9C4;
}


/* =========================================================
   INTRO MAIN
========================================================= */

.pms-gallery-intro-main {
    max-width: 720px;
}

.pms-gallery-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 22px;
    color: #13315C;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.19em;
    line-height: 1.4;
    text-transform: uppercase;
}

.pms-gallery-eyebrow::before {
    content: "";
    width: 25px;
    height: 1px;
    background: var(--pms-accent);
}

.pms-gallery-intro-main h2 {
    margin: 0;
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.pms-gallery-intro-main h2 span {
    display: block;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.pms-gallery-intro-description {
    padding-top: 42px;
}

.pms-gallery-intro-description p {
    max-width: 390px;
    margin: 0;
    color: var(--pms-muted);
    font-size: 13px;
    line-height: 1.85;
}


/* =========================================================
   STATS
========================================================= */

.pms-gallery-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 100px;
    border-top: 1px solid var(--pms-line);
}

.pms-gallery-stats > div {
    position: relative;
    min-height: 125px;
    padding:
        27px
        28px
        30px
        0;
    border-right: 1px solid var(--pms-line);
}

.pms-gallery-stats > div:not(:first-child) {
    padding-left: 28px;
}

.pms-gallery-stats > div:last-child {
    border-right: 0;
}

.pms-gallery-stats span {
    display: block;
    margin-bottom: 15px;
    color: rgba(19, 48, 92, 0.58);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.3;
}

.pms-gallery-stats strong {
    display: block;
    color: #0B2545;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.4;
}


/* =========================================================
   STATS ACCENT
========================================================= */

.pms-gallery-stats > div::after {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;
    width: 0;
    height: 2px;
    background: var(--pms-accent);
    transition: width 0.3s ease;
}

.pms-gallery-stats > div:hover::after {
    width: 32px;
}


/* =========================================================
   INTRO DECORATION
========================================================= */

.pms-gallery-intro::before {
    content: "";
    position: absolute;
    right: -120px;
    top: 80px;
    width: 300px;
    height: 300px;
    border:
        1px solid
        rgba(19, 48, 92, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.pms-gallery-intro::after {
    content: "";
    position: absolute;
    right: 28px;
    top: 228px;
    width: 6px;
    height: 6px;
    border:
        1px solid
        #8DA9C4;
    box-shadow:
        -14px 0 0 -1px rgba(19, 48, 92, 0.14),
        -28px 0 0 -1px rgba(19, 48, 92, 0.08);
    pointer-events: none;
}


/* =========================================================
   INTRO TABLET
========================================================= */

@media (max-width: 1050px) {

    .pms-gallery-intro-grid {
        grid-template-columns:
            70px
            minmax(0, 1.5fr)
            minmax(220px, 1fr);
        column-gap: 40px;
    }
}

@media (max-width: 800px) {

    .pms-gallery-intro .container {
        width: min(calc(100% - 40px), 720px);
        padding-block: 85px 0;
    }

    .pms-gallery-intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 45px;
    }

    .pms-gallery-intro-index {
        grid-column: 1 / -1;
    }

    .pms-gallery-intro-description {
        padding-top: 0;
    }

    .pms-gallery-stats {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 75px;
    }

    .pms-gallery-stats > div:nth-child(2) {
        border-right: 0;
    }

    .pms-gallery-stats > div:nth-child(3),
    .pms-gallery-stats > div:nth-child(4) {
        border-top: 1px solid var(--pms-line);
    }

    .pms-gallery-stats > div:nth-child(3) {
        padding-left: 0;
    }
}


/* =========================================================
   INTRO MOBILE
========================================================= */

@media (max-width: 600px) {

    .pms-gallery-intro .container {
        width: min(calc(100% - 32px), 560px);
        padding-block: 70px 0;
    }

    .pms-gallery-intro-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pms-gallery-intro-index {
        margin-bottom: 50px;
    }

    .pms-gallery-eyebrow {
        margin-bottom: 18px;
        font-size: 8px;
        letter-spacing: 0.15em;
    }

    .pms-gallery-eyebrow::before {
        width: 18px;
    }

    .pms-gallery-intro-main h2 {
        font-size: clamp(40px, 12vw, 56px);
        line-height: 0.98;
    }

    .pms-gallery-intro-description {
        padding-top: 28px;
    }

    .pms-gallery-intro-description p {
        max-width: 100%;
        font-size: 13px;
        line-height: 1.75;
    }

    .pms-gallery-stats {
        grid-template-columns: 1fr;
        margin-top: 60px;
    }

    .pms-gallery-stats > div,
    .pms-gallery-stats > div:not(:first-child) {
        min-height: auto;
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--pms-line);
    }

    .pms-gallery-stats > div:last-child {
        border-bottom: 0;
    }

    .pms-gallery-intro::before {
        right: -190px;
        top: 160px;
    }

    .pms-gallery-intro::after {
        display: none;
    }
}


/* =========================================================
   03 — PMS GALLERY
========================================================= */

.pms-gallery {
    --pms-accent: #8DA9C4;
    --pms-black: #0B2545;
    --pms-text: #13315C;
    --pms-muted: rgba(19, 48, 92, 0.68);
    --pms-light: #EEF4ED;
    --pms-border: rgba(19, 48, 92, 0.16);
    --pms-white: #EEF4ED;

    position: relative;
    overflow: hidden;
    background: var(--pms-light);
    color: var(--pms-text);
}


/* =========================================================
   GALLERY CONTAINER
========================================================= */

.pms-gallery > .container {
    width: min(calc(100% - 48px), 1280px);
    margin-inline: auto;
    padding-block: 120px;
}


/* =========================================================
   GALLERY HEADER
========================================================= */

.pms-gallery-header {
    display: grid;
    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(260px, 0.7fr);
    align-items: end;
    gap: 60px;
    margin-bottom: 55px;
}

.pms-gallery-header .pms-gallery-eyebrow {
    margin-bottom: 20px;
}

.pms-gallery-header h2 {
    margin: 0;
    font-size: clamp(46px, 5.5vw, 76px);
    font-weight: 500;
    letter-spacing: -0.06em;
    line-height: 0.94;
}

.pms-gallery-header h2 span {
    display: block;
}

.pms-gallery-header > p {
    max-width: 360px;
    margin:
        0
        0
        4px
        auto;
    color: var(--pms-muted);
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   FILTER TABS
========================================================= */

.pms-filter-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 45px;
    padding: 7px;
    border: 1px solid var(--pms-border);
    background:
        rgba(238, 244, 237, 0.55);
}

.pms-filter-tab {
    position: relative;
    min-height: 42px;
    padding-inline: 19px;
    border: 0;
    background: transparent;
    color: rgba(19, 48, 92, 0.68);
    cursor: pointer;
    font: inherit;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.pms-filter-tab:hover {
    color: #0B2545;
}

.pms-filter-tab.active {
    background: #0B2545;
    color: #EEF4ED;
}

.pms-filter-tab.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 5px;
    height: 5px;
    background: var(--pms-accent);
    transform: translateX(-50%);
}


/* =========================================================
   PROJECT GRID
========================================================= */

.pms-gallery-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================================
   CARD
========================================================= */

.pms-gallery-card {
    min-width: 0;
    background: #EEF4ED;
    border: 1px solid var(--pms-border);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.pms-gallery-card:hover {
    transform: translateY(-5px);
    border-color: rgba(19, 48, 92, 0.30);
    box-shadow:
        0 20px 45px rgba(11, 37, 69, 0.12);
}


/* =========================================================
   IMAGE
========================================================= */

.pms-gallery-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0B2545;
}

.pms-gallery-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform 0.65s cubic-bezier(.2,.7,.2,1),
        filter 0.4s ease;
}

.pms-gallery-card:hover
.pms-gallery-card-image img {
    transform: scale(1.055);
    filter: brightness(0.88);
}

.pms-gallery-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(11, 37, 69, 0.12),
            transparent 45%,
            rgba(11, 37, 69, 0.62)
        );
    pointer-events: none;
}


/* =========================================================
   CARD NUMBER
========================================================= */

.pms-gallery-card-number {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 30px;
    background:
        rgba(11, 37, 69, 0.88);
    color: #EEF4ED;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    backdrop-filter: blur(8px);
}


/* =========================================================
   CATEGORY
========================================================= */

.pms-gallery-card-tag {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 2;
    padding: 8px 11px;
    background: var(--pms-accent);
    color: #0B2545;
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.pms-gallery-card-content {
    padding: 27px;
}

.pms-gallery-card-content > span {
    display: block;
    margin-bottom: 13px;
    color: rgba(19, 48, 92, 0.58);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.17em;
    line-height: 1.4;
}

.pms-gallery-card-content h3 {
    margin: 0;
    color: var(--pms-text);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.pms-gallery-card-content h3 strong {
    display: block;
    font-weight: 700;
}

.pms-gallery-card-content p {
    min-height: 66px;
    margin: 19px 0 25px;
    color: var(--pms-muted);
    font-size: 12px;
    line-height: 1.75;
}


/* =========================================================
   CARD META
========================================================= */

.pms-gallery-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--pms-border);
}

.pms-gallery-card-meta span {
    color: rgba(19, 48, 92, 0.52);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.pms-gallery-card-meta strong {
    color: #13315C;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
}


/* =========================================================
   CLIENT PLACEHOLDER
========================================================= */

.pms-client-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #0B2545 0%,
            #13315C 100%
        );
    color: #EEF4ED;
}

.pms-client-placeholder::before,
.pms-client-placeholder::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border:
        1px solid
        rgba(141, 169, 196, 0.20);
    border-radius: 50%;
}

.pms-client-placeholder::before {
    transform: scale(1.4);
}

.pms-client-placeholder::after {
    transform: scale(0.7);
}

.pms-client-placeholder span {
    position: relative;
    z-index: 2;
    color: var(--pms-accent);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.pms-client-placeholder small {
    position: relative;
    z-index: 2;
    margin-top: 7px;
    color: rgba(238, 244, 237, 0.52);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.18em;
}


/* =========================================================
   PAGINATION
========================================================= */

.pms-gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 55px;
}

.pms-pagination-button {
    min-width: 42px;
    height: 42px;
    padding-inline: 13px;
    border: 1px solid var(--pms-border);
    background: #EEF4ED;
    color: rgba(19, 48, 92, 0.70);
    cursor: pointer;
    font: inherit;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.pms-pagination-button:hover:not(:disabled) {
    border-color: #0B2545;
    color: #0B2545;
}

.pms-pagination-button.active {
    border-color: #0B2545;
    background: #0B2545;
    color: #EEF4ED;
}

.pms-pagination-button.active::after {
    content: "";
    display: block;
    width: 5px;
    height: 2px;
    margin:
        4px
        auto
        0;
    background: var(--pms-accent);
}

.pms-pagination-button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pms-pagination-prev,
.pms-pagination-next {
    min-width: 82px;
}

.pms-gallery-pagination-info {
    margin-top: 15px;
    color: rgba(19, 48, 92, 0.55);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-align: center;
    text-transform: uppercase;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.pms-gallery-empty {
    padding: 75px 30px;
    border: 1px solid var(--pms-border);
    background: #EEF4ED;
    text-align: center;
}

.pms-gallery-empty > span {
    display: block;
    margin-bottom: 13px;
    color: #0B2545;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.18em;
}

.pms-gallery-empty p {
    max-width: 480px;
    margin-inline: auto;
    color: var(--pms-muted);
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   PAGINATION ANIMATION
========================================================= */

.pms-gallery-card.pms-page-enter {
    animation:
        pmsCardEnter
        0.45s
        ease
        both;
}

@keyframes pmsCardEnter {

    from {
        opacity: 0;
        transform:
            translateY(18px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


/* =========================================================
   GALLERY TABLET
========================================================= */

@media (max-width: 950px) {

    .pms-gallery > .container {
        width: min(calc(100% - 40px), 820px);
        padding-block: 90px;
    }

    .pms-gallery-header {
        grid-template-columns:
            1fr
            0.65fr;
        gap: 40px;
    }

    .pms-gallery-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   GALLERY MOBILE
========================================================= */

@media (max-width: 640px) {

    .pms-gallery > .container {
        width: min(calc(100% - 32px), 560px);
        padding-block: 70px;
    }

    .pms-gallery-header {
        display: block;
        margin-bottom: 38px;
    }

    .pms-gallery-header h2 {
        font-size: clamp(42px, 12vw, 58px);
    }

    .pms-gallery-header > p {
        max-width: 100%;
        margin: 25px 0 0;
        font-size: 13px;
    }

    .pms-filter-tabs {
        flex-wrap: nowrap;
        margin-inline: -16px;
        margin-bottom: 30px;
        padding:
            6px
            16px;
        overflow-x: auto;
        border-inline: 0;
        scrollbar-width: none;
    }

    .pms-filter-tabs::-webkit-scrollbar {
        display: none;
    }

    .pms-filter-tab {
        flex: 0 0 auto;
        min-height: 38px;
        padding-inline: 15px;
        font-size: 8px;
    }

    .pms-gallery-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pms-gallery-card-content {
        padding: 24px 22px;
    }

    .pms-gallery-card-content h3 {
        font-size: 23px;
    }

    .pms-gallery-card-content p {
        min-height: auto;
    }

    .pms-gallery-pagination {
        gap: 5px;
        margin-top: 40px;
    }

    .pms-pagination-button {
        min-width: 38px;
        height: 38px;
        padding-inline: 8px;
    }

    .pms-pagination-prev,
    .pms-pagination-next {
        min-width: 55px;
    }
}


/* =========================================================
   04 — PMS COVERAGE
========================================================= */

.pms-coverage-strip {
    --pms-accent: #8DA9C4;
    --pms-bg: #0B2545;
    --pms-text: #EEF4ED;
    --pms-muted: rgba(238, 244, 237, 0.52);
    --pms-border: rgba(141, 169, 196, 0.20);

    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--pms-bg);
    color: var(--pms-text);
}

.pms-coverage-strip .container {
    width: min(calc(100% - 48px), 1280px);
    margin-inline: auto;
    padding-block: 105px;
}

.pms-coverage-strip-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(360px, 1fr);
    gap: clamp(60px, 8vw, 130px);
    align-items: center;
}


/* =========================================================
   COVERAGE TITLE
========================================================= */

.pms-coverage-strip-grid > div:first-child {
    position: relative;
}

.pms-coverage-strip-grid > div:first-child > span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 23px;
    color: var(--pms-accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.pms-coverage-strip-grid > div:first-child > span::before {
    content: "";
    width: 26px;
    height: 1px;
    background: currentColor;
}

.pms-coverage-strip h2 {
    max-width: 680px;
    margin: 0;
    font-size: clamp(44px, 5.2vw, 72px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.97;
}

.pms-coverage-strip h2 span {
    display: block;
    color: rgba(238, 244, 237, 0.42);
}


/* =========================================================
   COVERAGE POINTS
========================================================= */

.pms-coverage-points {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--pms-border);
    border-left: 1px solid var(--pms-border);
}

.pms-coverage-points > div {
    position: relative;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 23px 25px 24px;
    border-right: 1px solid var(--pms-border);
    border-bottom: 1px solid var(--pms-border);
    transition:
        background 0.3s ease;
}

.pms-coverage-points > div:hover {
    background:
        rgba(19, 48, 92, 0.38);
}

.pms-coverage-points > div > span {
    color: var(--pms-accent);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.pms-coverage-points strong {
    display: block;
    color: var(--pms-text);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.pms-coverage-points > div::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: var(--pms-accent);
    transition: width 0.3s ease;
}

.pms-coverage-points > div:hover::after {
    width: 32px;
}


/* =========================================================
   COVERAGE GRID
========================================================= */

.pms-coverage-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(
            rgba(238, 244, 237, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(238, 244, 237, 0.025) 1px,
            transparent 1px
        );
    background-size: 80px 80px;
    mask-image:
        linear-gradient(
            90deg,
            black,
            transparent 85%
        );
    pointer-events: none;
}

.pms-coverage-strip::after {
    content: "";
    position: absolute;
    right: -160px;
    top: 50%;
    width: 430px;
    height: 430px;
    border:
        1px solid
        rgba(141, 169, 196, 0.12);
    border-radius: 50%;
    transform:
        translateY(-50%);
    pointer-events: none;
}


/* =========================================================
   COVERAGE TABLET
========================================================= */

@media (max-width: 950px) {

    .pms-coverage-strip .container {
        width: min(calc(100% - 40px), 820px);
        padding-block: 85px;
    }

    .pms-coverage-strip-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .pms-coverage-points {
        max-width: 700px;
    }
}


/* =========================================================
   COVERAGE MOBILE
========================================================= */

@media (max-width: 600px) {

    .pms-coverage-strip .container {
        width: min(calc(100% - 32px), 560px);
        padding-block: 70px;
    }

    .pms-coverage-strip-grid {
        gap: 42px;
    }

    .pms-coverage-strip h2 {
        font-size: clamp(40px, 11.5vw, 56px);
        line-height: 0.98;
    }

    .pms-coverage-points {
        grid-template-columns: 1fr;
    }

    .pms-coverage-points > div {
        min-height: 105px;
        padding: 19px 20px;
    }

    .pms-coverage-strip::after {
        right: -250px;
        top: 30%;
        width: 400px;
        height: 400px;
    }
}


/* =========================================================
   05 — PMS FINAL CTA
========================================================= */

.pms-final-cta {
    --pms-accent: #8DA9C4;
    --pms-text: #EEF4ED;
    --pms-muted: rgba(238, 244, 237, 0.58);
    --pms-border: rgba(141, 169, 196, 0.20);

    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #0B2545;
    color: var(--pms-text);
}

.pms-final-cta .container {
    width: min(calc(100% - 48px), 1280px);
    margin-inline: auto;
    padding-block: 125px;
}

.pms-final-cta-inner {
    position: relative;
    width: min(900px, 100%);
    margin-inline: auto;
    text-align: center;
}


/* =========================================================
   CTA EYEBROW
========================================================= */

.pms-final-cta-inner > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    margin-bottom: 24px;
    color: var(--pms-accent);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.pms-final-cta-inner > span::before,
.pms-final-cta-inner > span::after {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
}


/* =========================================================
   CTA TITLE
========================================================= */

.pms-final-cta h2 {
    margin: 0;
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 400;
    letter-spacing: -0.065em;
    line-height: 0.91;
}

.pms-final-cta h2 strong {
    display: block;
    color: var(--pms-accent);
    font-weight: 600;
}


/* =========================================================
   CTA DESCRIPTION
========================================================= */

.pms-final-cta-inner > p {
    max-width: 560px;
    margin: 32px auto 0;
    color: var(--pms-muted);
    font-size: 13px;
    line-height: 1.8;
}


/* =========================================================
   CTA ACTIONS
========================================================= */

.pms-final-cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 38px;
}


/* =========================================================
   PRIMARY CTA
========================================================= */

.pms-final-cta-primary {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    padding:
        0
        20px
        0
        24px;
    border: 0;
    background: var(--pms-accent);
    color: #0B2545;
    cursor: pointer;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.pms-final-cta-primary i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background:
        rgba(11, 37, 69, 0.14);
    font-size: 10px;
    transition:
        transform 0.25s ease;
}

.pms-final-cta-primary:hover {
    background: #EEF4ED;
    transform:
        translateY(-3px);
}

.pms-final-cta-primary:hover i {
    transform:
        translateX(4px);
}


/* =========================================================
   SECONDARY CTA
========================================================= */

.pms-final-cta-secondary {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-inline: 23px;
    border: 1px solid var(--pms-border);
    background: transparent;
    color: var(--pms-text);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.pms-final-cta-secondary:hover {
    border-color: var(--pms-accent);
    background:
        rgba(141, 169, 196, 0.08);
    color: var(--pms-accent);
    transform:
        translateY(-3px);
}


/* =========================================================
   CTA TECHNICAL GRID
========================================================= */

.pms-final-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(
            rgba(238, 244, 237, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(238, 244, 237, 0.025) 1px,
            transparent 1px
        );
    background-size: 80px 80px;
    mask-image:
        radial-gradient(
            ellipse at center,
            black 0%,
            transparent 72%
        );
    pointer-events: none;
}


/* =========================================================
   CTA CIRCLE
========================================================= */

.pms-final-cta::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: 600px;
    height: 600px;
    border:
        1px solid
        rgba(141, 169, 196, 0.10);
    border-radius: 50%;
    transform:
        translate(-50%, -50%);
    pointer-events: none;
}


/* =========================================================
   CTA CORNERS
========================================================= */

.pms-final-cta-inner::before,
.pms-final-cta-inner::after {
    content: "";
    position: absolute;
    width: 35px;
    height: 35px;
    border:
        1px solid
        rgba(141, 169, 196, 0.45);
    pointer-events: none;
}

.pms-final-cta-inner::before {
    top: -35px;
    left: 0;
    border-width:
        1px
        0
        0
        1px;
}

.pms-final-cta-inner::after {
    right: 0;
    bottom: -35px;
    border-width:
        0
        1px
        1px
        0;
}


/* =========================================================
   CTA TABLET
========================================================= */

@media (max-width: 900px) {

    .pms-final-cta .container {
        width: min(calc(100% - 40px), 760px);
        padding-block: 100px;
    }

    .pms-final-cta h2 {
        font-size: clamp(50px, 9vw, 78px);
    }
}


/* =========================================================
   CTA MOBILE
========================================================= */

@media (max-width: 600px) {

    .pms-final-cta .container {
        width: min(calc(100% - 32px), 560px);
        padding-block: 78px;
    }

    .pms-final-cta-inner > span {
        gap: 9px;
        margin-bottom: 20px;
        font-size: 7px;
        letter-spacing: 0.15em;
    }

    .pms-final-cta-inner > span::before,
    .pms-final-cta-inner > span::after {
        width: 16px;
    }

    .pms-final-cta h2 {
        font-size: clamp(46px, 13vw, 64px);
        line-height: 0.94;
    }

    .pms-final-cta-inner > p {
        margin-top: 25px;
        font-size: 13px;
        line-height: 1.7;
    }

    .pms-final-cta-actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 30px;
    }

    .pms-final-cta-primary,
    .pms-final-cta-secondary {
        width: 100%;
    }

    .pms-final-cta-inner::before,
    .pms-final-cta-inner::after {
        width: 22px;
        height: 22px;
    }

    .pms-final-cta-inner::before {
        top: -22px;
        left: 0;
    }

    .pms-final-cta-inner::after {
        right: 0;
        bottom: -22px;
    }

    .pms-final-cta::after {
        width: 420px;
        height: 420px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pms-page-hero-bg {
        animation: none;
        transform: none;
    }

    .pms-gallery-card,
    .pms-gallery-card-image img,
    .pms-filter-tab,
    .pms-pagination-button,
    .pms-gallery-stats > div::after,
    .pms-coverage-points > div,
    .pms-coverage-points > div::after,
    .pms-final-cta-primary,
    .pms-final-cta-primary i,
    .pms-final-cta-secondary {
        transition: none;
    }

    .pms-gallery-card.pms-page-enter {
        animation: none;
    }
}