/* /var/www/pavel-gorin.local/public/css/landing.css */
/**
* /var/www/pavel-gorin.local/public/css/landing.css
* HERO-БЛОК — только позиционирование
* ВСЕ ОТСТУПЫ ТОЛЬКО ИЗ variables.css
*/

.header-block {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.hero-logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--margin-3xl);
    z-index: 5;
}

.hero-logo img {
    max-width: min(270px, 70vw);
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 15px rgba(42, 87, 199, 0.5));
    transition: var(--transition-std);
}

.hero-logo img:hover {
    filter: drop-shadow(0 0 25px rgba(42, 87, 199, 0.7));
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: min(450px, 80vw);
    min-height: min(450px, 80vw);
    background: radial-gradient(circle, rgba(42, 87, 199, 0.6) 0%, rgba(42, 87, 199, 0.25) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
    animation: gentlePulse 4s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.hero-photo-corner {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(450px, 35vw);
    max-width: 450px;
    height: auto;
    overflow: hidden;
    z-index: 20;
    pointer-events: none;
    border-bottom-right-radius: 20px;
}

.hero-photo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(42, 87, 199, 0.4));
    transition: var(--transition-slow);
    border-bottom-right-radius: 20px;
}

.hero-photo-corner:hover .hero-photo-img {
    filter: drop-shadow(0 0 30px rgba(42, 87, 199, 0.6));
    transform: translateY(-3px);
}

.hero-compact-list {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    max-width: min(450px, 35vw);
    background: rgba(6, 25, 52, 0.85);
    backdrop-filter: blur(8px);
    border-left: 2px solid var(--color-primary-light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: var(--padding-md) var(--padding-lg);
}

/* Стилизованная подложка для трёх основных элементов (как "По запросу") */
.compact-featured {
    background: rgba(149, 196, 250, 0.08);
    border: 1px solid rgba(149, 196, 250, 0.25);
    border-radius: var(--radius-sm);
    padding: var(--padding-md) var(--padding-lg);
    margin-bottom: var(--margin-lg);
}

.compact-featured .compact-item:last-child {
    margin-bottom: 0;
}

.compact-header {
    margin-bottom: var(--margin-sm);
    padding-bottom: var(--padding-xs);
}

.compact-divider {
    height: 2px;
    background: linear-gradient(0, var(--color-primary-light), transparent);
    margin-top: var(--margin-xs);
    width: 100%;
}

.compact-item:last-of-type {
    margin-bottom: 0;
}

/* === АДАПТИВ === */
@media (max-width: 768px) {
    .hero-compact-list {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        max-width: 100%;
        margin-bottom: var(--margin-2xl);
        border-left: none;
        border-radius: var(--radius-sm);
        text-align: center;
        background: rgba(6, 25, 52, 0.75);
        padding: var(--padding-lg);
    }
    
    .compact-item {
        display: block;
        margin-right: var(--margin-md);
        margin-bottom: var(--margin-sm);
    }
    
    /* Адаптация подложки на мобильных */
    .compact-featured {
        text-align: left;
        margin-bottom: var(--margin-lg);
    }
    
    .hero-logo {
        margin-bottom: var(--margin-2xl);
        order: -1;
    }
    
    .hero-photo-corner {
        position: relative;
        right: auto;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
    }
    
    .aization-hero-image-corner,
    .aization-mpgu-image-corner,
    .resume-photo-corner {
        display: none !important;
    }
    
    .hero-photo-corner {
        display: block !important;
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-top: var(--margin-lg);
    }
}