/* =========================
   GLOBAL BUTTON
========================= */

.btn-global.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: 100%;
    min-height: var(--btn-height);
    margin-right: 0;
    margin-bottom: 0;
    padding: 0 var(--btn-padding-x) !important;
    color: var(--color-primary);
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--btn-radius);
    font-family: var(--font-body);
    font-size: var(--fs-button);
    font-weight: var(--fw-semibold);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color var(--btn-transition),
        background var(--btn-transition),
        border-color var(--btn-transition),
        box-shadow var(--btn-transition),
        transform var(--btn-transition);
}

.btn-global.button span {
    line-height: 1;
}

.btn-global--gradient.button {
    color: var(--color-white) !important;
    background: linear-gradient(
        90deg,
        var(--btn-gradient-start) 0%,
        var(--btn-gradient-end) 100%
    );
}

.btn-global--gradient.button:hover,
.btn-global--gradient.button:focus-visible {
    color: var(--color-white) !important;
    box-shadow: 0 8px 22px rgba(10, 35, 30, 0.2);
    transform: translateY(-1px);
}

/* =========================
   GLOBAL SECTION SPACING
========================= */

.section {
    padding-block: clamp(30px, 4vw, 48px) !important;
}

.section--small {
    padding-block: clamp(24px, 3vw, 24px) !important;
}

.section--medium {
    padding-block: clamp(30px, 4vw, 50px) !important;
}

.section--large {
    padding-block: clamp(45px, 6vw, 80px) !important;
}

.section--xlarge {
    padding-block: clamp(60px, 8vw, 120px) !important;
}

.section--no-top {
    padding-top: 0 !important;
}

.section--no-bottom {
    padding-bottom: 0 !important;
}

/* =========================
   GLOBAL SECTION TITLE
========================= */

.section-title {
    margin-bottom: clamp(18px, 3.34vw, 24px);
}

.section-title h2 {
    margin: 0;
    color: var(--color-heading);
    font-family: var(--font-heading);
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    line-height: var(--lh-heading);
    letter-spacing: var(--ls-heading);
}

/* =========================
   GLOBAL SECTION LABEL
========================= */

.section-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: var(--label-height);
    padding: var(--label-padding-y) var(--label-padding-x);
    color: var(--label-color);
    background: var(--label-background);
    border-radius: var(--label-radius-sm);
    box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.12),
            inset 0 -1px 0 rgba(255, 255, 255, 0.3);
    overflow: visible;
    isolation: isolate;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: clamp(12px,  1.6vw, 16px);
}

.section-label::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    padding: 1.2px;
    content: "";
    background:
            radial-gradient(
                    120% 160% at 50% 115%,
                    rgba(255, 255, 255, 0.9) 0%,
                    rgba(255, 255, 255, 0.55) 30%,
                    rgba(255, 255, 255, 0.12) 65%,
                    rgba(255, 255, 255, 0) 100%
            );
    border-radius: inherit;
    pointer-events: none;
    -webkit-mask:
            linear-gradient(#fff 0 0) content-box,
            linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Vệt sáng mờ chạy riêng phía dưới */

.section-label::after {
    position: absolute;
    right: 8%;
    bottom: 0;
    left: 8%;
    height: 1px;
    content: "";
    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.75) 50%,
            rgba(255, 255, 255, 0) 100%
    );
    border-radius: 999px;
    pointer-events: none;
}

.section-label p {
    position: relative;
    z-index: 2;
    margin: 0;
    color: var(--case-white);
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: var(--fs-body-sm);
    font-weight: var(--fw-semibold);
    line-height: 1;
    letter-spacing: var(--ls-uppercase);
}

.section-label p span,
.section-label p strong {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.col .col-inner:has(.section-label--center){
    display: flex;
    flex-direction: column;
}

.section-label--center {
    margin-left: auto;
    margin-right: auto;
}

.section-label--right {
    justify-content: flex-end;
}

/* =========================
   GLOBAL SECTION DESCRIPTION
========================= */

.section-description p {
    margin: 0;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--fs-body-lg);
    line-height: var(--lh-body);
}

@media (prefers-reduced-motion: reduce) {
    .btn-global.button {
        transition: none;
    }
}

/* =========================
   PAGE HERO GLOBAL
========================= */

.page-hero {
    --page-hero-height: clamp(280px, 26.3vw, 390px);
    --page-hero-radius: clamp(12px, 1.12vw, 16px);
    position: relative;
    overflow: hidden;
}


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

.page-hero__banner {
    position: relative;
    width: 100%;
    height: var(--page-hero-height);
    min-height: var(--page-hero-height) ;
    border-radius: var(--page-hero-radius);
    overflow: hidden;
    isolation: isolate;
}

.

/* Phủ tối nhẹ toàn ảnh */

.page-hero__banner::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    content: "";
    background: rgba(0, 0, 0, 0.03);
    pointer-events: none;
}

/* Gradient tối phía dưới */

.page-hero__banner::after {
    position: absolute;
    z-index: 1;
    inset: 45% 0 0;
    content: "";
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(8, 13, 11, 0.12) 42%,
            rgba(8, 13, 11, 0.62) 100%
    );
    pointer-events: none;
}

.page-hero__banner .banner-layers {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    height: 100%;
}

/* =========================
   TITLE
========================= */

.page-hero__title {
    width: 100%;
    margin: 0;
}

.page-hero__title h1,
.banner .page-hero__title h1 {
    width: 100%;
    margin: 0;
    color: var(--color-white);
    font-size: clamp(34px, 3.34vw, 48px);
    font-weight: var(--fw-bold);
    line-height: 1.1;
    letter-spacing: var(--ls-heading);
    text-align: left;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

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

@media (max-width: 849px) {
    .page-hero {
        --page-hero-height: clamp(260px, 42vw, 340px);
    }

    .page-hero__banner .bg {
        background-position: center;
    }
}

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

@media (max-width: 575px) {
    .page-hero {
        --page-hero-height: clamp(240px, 72vw, 300px);
        --page-hero-radius: 12px;
    }

    .page-hero__banner .bg {
        background-position: center;
    }

	.page-hero__title h1,
    .banner .page-hero__title h1 {
        font-size: clamp(32px, 10vw, 42px);
    }
}