.bds-hero,
.bds-hero * {
    box-sizing: border-box;
}

.bds-hero {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;   
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.bds-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.bds-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.bds-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.40) 50%,
        rgba(0, 0, 0, 0.10) 100%
    );
}

.bds-hero__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    text-align: center;        
    display: flex;
    flex-direction: column;
    align-items: center;       
}

.bds-hero__label {
    display: inline-flex;
    align-items: center;
    background: #e85a24;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 18px;
    line-height: 1;
}

.bds-hero__title {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.22;
    margin: 0 0 24px;
    max-width: 680px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.01em;
    white-space: nowrap;
    text-align: center;
}

.bds-hero__search-block {
    max-width: 660px;
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 10px;
    padding: 20px 24px 24px;
}

.bds-search-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 0;
    padding-left: 4px;
}

.bds-search-tab {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 10px 22px 12px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
    white-space: nowrap;
    line-height: 1;
}

.bds-search-tab::after {
    content: '';
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 0;
    height: 3px;
    background: #e85a24;
    border-radius: 2px 2px 0 0;
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: left;
}

.bds-search-tab.active {
    color: #fff;
}

.bds-search-tab.active::after {
    transform: scaleX(1);
}

.bds-search-tab:hover {
    color: rgba(255, 255, 255, 0.9);
}

.bds-search-input-row {
    display: flex;
    align-items: stretch;      
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
    padding: 5px;              
    gap: 6px;
    min-height: 54px;
}

.bds-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    align-self: stretch;       
    padding: 0 10px;
    margin: 0;
    gap: 10px;
    min-width: 0;
}

.bds-search-icon {
    color: #bbb;
    flex-shrink: 0;
}

.bds-search-input {
    flex: 1;
    border: none !important;
    outline: none !important;
    font-size: 15px;
    color: #333;
    background: transparent !important;
    min-width: 0;
    width: 100% !important;
    height: 100% !important;      
    margin: 0 !important;          
    padding: 0 !important;         
    box-shadow: none !important;   
    line-height: normal !important;
    vertical-align: middle !important;
}

.bds-search-input::placeholder {
    color: #bbb;
    font-weight: 400;
}

.bds-search-btn {
    background: #e85a24;
    color: #fff;
    border: none;
    padding: 0 24px;           
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    border-radius: 4px;        
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    margin: 0;
}

.bds-search-btn:hover {
    background: #cf4b19;
}
.bds-search-btn:active {
    transform: scale(0.98);
}

@media (max-width: 1024px) {
    .bds-hero__content {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .bds-hero {
        height: 360px;
        align-items: flex-end;
        padding-bottom: 28px;
    }
    .bds-hero__content {
        padding: 0 20px;
    }
    .bds-hero__label {
        font-size: 10px;
        padding: 5px 12px;
        margin-bottom: 12px;
    }
    .bds-hero__title {
        font-size: 1.5rem;
        margin-bottom: 18px;
        max-width: 100%;
    }
    .bds-hero__search-block {
        max-width: 100%;
    }
    .bds-search-tab {
        font-size: 12px;
        padding: 8px 16px 10px;
    }
    .bds-search-tab::after {
        left: 16px;
        right: 16px;
    }
    .bds-search-input-row {
        height: 48px;
    }
    .bds-search-input-wrap {
        padding: 0 14px;
        gap: 8px;
    }
    .bds-search-input {
        font-size: 14px;
    }
    .bds-search-btn {
        padding: 0 20px;
        font-size: 13px;
    }
}

@keyframes bdsShakeX {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
.bds-input-shake {
    animation: bdsShakeX 0.45s ease;
    outline: 2px solid #e85a24 !important;
    outline-offset: -2px;
}