:root {
    --max-content-width: 1400px;

    --primary: #D01B27;
    --primary-bg: #D01B27;

    --text: #333;

    --font-size-clamp: clamp(12px, calc((16 / 1920) * 100vw), 16px);
    --font-size-14-clamp: clamp(12px, calc((14 / 1920) * 100vw), 14px);
    --font-size-18-clamp: clamp(14px, calc((18 / 1920) * 100vw), 18px);
    --font-size-20-clamp: clamp(14px, calc((20 / 1920) * 100vw), 20px);
    --font-size-22-clamp: clamp(14px, calc((22 / 1920) * 100vw), 22px);
    --font-size-24-clamp: clamp(14px, calc((24 / 1920) * 100vw), 24px);
    --font-size-28-clamp: clamp(16px, calc((28 / 1920) * 100vw), 28px);
    --font-size-32-clamp: clamp(18px, calc((32 / 1920) * 100vw), 32px);
    --font-size-54-clamp: clamp(20px, calc((54 / 1920) * 100vw), 54px);
    --font-size-64-clamp: clamp(24px, calc((64 / 1920) * 100vw), 64px);

    --page-header-height: clamp(60px, calc(100 / 1920 * 100vw), 100px);

    --spacing-20: clamp(12px, calc(20 / 1920 * 100vw), 20px);
    --spacing-30: clamp(16px, calc(30 / 1920 * 100vw), 30px);
    --spacing-40: clamp(20px, calc(40 / 1920 * 100vw), 40px);
}

html {
    color: var(--text);
    font-size: var(--font-size-clamp) !important;
    font-weight: 400;
    /* font-family: "Poppins"; */
}

html,
body {
    height: 100%;
}

body.disable-scroll {
    overflow: hidden;
}

input,
textarea {
    border: none;
    outline: none;
    background-color: transparent;
    font-family: "Poppins";
}

.g-c-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-20);
}

.g-c-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-20);
}

