.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;  /* или space-between, если есть верхний и нижний контент */
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom); /* отступ для челки/динамического островка */
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    font-size: clamp(2.8rem, 30vw, 10rem); /* единая база для всего */
}

.hero-names {
    font-family: 'CormorantGaramond-Light', 'Cormorant Garamond', serif;
    font-weight: 100;
    color: #717d4f;
    margin: 0;
    /* Автоматическое масштабирование */
    /* font-size: clamp(2.8rem, 30vw, 10rem); */
    font-size: 1em; /* наследуется от родителя */
}

.hero-names:first-child {
    transform: translateX(clamp(-15px, -8vw, -135px)) translateY(0.15em);
}
.hero-names:last-child {
    transform: translateX(clamp(15px, 8vw, 138px)) translateY(-0.15em) ;
}

.wdq-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: clamp(90px, 20vw, 340px); */
    width: 1.5em;  /* 70% от размера одной буквы */
    height: auto;
    z-index: -1;
    opacity: 0.1;
}

/* Декоративные абсолютные картинки */
.deco-flower {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s;
}
.deco-1 {
    top: -20%;
    left: -10%;
    width: clamp(200px, 100vw, 720px);
    opacity: 0.5;
    transform: rotate(230deg);

    transition: opacity 1s ease-out;

    @starting-style {
        opacity: 0;
    } 
}
.deco-2 {
    
    top: -4%;
    right: -2%;
    width: clamp(200px, 100vw, 740px);
    opacity: 1;
    transform: scaleX(-1);
    
    transition: opacity 4s ease-out;

    @starting-style {
        opacity: 0;
    } 
}
.deco-3 {
    top: -4%;
    right: -1%;
    width: clamp(250px, 115vw, 940px);
    z-index: 1 !important;
    opacity: 0.1;
    transform: scaleX(-1);

    transition: opacity 4s ease-out;

    @starting-style {
        opacity: 0;
    } 
}

/* Анимации появления */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}



/* Подсказка-круг "листайте вниз" */
.scroll-hint {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    opacity: 1;
    visibility: visible;
    width: 100%;
}

.scroll-hint__circle {
    width: 25px;
    height: 25px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background-color: #505940;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    animation: bounce 2s infinite;
    transition: background-color 0.2s;
}

.scroll-hint__circle:hover {
    /* background-color: var(--primary-dark); */
    transform: scale(1.05);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
        opacity: 0;
    }
    50% {
        transform: translateY(25px);
        opacity: 1;
    }
}

/* Скрытое состояние (после скролла) */
.scroll-hint.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Адаптив для маленьких экранов */
@media (max-width: 768px) {
    .scroll-hint__circle {
        width: 15px;
        height: 15px;
        font-size: 1.4rem;
    }
    .scroll-hint {
        bottom: 10px;
    }

}