
/* Базовые стили */
:root {
    --primary-color: #3498db;
    --secondary-color: #2980b9;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --accent-color: #e74c3c;
    --text-color: #333;
    --text-light: #7f8c8d;
}

@font-face {
    font-family: 'Widock';
    src: url('fonts/Widock-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-color);
}

h1, h2, h3, h4 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Навигация */
#navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
}

#navbar ul {
    display: flex;
    list-style: none;
}

#navbar ul li a {
    color: var(--dark-color);
    padding: 10px 15px;
    margin: 0 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

#navbar ul li a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
  #navbar ul.active {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    height: calc(100vh - 80px);
    overflow-y: auto;
  }
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Герой секция */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Услуги */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.service:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service h3 {
    font-size: 1.5rem;
}

/* О компании */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-text ul {
    list-style: none;
    margin: 20px 0;
}

.about-text ul li {
    margin-bottom: 10px;
}

.about-text ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Цены */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0;
}

.pricing-card ul {
    list-style: none;
    margin: 30px 0;
}

.pricing-card ul li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Контакты */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.contact-info-wrapper {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 24px;
    margin-right: 15px;
    margin-top: 16px;
}

.contact-text {
    flex: 1;
}

.contact-label {
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.contact-value {
    color: var(--dark-color);
    font-size: 1rem;
}

/* Соцсети */
.social-links {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.social-title {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 12px;
}

.social-icons-minimal {
    display: flex;
    gap: 20px;
}

.social-icon-minimal {
    color: var(--primary-color);
    font-size: 2.0rem;
    transition: all 0.2s ease;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon-minimal:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Форма */
.contact-form-wrapper {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.form-description {
    color: var(--text-light);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--secondary-color);
}

/* Футер */
footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-logo .logo {
    color: white;
    font-size: 1.8rem;
}

.footer-logo .logo span {
    color: var(--primary-color);
}

.footer-logo p {
    margin-top: 15px;
    color: var(--text-light);
}

.footer-links h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-social h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: 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-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Адаптивность */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }
}

/* Мобильное меню - исправленная версия */
@media (max-width: 768px) {
    #navbar ul {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        height: auto;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    #navbar ul.active {
        display: flex;
    }

    #navbar ul li {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }

    #navbar ul li a {
        display: block;
        padding: 15px;
        margin: 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .hamburger {
        display: block;
        z-index: 1000;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
    }

    h2 {
        font-size: 1.8rem;
    }
    
    .contact-item {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 10px;
    }
}

/* Галерея работ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: block;
    color: inherit;
    text-decoration: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 200px;
    }
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 25px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

    .close-modal:hover {
        background: var(--accent-color);
        color: white;
        transform: rotate(90deg) scale(1.1);
        box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
    }

    .close-modal:active {
        transform: rotate(90deg) scale(0.95);
    }

.modal-phone {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
    text-align: center;
    margin: 20px 0;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.modal-actions > * {
    flex: 1;
    min-width: 120px;
}

.btn-call {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    flex: 1;
}

.btn-copy {
    background: transparent;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
}

.btn-copy:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.btn-copy i {
    font-size: 1rem;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    flex: 1;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Сообщения формы */
.form-message {
    padding: 10px;
    margin: 15px 0;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.btn-submit.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Кнопка "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    cursor: pointer;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.back-to-top a {
    color: inherit;
    text-decoration: none;
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

/* Логотип */
.logo-img {
    height: 42px;
    width: auto;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: rotate(-5deg) scale(1.1);
}

.logo-text {
    font-family: 'Widock', 'Oswald', sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: var(--dark-color);
    letter-spacing: 1.5px;
    line-height: 1;
    margin-top: 3px;
}

.logo:hover .logo-text {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1.5rem;
    }
    .logo-img {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.3rem;
    }
    .logo-img {
        height: 30px;
    }
}

/* Отзывы */
#reviews {
    background-color: #f8f9fa;
}

.reviews-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 5px;
    margin-top: 50px;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.review-header {
    margin-bottom: 20px;
}

.review-author h4 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.review-author span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.review-content {
    margin-bottom: 20px;
}

.review-content p {
    font-style: italic;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    position: relative;
}

.review-content p::before,
.review-content p::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 0;
}

