/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/* ========================================
   ОБЩИЕ СТИЛИ
   ======================================== */
.service-container,
.cases-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ========================================
   СТИЛИ ДЛЯ УСЛУГ (карточка с эффектом наведения)
   ======================================== */
.service-single-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.service-header {
    text-align: center;
    margin-bottom: 40px;
}

.service-title {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.service-subtitle {
    font-size: 18px;
    color: #7f8c8d;
    font-style: italic;
}

/* Основная карточка услуги */
.service-card-main {
    position: relative;
    margin: 30px 0 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: #fff;
    transition: transform 0.3s ease;
}

.service-card-main:hover {
    transform: translateY(-5px);
}

.service-card-inner {
    position: relative;
    width: 100%;
}

/* Изображение услуги */
.service-card-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 500px;
}

.service-card-image .service-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-card-main:hover .service-image {
    transform: scale(1.05);
}

/* Затемнение */
.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.7) 100%
    );
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.service-card-main:hover .service-card-overlay {
    opacity: 0.3;
}

/* Контент, появляющийся при наведении */
.service-card-content {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    padding: 40px 30px 30px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.service-card-main:hover .service-card-content {
    bottom: 0;
}

.service-card-text {
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    max-height: 120px;
    overflow-y: auto;
}

.service-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.service-meta .label {
    font-weight: 600;
    color: #7f8c8d;
    margin-right: 5px;
}

.service-meta .value {
    color: #2c3e50;
    font-weight: 500;
}

.service-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-service-order {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-service-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-service-back {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn-service-back:hover {
    color: #2c3e50;
    text-decoration: none;
}

/* Похожие услуги */
.related-services {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eef2f7;
}

.related-title {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.related-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.related-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-card:hover .related-card-image img {
    transform: scale(1.1);
}

.related-card-title {
    padding: 15px 20px;
    font-size: 18px;
    color: #2c3e50;
    text-align: center;
    margin: 0;
}

/* ========================================
   КЕЙСЫ - ПОМЕЩЕНИЯ
   ======================================== */
.cases-archive {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cases-header {
    text-align: center;
    margin-bottom: 50px;
}

.cases-title {
    font-size: 38px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.cases-description {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
}

/* Список кейсов */
.cases-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Карточка кейса */
.case-card-item {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #eef2f7;
}

.case-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.case-card-inner {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.case-card-link {
    display: flex;
    flex: 1;
    text-decoration: none;
    color: inherit;
    flex-wrap: wrap;
}

/* Блок с изображением */
.case-card-image-block {
    position: relative;
    flex: 0 0 40%;
    min-height: 300px;
    overflow: hidden;
    background: #f0f0f0;
}

.case-card-image-block .case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card-item:hover .case-image {
    transform: scale(1.05);
}

/* Плейсхолдер */
.case-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 18px;
}

/* Бейдж категории */
.case-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Блок с контентом */
.case-card-content-block {
    flex: 1;
    padding: 35px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.case-card-title {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 12px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.case-card-item:hover .case-card-title {
    color: #667eea;
}

.case-card-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

/* Детали помещения */
.case-card-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px 20px;
    padding: 15px 0;
    border-top: 1px solid #eef2f7;
    border-bottom: 1px solid #eef2f7;
    margin: 10px 0 20px;
}

.case-detail {
    font-size: 14px;
    color: #555;
}

.detail-label {
    font-weight: 600;
    color: #7f8c8d;
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.detail-value {
    color: #2c3e50;
    font-size: 15px;
}

/* Кнопка "Подробнее" */
.case-card-read-more {
    margin-top: auto;
}

.read-more-text {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.case-card-item:hover .read-more-text {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

/* Пустое состояние */
.cases-empty {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 16px;
}

.cases-empty p {
    font-size: 18px;
    color: #7f8c8d;
}

.cases-empty a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
}

.cases-empty a:hover {
    text-decoration: underline;
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */
@media (max-width: 992px) {
    .case-card-image-block {
        flex: 0 0 35%;
        min-height: 250px;
    }
    
    .case-card-content-block {
        padding: 25px 30px;
    }
    
    .case-card-title {
        font-size: 22px;
    }
    
    .case-card-details {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .case-card-inner {
        flex-direction: column;
    }
    
    .case-card-link {
        flex-direction: column;
    }
    
    .case-card-image-block {
        flex: 0 0 250px;
        min-height: 200px;
    }
    
    .case-card-content-block {
        padding: 20px 25px;
    }
    
    .case-card-title {
        font-size: 20px;
    }
    
    .case-card-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .cases-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .cases-archive {
        padding: 20px 10px;
    }
    
    .case-card-image-block {
        flex: 0 0 200px;
        min-height: 180px;
    }
    
    .case-card-content-block {
        padding: 15px 20px;
    }
    
    .case-card-title {
        font-size: 18px;
    }
    
    .case-card-excerpt {
        font-size: 14px;
    }
}

/* ========================================
   ГАЛЕРЕЯ НА СТРАНИЦЕ КЕЙСА
   ======================================== */
.case-gallery-slider {
    margin: 30px 0 40px;
    position: relative;
}

.gallery-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #f0f0f0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.gallery-slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
}

.gallery-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    background: #f0f0f0;
}

.gallery-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Кнопки навигации */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
}

.gallery-slider-container:hover .gallery-btn {
    opacity: 1;
    pointer-events: auto;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

/* Точки навигации */
.gallery-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 30px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

.gallery-dot:hover {
    background: #ffffff;
}

/* Детали на странице кейса */
.single-case-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.single-case-header {
    text-align: center;
    margin-bottom: 30px;
}

.single-case-title {
    font-size: 38px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.single-case-subtitle {
    font-size: 18px;
    color: #7f8c8d;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: #f8f9fa;
    padding: 25px 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.detail-item {
    text-align: center;
}

.detail-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 5px;
}

.detail-label {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.detail-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 2px;
}

.single-case-content {
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.single-case-back {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eef2f7;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
    color: #764ba2;
}

/* Адаптивность */
@media (max-width: 992px) {
    .gallery-slide img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .single-case-title {
        font-size: 28px;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
        opacity: 1;
        pointer-events: auto;
    }
    
    .gallery-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    .gallery-next {
        right: 10px;
    }
    
    .gallery-slide img {
        height: 300px;
    }
    
    .gallery-dots {
        padding: 6px 12px;
        gap: 8px;
        bottom: 15px;
    }
    
    .gallery-dot {
        width: 8px;
        height: 8px;
    }
    
    .details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-slide img {
        height: 250px;
    }
    
    .gallery-btn {
        width: 35px;
        height: 35px;
    }
    
    .gallery-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   СТРАНИЦА ОДНОГО КЕЙСА
   ======================================== */
.single-case-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.single-case-header {
    text-align: center;
    margin-bottom: 30px;
}

.single-case-title {
    font-size: 38px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.single-case-subtitle {
    font-size: 18px;
    color: #7f8c8d;
}

/* ========================================
   ГАЛЕРЕЯ (СЛАЙДЕР)
   ======================================== */
.case-gallery-slider {
    margin: 30px 0 40px;
    position: relative;
}

.gallery-slider-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #f0f0f0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.gallery-slider {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.gallery-slide {
    min-width: 100%;
    flex-shrink: 0;
}

.gallery-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.gallery-slide a {
    display: block;
}

/* Кнопки навигации */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

/* Точки навигации */
.gallery-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 30px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.gallery-dot.active {
    background: #ffffff;
    transform: scale(1.3);
}

.gallery-dot:hover {
    background: #ffffff;
}

/* ========================================
   ДЕТАЛИ ПОМЕЩЕНИЯ
   ======================================== */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: #f8f9fa;
    padding: 25px 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.detail-item {
    text-align: center;
}

.detail-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 5px;
}

.detail-label {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.detail-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 2px;
}

/* ========================================
   КОНТЕНТ
   ======================================== */
.single-case-content {
    margin: 30px 0;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.single-case-back {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eef2f7;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateX(-5px);
    color: #764ba2;
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */
@media (max-width: 992px) {
    .gallery-slide img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .single-case-title {
        font-size: 28px;
    }
    
    .gallery-btn {
        width: 40px;
        height: 40px;
    }
    
    .gallery-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    .gallery-next {
        right: 10px;
    }
    
    .gallery-slide img {
        height: 300px;
    }
    
    .gallery-dots {
        padding: 6px 12px;
        gap: 8px;
        bottom: 15px;
    }
    
    .gallery-dot {
        width: 8px;
        height: 8px;
    }
    
    .details-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-slide img {
        height: 200px;
    }
    
    .gallery-btn {
        width: 35px;
        height: 35px;
    }
    
    .gallery-btn svg {
        width: 18px;
        height: 18px;
    }
}


/* стр услуг */
/* ======================== ОБЩИЕ ======================== */
.services-page {
    font-family: inherit;
}
.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.services-section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* ======================== ВИДЕО-БАННЕР ======================== */
.services-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #111;
}
.services-hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
.services-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.services-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 2rem;
    max-width: 800px;
}
.services-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin: 0 0 1rem;
    color: #fff;
}
.services-hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* ======================== АККОРДЕОН ======================== */
.services-accordion-section {
    padding: 4rem 0;
    background: #f9f9f9;
}
.services-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.services-accordion__item {
    border-bottom: 1px solid #ddd;
}
.services-accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}
.services-accordion__icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.services-accordion__icon::before,
.services-accordion__icon::after {
    content: '';
    position: absolute;
    background: #333;
    transition: transform 0.3s ease;
}
.services-accordion__icon::before {
    width: 16px;
    height: 2px;
    top: 7px;
    left: 0;
}
.services-accordion__icon::after {
    width: 2px;
    height: 16px;
    top: 0;
    left: 7px;
}
.services-accordion__item.active .services-accordion__icon::after {
    transform: rotate(90deg);
    opacity: 0;
}
.services-accordion__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0;
    color: #555;
    line-height: 1.7;
}
.services-accordion__item.active .services-accordion__body {
    max-height: 500px;
    padding-bottom: 1.2rem;
}

/* ======================== СЛАЙДЕР-ГАЛЕРЕЯ ======================== */
.services-gallery-section {
    padding: 4rem 0;
}
.services-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}
.services-slider__track {
    display: flex;
    transition: transform 0.4s ease;
}
.services-slider__slide {
    min-width: 100%;
    box-sizing: border-box;
}
.services-slider__slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}
.services-slider__prev,
.services-slider__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}
.services-slider__prev { left: 16px; }
.services-slider__next { right: 16px; }
.services-slider__prev:hover,
.services-slider__next:hover {
    background: rgba(0, 0, 0, 0.8);
}
.services-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.services-slider__dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #ccc;
    cursor: pointer;
    padding: 0;
}
.services-slider__dots button.active {
    background: #333;
}

/* ======================== CTA-БЛОК ======================== */
.services-cta {
    padding: 4rem 0;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
}
.services-cta__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}
.services-cta__text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}
.services-cta__button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #e63946;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s;
}
.services-cta__button:hover {
    background: #c1121f;
    transform: translateY(-2px);
}

/* ======================== ПРОЕКТЫ ======================== */
.services-projects-section {
    padding: 4rem 0;
}
.services-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}
.services-project-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.services-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.services-project-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.services-project-card__body {
    padding: 1.2rem;
}
.services-project-card__title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
}
.services-project-card__link {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
}
.services-project-card__link:hover {
    text-decoration: underline;
}

