/* === STICKY BAR (shown when scrolled past hero) === */
.pd-stickbar {
    position: fixed;
    top: calc(var(--mp-topbar-h, 78px) + var(--mp-nav-h, 78px));
    left: 0;
    right: 0;
    z-index: 800;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    pointer-events: none;
    background: linear-gradient(180deg, #FFF 88.38%, rgba(255, 255, 255, 0.00) 100%);
}

    .pd-stickbar.is-visible {
        transform: translateY(0);
        pointer-events: auto;
    }

.pd-stickbar__inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    align-items: center;
    gap: 80px;
    min-height: 72px;
    display: grid;
    grid-template-columns: 220px 1fr;
    padding: 0 56px;
}

.pd-stickbar__back {
    flex-shrink: 0;
    padding: 16px;
}

.pd-stickbar__title {
    color: var(--blue-vibrant1-500);
    font-family: "Lexend Deca", sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 38.4px;
    text-transform: uppercase;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* === SECTION: HERO === */
.pd-hero {
    position: relative;
    background: var(--white-color);
}

.pd-hero__inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 56px 56px 80px;
    display: flex;
    flex-flow: column;
    gap: 24px;
}

.pd-hero__title {
    color: var(--blue-vibrant1-500);
    font-family: "Lexend Deca", sans-serif;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

.pd-hero__divider {
    height: 1px;
    background: #E4E2DF;
    width: 100%;
}

.pd-hero__overview {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.pd-hero__overview-item {
    display: flex;
    flex-flow: column;
    gap: 12px;
    min-width: 0;
}

.pd-hero__overview-label {
    color: var(--main-color);
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.pd-hero__overview-value {
    color: var(--black-color);
    font-family: "Lexend Deca", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
}

.pd-hero__overview-divider {
    display: none;
    width: 1px;
    align-self: stretch;
    background: #B7BFCD;
}

.pd-hero__image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1328 / 747;
    overflow: hidden;
    --pd-hero-clip: 32px;
    clip-path: polygon( var(--pd-hero-clip) 0, 100% 0, 100% calc(100% - var(--pd-hero-clip)), calc(100% - var(--pd-hero-clip)) 100%, 0 100%, 0 var(--pd-hero-clip) );
}

    .pd-hero__image img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: cover;
        display: block;
    }

/* Back button (in hero - inline, above title) */
.pd-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--blue-vibrant1-500);
    color: var(--white-color);
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
    width: 89px;
    height: 56px;
    justify-content: center;
}

    .pd-back-btn:hover {
        background: #1B3585;
        color: var(--white-color);
    }

.pd-back-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.pd-back-btn--hero {
    align-self: flex-start;
    width: fit-content;
    margin-bottom: 4px;
}

/* === SECTION: PROJECT CONTENT === */
.pd-content {
    background: var(--white-color);
    overflow-x: clip;
}

.pd-content__inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Sticky quick-link · floats to the left of the centered main column */
.pd-quicklink {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    margin-right: calc(878px / 2 + 70px);
    width: 180px;
}

.pd-quicklink__list {
    position: sticky;
    top: calc(var(--mp-topbar-h, 78px) + var(--mp-nav-h, 78px) + 250px);
    display: flex;
    flex-flow: column;
    gap: 24px;
}

.pd-quicklink__item {
    color: var(--blue-vibrant1-500);
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    padding-left: 0;
    border-left: 2px solid transparent;
    transition: padding 0.2s ease, border-color 0.2s ease, font-weight 0.2s ease;
}

    .pd-quicklink__item.is-active {
        border-left-color: var(--blue-vibrant1-500);
        padding-left: 12px;
        font-weight: 600;
    }

/* Main content column · centered in the body */
.pd-main {
    width: 100%;
    max-width: 878px;
    min-width: 0;
    display: flex;
    flex-flow: column;
    gap: 100px;
}

.pd-section {
    display: flex;
    flex-flow: column;
    gap: 24px;
    scroll-margin-top: 240px;
    min-width: 0;
}

.pd-section__title {
    color: #333;
    font-family: "Lexend Deca", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
}

.pd-section__body {
    color: #767676;
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.pd-section__image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 400 / 300;
    object-fit: cover;
    display: block;
    margin-top: 16px;
}

/* Stats */
.pd-stats {
    gap: 64px;
}

.pd-stats__grid {
    display: flex;
    flex-flow: column;
    gap: 72px;
}

.pd-stats__item {
    display: flex;
    flex-flow: column;
    gap: 18px;
}