.review-rating {
    color: #ffc107;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .reviews-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 20px;
    }
}

/* Кнопки в герое */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-avito {

}

.btn-avito:hover {
    transform: translateY(-3px);
}

.btn-avito i {
    margin-right: 8px;
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Блок Авито */
.avito-redirect-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.avito-card {
    max-width: 500px;
    margin: 0 auto;
}

.avito-icon {
    font-size: 4rem;
    color: #3665f3;
    margin-bottom: 20px;
}

.avito-card h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.avito-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.avito-features {
    margin: 30px 0;
    text-align: left;
}

.avito-feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px;
    background: var(--light-color);
    border-radius: 8px;
}

.avito-feature i {
    color: #3665f3;
    font-size: 1.2rem;
    margin-right: 15px;
    width: 24px;
    text-align: center;
}

.avito-feature span {
    color: var(--dark-color);
    font-weight: 500;
}

.btn-avito-large {
    display: inline-block;
    background: #3665f3;
    color: white;
    padding: 16px 30px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-avito-large:hover {
    background: #2a56e0;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(54, 101, 243, 0.3);
}

.btn-avito-large i {
    margin-right: 10px;
    font-size: 1.3rem;
}

.avito-icon-large {
    text-align: center;
    margin-bottom: 20px;
}

.avito-icon-large img {
    width: 80px;
    height: 80px;
}

@media (max-width: 768px) {
    .avito-redirect-wrapper {
        padding: 30px 20px;
    }
    
    .avito-icon {
        font-size: 3rem;
    }
    
    .avito-card h3 {
        font-size: 1.5rem;
    }
    
    .avito-card p {
        font-size: 1rem;
    }
    
    .btn-avito-large {
        padding: 14px 25px;
        font-size: 1rem;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .avito-feature {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .avito-feature i {
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .avito-feature span {
        font-size: 0.9rem;
    }
}

/* Анимация для мобильного меню */
#navbar ul {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
    #navbar ul {
        transform: translateY(-20px);
        opacity: 0;
        transition: all 0.3s ease;
    }
    
    #navbar ul.active {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Стили для слайдера отзывов */
.reviews-slider-container {
    position: relative;
    margin-top: 50px;
    overflow: hidden;
    padding: 0 40px; /* Добавляем отступы по бокам для стрелок */
}

.reviews-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.review-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
}

.slide-content {
    padding: 0 15px;
    height: 100%;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(52, 152, 219, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

    .slider-arrow:hover {
        background: var(--primary-color);
        transform: translateY(-50%) scale(1.1);
    }

.slider-arrow-prev {
    left: 0;
}

.slider-arrow-next {
    right: 0;
}

.slider-dots-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    padding: 10px 0;
    width: 100%;
}

.slider-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .slider-dot.active {
        background: var(--primary-color);
        transform: scale(1.2);
    }

/* Адаптивность для слайдера */
@media (max-width: 768px) {
    .reviews-slider-container {
        padding: 0 35px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
    }

    .slide-content {
        padding: 0 10px;
    }
}

@media (max-width: 576px) {
    .reviews-slider-container {
        padding: 0 30px;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .slider-dots-container {
        margin-top: 20px;
    }
}

/* Убедимся, что карточки отзывов имеют достаточно отступов */
.review-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

/* Увеличим высоту контейнера для точек */
.reviews-slider-container {
    padding-bottom: 20px;
}

/* Улучшения для мобильных устройств */
@media (max-width: 480px) {
    .review-card {
        padding: 20px 15px;
    }

    .reviews-slider-container {
        padding: 0 25px 20px;
    }

    .slider-arrow {
        width: 25px;
        height: 25px;
    }

    .slider-dots-container {
        margin-top: 15px;
    }
}

/* Убедимся, что стрелки не перекрывают контент на маленьких экранах */
@media (max-width: 360px) {
    .reviews-slider-container {
        padding: 0 20px 20px;
    }
}

.gallery-caption h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: white;
}

.gallery-caption p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Стили для галереи этапов с стрелками */
.stages-gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.gallery-item {
    flex: 1;
    min-width: 200px;
    max-width: 200px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

    .gallery-item:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    }

    .gallery-item img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .gallery-item:hover img {
        transform: scale(1.1);
    }

.stage-arrow {
    color: var(--primary-color);
    font-size: 2rem;
    padding: 0 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.7;
        transform: scale(1);
    }
}

/* Адаптивность для галереи этапов */
@media (max-width: 1024px) {
    .stages-gallery {
        gap: 15px;
    }

    .gallery-item {
        min-width: 200px;
        max-width: 250px;
    }

    .stage-arrow {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stages-gallery {
        flex-direction: column;
        gap: 15px;
    }

    .stage-arrow {
        transform: rotate(90deg);
        padding: 5px 0;
        margin: -5px 0;
    }

        .stage-arrow i {
            animation: bounceDown 2s infinite;
        }

    .gallery-item {
        min-width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(3px);
    }
}

@media (max-width: 480px) {
    .gallery-item img {
        height: 200px;
    }

    .stage-arrow {
        font-size: 1.5rem;
        padding: 0;
        margin: -8px 0;
    }

    .stages-gallery {
        gap: 10px;
    }
}

/* Убедимся, что анимация pulse не мешает на мобильных */
@media (max-width: 768px) {
    .stage-arrow {
        animation: none;
    }
}

@media (max-width: 480px) {
    .gallery-item img {
        height: 180px;
    }

    .stage-arrow {
        font-size: 1.2rem;
    }
}

/* Улучшенные стили для подписей */
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: white;
    padding: 20px 15px 15px;
    text-align: center;
}

    .gallery-caption h4 {
        margin-bottom: 5px;
        font-size: 1.1rem;
        color: var(--primary-color);
        font-weight: bold;
    }

    .gallery-caption p {
        margin: 0;
        font-size: 0.95rem;
        opacity: 0.95;
        line-height: 1.4;
    }

/* Стили для нового модального окна */
.modal-content {
    background: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px;
    text-align: center;
}

    .modal-header h3 {
        margin: 0 0 8px 0;
        font-size: 1.5rem;
        color: white;
    }

    .modal-header p {
        margin: 0;
        opacity: 0.9;
        font-size: 0.95rem;
    }

.modal-body {
    padding: 25px;
}

.modal-phone-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    gap: 15px;
}

.phone-number {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    flex: 1;
}

    .phone-number i {
        color: var(--primary-color);
        font-size: 1.1rem;
        min-width: 16px;
    }

.btn-copy {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    flex-shrink: 0;
}

    .btn-copy:hover {
        border-color: var(--primary-color);
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
    }

    .btn-copy:active {
        transform: translateY(0);
        box-shadow: 0 2px 6px rgba(52, 152, 219, 0.2);
    }

    .btn-copy i {
        font-size: 1.1rem;
        transition: transform 0.2s ease;
    }

    .btn-copy:hover i {
        transform: scale(1.1);
    }

    /* Анимация подтверждения копирования */
    .btn-copy.copied {
        background: #27ae60;
        border-color: #27ae60;
        color: white;
    }

        .btn-copy.copied i::before {
            content: "\f00c"; /* Иконка галочки */
        }

.modal-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .modal-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }

