/* Explain: Homepage hero banner styling with responsive background image. */
/* Homepage hero — premium full-width background banner.
   All rules are scoped to .cn-hero so no other page or section is affected. */

.cn-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 580px;
    padding: 84px 24px;
    background-color: #0B3B60;
    background-image:
        linear-gradient(100deg, rgba(6, 27, 46, 0.78) 0%, rgba(7, 31, 52, 0.72) 42%, rgba(9, 42, 69, 0.42) 74%, rgba(11, 59, 96, 0.22) 100%),
        url('https://files.cdn-files-a.com/uploads/12408141/normal_6af20692bdb75.jpg?ratio=11:6&format=avif');
    background-size: cover, cover;
    background-position: center, center;
    background-repeat: no-repeat, no-repeat;
    overflow: hidden;
}

.cn-hero-inner {
    position: relative;
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    text-align: left;
}

.cn-hero-pill {
    display: inline-block;
    margin: 0 0 22px;
    padding: 7px 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.cn-hero-title {
    max-width: 980px;
    margin: 0 0 18px;
    font-size: clamp(27px, 3.7vw, 46px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.015em;
    color: #FFFFFF;
}

.cn-hero-title-line {
    display: inline;
}

@media (min-width: 900px) {
    .cn-hero-title-line {
        display: block;
    }
}

.cn-hero-desc {
    max-width: 620px;
    margin: 0 0 26px;
    font-size: clamp(15px, 1.7vw, 19px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.cn-hero-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 36px;
    padding: 0;
    list-style: none;
}

.cn-hero-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
}

.cn-hero-point i {
    flex-shrink: 0;
    font-size: 17px;
    color: #F5A623;
}

.cn-hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 15px 38px;
    border-radius: 8px;
    background-color: #F5A623;
    color: #0B3B60;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(6, 27, 46, 0.4);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.cn-hero-cta:hover {
    background-color: #FFB800;
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .cn-hero {
        min-height: 480px;
        padding: 30px 22px 30px;
        background-image:
            linear-gradient(180deg, rgba(6, 27, 46, 0.72) 0%, rgba(8, 35, 58, 0.64) 100%),
            url('https://files.cdn-files-a.com/uploads/12408141/normal_6afcbb790b047.png?ratio=2:3&format=avif');
        background-position: center, center 25%;
        background-size: cover, cover;
    }

    .cn-hero-title {
        line-height: 1.15;
        margin-bottom: 16px;
    }

    .cn-hero-desc {
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .cn-hero-points {
        gap: 10px;
        margin-bottom: 21px;
    }

    .cn-hero-point {
        align-items: flex-start;
        gap: 9px;
        line-height: 1.42;
    }

    .cn-hero-point i {
        margin-top: 2px;
    }

    .cn-hero-cta {
        min-height: 43px;
        padding: 12px 22px;
        font-size: 13px;
        line-height: 1.2;
        gap: 8px;
    }
}

@media (max-width: 520px) {
    .cn-hero-cta {
        width: 100%;
        max-width: 272px;
        min-height: 44px;
        padding: 12px 18px;
        font-size: 13px;
        line-height: 1.2;
        gap: 8px;
        text-align: center;
    }

    .cn-hero-points {
        gap: 10px;
        margin-bottom: 20px;
    }
}