/* ======================== АДАПТИВ ======================== */
@media (max-width: 768px) {
    .services-slider__slide img {
        height: 260px;
    }
    .services-hero {
        min-height: 55vh;
    }
}



/* ============================================================
   СТРАНИЦА «О КОМПАНИИ»
============================================================ */
.company-hero { padding: 60px 0 30px; background: #fff; }
.company-hero .breadcrumbs { font-size: 14px; color: #1f1e1a; margin: 0 0 20px; }
.company-hero .breadcrumbs a { color: #1f1e1a; text-decoration: none; transition: color .2s; }
.company-hero .breadcrumbs a:hover { color: #255fb6; }
.company-hero .breadcrumbs span { color: #255fb6; }

.company-hero h1 { font-size: 55px; font-weight: 800; line-height: 1.1; margin: 0 0 25px; color: #1f1e1a; }
.company-intro { font-size: 20px; line-height: 1.55; color: #000; max-width: 900px; margin-bottom: 30px; }
.company-intro p { margin: 0 0 15px; }

.company-hero .btn-primary {
    display: inline-block; width: 250px; padding: 15px 30px;
    background: #255FB6; color: #fff !important; text-align: center;
    border-radius: 8px; font-family: Arial, sans-serif; font-size: 16px;
    font-weight: 700; text-decoration: none; transition: background .2s;
}
.company-hero .btn-primary:hover { background: #1c4a92; }

/* ---------- Документы — слайдер ---------- */
.company-documents { padding: 60px 0 80px; }
.company-documents h2 { font-size: 36px; font-weight: 700; margin: 0 0 40px; color: #1f1e1a; }

.docs-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.docs-slider__arrow {
    flex: 0 0 48px; width: 48px; height: 48px;
    border-radius: 50%; border: 1px solid #1f1e1a;
    background: #fff; color: #1f1e1a; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s ease; padding: 0;
}
.docs-slider__arrow:hover {
    background: #255fb6; border-color: #255fb6; color: #fff;
}
.docs-slider__arrow:disabled { opacity: .3; cursor: not-allowed; visibility: hidden; }
.docs-slider__arrow svg { width: 24px; height: 24px; }

.docs-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 5px 5px 20px;
    flex: 1 1 auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.docs-slider::-webkit-scrollbar { display: none; }

.doc-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    border: 1px solid #1f1e1a;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}
.doc-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,.08); }

.doc-card__link {
    display: flex; flex-direction: column;
    text-decoration: none; color: inherit; height: 100%;
}
.doc-card__image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f5f5f5;
}
.doc-card__image img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center;
    display: block; transition: transform .4s ease;
}
.doc-card:hover .doc-card__image img { transform: scale(1.04); }

.doc-card__btn {
    display: block; margin: 15px; padding: 12px 10px;
    background: #2e60ab; color: #fff; text-align: center;
    border-radius: 10px; font-family: Arial, sans-serif;
    font-size: 14px; font-weight: 600; text-decoration: none;
    transition: background .2s ease;
}
.doc-card:hover .doc-card__btn { background: #1c4a92; }

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
    .company-hero h1 { font-size: 38px; }
    .company-intro { font-size: 17px; }
    .company-documents h2 { font-size: 28px; }
    .doc-card { flex: 0 0 190px; }
    .docs-slider__arrow { flex: 0 0 40px; width: 40px; height: 40px; }
}
@media (max-width: 640px) {
    .company-hero { padding: 40px 0 20px; }
    .company-hero h1 { font-size: 30px; }
    .company-intro { font-size: 16px; }
    .company-hero .btn-primary { width: 100%; }
    .company-documents { padding: 40px 0; }
    .company-documents h2 { font-size: 24px; margin-bottom: 25px; }
    .docs-slider-wrap { gap: 8px; }
    .docs-slider { gap: 15px; }
    .doc-card { flex: 0 0 160px; }
    .docs-slider__arrow { flex: 0 0 36px; width: 36px; height: 36px; }
}
@media (max-width: 480px) {
    .company-hero h1 { font-size: 26px; }
    .docs-slider__arrow { display: none; }
}


/* Размер шрифта хлебных крошек WoodMart */
.woocommerce-breadcrumb,
:is(.breadcrumbs,.yoast-breadcrumb) span,
:is(.breadcrumbs,.yoast-breadcrumb) span a,
.breadcrumbs,
.wd-breadcrumbs {
    font-size: 13px !important;
}


/* Карточки проектов WoodMart */
.wd-project .entry-thumbnail {
    height: 200px !important;
    margin: 20px !important;
    border-radius: 18px !important;
    overflow: hidden;
}

/* Изображение */
.wd-project .entry-thumbnail img {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    border-radius: 18px !important;
    display: block;
}

/* Заголовок проекта */
.wd-project .wd-entities-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    overflow-wrap: break-word;
}

/* Ссылка заголовка */
.wd-project .wd-entities-title a {
    font-size: inherit !important;
    line-height: inherit !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* Отступ между категорией и заголовком */
.wd-project .wrap-title {
    margin-top: 12px;
}
.meta-author ,
.wd-portfolio-btns {
    display: none!important;
}