.btn-call {
    background: var(--primary-color);
    color: white;
}

    .btn-call:hover {
        background: var(--secondary-color);
        color: white;
    }

.btn-whatsapp {
    background: #25D366;
    color: white;
}

    .btn-whatsapp:hover {
        background: #128C7E;
        color: white;
    }

.btn-telegram {
    background: #0088cc;
    color: white;
}

    .btn-telegram:hover {
        background: #006da3;
        color: white;
    }

.btn-avito {
    background: #3665f3;
    color: white;
}

    .btn-avito:hover {
        background: #2a56e0;
        color: white;
    }

.modal-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.modal-footer {
    background: #f8f9fa;
    padding: 15px 25px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

    .modal-footer p {
        margin: 0;
        color: var(--text-light);
        font-size: 0.9rem;
    }

/* Адаптивность для модального окна */
@media (max-width: 480px) {
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-buttons {
        grid-template-columns: 1fr;
    }

    .phone-number {
        font-size: 1.1rem;
    }
}

/* Стили для toast-уведомлений */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.toast-show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-20px);
}

.toast-success {
    background: #27ae60;
}

.toast-error {
    background: #e74c3c;
}


/* Анимации для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    margin: 10% auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    transform: scale(0.9);
    opacity: 0;
    animation: modalSlideIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(-50px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal.closing {
    animation: fadeOut 0.3s ease forwards;
}

    .modal.closing .modal-content {
        animation: modalSlideOut 0.3s ease forwards;
    }

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes modalSlideOut {
    from {
        transform: scale(1) translateY(0);
        opacity: 1;
    }

    to {
        transform: scale(0.9) translateY(-50px);
        opacity: 0;
    }
}



/* Улучшаем accessibility */
.close-modal:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Плавная анимация для всего модального окна */
.modal-content {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Новые стили для hero section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%), url('images/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    display: flex;
    align-items: center;
    text-align: left;
    margin-top: 70px;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
    line-height: 1.1; /* Увеличиваем межстрочный интервал */
    padding-top: 15px; /* Добавляем отступ сверху */
    padding-bottom: 10px; /* Добавляем отступ снизу */
}