.pd-stats__row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.pd-stats__num {
    color: var(--blue-vibrant1-500);
    font-family: "Lexend Deca", sans-serif;
    font-size: 80px;
    font-weight: 600;
    line-height: 1.1;
}

.pd-stats__unit {
    color: var(--teal-500);
    font-family: "Lexend Deca", sans-serif;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
}

.pd-stats__caption {
    color: #767676;
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/* Achievements carousel */
.pd-ach {
    gap: 32px;
    min-width: 0;
}

.pd-ach__swiper {
    width: 100%;
    overflow: hidden;
}

    .pd-ach__swiper .swiper-wrapper {
        align-items: stretch;
    }

.pd-ach__slide {
    display: flex !important;
    align-items: stretch;
    height: auto;
    box-sizing: border-box;
}

.pd-ach__img {
    width: 50%;
    aspect-ratio: 439 / 329;
    flex-shrink: 0;
    overflow: hidden;
}

    .pd-ach__img img {
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: cover;
        display: block;
    }

.pd-ach__content {
    width: 50%;
    background: #F7F6F5;
    padding: 24px;
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    gap: 12px;
    color: #333;
    box-sizing: border-box;
}

.pd-ach__head {
    display: flex;
    flex-flow: column;
    gap: 12px;
}

.pd-ach__no {
    color: #333;
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.pd-ach__title {
    color: #333;
    font-family: "Lexend Deca", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
}

.pd-ach__desc {
    color: #333;
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.pd-ach__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.pd-ach__nav-btn {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white-color);
    color: var(--blue-vibrant1-500);
    border: 1px solid var(--blue-vibrant1-500);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .pd-ach__nav-btn:hover {
        background: var(--blue-vibrant1-500);
        color: var(--white-color);
    }

    .pd-ach__nav-btn.swiper-button-disabled {
        opacity: 0.4;
        pointer-events: none;
    }

.pd-ach__pagination {
    display: none;
}

/* Media (Hình ảnh & video) · same width as .pd-main */
.pd-media {
    width: 100%;
    max-width: 878px;
    min-width: 0;
    margin-top: 100px;
    gap: 0;
    overflow: hidden;
}

.pd-media__frame {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: 48px;
}

.pd-media__swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

    .pd-media__swiper .swiper-wrapper {
        align-items: stretch;
    }

    .pd-media__swiper .swiper-slide {
        width: 100%;
        aspect-ratio: 878 / 658.5;
        box-sizing: border-box;
    }

        .pd-media__swiper .swiper-slide img {
            width: 100%;
            height: 100%;
            max-width: 100%;
            object-fit: cover;
            display: block;
        }

.pd-media__nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    color: var(--blue-vibrant1-500);
    border: none;
    cursor: pointer;
    z-index: 5;
    transition: background-color 0.2s ease;
}

    .pd-media__nav-btn:hover {
        background: var(--white-color);
    }

.pd-media__prev {
    left: 40px;
}

.pd-media__next {
    right: 40px;
}

.pd-media__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

    .pd-media__pagination .swiper-pagination-bullet {
        width: 89px;
        height: 4px;
        border-radius: 0;
        background: #A2A09E;
        opacity: 1;
        margin: 0 !important;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .pd-media__pagination .swiper-pagination-bullet-active {
        background: var(--blue-vibrant1-500);
    }

/* === SECTION: OTHER PROJECTS === */
.other-projects {
    background: #F7F6F5;
}

.other-projects__inner {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 56px;
    display: flex;
    flex-flow: column;
    gap: 24px;
}

.other-projects__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.other-projects__title {
    color: var(--black-color);
    font-family: "Lexend Deca", sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
}

.other-projects__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--blue-vibrant1-500);
    color: var(--white-color);
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s ease;
}

    .other-projects__cta:hover {
        background: var(--white-color);
        color: var(--blue-vibrant1-500);
    }

.other-projects__cta-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 16px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.other-projects__cta-arrow-svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}

.other-projects__cta-arrow-svg--2 {
    transform: translate(calc(-50% - 18px), calc(-50% + 16px));
}

.other-projects__cta:hover .other-projects__cta-arrow-svg:not(.other-projects__cta-arrow-svg--2) {
    transform: translate(calc(-50% + 18px), calc(-50% - 16px));
}

.other-projects__cta:hover .other-projects__cta-arrow-svg--2 {
    transform: translate(-50%, -50%);
}

.other-projects__swiper {
    width: 100%;
    position: relative;
}

