/* BH-001 Visual 2.0 */
.bhh-hero-scene {
    position: relative;
    width: 100%;
    max-width: 1140px;
    height: 400px;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
    background: #f7f3ec url('../images/hero-bg.jpg') center 54% / cover no-repeat;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.bhh-hero-card {
    position: absolute;
    left: 48px;
    top: 34px;
    width: 510px;
    min-height: 292px;
    box-sizing: border-box;
    padding: 25px 28px 23px;
    border-radius: 18px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 10px 30px rgba(47,47,47,.14);
    color: #2f2f2f;
}

.bhh-hero-title {
    margin: 0 0 12px;
    color: #f4511e;
    font-size: 29px;
    line-height: 1.1;
    font-weight: 800;
    white-space: nowrap;
}

.bhh-hero-subtitle {
    max-width: 390px;
    margin: 0 0 10px;
    color: #d95c2b;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 700;
}

.bhh-hero-description {
    max-width: 445px;
    margin: 0 0 16px;
    color: #4f4f4f;
    font-size: 14px;
    line-height: 1.5;
}

.bhh-search-form {
    display: flex;
    width: 100%;
    height: 44px;
    margin: 0 0 18px;
    gap: 10px;
}

.bhh-search-label {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.bhh-search-field {
    width: 100%;
    height: 44px;
    box-sizing: border-box;
    padding: 0 15px;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    background: #fff;
    color: #2f2f2f;
    font-size: 12px;
    outline: none;
    box-shadow: none;
}

.bhh-search-field:focus {
    border-color: #d95c2b;
}

.bhh-search-submit {
    flex: 0 0 126px;
    height: 44px;
    padding: 0 16px;
    border: 0;
    border-radius: 12px;
    background: #f4511e;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 5px 14px rgba(244,81,30,.22);
}

.bhh-search-submit:hover,
.bhh-search-submit:focus {
    background: #d95c2b;
}

.bhh-hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bhh-feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: #2f2f2f;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.bhh-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border: 1px solid #f0a07e;
    border-radius: 50%;
    color: #d95c2b;
    font-size: 12px;
}






.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

@media (min-width: 577px) and (max-width: 992px) {
    .bhh-hero-scene {
        height: 440px;
        /* Tablet only: slight zoom gives us vertical room to lift the dish. */
        background-size: auto 116%;
        background-position: 60% 64%;
    }
    .bhh-hero-card {
        left: 28px;
        top: 28px;
        width: min(510px, calc(100% - 56px));
    }
}

@media (max-width: 576px) {
    .bhh-hero-scene {
        display: flex;
        flex-direction: column;

        /* Mobile Width Fix:
           Hero выходит из узкого контентного контейнера темы
           и занимает ширину viewport минус 12px с каждой стороны. */
        width: calc(100vw - 24px);
        max-width: none;
        height: auto;
        min-height: 0;
        margin-left: calc(50% - 50vw + 12px);
        margin-right: calc(50% - 50vw + 12px);
        padding: 220px 0 18px;
        overflow: visible;
        box-sizing: border-box;

        /* Фото — отдельная верхняя зона Hero. */
        background-image: url('../images/hero-bg.jpg');
        background-repeat: no-repeat;
        background-size: 100% 220px;
        background-position: center top;
        background-color: #f7f3ec;
    }

    .bhh-hero-card {
        position: static;
        order: 1;
        width: 100%;
        max-width: none;
        min-height: 0;
        margin: 0;
        padding: 22px 18px;
        box-sizing: border-box;
        border-radius: 16px;
        background: rgba(255,255,255,.98);
        box-shadow: 0 8px 24px rgba(47,47,47,.12);
    }

    .bhh-hero-title {
        margin: 0 0 12px;
        color: #f4511e;
        font-size: 30px;
        line-height: 1.08;
        white-space: normal;
    }

    .bhh-hero-description {
        max-width: none;
        margin: 0 0 16px;
        font-size: 13px;
        line-height: 1.5;
    }

    .bhh-search-form {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        margin: 0 0 16px;
        gap: 10px;
    }

    .bhh-search-label,
    .bhh-search-field,
    .bhh-search-submit {
        display: block;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    .bhh-search-field,
    .bhh-search-submit {
        height: 46px;
    }

    .bhh-search-submit {
        flex: none;
        padding: 0 16px;
    }

    .bhh-hero-features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        margin: 0;
    }

    .bhh-feature-item {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
}