.gradient-text {
    background: linear-gradient(45deg, #ffffff, #ffffff, #bde0ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    display: block;
    line-height: 1.1; /* Увеличиваем высоту строки */
    padding: 8px 0; /* Защитный отступ для букв */
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-features {
    margin: 40px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

    .feature-item:nth-child(1) {
        animation-delay: 0.2s;
    }

    .feature-item:nth-child(2) {
        animation-delay: 0.4s;
    }

    .feature-item:nth-child(3) {
        animation-delay: 0.6s;
    }

    .feature-item:nth-child(4) {
        animation-delay: 0.8s;
    }

    .feature-item i {
        color: #2ecc71;
        margin-right: 15px;
        font-size: 1.4rem;
    }

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn-primary {
    background: linear-gradient(45deg, #3498db, #2980b9);
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    font-size: 1.1rem;
}

    .btn-primary:hover,
    .btn-secondary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

/* Декоративные элементы */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.1), rgba(46, 204, 113, 0.1));
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
    align-items: center;
    justify-content: center;
    display: flex;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(3deg);
    }
    75% {
        transform: translateY(-20px) rotate(-3deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-features {
        text-align: left;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }

    .decoration-circle {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .feature-item {
        font-size: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 1rem;
    }
}

.hero {
    background-attachment: fixed;
}

/* Стили для новых кружочков */
.circle-4 {
    width: 220px;
    height: 220px;
    bottom: 15%;
    right: 5%;
    animation-delay: 1s;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, rgba(231, 76, 60, 0.1), rgba(241, 196, 15, 0.1));
}

.circle-5 {
    width: 160px;
    height: 160px;
    top: 25%;
    left: 5%;
    animation-delay: 3s;
    background: linear-gradient(45deg, rgba(155, 89, 182, 0.1), rgba(142, 68, 173, 0.1));
}

.circle-6 {
    width: 160px;
    height: 160px;
    top: 32%;
    right: 30%;
    animation-delay: 0.5s;
    background: linear-gradient(45deg, rgba(155, 89, 182, 0.1), rgba(142, 68, 173, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили для текста в кружочке */
.decoration-circle.with-text {
    color: white;
    font-size: 1.0rem;
    font-weight: 600;
    text-align: center;
    padding: 15px;
    line-height: 1.3;
    backdrop-filter: blur(4px);
    border: 0px solid rgba(255, 255, 255, 0.2);
}

    .decoration-circle.with-text span {
        display: inline-block;
        max-width: 100%;
    }

/* Адаптивность для новых кружочков */
@media (max-width: 1024px) {
    .circle-4 {
        width: 180px;
        height: 180px;
        font-size: 0.8rem;
    }

    .circle-5 {
        width: 100px;
        height: 100px;
    }
    .circle-6 {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .circle-4,
    .circle-5,
    .circle-6 {
        display: none;
    }
}

/* Стили для модального окна с картой */
#mapModal .modal-content {
    max-width: 600px;
    padding: 0;
}

#yandex-map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
}

/* Адаптивность для карты */
@media (max-width: 768px) {
    #mapModal .modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: 95%;
    }

    #yandex-map {
        height: 300px;
    }
}

@media (max-width: 480px) {
    #yandex-map {
        height: 250px;
    }

    .modal-header h3 {
        font-size: 1.3rem;
    }

    .modal-header p {
        font-size: 0.9rem;
    }
}