
.hero {
    position: relative;
    z-index: 1;
}

.hero-bg {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
    z-index: 1;
    padding-top: 320px;
    padding-bottom: 220px;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 30, 28, 0.45) 0%, rgba(0, 30, 28, 0.72) 100%);
    z-index: -1;
}


.hero-content {
    position: relative;
}

.hero-subtitle {
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-subtitle span {
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    color: #f8f7f0;
}

.hero-title {
    max-width: 780px;
    width: 100%;
    margin-bottom: 20px;
}

.hero-title h1 {
    font-weight: 700;
    font-size: 80px;
    line-height: 1.02;
    color: #f8f7f0;
    margin-bottom: 0;
}

.hero-title h1 span {
    color: #149bd7;
}

.hero-text {
    max-width: 540px;
    width: 100%;
    margin-bottom: 36px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(248, 247, 240, 0.85);
    margin-bottom: 0;
}


.hero-cta {
    display: flex;
    align-items: center;
    gap: 28px;
}

.hero-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(248, 247, 240, 0.5);
    backdrop-filter: blur(9px);
    color: #f8f7f0 !important;
}

.hero-btn::before {
    background: #149bd7;
}

.hero-btn:hover {
    border-color: #149bd7;
    background: rgba(255, 255, 255, 0.14);
    color: #fff !important;
}

.hero-btn .site-btn-icon-wrap {
    background: #149bd7;
    color: #004540;
}

.hero-btn:hover .site-btn-icon-wrap {
    background: #004540;
    color: #149bd7;
}


.hero-author-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-stat {
    padding-left: 22px;
    border-left: 1px solid rgba(248, 247, 240, 0.25);
}

.hero-stat h5 {
    font-weight: 700;
    font-size: 26px;
    color: #ffe175;
    margin-bottom: 4px;
    line-height: 1;
}

.hero-stat p {
    font-size: 13px;
    color: rgba(248, 247, 240, 0.75);
    margin-bottom: 0;
    line-height: 1.3;
}

.hero-link {
    font-weight: 500;
    font-size: 16px;
    color: rgba(248, 247, 240, 0.85);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
}

.hero-link:hover {
    color: #149bd7;
}


.hero-social {
    position: absolute;
    right: 90px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50px;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.hero-social-links a:hover {
    background: #149bd7;
    color: #004540;
    border-color: #149bd7;
}

.hero-social-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
}


@media (max-width: 1400px) {
    .hero-bg {
        padding-top: 260px;
        padding-bottom: 180px;
    }
    .hero-title h1 {
        font-size: 72px;
    }
}

@media (max-width: 1200px) {
    .hero-bg {
        padding-top: 230px;
        padding-bottom: 160px;
    }
    .hero-title h1 {
        font-size: 62px;
    }
    .hero-title {
        max-width: 620px;
    }
}

@media (max-width: 992px) {
    .hero-bg {
        padding-top: 220px;
        padding-bottom: 140px;
    }
    .hero-title h1 {
        font-size: 52px;
        line-height: 1.1;
    }
    .hero-title {
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .hero-bg {
        padding-top: 200px;
        padding-bottom: 120px;
    }
    .hero-title h1 {
        font-size: 42px;
    }
    .hero-text p {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-bg {
        padding-top: 160px;
        padding-bottom: 100px;
    }
    .hero-title h1 {
        font-size: 34px;
        line-height: 1.15;
    }
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    /* Pod tlačítkem už oddělovací linka nedává smysl */
    .hero-stat {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 992px) {
    .hero-social {
        display: none;
    }
}

