/*
Theme Name: Leader Group
Description: Сайт для компании "Лидер Групп" - экосистема для грузового автопарка
Version: 1.0
Text Domain: leader-group
*/

.wpcf7 form.sent .wpcf7-response-output{
    color:#46b450
}
#seo {
    padding: 50px 0
}
/* ============================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ТЕХНИКИ
============================================ */

/* Основная структура */
.single-technique-section {
    background: #fff;
    padding: 100px 0;
}

.technique-main__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin: 60px 0;
}

@media (max-width: 992px) {
    .technique-main__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Левый столбец: Галерея */
.technique-gallery-column {
    width: 100%;
}

.technique-gallery {
    width: 100%;
}

.main-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    cursor: zoom-in;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.main-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.technique-main-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.no-image {
    width: 100%;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5 0%, #e9ecef 100%);
    border-radius: 12px;
    color: #6c757d;
}

.no-image svg {
    margin-bottom: 20px;
}

.no-image p {
    font-size: 18px;
    font-weight: 500;
}

.technique-thumbnails {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.thumbnail-item {
    width: 80px;
    height: 60px;
    cursor: pointer;
    border: 3px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.thumbnail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 124, 186, 0);
    transition: background 0.3s;
    z-index: 1;
}

.thumbnail-item.active {
    border-color: var(--accent, #7747D4);
    transform: scale(1.05);
}

.thumbnail-item.active::before {
    background: rgba(119, 71, 212, 0.15);
}

.thumbnail-item:hover {
    border-color: var(--accent, #7747D4);
    transform: translateY(-3px);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 0;
}

/* Правый столбец: Информация */
.technique-info-column {
    width: 100%;
}

.technique-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
    line-height: 1.2;
}

.form-product-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--accent, #7747D4);
}

.product-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #dee2e6;
}

.product-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
}

/* Скрытые поля формы */
.wpcf7-form-control.wpcf7-hidden {
    display: none;
}
.wpcf7 form.invalid .wpcf7-response-output {
    color:#ff0000
}

.technique-status {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    align-items: center;
}