.other-projects .projects {
    display: flex;
    flex-flow: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.other-projects .project-item {
    height: max-content;
    width: 427px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
}

    .other-projects .project-item .project-item__desc {
        display: none;
    }

    .other-projects .project-item .project-img__container {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: 326px;
    }

    .other-projects .project-item .project-thumb {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .other-projects .project-item:hover .project-thumb {
        transform: scale(1.08);
    }

    .other-projects .project-item .project-img__overlay {
        position: absolute;
        inset: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
    }

    .other-projects .project-item .project-img__overlay--default {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 61.141%, rgba(0, 0, 0, 0.8) 100%);
        opacity: 1;
    }

    .other-projects .project-item .project-img__overlay--hover {
        background: linear-gradient(to bottom, rgba(38, 74, 188, 0) 21.579%, rgba(38, 74, 188, 0.8) 63.944%);
        opacity: 0;
    }

    .other-projects .project-item:hover .project-img__overlay--default {
        opacity: 0;
    }

    .other-projects .project-item:hover .project-img__overlay--hover {
        opacity: 1;
    }

    .other-projects .project-item .project-img__content {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 24px;
        display: flex;
        flex-direction: column;
        color: var(--white-color);
        z-index: 2;
    }

    .other-projects .project-item .project-img__title {
        color: var(--white-color);
        font-family: "Lexend Deca", sans-serif;
        font-size: 20px;
        font-weight: 500;
        line-height: 1.3;
        margin: 0;
    }

    .other-projects .project-item .project-img__desc-wrapper {
        display: grid;
        grid-template-rows: 0fr;
        margin-top: 0;
        opacity: 0;
        transition: grid-template-rows 0.4s ease, margin-top 0.4s ease, opacity 0.4s ease;
    }

        .other-projects .project-item .project-img__desc-wrapper > .project-img__desc {
            overflow: hidden;
            min-height: 0;
            color: var(--white-color);
            font-family: "Lexend Deca", sans-serif;
            font-size: 16px;
            font-weight: 400;
            line-height: 1.5;
            margin: 0;
        }

    .other-projects .project-item:hover .project-img__desc-wrapper {
        grid-template-rows: 1fr;
        margin-top: 24px;
        opacity: 1;
    }

    .other-projects .project-item .project__tags {
        display: flex;
        flex-flow: row wrap;
        align-items: center;
        gap: 8px;
    }

    .other-projects .project-item .project__tag {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        height: 36px;
        background: var(--main-color);
    }

        .other-projects .project-item .project__tag svg {
            flex-shrink: 0;
            width: 18px;
            height: 18px;
        }

        .other-projects .project-item .project__tag img {
            flex-shrink: 0;
            width: 18px;
            height: 18px;
            object-fit: contain;
        }

        .other-projects .project-item .project__tag p {
            color: var(--teal-500);
            font-size: 14px;
            font-weight: 600;
            line-height: 1.5;
            white-space: nowrap;
            margin: 0;
        }

.other-projects__cta--mobile {
    display: none;
}

.other-projects__pagination {
    display: none;
    text-align: center;
    margin-top: 16px;
}

    .other-projects__pagination .swiper-pagination-bullet {
        width: 40px;
        height: 4px;
        border-radius: 0;
        background: #A2A09E;
        opacity: 1;
        margin: 0 3px !important;
    }

    .other-projects__pagination .swiper-pagination-bullet-active {
        background: var(--blue-vibrant1-500);
    }

/* === RESPONSIVE: TABLET (<=1280px) === */
@media screen and (max-width: 1280px) {
    .pd-stickbar__inner,
    .pd-hero__inner,
    .pd-content__inner,
    .other-projects__inner {
        padding-left: 40px;
        padding-right: 40px;
    }

    .pd-content__inner {
        display: grid;
        grid-template-columns: 180px 1fr;
        column-gap: 40px;
        align-items: stretch;
    }

    .pd-quicklink {
        position: relative;
        inset: auto;
        margin-right: 0;
        width: auto;
        grid-column: 1;
        grid-row: 1 / span 2;
    }

    .pd-main {
        grid-column: 2;
    }

    .pd-media {
        grid-column: 2;
        max-width: 100%;
    }
}

/* === RESPONSIVE: MOBILE (<=768px) === */
@media screen and (max-width: 768px) {
    .pd-stickbar {
        top: var(--mp-nav-h, 56px);
    }

    .pd-stickbar__inner {
        padding: 12px 16px;
        gap: 12px;
        min-height: auto;
        display: block;
    }

    .pd-stickbar__back {
        display: none;
    }

    .pd-stickbar__title {
        font-size: 16px;
        line-height: 22.4px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .pd-hero {
        margin-top: 0;
    }

    .pd-hero__inner {
        padding: 24px 16px 0;
        gap: 24px;
    }

    .pd-hero__title {
        font-size: 32px;
        line-height: 1.2;
    }

    .pd-hero__image {
        aspect-ratio: 408 / 230;
        --pd-hero-clip: 16px;
    }

    .pd-hero__overview {
        order: 1;
        flex-flow: column;
        align-items: stretch;
        gap: 24px;
    }

    .pd-hero__overview-item {
        flex-flow: row;
        align-items: flex-start;
        gap: 40px;
    }

    .pd-hero__overview-label {
        width: 150px;
        flex-shrink: 0;
    }

    .pd-hero__overview-value {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.5;
    }

    .pd-hero__overview-divider {
        display: block;
        width: 100%;
        height: 1px;
        background: #E4E2DF;
    }

    .pd-back-btn--hero {
        display: none;
    }

    /* Content */
    .pd-content__inner {
        padding: 32px 16px 40px;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pd-quicklink {
        display: none;
    }

    .pd-main {
        grid-column: 1;
        max-width: 100%;
        gap: 56px;
    }

    .pd-section {
        gap: 24px;
        scroll-margin-top: 110px;
    }

    .pd-section__title {
        font-size: 20px;
        line-height: 1.3;
    }

    .pd-section__image {
        margin-top: 16px;
    }

    .pd-stats {
        max-width: 100%;
        gap: 32px;
    }

    .pd-stats__grid {
        gap: 24px;
    }

    .pd-stats__item {
        gap: 12px;
    }

    .pd-stats__num {
        font-size: 56px;
    }

    .pd-stats__unit {
        font-size: 24px;
    }

    /* Achievements: stack image above content on mobile */
    .pd-ach {
        gap: 24px;
    }

    .pd-ach__swiper {
        margin-bottom: 0;
    }

    .pd-ach__slide {
        flex-flow: column;
        width: 100%;
        clip-path: polygon( 16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px );
    }

    .pd-ach__img {
        width: 100%;
        aspect-ratio: 408 / 308;
    }

    .pd-ach__content {
        width: 100%;
        min-height: 200px;
        gap: 24px;
        justify-content: flex-start;
    }

    .pd-ach__head {
        gap: 8px;
    }

    .pd-ach__title {
        font-size: 18px;
        font-weight: 500;
        line-height: 1.35;
    }

    .pd-ach__nav {
        display: none;
    }

    .pd-ach__pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        margin-top: 16px;
    }

        .pd-ach__pagination .swiper-pagination-bullet {
            width: 40px;
            height: 4px;
            border-radius: 0;
            background: #A2A09E;
            opacity: 1;
            margin: 0 !important;
        }

        .pd-ach__pagination .swiper-pagination-bullet-active {
            background: var(--blue-vibrant1-500);
        }

    /* Media */
    .pd-media {
        grid-column: 1;
        gap: 24px;
        margin-top: 56px;
    }

    .pd-media__frame {
        margin-top: 0;
    }

    .pd-media__swiper .swiper-slide {
        width: 100%;
        aspect-ratio: 408 / 308;
    }

    .pd-media__nav-btn {
        display: none;
    }

    .pd-media__pagination {
        gap: 6px;
        margin-top: 0;
    }

        .pd-media__pagination .swiper-pagination-bullet {
            width: 40px;
        }

    /* Other projects mobile */
    .other-projects__inner {
        padding: 48px 16px;
    }

    .other-projects__title {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.25;
    }

    .other-projects__header {
        flex-flow: column;
        align-items: stretch;
        gap: 24px;
        padding-bottom: 24px;
        border-bottom: 1px solid #B7BFCD;
    }

    .other-projects__cta {
        display: none;
    }

    .other-projects__cta--mobile {
        display: inline-flex;
        align-self: flex-start;
        height: 48px;
        padding: 16px;
        margin-top: 32px;
    }

    .other-projects .projects {
        flex-flow: row;
        gap: 0;
        justify-content: flex-start;
    }

    .other-projects .project-item {
        width: 100%;
        gap: 12px;
    }

        .other-projects .project-item .project-img__container {
            height: 308px;
        }

        .other-projects .project-item .project-img__desc-wrapper {
            display: none;
        }

        .other-projects .project-item .project-item__desc {
            display: block;
            color: #333;
            font-size: 16px;
            font-weight: 400;
            line-height: 1.5;
            margin: 0;
        }

        .other-projects .project-item .project__tag {
            padding: 4px 8px;
            height: auto;
        }

            .other-projects .project-item .project__tag svg {
                width: 12px;
                height: 12px;
            }

    .other-projects__pagination {
        display: block;
        margin-top: 40px;
    }
}
