/* ===== ОСНОВНЫЕ ПЕРЕМЕННЫЕ ===== */
:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --secondary: #457b9d;
    --dark: #1d3557;
    --light: #f1faee;
    --gray: #8d99ae;
    --light-gray: #edf2f4;
    --transition: all 0.3s ease;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* ===== БАЗОВЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 76px;
    background-color: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section {
    padding: 100px 0;
}

.section-light {
    background-color: #f9f9f9;
}

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

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.navbar-brand {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--dark) !important;
}

.navbar-brand span {
    color: var(--primary);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 0.5rem;
    font-size: 1.1rem;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--primary);
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    transition: var(--transition);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

/* ===== HERO СЕКЦИЯ ===== */
.hero {
    background: linear-gradient(rgba(29, 53, 87, 0.85), rgba(29, 53, 87, 0.9)), 
                url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&auto=format&fit=crop&w=1974&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .lead {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btn {
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-btn i {
    margin-right: 10px;
}

/* ===== КНОПКИ ===== */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* ===== БЛОКИ УСЛУГ НА ГЛАВНОЙ ===== */
.service-block {
    margin-bottom: 80px;
    padding: 60px 0;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-block:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-block:nth-child(odd) {
    background-color: white;
    box-shadow: var(--shadow);
}

.service-block:nth-child(even) {
    background-color: var(--light);
}

.service-icon-large {
    font-size: 4.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: inline-block;
    padding: 25px;
    border-radius: 50%;
    background-color: rgba(230, 57, 70, 0.1);
    transition: var(--transition);
}

.service-block:hover .service-icon-large {
    transform: rotate(15deg) scale(1.1);
}

.service-content {
    max-width: 800px;
    margin: 0 auto;
}

.service-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark);
    position: relative;
    display: inline-block;
}

.service-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.service-features li {
    margin-bottom: 12px;
    padding-left: 35px;
    position: relative;
    font-size: 1.05rem;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
    width: 25px;
    height: 25px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-price {
    font-size: 1.8rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 30px;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.service-cta:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.service-cta i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* ===== ФАЙЛОВЫЙ АРХИВ ===== */
.file-item {
    background-color: white;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: none;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.file-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.file-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
}

.file-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
    transition: var(--transition);
}

.file-item:hover .file-icon {
    transform: scale(1.2);
    color: var(--primary);
}

/* ===== ЗАПИСЬ ===== */
.booking-simple {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 0;
}

.booking-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.booking-btn-large i {
    margin-right: 15px;
    font-size: 1.5rem;
}

.booking-btn-online {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
}

.booking-btn-online:hover {
    background: linear-gradient(135deg, var(--primary-dark), #a50d18);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(230, 57, 70, 0.4);
    color: white;
}

.booking-btn-call {
    background: linear-gradient(135deg, #25D366, #1da851);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.booking-btn-call:hover {
    background: linear-gradient(135deg, #1da851, #168a43);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

/* ===== БРЕНДЫ ===== */
.brands-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    padding: 25px 15px;
    height: 150px;
    position: relative;
    overflow: hidden;
}

.brand-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: translateY(-100%);
    transition: var(--transition);
}

.brand-logo:hover::before {
    transform: translateY(0);
}

.brand-logo:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.brand-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--dark);
    transition: var(--transition);
}

.brand-logo:hover .brand-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.brand-name {
    font-weight: 600;
    color: var(--dark);
    text-align: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.brand-logo:hover .brand-name {
    color: var(--primary);
}

/* ===== КОНТАКТЫ ===== */
.contact-info {
    background: linear-gradient(135deg, white, var(--light-gray));
    padding: 50px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e63946' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: white;
    transform: rotate(15deg);
}

.contact-text .label {
    font-weight: 700;
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-text .value {
    color: #555;
    font-size: 1.1rem;
}

.work-hours {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.map-container {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--light-gray), white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='2' fill='%23e63946' fill-opacity='0.2'/%3E%3C/svg%3E");
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
    color: white;
}

/* ===== ФУТЕР ===== */
footer {
    background: linear-gradient(135deg, var(--dark), #162c4d);
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-logo .logo-text {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-news-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

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

.footer-news-date {
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
    display: inline-block;
    padding: 3px 10px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 4px;
}

.footer-news-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.footer-news-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links a, .footer-services a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.footer-links a:hover, .footer-services a:hover {
    color: white;
    padding-left: 10px;
    transform: translateX(5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ===== АНИМАЦИИ ===== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===== ХЛЕБНЫЕ КРОШКИ ===== */
.breadcrumb {
    background-color: transparent;
    padding: 20px 0;
    margin-bottom: 30px;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--dark);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--gray);
}

/* Стили для блока "Схема работы" */
.workflow-step {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.workflow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    color: #f8f9fa;
    line-height: 1;
    font-family: 'Exo 2', sans-serif;
}

.step-icon {
    color: #dc3545;
    height: 60px;
    width: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
}

/* Стили для блока "Отзывы" */
.review-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #dc3545;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.review-rating {
    font-size: 0.9rem;
}

.review-service {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #6c757d;
    display: inline-block;
}

.trust-badges .trust-item {
    padding: 15px 25px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .workflow-step, .review-card {
        margin-bottom: 20px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Стили для блока "Наши работы" - улучшенная версия */
.work-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.work-card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

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

.work-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(220, 53, 69, 0.1), rgba(220, 53, 69, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-card:hover .work-card-overlay {
    opacity: 1;
}

.work-card-overlay button {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.work-card:hover .work-card-overlay button {
    transform: translateY(0);
}

.work-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #dc3545;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.work-card-body {
    padding: 20px;
}

.work-details {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.work-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.work-detail-item i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.work-detail-item span {
    font-size: 0.9rem;
    color: #495057;
}

/* Стили для модальных окон работ */
.work-modal-details ul {
    padding-left: 20px;
}

.work-modal-details ul li {
    margin-bottom: 8px;
    color: #495057;
}

.work-results {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-item i {
    font-size: 1.5rem;
}

.spec-item small {
    color: #6c757d;
    font-size: 0.85rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .work-card {
        margin-bottom: 20px;
    }
    
    .work-card-image {
        height: 200px;
    }
    
    .work-details {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .work-detail-item {
        flex: 0 0 calc(33.333% - 10px);
    }
}

@media (max-width: 576px) {
    .work-card-image {
        height: 180px;
    }
    
    .work-card-body {
        padding: 15px;
    }
    
    .work-detail-item {
        flex: 0 0 100%;
        margin-bottom: 10px;
    }
    
    .work-details {
        flex-direction: column;
    }
}

/* ===== Минималистичный вариант блока услуг ===== */

.services-section {
    background-color: #fff;
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #dc3545;
    margin: 10px auto 0;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Карточка услуги - минималистичный вариант */
.service-card-simple {
    background: #f9fafb;
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card-simple:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #dc3545;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card-simple:hover:before {
    transform: scaleX(1);
}

.service-card-simple:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background: white;
}

.service-icon-circle {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 1.8rem;
    margin-bottom: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.service-card-simple:hover .service-icon-circle {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
    transform: rotateY(180deg);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.3;
}

.service-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-price-center {
    margin: 20px 0;
    width: 100%;
}

.price-value {
    display: inline-block;
    font-weight: 700;
    color: #28a745;
    font-size: 1.4rem;
    padding: 10px 20px;
    background: white;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.service-card-simple:hover .price-value {
    border-color: #28a745;
    transform: scale(1.05);
}

.service-link-simple {
    display: inline-block;
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 8px 20px;
    border-radius: 6px;
    position: relative;
}

.service-link-simple:after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-link-simple:hover {
    background-color: rgba(220, 53, 69, 0.1);
}

.service-link-simple:hover:after {
    transform: translateX(5px);
}

/* Кнопка записи */
.btn-primary {
    background-color: #dc3545;
    border-color: #dc3545;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: #c82333;
    border-color: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(220, 53, 69, 0.3);
}

.mt-6 {
    margin-top: 4rem !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card-simple {
        padding: 30px 20px;
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .price-value {
        font-size: 1.2rem;
        padding: 8px 16px;
    }
    
    .btn-primary {
        padding: 12px 30px;
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .service-icon-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .service-excerpt {
        font-size: 0.9rem;
    }
}

/* ===== Стили для товаров ===== */

/* Карточка товара */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #dc3545;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-body {
    padding: 20px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
    height: 2.6em;
    overflow: hidden;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
    height: 2.8em;
    overflow: hidden;
}

.product-price {
    margin-bottom: 10px;
}

.current-price {
    font-weight: 700;
    color: #28a745;
    font-size: 1.3rem;
    margin-right: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
}

.product-rating {
    font-size: 0.9rem;
}

.rating-count {
    color: #666;
    margin-left: 5px;
    font-size: 0.9rem;
}

/* Карусель товаров на главной */
#productsCarousel .carousel-item {
    padding: 20px 0;
}

#productsCarousel .carousel-indicators {
    bottom: -50px;
}

#productsCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
}

#productsCarousel .carousel-indicators button.active {
    background-color: #dc3545;
}

#productsCarousel .carousel-control-prev,
#productsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(220, 53, 69, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#productsCarousel:hover .carousel-control-prev,
#productsCarousel:hover .carousel-control-next {
    opacity: 1;
}

#productsCarousel .carousel-control-prev {
    left: -25px;
}

#productsCarousel .carousel-control-next {
    right: -25px;
}

/* Feature items на странице товаров */
.feature-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    color: #dc3545;
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-image {
        height: 180px;
    }
    
    .product-title {
        font-size: 1rem;
        height: auto;
    }
    
    .product-description {
        height: auto;
    }
    
    #productsCarousel .carousel-control-prev,
    #productsCarousel .carousel-control-next {
        display: none;
    }
    
    .category-filter .d-flex {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .product-image {
        height: 160px;
    }
    
    .product-body {
        padding: 15px;
    }
    
    .product-title {
        font-size: 0.95rem;
    }
}

/* ===== Карточки товаров с изображениями ===== */

/* Общие стили для товаров */
.products-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Карточка товара */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    position: relative;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: #dc3545;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.hot {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
}

.product-badge.new {
    background: linear-gradient(45deg, #4cd964, #2ecc71);
}

.product-badge.sale {
    background: linear-gradient(45deg, #ff9f43, #ff9f43);
}

.product-badge.top {
    background: linear-gradient(45deg, #3498db, #2980b9);
}

.product-image-container {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #f8f9fa;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image-container img {
    transform: scale(1.08);
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image-overlay {
    opacity: 1;
}

.product-quick-view {
    background: white;
    color: #dc3545;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.product-card:hover .product-quick-view {
    transform: translateY(0);
}

.product-quick-view:hover {
    background: #dc3545;
    color: white;
}

.product-info {
    padding: 25px;
}

.product-category {
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
    line-height: 1.4;
    height: 3.2em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    height: 4.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.current-price {
    font-weight: 700;
    color: #28a745;
    font-size: 1.4rem;
}

.old-price {
    text-decoration: line-through;
    color: #adb5bd;
    font-size: 1.1rem;
}

.price-discount {
    background: #ff6b6b;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.stars {
    color: #ffd43b;
}

.rating-count {
    color: #6c757d;
    font-size: 0.9rem;
    margin-left: 5px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.product-features li {
    padding: 5px 0;
    color: #495057;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.product-features li:before {
    content: "✓";
    color: #28a745;
    font-weight: bold;
    margin-right: 8px;
}

.product-actions {
    display: grid;
    gap: 10px;
}

.btn-add-to-cart {
    background: linear-gradient(45deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    background: linear-gradient(45deg, #c82333, #bd2130);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-details {
    background: transparent;
    color: #495057;
    border: 2px solid #e9ecef;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-details:hover {
    border-color: #dc3545;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

/* Карусель товаров на главной */
#productsCarousel .carousel-item {
    padding: 30px 0;
}

#productsCarousel .carousel-control-prev,
#productsCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(220, 53, 69, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#productsCarousel:hover .carousel-control-prev,
#productsCarousel:hover .carousel-control-next {
    opacity: 1;
}

#productsCarousel .carousel-control-prev {
    left: -25px;
}

#productsCarousel .carousel-control-next {
    right: -25px;
}

#productsCarousel .carousel-indicators {
    bottom: -40px;
}

#productsCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    margin: 0 6px;
    border: none;
}

#productsCarousel .carousel-indicators button.active {
    background-color: #dc3545;
}

/* Модальное окно товара */
.product-modal .modal-content {
    border-radius: 15px;
    overflow: hidden;
}

.product-modal .modal-header {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.product-gallery {
    position: relative;
}

.product-gallery-main {
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.product-gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
    border-color: #dc3545;
}

.product-details h4 {
    color: #212529;
    margin-bottom: 20px;
}

.product-specs {
    margin: 25px 0;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.spec-label {
    color: #6c757d;
    font-weight: 500;
}

.spec-value {
    color: #212529;
    font-weight: 600;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.quantity-btn {
    background: #f8f9fa;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    color: #495057;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #e9ecef;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
}

/* Фильтры на странице товаров */
.category-filter {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    background: white;
    color: #495057;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #dc3545;
    color: white;
    border-color: #dc3545;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .product-title {
        font-size: 1.1rem;
        height: 3em;
    }
    
    .product-description {
        height: 4em;
    }
}

@media (max-width: 992px) {
    .product-image-container {
        height: 200px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    #productsCarousel .carousel-control-prev,
    #productsCarousel .carousel-control-next {
        display: none;
    }
}

@media (max-width: 768px) {
    .products-section {
        padding: 60px 0;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
    
    .product-image-container {
        height: 180px;
    }
    
    .product-title {
        font-size: 1rem;
        height: auto;
    }
    
    .product-description {
        height: auto;
        -webkit-line-clamp: 2;
    }
    
    .filter-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .product-image-container {
        height: 160px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-actions {
        grid-template-columns: 1fr;
    }
}

/* ===== Стили для корзины ===== */

/* Иконка корзины в навигации */
.cart-link .badge {
    font-size: 0.7rem;
    padding: 4px 6px;
}

/* Таблица корзины */
.cart-table {
    margin-bottom: 30px;
}

.cart-table th {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    color: #495057;
    padding: 15px;
}

.cart-table td {
    padding: 15px;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.cart-item-info {
    display: flex;
    align-items: center;
}

.cart-item-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 5px;
}

.cart-item-category {
    color: #6c757d;
    font-size: 0.9rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #dee2e6;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #f8f9fa;
    border-color: #dc3545;
    color: #dc3545;
}

.quantity-input {
    width: 50px;
    height: 30px;
    text-align: center;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.cart-item-price {
    font-weight: 600;
    color: #28a745;
}

.cart-item-total {
    font-weight: 700;
    color: #212529;
}

.remove-item {
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

.remove-item:hover {
    transform: scale(1.2);
}

/* Итоги корзины */
.cart-summary {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-top: 20px;
}

.cart-totals {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.total-price {
    border-top: 2px solid #dee2e6;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 1.2rem;
}

#checkoutBtn {
    padding: 12px 30px;
    font-weight: 600;
}

/* Стили для оформления заказа */
#orderSummary {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

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

.success-icon {
    animation: successAnimation 0.5s ease;
}

@keyframes successAnimation {
    0% { transform: scale(0.5); opacity: 0; }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Адаптивность корзины */
@media (max-width: 768px) {
    .cart-item-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-image {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    .cart-table th,
    .cart-table td {
        padding: 10px;
    }
    
    .quantity-control {
        justify-content: center;
    }
    
    .cart-summary {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .cart-table {
        font-size: 0.9rem;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
}