.status-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-available { 
    background: var(--accent, #7747D4);
    color: white; 
}

.status-order { 
    background: var(--accent-gradient, linear-gradient(90deg, #1F1A1C 0%, #7747D4 100%));
    color: white; 
}

.condition-badge {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.condition-new { 
    background: #1F1A1C;
    color: white; 
}

.condition-used { 
    background: #7747D4;
    color: white; 
}

/* Спецификации */
.technique-specs {
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.specs-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
}

.specs-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient, linear-gradient(90deg, #1F1A1C 0%, #7747D4 100%));
    border-radius: 2px;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-item {
    display: flex;
        align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #e9ecef;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #495057;
    flex: 1;
    font-size: 16px;
}

.spec-value {
    font-weight: 700;
    color: #1a1a1a;
    text-align: right;
    flex: 1;
    font-size: 16px;
}

.spec-value.price {
    font-size: 18px;
    color: #7747D4;
    font-weight: 800;
}

/* Дополнительные характеристики */
.technique-features {
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.features-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
    position: relative;
    padding-bottom: 15px;
}

.features-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-gradient, linear-gradient(90deg, #1F1A1C 0%, #7747D4 100%));
    border-radius: 2px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

@media (max-width: 768px) {
    .features-list {
        grid-template-columns: 1fr;
    }
}

.feature-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid var(--accent, #7747D4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-label {
    font-weight: 600;
    color: #495057;
    font-size: 15px;
}

.feature-value {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 15px;
}

/* Кнопки действий */
.technique-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 35px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn--primary {
    background: var(--accent, #7747D4);
    color: white;
    box-shadow: 0 4px 15px rgba(119, 71, 212, 0.35);
}

.btn--primary:hover {
    background: var(--accent-gradient, linear-gradient(90deg, #1F1A1C 0%, #7747D4 100%));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(119, 71, 212, 0.4);
}

.btn--secondary {
    background: white;
    color: var(--accent, #7747D4);
    border: 2px solid var(--accent, #7747D4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn--secondary:hover {
    background: var(--accent-gradient, linear-gradient(90deg, #1F1A1C 0%, #7747D4 100%));
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn--large {
    padding: 20px 45px;
    font-size: 18px;
}

@media (max-width: 768px) {
    .technique-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Контакты */
.technique-contacts {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
    color: white;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-item svg {
    color: var(--accent, #7747D4);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--accent, #7747D4);
}

.contact-item span {
    color: #adb5bd;
    font-weight: 500;
    font-size: 16px;
}

/* Описание */
.technique-description {
    padding: 80px 0;
    background: #f8f9fa;
}

/* .section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
} */

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-gradient, linear-gradient(90deg, #1F1A1C 0%, #7747D4 100%));
    border-radius: 2px;
}

.description-content {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.description-content p {
    margin-bottom: 25px;
}

.description-content h2,
.description-content h3,
.description-content h4 {
    margin: 40px 0 25px;
    color: #1a1a1a;
    font-weight: 700;
}

.description-content h2 {
    font-size: 28px;
}

.description-content h3 {
    font-size: 24px;
}

.description-content h4 {
    font-size: 20px;
}

.description-content ul,
.description-content ol {
    margin: 25px 0;
    padding-left: 30px;
}

.description-content li {
    margin-bottom: 12px;
    position: relative;
}

.description-content ul li::before {
    content: '•';
    color: var(--accent, #7747D4);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    font-size: 20px;
}

/* ============================================
   МОДАЛЬНЫЕ ОКНА
============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    z-index: 10000;
    width: 90%;
    max-width: 1200px;
    height: 90vh;
    margin: 5vh auto;
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s, transform 0.3s;
}

.modal.active .modal-container {
    opacity: 1;
    transform: scale(1);
}

.modal-header {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.modal-close {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#galleryModalImage {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 5;
}

.gallery-prev,
.gallery-next {
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: var(--accent, #7747D4);
    transform: scale(1.1);
}

.gallery-prev svg,
.gallery-next svg {
    width: 30px;
    height: 30px;
}

/* Индикатор текущего изображения */
.image-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    z-index: 5;
}

/* Анимация смены изображений */
.fade-enter {
    opacity: 0;
}

.fade-enter-active {
    opacity: 1;
    transition: opacity 0.5s;
}

.fade-exit {
    opacity: 1;
}

.fade-exit-active {
    opacity: 0;
    transition: opacity 0.5s;
}

/* Форма */
.availability-form {
    background: var(--accent-gradient, linear-gradient(90deg, #1F1A1C 0%, #7747D4 100%));
    color: white;
    padding: 80px 0;
}

.availability-form .container {
    position: relative;
    z-index: 1;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .form-wrapper {
        grid-template-columns: 1fr;
    }
}

.form-content {
    padding: 50px;
    background: white;
}

.form-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.form-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.form-info {
    padding: 50px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
}

.info-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 17px;
}

.info-list li svg {
    color: var(--accent, #7747D4);
    flex-shrink: 0;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #adb5bd;
}

.contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.phone-number {
    color: white;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s;
}

.phone-number:hover {
    color: var(--accent, #7747D4);
}

.work-hours {
    font-size: 16px;
    color: #adb5bd;
    line-height: 1.6;
}

/* Похожая техника */
.related-technique {
    padding: 80px 0 0;

}

.technique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.technique-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.technique-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.technique-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.technique-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.technique-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.technique-card:hover .technique-card__image img {
    transform: scale(1.1);
}

.card-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.card-status--available {
    background: var(--accent, #7747D4);
    color: white;
}

.card-status--order {
    background: var(--accent-gradient, linear-gradient(90deg, #1F1A1C 0%, #7747D4 100%));
    color: white;
}

.technique-card__content {
    padding: 25px;
}

.technique-card__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
    line-height: 1.3;
}

.technique-card__price {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent, #7747D4);
    margin-bottom: 15px;
}

.technique-card__specs {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.5;
}

.card-spec {
    margin-bottom: 8px;
}
@media (max-width: 768px) {
    .technique-title {
        font-size: 28px;
    }
    .form-wrapper .form-content, .form-info {
        padding:20px
    }
    .contact-info {
        padding:0
    }
}

/* ============================================
   АКЦЕНТ: кнопки фильтров, переключатели, активные состояния (А — дефолт, Б — при наведении)
============================================ */
/* Только кнопки фильтров на других страницах (не каталог). В каталоге .filter-item и .brand-item стилизуются в catalog.css */
.filter-button,
.reviews-filter__btn {
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.filter-button,
.reviews-filter__btn {
    background: var(--accent, #7747D4);
    color: #fff;
    border-color: var(--accent, #7747D4);
}
.filter-button:hover,
.reviews-filter__btn:hover,
.filter-button.active,
.reviews-filter__btn--active {
    background: var(--accent-gradient, linear-gradient(90deg, #1F1A1C 0%, #7747D4 100%));
    color: #fff;
    border-color: transparent;
}
.menu .current-menu-item > a {
    color: var(--accent, #7747D4);
}
.social-link:hover {
    color: var(--accent, #7747D4) !important;
}
.footer__social-link:hover {
    color: var(--accent, #7747D4) !important;
}