.text-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.text-ellipsis__l2 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.text-ellipsis__l3 {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

a,
a:focus {
    color: inherit;
    text-decoration: none;
    font-size: inherit;
}

.max-content-width {
    max-width: var(--max-content-width);
    width: 100%;
    margin: auto;
    padding: 0 var(--spacing-40);
}

.btn {
    font-size: 1rem;
    color: #fff;
    max-width: max-content;
    line-height: clamp(40px, calc((58 / 1920) * 100vw), 58px);
    padding: 0 clamp(20px, calc(38 / 1920 * 100vw), 38px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    background: var(--primary-bg);
    border-radius: 300px;
    transition: all .3s linear;
}

.btn:hover {
    transform: translate(6px);
}

.btn .icon-right {
    --w: clamp(16px, calc((20 / 1920) * 100vw), 20px);
    height: var(--w);
}

.page-banner {
    height: clamp(240px, calc((600 / 1920) * 100vw), 600px);
    position: relative;
    overflow: hidden;
}

.page-banner .page-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner .page-banner__content {
    min-height: clamp(100px, calc((240 / 1920) * 100vw), 240px);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: var(--spacing-40);
}

.section-wrap {
    --section-text: #fff;
    --section-title-size: var(--font-size-64-clamp);
    color: var(--section-text);
}

.section-wrap .section-wrap__title {
    font-size: var(--section-title-size);
    font-weight: 600;
    line-height: 1;
}

.section-wrap .section-wrap__subtitle {
    font-size: var(--font-size-28-clamp);
    padding-bottom: var(--spacing-20);
}

.section-wrap .section-wrap__desc {
    font-size: var(--font-size-20-clamp);
    font-weight: 300;
}

.section-wrap .learn-more__btn {
    margin-top: clamp(20px, calc(54 / 1920 * 100vw), 54px);
}

.layer {
    --layer-text: var(--text);
    --layer-spacing: clamp(30px, calc(150 / 1920 * 100vw), 150px) 0;
    --spacing-60: clamp(30px, calc(60 / 1920 * 100vw), 60px);
    color: var(--layer-text);
    padding: var(--layer-spacing);
}

.layer .section-wrap {
    --section-text: var(--layer-text);
    --section-title-size: var(--font-size-54-clamp);
    text-align: center;
}

.layer .section-wrap .section-wrap__title {
    line-height: 1.2;
    padding-bottom: clamp(8px, calc(20 / 1920 * 100vw), 20px);
}

.layer .section-wrap .section-wrap__desc {
    line-height: 1.2;
}

.layer .layer-main {
    margin-top: var(--spacing-60);
}

.layer .layer-footer .btn {
    margin: var(--spacing-60) auto 0;
}

.business-box {
    --business-title: var(--font-size-32-clamp);
    height: 100%;
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    line-height: 1.2;
    min-height: clamp(14px, calc((460 / 1920) * 100vw), 460px);
    background-color: #fff;
    border: 1px solid;
    border-color: #DBDADA;
    padding: var(--spacing-20);
    box-shadow: 0 0 12px 0 transparent;
    transition: border-color .3s linear, box-shadow .3s linear;
    position: relative;
}

/* .business-box::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 73, 255, .1);
    backdrop-filter: blur(20px);
} */

.business-box:hover {
    border-color: transparent;
    box-shadow: 0 0 12px 0 rgba(12, 41, 111, .23);
    transition: border-color .3s linear, box-shadow .3s linear;
}

.business-box__content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.business-box .business-box__wrap {
    padding: var(--spacing-20) 0;
}

.business-box .business-box__title {
    font-size: var(--business-title);
    font-weight: 500;
    margin-bottom: clamp(8px, calc((12 / 1920) * 100vw), 12px);
}

.business-box .business-box__poster {
    margin-top: var(--spacing-20);
    aspect-ratio: 201 / 130;
    overflow: hidden;
}

.business-box .business-box__poster img {
    width: 100%;
    transition: all .3s linear;
}

.business-box:hover .business-box__poster img {
    transform: scale(1.2);
}

.new-box {
    font-size: var(--font-size-20-clamp);
    line-height: 1.2;
}

.new-box .new-box__poster {
    position: relative;
    aspect-ratio: 318 / 205;
    overflow: hidden;
}

.new-box .new-box__poster img {
    width: 100%;
    transition: all .3s linear;
}

.new-box:hover .new-box__poster img {
    transform: scale(1.2);
}

.new-box .new-box__poster .new-box__tag {
    --tb: clamp(4px, calc((8 / 1920) * 100vw), 8px);
    --lr: clamp(10px, calc((16 / 1920) * 100vw), 16px);
    color: #fff;
    font-size: var(--font-size-14-clamp);
    background-image: var(--primary-bg);
    padding: var(--tb) var(--lr);
    position: absolute;
    top: 0;
    left: 0;
}

.new-box .new-box__content {
    --t: clamp(16px, calc((24 / 1920) * 100vw), 24px);
    --b: clamp(20px, calc((40 / 1920) * 100vw), 40px);
    padding-top: var(--t);
    padding-bottom: var(--b);
    border-bottom: 1px solid #95A8C5;
}

.new-box .time {
    color: #999;
}

.new-box .inner-text {
    margin-top: clamp(6px, calc((8 / 1920) * 100vw), 8px);
}

.animate__scale {
    animation-name: scale;
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1);
}

@keyframes scale {
    from {
        transform-origin: left top;
        transform: scale(1.3);
    }

    to {
        transform-origin: left top;
        transform: scale(1);
    }
}

@media screen and (max-width: 1600px) {
    :root {
        --max-content-width: 1200px;
    }
}

@media screen and (max-width: 1440px) {
    :root {
        --max-content-width: 1024px;
    }
}

@media screen and (max-width: 768px) {
    .g-c-2 {
        grid-template-columns: repeat(1, 1fr);
    }
}