/* Общие стили */
:root {
    --primary: #FF6B00;
    --primary-dark: #E55A00;
    --secondary: #2C3E50;
    --light: #F8F9FA;
    --dark: #1A1A1A;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --success: #28A745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

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

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--secondary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

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

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

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

/* Шапка */
.header {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--secondary);
    text-decoration: none;
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.logo-accent {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
}

.header-phone a {
    color: var(--dark);
    text-decoration: none;
}

.header-phone i {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

/* Главный баннер */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1580273916550-e323be2ae537?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 160px 0 100px;
    margin-top: 80px;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.feature i {
    font-size: 2rem;
    color: var(--primary);
}

/* Галерея выполненных работ */
.gallery {
    background: var(--light-gray);
    padding: 80px 0;
}

.swiper {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.swiper-slide {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item {
    width: 100%;
    height: 100%;
}

.gallery-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
}

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

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

.gallery-caption {
    padding: 20px;
    font-size: 1.1rem;
    color: var(--secondary);
    font-weight: 500;
}

.gallery-note {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
    font-style: italic;
    font-size: 0.9rem;
}

/* Обновленные стили для карусели с новыми стрелками */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
    opacity: 0;
}

.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.8rem;
    font-weight: 900;
}

.swiper:hover .swiper-button-next,
.swiper:hover .swiper-button-prev {
    opacity: 1;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary-dark);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.4);
}

.swiper-button-next:active,
.swiper-button-prev:active {
    transform: translateY(-50%) scale(0.95);
}

/* Стили для пагинации */
.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    background: var(--gray);
    opacity: 0.5;
    width: 12px;
    height: 12px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
    transform: scale(1.2);
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.service-description {
    color: var(--gray);
    line-height: 1.6;
}

/* Обновленные стили для ценовых карточек */
.price-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.price-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(255, 107, 0, 0.15);
}

.price-card.featured {
    border-color: var(--primary);
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.2);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.price-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #ff8c42);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    z-index: 2;
}

.price-badge i {
    font-size: 0.9rem;
}

.price-header {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--light-gray);
    position: relative;
}

.price-header h3 {
    font-size: 1.6rem;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 700;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.price-currency {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.9;
}

.price-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.price-features li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    color: var(--dark);
    font-size: 1rem;
}

.price-features i {
    color: var(--success);
    font-size: 1.2rem;
    min-width: 24px;
}

.price-phone {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.price-phone:hover {
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    transform: translateY(-2px);
}

.phone-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.phone-icon i {
    color: white;
    font-size: 1.3rem;
}

.phone-number {
    text-align: left;
    flex-grow: 1;
}

.phone-label {
    display: block;
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 5px;
    font-weight: 500;
}

.phone-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: block;
}

.phone-link:hover {
    color: var(--primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-note {
    text-align: center;
    margin-top: 40px;
    color: var(--gray);
    font-size: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-left: 4px solid var(--primary);
}

.pricing-note i {
    color: var(--primary);
    font-size: 1.3rem;
}

.pricing-note a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    padding: 2px 5px;
    border-radius: 4px;
}

.pricing-note a:hover {
    color: var(--primary-dark);
    background: rgba(255, 107, 0, 0.1);
}

/* Карта */
.map-section {
    padding: 80px 0;
    background: white;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.map-info h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.map-info p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--dark);
}

.map-info i {
    color: var(--primary);
}

.map-info a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.map-info a:hover {
    color: var(--primary);
}

.map-buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-contacts {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 15px;
}

.map-contacts h3 {
    color: var(--secondary);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.contact-item i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-item strong {
    display: block;
    color: var(--secondary);
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary);
}

/* Отзывы */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-author h4 {
    color: var(--secondary);
    margin-bottom: 5px;
}

.stars {
    color: #FFC107;
}

.review-date {
    color: var(--gray);
    font-size: 0.9rem;
}

.review-text {
    color: var(--dark);
    line-height: 1.6;
}

/* Футер */
.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    padding: 30px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav a:hover {
    color: var(--primary);
}

.mobile-phone {
    background: var(--primary);
    color: white !important;
    padding: 15px !important;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
    border: none !important;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .services-grid,
    .pricing-grid,
    .reviews-grid,
    .footer-content,
    .map-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .swiper {
        height: 400px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        opacity: 1;
        width: 50px;
        height: 50px;
    }

    .swiper-button-next {
        right: 10px;
    }

    .swiper-button-prev {
        left: 10px;
    }
}

@media (max-width: 768px) {
    .nav,
    .header-phone {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid,
    .pricing-grid,
    .reviews-grid,
    .footer-content,
    .map-container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .price-card.featured {
        transform: none;
    }

    .swiper {
        height: 300px;
    }

    .gallery-image {
        height: 250px;
    }

    .map-wrapper {
        height: 400px;
    }

    .map-info {
        margin: 20px;
        padding: 20px;
    }

    .hero-features {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .feature {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .feature i {
        font-size: 2.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    .price-currency {
        font-size: 1.5rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .pricing-note {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .price-card {
        padding: 30px 20px;
    }

    .price-amount {
        font-size: 2.2rem;
    }

    .phone-link {
        font-size: 1rem;
    }

    .feature span {
        font-size: 1rem;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.price-card,
.review-card {
    animation: fadeIn 0.6s ease-out;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}