.hero {
    color: var(--white--white100, #FFF);
    padding: 80px 0;
    margin: 0 auto;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.30) 100%), url("../../../img/hero-bg.webp") center bottom / cover no-repeat;
}
.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}
.hero__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.hero__title {
    color: var(--white--white100, #FFF);
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
}
.hero__description {
    color: var(--white--white100, #FFF);
    text-align: center;
    font-size: 20px;
    margin: 0;
}
.hero__search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
}
.hero-search-form {
    width: 100%;
    max-width: 800px;
    background: var(--white--white100, #FFF);
    border-radius: 12px;
    padding: 8px;
    display: flex;
    gap: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
}
.hero-search-form__input-wrapper {
    flex: 1;
    position: relative;
}
input[type="text"].hero-search-form__input {
    width: 100%;
    border: 0;
    outline: 0;
    border-radius: 10px;
    padding: 20px 8px 8px 8px;      /* увеличили верхний отступ для места под label */
    color: var(--black--black10, #222324);
    font-size: 16px;
    min-height: 48px;
    line-height: 1.2;
    background: transparent;        /* фон будет давать обёртка или hover/focus */
    transition: background 0.2s ease;
}
.hero-search-form__label {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--black--black40, #666);
    pointer-events: none;           /* чтобы клик проходил сквозь метку к инпуту */
    transition: all 0.2s ease;
    transform-origin: left top;     /* масштабирование влево-вверх */
}
input[type="text"].hero-search-form__input:hover,
input[type="text"].hero-search-form__input:focus {
    border: 0 !important;
    background: var(--grey--grey90, #F7F7F7);
}
.hero-search-form__input:focus + .hero-search-form__label,
.hero-search-form__input:not(:placeholder-shown) + .hero-search-form__label {
    top: 5px; /* отступ сверху */
    transform: translateY(0) scale(0.65);
}
.hero__badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.hero__badge {
    display: flex;
    padding: 10px 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.70);
    color: var(--black--black10, #222324);
    text-align: center;
    font-size: 16px;
    transition: background 0.2s ease;
}
.hero__badge:hover {
    background: var(--white--white100, #FFF);
    color: var(--black--black10, #222324);
}
.hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.hero__action-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.hero__action-btn-text-description {
    font-size: 12px;
    color: var(--black--black40, #666);
}
.hero__action {
    min-height: 56px;
}
.hero__footer {
    display: flex;
    gap: 4px 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.hero__footer-item {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}
.hero__footer-item-label {
    font-weight: 400;
}
@media only screen and (max-width: 768px) {
    .hero__title {
        font-size: 36px;
    }
    .hero__description {
        font-size: 20px;
    }
    input[type="text"].hero-search-form__input {
        min-height: 40px;
    }
    .hero-search-form__submit {
        min-height: 40px;
        padding: 16px 20px;
        width: 40px;
        height: 40px;
    }
    .hero-search-form__submit-label {
        display: none;
    }
    .hero__actions {
        grid-template-columns: 1fr;
        width: 100%;
    }
}