﻿.home-banner {
    padding: 26px 0 10px;
}

.home-banner .container {
    position: relative;
    overflow: hidden;
    /* border-radius: 20px; */
    padding: 18px 24px 30px;
}

.home-banner .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.home-banner .wrap-item {
    width: 50%;
}

.home-banner .wrap-item.left {
    max-width: 520px;
    padding-top: 4px;
}

.home-banner .subTitle {
    font-size: 13px;
    
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--color-1);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.home-banner .title {
    font-size: 40px;
    line-height: 1.18;
    font-weight: 600;
    color: var(--black-soft);
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.home-banner .title strong {
    display: block;
    font-weight: 600;
    color: var(--color-1);
    white-space: nowrap;
}

.home-banner .description {
    max-width: 480px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    color: var(--text-body-2);
    margin-bottom: 22px;
}

.home-banner .btn {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.home-banner .btn-item {
    min-height: 46px;
    padding: 0 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.home-banner .btn-item:first-child {
    background: var(--color-1);
    color: var(--white);
    box-shadow: 0 12px 24px rgba(251, 97, 4, 0.2);
}

.home-banner .btn-item:first-child .icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.home-banner .btn-item:last-child {
    background: var(--white);
    color: var(--color-2);
    border: 1px solid var(--border-soft);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.home-banner .btn-item:last-child .icon {
    color: var(--color-1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-banner .btn-item:hover {
    transform: translateY(-2px);
}

.home-banner .slogan {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.home-banner .slogan-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-body-2);
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.home-banner .slogan-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -12px;
    width: 1px;
    height: 16px;
    background: var(--separator);
    transform: translateY(-50%);
}

.home-banner .slogan-item .icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-subtle);
    font-size: 14px;
}

.home-banner .wrap-item.right {
    max-width: 580px;
}

.home-banner .wrap-item.right img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 1023px) {
    .home-banner {
        padding: 18px 0 8px;
    }

    .home-banner .container {
        padding: 24px;
        /* border-radius: 18px; */
    }

    .home-banner .wrap {
        gap: 24px;
    }

    .home-banner .wrap-item.left {
        width: 56%;
        max-width: none;
    }

    .home-banner .wrap-item.right {
        width: 44%;
        max-width: none;
    }

    .home-banner .title {
        font-size: clamp(30px, 4vw, 36px);
    }

    .home-banner .title strong {
        white-space: normal;
    }

    .home-banner .btn {
        gap: 10px;
    }

    .home-banner .btn-item {
        min-height: 44px;
        padding: 0 16px;
        gap: 8px;
    }

    .home-banner .slogan {
        gap: 12px 18px;
    }

    .home-banner .slogan-item {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .home-banner {
        padding: 12px 0 8px;
    }

    .home-banner .container {
        padding: 24px 18px 18px;
        /* border-radius: 16px; */
    }

    .home-banner .wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .home-banner .wrap-item.left,
    .home-banner .wrap-item.right {
        width: 100%;
        max-width: none;
    }

    .home-banner .wrap-item.left {
        padding-top: 0;
    }

    .home-banner .subTitle {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .home-banner .title {
        max-width: 560px;
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.15;
        margin-bottom: 12px;
    }

    .home-banner .description {
        max-width: 600px;
        font-size: 14px;
        line-height: 1.55;
        margin-bottom: 18px;
    }

    .home-banner .btn {
        /* display: grid; */
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 18px;
    }

    .home-banner .btn-item {
        width: 100%;
        min-width: 0;
        padding: 0 12px;
    }

    .home-banner .slogan {
        gap: 10px 16px;
    }

    .home-banner .slogan-item:not(:last-child)::after {
        display: none;
    }

    .home-banner .wrap-item.right {
        display: flex;
        justify-content: center;
    }

    .home-banner .wrap-item.right img {
        width: min(100%, 520px);
    }
}

@media (max-width: 479px) {
    .home-banner .container {
        padding: 0;
    }

    .home-banner .title {
        font-size: clamp(27px, 9vw, 32px);
    }

    .home-banner .btn {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .home-banner .btn-item {
        width: 100%;
        min-height: 42px;
        padding: 0 10px;
        font-size: 12px;
        gap: 6px;
        width: fit-content;
        justify-content: space-between;
    }

    .home-banner .slogan {
        display: grid;
        grid-template-columns: 1fr;
    }

    .home-banner .slogan-item {
        font-size: 13px;
    }

    .home-banner .wrap-item.right img {
        width: 100%;
    }
}
