/* ============================================================
   БЛОК 2: HERO — мандала за фото
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero {
    background: #e7d3df;
    padding: 60px 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero__container {
    max-width: 1400px; /* Было 1200px */
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Было 1fr 1fr - правая колонка теперь шире */
    gap: 30px; /* Было 40px */
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ----- Левая колонка ----- */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    padding: 8px 18px 8px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: #5b2532;
    margin-bottom: 24px;
}

.hero__badge-icon {
    width: 20px;
    height: 20px;
}

.hero__title {
    font-size: 52px;
    font-weight: 300;
    color: #5b2532;
    line-height: 1.1;
    margin-bottom: 12px;
}

.hero__title span {
    font-weight: 600;
}

.hero__subtitle {
    font-size: 18px;
    color: #5b2532;
    line-height: 1.5;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #5b2532;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #5b2532;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(2, 50, 122, 0.25);
}

.btn-primary svg {
    fill: currentColor;
}

.hero__hint {
    font-size: 14px;
    color: #4a6fa5;
}

/* ============================================================
   ПРАВАЯ КОЛОНКА: ФОТО + МАНДАЛА
   ============================================================ */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    max-width: 750px; /* Было 600px */
    margin: 0 auto;
    width: 100%;
}

/* ----- Мандала (вращается за фото) ----- */
.hero__mandala {
    position: absolute;
    z-index: 1;
    width: 110%; /* Было 100% - теперь выходит за пределы контейнера */
    height: 110%; /* Было 100% */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: spin 60s linear infinite;
    pointer-events: none;
}

.hero__mandala img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0.6;
}

/* ----- Фото (в центре, поверх мандалы) ----- */
.hero__photo {
    position: absolute;
    z-index: 10;
    width: 70%; /* Было 65% */
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(2, 50, 122, 0.15);
    border: 4px solid rgba(255, 255, 255, 0.6);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero__photo img {
    width: 60%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
}

/* ============================================================
   АНИМАЦИИ
   ============================================================ */
@keyframes spin {
    0% { 
        transform: translate(-50%, -50%) rotate(0deg); 
    }
    100% { 
        transform: translate(-50%, -50%) rotate(360deg); 
    }
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1200px) {
    .hero__container {
        max-width: 1000px;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .hero__visual {
        max-width: 550px;
    }
    
    .hero__title { 
        font-size: 42px; 
    }
    
    .hero__subtitle { 
        font-size: 16px; 
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 16px;
        min-height: auto;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero__title { 
        font-size: 34px; 
    }
    
    .hero__subtitle { 
        margin: 0 auto 32px; 
    }
    
    .hero__actions { 
        justify-content: center; 
    }
    
    .hero__badge { 
        margin: 0 auto 24px; 
    }
    
    .hero__visual {
        max-width: 500px; /* Было 400px */
        order: -1;
    }
    
    .hero__photo { 
        width: 65%; /* Было 55% */
    }
    
    .hero__mandala {
        width: 105%;
        height: 105%;
    }
    
    .btn-primary { 
        padding: 12px 24px; 
        font-size: 14px; 
    }
}

@media (max-width: 480px) {
    .hero__title { 
        font-size: 28px; 
    }
    
    .hero__subtitle { 
        font-size: 14px; 
    }
    
    .hero__visual { 
        max-width: 400px; /* Было 320px */
    }
    
    .hero__photo { 
        width: 65%; 
    }
    
    .hero__mandala {
        width: 105%;
        height: 105%;
    }
}