
.hero-classic-section {
    width: 100%;
    background: #fff;
    padding: 0 var(--wrap);
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 1200px ) {
    .hero-classic-section {
        padding: 0 !important;
        margin:0;
    }
}

.hero-classic-container {
    position: relative;
    width: 100%;
    height: 90svh;
    min-height: 35rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero-classic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    will-change: transform;
    pointer-events: none;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-classic-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 19, 45, 0.85) 0%, rgba(22, 41, 91, 0.45) 50%, rgba(22, 41, 91, 0.05) 100%);
    z-index: 1;
}

.hero-classic-content {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 6%;
    max-width: 1150px;
}

.hero-classic-title {
    font-family: "Roboto", sans-serif;
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0;
    margin: 0;
}

.hero-classic-title strong {
    font-weight: 700;
}

.hero-classic-subtitle {
    font-family: "Roboto", sans-serif;
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    font-weight: 400;
    letter-spacing: 0.02em; 
    margin: 20px 0 0 0;
}

.hero-classic-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(var(--blocks-count, 4), 1fr);
    background: linear-gradient(to top, rgba(10, 19, 45, 0.8), rgba(10, 19, 45, 0.5));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.hero-classic-nav-item {
    position: relative;
    color: #fff;
    text-decoration: none;
    padding: 24px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, var(--color-blue-200, #16295b) 50%, transparent 50%);
    background-size: 100% 200%;
    background-position: bottom;
    transition: color 0.4s ease, background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-classic-nav-item:not(:last-child)::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 40%;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.hero-classic-nav-item:hover {
    color: #fff;
    background-position: top;
}

@media (max-width: 1024px) {
    .hero-classic-nav {
        position: relative;
        bottom: auto;
        left: auto;
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-classic-nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .hero-classic-nav-item:nth-child(even)::before {
        display: none;
    }
}

@media (max-width: 600px) {

    .front-section {
        margin-top: 2rem;
    }

    .hero-classic-container {
        height: 100svh;
        justify-content: center;
    }
    .hero-classic-content {
        flex-grow: 0;
        padding: 40px 15px 40px;
    }
    .hero-classic-nav {
        grid-template-columns: 1fr;
        background: none;
        border-top: none;
        box-shadow: none;
        gap: 10px;
        padding: 0 15px;
    }
    .hero-classic-nav-item {
        padding: 14px 20px;
        font-size: 0.95rem;
        line-height: 1.3;
        background: rgba(22, 41, 91, 0.75);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }
    .hero-classic-nav-item::before {
        display: none;
    }
}