/* ==========================================================================
   Service Single Pages CSS - Verale Theme
   (Экспертный рекрутинг, Executive Search, Линейный, Региональный, Аренда, Консалтинг, Международный)
   ========================================================================== */

/* Layout & Container */
.verale-service-single-page {
    background-color: #ffffff;
    color: #101c26;
    font-family: 'Montserrat', sans-serif;
}

.verale-service-single-page .fp-container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 1. Main Heading & Intro Callout */
.spec-callout-section {
    padding: 24px 0 10px 0;
    background: #ffffff;
}

.service-main-h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #101c26 !important;
    margin: 24px 0 16px 0 !important;
    line-height: 1.35 !important;
    text-align: left !important;
}

/* Target Audience Box - Placed directly after H1 and before intro paragraph */
.service-audience-wrap {
    margin: 0 0 20px 0;
}

.service-audience-box {
    background: #fbf9ff;
    border-left: 4px solid #9366eb;
    border-top: 1px solid #ede4fc;
    border-right: 1px solid #ede4fc;
    border-bottom: 1px solid #ede4fc;
    padding: 14px 18px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.service-audience-label {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #9366eb !important;
    margin: 0 !important;
    white-space: nowrap;
}

.service-audience-text {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14.5px !important;
    color: #334155 !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.service-intro-desc {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 0 0 28px 0 !important;
    text-align: justify !important;
}

/* 2. Key Parameters Grid */
.service-params-section {
    padding: 10px 0 50px 0;
}

.service-params-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-param-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-param-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(16, 28, 38, 0.06);
    border-color: #9366eb;
    background: #ffffff;
}

.service-param-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.service-param-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #f3ebfc;
    color: #9366eb;
    font-size: 16px;
    flex-shrink: 0;
}

.service-param-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-param-val {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #101c26;
    margin-bottom: 8px;
    line-height: 1.3;
}

.service-param-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* 3. Positions & Included Section */
.positions-section {
    padding: 50px 0 60px 0;
    background: #ffffff;
}

.fp-section-header {
    text-align: center;
    max-width: 840px;
    margin: 0 auto 40px auto;
}

.fp-section-tag {
    display: inline-block;
    background: rgba(147, 102, 235, 0.1);
    color: #9366eb;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.fp-section-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #101c26 !important;
    line-height: 1.25 !important;
    margin: 0 0 10px 0 !important;
}

.fp-section-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.service-included-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.service-included-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-included-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: #9366eb;
    background: #ffffff;
}

.included-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #9366eb;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.included-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.5;
    font-weight: 500;
    align-self: center;
}

/* 4. Geography Hub Grid */
.ratings-geo-section {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.geo-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.geo-hub-panel {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: all 0.2s ease;
}

.geo-hub-panel:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
    background: #ffffff;
}

.geo-hub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.geo-hub-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.geo-hub-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3ebfc;
    flex-shrink: 0;
}

.geo-hub-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #101c26 !important;
    margin: 0 !important;
}

.geo-hub-count-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #9366eb;
    background: #ede3fd;
    padding: 4px 9px;
    border-radius: 20px;
    white-space: nowrap;
}

.geo-hub-cities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    align-items: stretch;
}

.geo-hub-pill {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 12px;
    border-radius: 6px;
    transition: all 0.15s ease;
    box-sizing: border-box;
    white-space: nowrap;
}

.geo-hub-pill:hover {
    background: #ffffff;
    border-color: #9366eb;
    color: #9366eb;
    box-shadow: 0 2px 8px rgba(147, 102, 235, 0.15);
    transform: translateY(-1px);
}

/* 5. Primary Button & CTA Banner Styles */
.fp-btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #9366eb !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px 34px !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(147, 102, 235, 0.35) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    border: none !important;
}

.fp-btn-primary:hover {
    background-color: #7a46d6 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(147, 102, 235, 0.45) !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

.spec-bottom-cta {
    padding: 60px 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    color: #101c26;
    text-align: center;
}

.spec-bottom-cta h2 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #101c26 !important;
    margin: 0 0 12px 0 !important;
}

.spec-bottom-cta p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #4b5563;
    margin: 0 auto 24px auto;
    max-width: 720px;
    line-height: 1.55;
}

.spec-bottom-cta-note {
    font-size: 13px;
    color: #9366eb;
    margin-top: 14px;
    font-weight: 600;
}

/* 6. Responsive Adaptations */
@media (max-width: 1024px) {
    .service-params-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-included-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-main-h1 {
        font-size: 20px !important;
        margin: 20px 0 12px 0 !important;
    }
    .service-params-grid {
        grid-template-columns: 1fr;
    }
    .service-included-grid {
        grid-template-columns: 1fr;
    }
    .geo-hub-grid {
        grid-template-columns: 1fr;
    }
    .spec-bottom-cta {
        padding: 45px 0;
    }
    .spec-bottom-cta h2 {
        font-size: 22px !important;
    }
    .spec-bottom-cta p {
        font-size: 14.5px;
    }
    .fp-btn-primary {
        width: 100% !important;
        padding: 13px 20px !important;
        font-size: 14px !important;
        box-sizing: border-box !important;
    }
}
