.header-hero {
    padding: 60px 0 40px 0;
    position: relative;
}

.page-home .site-logo {
    max-width: 200px;
    height: auto;
}

.main-headline {
    font-weight: 900;
    font-size: 2.8rem;
    line-height: 1.1;
    margin: 40px 0;
    text-transform: uppercase;
}

.main-headline .blue-text {
    color: var(--main-blue);
}

.main-headline .red-text {
    color: var(--main-red);
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background-color: var(--main-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 15px;
}

.feature-text {
    font-size: 0.85rem;
    line-height: 1.2;
    color: #333;
}

.feature-text strong {
    display: block;
    color: var(--main-blue);
    text-transform: uppercase;
    font-size: 0.95rem;
}

.header-bottom-bar {
    background-color: var(--main-blue);
    color: #fff;
    padding: 25px 0;
    position: relative;
    z-index: 10;
}

.slogan-block {
    border-left: 2px solid var(--main-red);
    padding-left: 15px;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.stat-divider {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 20px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--main-red);
    font-size: 0.85rem;
    line-height: 1.2;
    text-transform: lowercase;
}

.cursive-slogan {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: 2rem;
    transform: rotate(-3deg);
    line-height: 1;
    text-align: center;
}

.cursive-slogan .red-part {
    color: var(--main-red);
    display: block;
    margin-left: 30px;
}

.section-title {
    font-weight: 900;
    color: var(--main-blue);
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.title-divider {
    height: 3px;
    width: 60px;
    background-color: var(--main-red);
    margin: 0 auto;
    border-radius: 2px;
}

.custom-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.custom-card__media {
    border-bottom: 2px solid var(--main-red);
}

.custom-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.custom-card .card-img-top {
    width: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-bottom: 2px solid var(--main-red);
}

.custom-card .card-title {
    font-weight: 800;
    color: var(--main-blue);
    font-size: 1.25rem;
    text-transform: uppercase;
}

.custom-card .btn-outline-primary {
    color: var(--main-blue);
    border-color: var(--main-blue);
    font-weight: 600;
    border-radius: 6px;
    padding: 8px 20px;
}

.custom-card .btn-outline-primary:hover {
    background-color: var(--main-blue);
    color: #fff;
}

.header-hero__top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.25rem;
}

.header-hero__logo {
    flex-shrink: 0;
}

.header-hero__top .main-headline {
    margin: 0;
    flex: 1;
    min-width: 0;
    line-height: 1.15;
}

@media (max-width: 991.98px) {
    .header-hero {
        padding: 40px 0 30px;
    }

    .page-home .site-logo {
        max-width: 110px;
    }

    .header-hero__top .main-headline {
        font-size: clamp(0.9rem, 2.6vw, 1.35rem);
    }

    .header-bottom-bar {
        padding: 20px 0;
    }

    .header-bottom-bar .stat-divider {
        border-left: none;
        padding-left: 0;
    }

    .header-bottom-bar .row > .col-6:nth-child(even).stat-divider {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 15px;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    .cursive-slogan {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .header-hero {
        padding: 30px 0 24px;
    }

    .page-home .site-logo {
        max-width: 88px;
    }

    .header-hero__top {
        gap: 10px;
    }

    .header-hero__top .main-headline {
        font-size: clamp(0.72rem, 3.1vw, 0.95rem);
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        margin-right: 10px;
    }

    .feature-text {
        font-size: 0.72rem;
    }

    .feature-text strong {
        font-size: 0.78rem;
    }

    .feature-item {
        margin-bottom: 10px;
    }

    .header-bottom-bar {
        padding: 18px 0;
    }

    .slogan-block {
        font-size: 0.78rem;
        padding-left: 12px;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .cursive-slogan {
        font-size: 1.45rem;
    }

    .cursive-slogan .red-part {
        margin-left: 18px;
    }
}

@media (min-width: 992px) {
    .header-hero__top {
        display: block;
        margin-bottom: 0;
    }

    .header-hero__logo {
        margin-bottom: 1.5rem;
    }

    .header-hero__top .main-headline {
        margin: 40px 0;
        font-size: 2.8rem;
    }
}
