:root {
    --primary: #3498db;
    --secondary: #2c3e50;
    --accent: #e74c3c;
    --light: #f8f9fa;
    --dark: #212529;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.navbar {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.navbar-brand {
    font-weight: 700;
    color: white !important;
    font-size: 1.6rem;
}

.navbar-brand span {
    color: var(--primary);
}

.navbar-toggler {
    border: none;
    color: white;
    font-size: 1.5rem;
}

.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.85), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1603714228682-9b8b1c0a4e6d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 30px;
    position: relative;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-whatsapp, .btn-call {
    border-radius: 50px;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 220px;
    text-align: center;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 5px 15px rgba(18, 140, 126, 0.4);
}

.btn-call {
    background: var(--primary);
    color: white;
}

.btn-call:hover {
    background: #2980b9;
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.section {
    padding: 60px 0;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.section-title h2 {
    font-weight: 700;
    color: var(--secondary);
    font-size: 1.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    margin-bottom: 25px;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 180px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-content {
    padding: 20px;
}

.service-content h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-content p, .service-content ul {
    font-size: 0.95rem;
}

.service-content ul {
    padding-left: 20px;
}

.service-content li {
    margin-bottom: 6px;
}

.brand-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

.brand-logo {
    height: 70px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    max-height: 100%;
    max-width: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.brand-card:hover .brand-logo img {
    filter: grayscale(0%);
}

.benefits {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.benefit-item {
    text-align: center;
    padding: 15px;
    margin-bottom: 10px;
}

.benefit-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.benefit-item p {
    font-size: 0.9rem;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    margin: 15px 0;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: -25px;
    left: 15px;
    font-size: 70px;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.client-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid var(--primary);
}

.contact-form {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.form-control, .form-select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e1e5eb;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(52, 152, 219, 0.25);
}

.btn-submit {
    background: var(--primary);
    color: white;
    padding: 12px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    width: 100%;
    font-size: 1rem;
}

.btn-submit:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

.fixed-contact {
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    text-decoration: none;
}

.contact-button.whatsapp {
    background: #25D366;
}

.contact-button.phone {
    background: var(--primary);
}

.contact-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

footer {
    background: var(--dark);
    color: #dee2e6;
    padding: 60px 0 30px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.footer-title {
    color: white;
    font-weight: 700;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
    font-size: 1.25rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-contact li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.footer-contact li:hover {
    transform: translateX(5px);
}

.footer-contact i {
    color: var(--primary);
    margin-right: 12px;
    min-width: 20px;
    margin-top: 4px;
}

.footer-services li {
    margin-bottom: 12px;
    transition: transform 0.3s ease;
}

.footer-services li:hover {
    transform: translateX(5px);
}

.footer-services i {
    color: var(--primary);
    font-size: 0.8rem;
    margin-right: 8px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 30px 0 20px;
}

/* Адаптивные стили для мобильных */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar-brand {
        font-size: 1.4rem;
    }

    .hero {
        padding: 70px 0 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 20px;
    }

    .btn-whatsapp, .btn-call {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .service-card {
        margin-bottom: 20px;
    }

    .service-img {
        height: 160px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .fixed-contact {
        bottom: 15px;
        right: 10px;
    }

    .contact-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    footer {
        padding: 40px 0 20px;
    }

    .footer-title {
        font-size: 1.1rem;
        margin-top: 20px;
    }

    .footer-contact li, .footer-services li {
        margin-bottom: 10px;
    }

    .social-icons {
        justify-content: center;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0 40px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title::after {
        bottom: -12px;
        width: 50px;
    }

    .service-img {
        height: 140px;
    }

    .service-content {
        padding: 18px;
    }

    .benefit-icon {
        font-size: 2rem;
    }

    .testimonial-card {
        padding: 18px;
    }

    .client-img {
        width: 45px;
        height: 45px;
    }

    .fixed-contact {
        bottom: 10px;
        right: 8px;
    }

    .contact-button {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Анимации для плавного появления элементов */
.service-card, .brand-card, .testimonial-card, .benefit-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.in-view, .brand-card.in-view,
.testimonial-card.in-view, .benefit-item.in-view {
    opacity: 1;
    transform: translateY(0);
}
