/* stylelint-disable no-empty-source */

@media screen and (min-width: 1400px) {
  .header-middle-bar__container-logo {
    max-width: 160px;
  }
}

/*=====================стили описаний категорий===============================*/
.wh-custom-section {
    color: #333;
    line-height: 1.6;
}

.wh-custom-section * {
    box-sizing: border-box;
}

.wh-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #004f7a;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}

.wh-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ef4d40 0%, #004f7a 100%);
    border-radius: 2px;
}

.wh-hero {
    background: linear-gradient(135deg, #004f7a 0%, #006ba3 50%, #004f7a 100%);
    border-radius: 20px;
    padding: 40px 35px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 79, 122, 0.2);
}

.wh-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(239, 77, 64, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.wh-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(231, 236, 249, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.wh-hero h2 {
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin: 0 0 15px 0 !important;
    position: relative;
    z-index: 1;
    line-height: 1.3 !important;
}

.wh-hero p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.wh-hero-accent {
    display: inline-block;
    width: 50px;
    height: 4px;
    background: #ef4d40;
    border-radius: 2px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.wh-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 20px;
    border: 1px solid #e7ecf9;
    box-shadow: 0 4px 20px rgba(0, 79, 122, 0.04);
    transition: all 0.3s ease;
}

.wh-card:hover {
    box-shadow: 0 12px 35px rgba(0, 79, 122, 0.1);
    transform: translateY(-3px);
    border-color: #004f7a;
}

.wh-card p {
    color: #686868;
    font-size: 15px;
    margin: 0 0 15px 0;
}

.wh-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wh-list li {
    position: relative;
    padding: 12px 0 12px 35px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid #f0f3f8;
    transition: all 0.2s ease;
}

.wh-list li:last-child {
    border-bottom: none;
}

.wh-list li:hover {
    padding-left: 40px;
    color: #004f7a;
}

.wh-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #ef4d40 0%, #004f7a 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(239, 77, 64, 0.1);
}

.wh-list li strong {
    color: #004f7a;
    font-weight: 700;
}

.wh-advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.wh-advantage-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafd 100%);
    border-radius: 14px;
    padding: 22px 20px;
    border: 1px solid #e7ecf9;
    border-top: 4px solid #ef4d40;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.wh-advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 79, 122, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wh-advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 79, 122, 0.12);
    border-top-color: #004f7a;
}

.wh-advantage-card:hover::before {
    opacity: 1;
}

.wh-advantage-card strong {
    display: block;
    color: #004f7a;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.wh-advantage-card span {
    color: #686868;
    font-size: 13px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.wh-cta {
    background: linear-gradient(135deg, #004f7a 0%, #006ba3 100%);
    border-radius: 20px;
    padding: 35px 35px;
    margin-top: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 79, 122, 0.25);
}

.wh-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(239, 77, 64, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.wh-cta h3 {
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 0 15px 0 !important;
    position: relative;
    z-index: 1;
}

.wh-cta p {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 15px !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    position: relative;
    z-index: 1;
}

.wh-cta strong {
    color: #fff !important;
    font-weight: 700;
    background: rgba(239, 77, 64, 0.3);
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-block;
}

.wh-steps {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    counter-reset: step-counter;
}

.wh-steps li {
    counter-increment: step-counter;
    position: relative;
    padding: 14px 0 14px 60px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wh-steps li:last-child {
    border-bottom: none;
}

.wh-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 12px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ef4d40 0%, #ff6b5e 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(239, 77, 64, 0.4);
}

@media (max-width: 768px) {
    .wh-hero {
        padding: 30px 20px;
    }
    .wh-hero h2 {
        font-size: 22px !important;
    }
    .wh-card {
        padding: 20px 18px;
    }
    .wh-cta {
        padding: 25px 20px;
    }
    .wh-advantages-grid {
        grid-template-columns: 1fr;
    }
}