/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #1A1A2E;
    color: #F7F7F7;
    line-height: 1.6;
    position: relative;
}

/* Контейнеры */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

/* Типография */
h1, h2, h3 {
    color: #FFFFFF;
    font-weight: bold;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #E94560, #0F3460);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Header и Navigation */
.main-header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(233, 69, 96, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-text {
    margin-left: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #F7F7F7;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #E94560;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #E94560, #0F3460);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* CSS-only Mobile Menu */
.nav-toggle-checkbox {
    display: none;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #E94560;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
    display: block;
}

/* Main Content */
.main-content {
    margin-top: 70px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/UMDjd5.jpg') center/cover;
    opacity: 0.1;
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(233, 69, 96, 0.3);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(45deg, #E94560, #0F3460);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid #E94560;
    color: #E94560;
}

.btn-secondary:hover {
    background: #E94560;
    color: #FFFFFF;
}

/* About Section */
.about {
    background: #16213E;
    position: relative;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    padding: 2rem;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(15, 52, 96, 0.4);
}

/* Advantages Section */
.advantages {
    background: #1A1A2E;
}

.advantages-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background: rgba(22, 33, 62, 0.8);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(233, 69, 96, 0.2);
}

.advantage-card:hover {
    transform: translateY(-10px);
    background: rgba(22, 33, 62, 1);
    box-shadow: 0 20px 60px rgba(233, 69, 96, 0.3);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #E94560, #0F3460);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Services Section */
.services {
    background: #16213E;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(26, 26, 46, 0.8);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(233, 69, 96, 0.3);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(233, 69, 96, 0.1), transparent);
    transition: left 0.5s ease;
}

/* Убраны hover-анимации для service-card */

/* Process Section */
.process {
    background: #1A1A2E;
}

.process-steps {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #E94560, #0F3460);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    color: #FFFFFF;
}

/* Testimonials */
.testimonials {
    background: #16213E;
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(26, 26, 46, 0.6);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid #E94560;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(26, 26, 46, 0.8);
    transform: translateX(10px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: bold;
    color: #E94560;
}

/* Contact Form */
.contact-form {
    background: #1A1A2E;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form-grid {
    background: rgba(22, 33, 62, 0.8);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(233, 69, 96, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #FFFFFF;
    font-weight: 500;
}

.form-group input,
.form-group select {
    padding: 12px 15px;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(233, 69, 96, 0.3);
    border-radius: 8px;
    color: #F7F7F7;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #E94560;
    box-shadow: 0 0 15px rgba(233, 69, 96, 0.3);
}

/* Кастомный дизайн чекбокса согласия */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 1.5rem;
    padding: 20px;
    background: rgba(15, 52, 96, 0.1);
    border: 2px solid rgba(233, 69, 96, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.checkbox-group:hover {
    border-color: rgba(233, 69, 96, 0.4);
    background: rgba(15, 52, 96, 0.15);
}

.checkbox-group input[type="checkbox"] {
    display: none; /* Скрываем стандартный чекбокс */
}

/* Кастомный чекбокс */
.checkbox-group input[type="checkbox"] + label {
    position: relative;
    padding-left: 40px;
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
    color: #F7F7F7;
    transition: color 0.3s ease;
}

.checkbox-group input[type="checkbox"] + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    border: 2px solid #E94560;
    border-radius: 6px;
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(233, 69, 96, 0.2);
}

.checkbox-group input[type="checkbox"]:checked + label::before {
    background: linear-gradient(45deg, #E94560, #0F3460);
    border-color: #E94560;
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.4);
}

.checkbox-group input[type="checkbox"] + label::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    width: 6px;
    height: 12px;
    border: solid #FFFFFF;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease 0.1s;
}

.checkbox-group input[type="checkbox"]:checked + label::after {
    transform: rotate(45deg) scale(1);
}

.checkbox-group label:hover {
    color: #FFFFFF;
}

.checkbox-group a {
    color: #E94560;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-group a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #E94560, #0F3460);
    transition: width 0.3s ease;
}

.checkbox-group a:hover {
    color: #FFFFFF;
    text-shadow: 0 0 8px rgba(233, 69, 96, 0.5);
}

.checkbox-group a:hover::after {
    width: 100%;
}

/* Анимация фокуса для доступности */
.checkbox-group input[type="checkbox"]:focus + label::before {
    outline: 2px solid #E94560;
    outline-offset: 2px;
}

/* Дополнительная анимация при загрузке */
.checkbox-group {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Info */
.contact-info-section {
    background: #16213E;
}

.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-details {
    background: rgba(26, 26, 46, 0.6);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(233, 69, 96, 0.2);
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(15, 52, 96, 0.3);
    border-radius: 10px;
    border-left: 4px solid #E94560;
}

.contact-item h3 {
    color: #E94560;
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #E94560;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(26, 26, 46, 0.8);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(233, 69, 96, 0.3);
    position: relative;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    opacity: 0.8;
}

/* Footer */
.main-footer {
    background: #0F3460;
    border-top: 1px solid rgba(233, 69, 96, 0.3);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px 1rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #E94560;
    margin-bottom: 1.5rem;
}

.legal-links {
    list-style: none;
}

.legal-links li {
    margin-bottom: 0.5rem;
}

.legal-links a {
    color: #F7F7F7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #E94560;
}

/* Стили для контактной информации в футере */
.contact-info a {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #E94560 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(233, 69, 96, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(247, 247, 247, 0.7);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    background: rgba(15, 52, 96, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    z-index: 9999;
    border-top: 2px solid #E94560;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
    overflow-x: hidden;
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    box-sizing: border-box;
    overflow-x: hidden;
}

.cookie-content p {
    margin: 0;
    color: #F7F7F7;
}

.cookie-content a {
    color: #E94560;
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-accept-btn {
    background: linear-gradient(45deg, #E94560, #0F3460);
    color: #FFFFFF;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

/* Policy Pages */
.policy-page {
    background: #16213E;
    min-height: 70vh;
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 15px;
    padding: 3rem;
    border: 1px solid rgba(233, 69, 96, 0.2);
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.policy-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #E94560;
    text-align: left;
}

.policy-content h3 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.policy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Предотвращение горизонтальной прокрутки */
* {
    max-width: 100%;
    box-sizing: border-box;
}

.container,
.nav-container,
.hero-content,
.about-content,
.advantages-grid,
.services-grid,
.process-steps,
.testimonials-grid,
.contact-form-grid,
.contact-grid {
    max-width: 100%;
    overflow-x: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100vw;
        max-width: 100%;
        height: calc(100vh - 70px);
        background: rgba(26, 26, 46, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        overflow-x: hidden;
        z-index: 999;
    }

    .nav-toggle-checkbox:checked ~ .nav-menu {
        left: 0;
    }

    .nav-toggle-label {
        display: flex;
    }

    .nav-toggle-checkbox:checked ~ .nav-toggle-label .hamburger-line:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
        background: #FFFFFF;
    }

    .nav-toggle-checkbox:checked ~ .nav-toggle-label .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle-checkbox:checked ~ .nav-toggle-label .hamburger-line:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
        background: #FFFFFF;
    }
    
    /* Стилизация ссылок в мобильном меню */
    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(233, 69, 96, 0.2);
        display: block;
        color: #F7F7F7;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(233, 69, 96, 0.1);
        color: #E94560;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    
    .form-group.full-width {
        grid-column: 1;
    }
    
    .checkbox-group {
        flex-direction: row;
        gap: 12px;
        padding: 15px;
        margin-top: 1rem;
    }
    
    .checkbox-group input[type="checkbox"] + label {
        padding-left: 35px;
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .checkbox-group input[type="checkbox"] + label::before {
        width: 22px;
        height: 22px;
        top: 1px;
    }
    
    .checkbox-group input[type="checkbox"] + label::after {
        left: 5px;
        top: 6px;
        width: 5px;
        height: 10px;
        border-width: 0 2px 2px 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-container {
        padding: 2rem 15px 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    
    .cookie-accept-btn {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    .advantages-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    
    .main-content,
    .section {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    body, html {
        overflow-x: hidden;
    }
    
    h1 {
        font-size: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .contact-form-grid,
    .policy-content {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .form-group input,
    .form-group select,
    textarea {
        padding: 10px 12px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .btn {
        width: 100%;
        max-width: 100%;
        padding: 12px 20px;
        font-size: 1rem;
        box-sizing: border-box;
    }
    
    .service-image {
        height: 150px;
        margin-bottom: 1rem;
    }

    .advantage-card,
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    /* Дополнительная защита от переполнения */
    img, iframe {
        max-width: 100%;
        height: auto;
    }
    
    .hero-image img,
    .about-image img,
    .service-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .footer-container {
        padding: 1.5rem 10px 1rem;
    }
    
    .footer-grid {
        gap: 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
    }
}

/* Service Images */
.service-image {
    width: 100%;
    max-width: 100%;
    height: 200px;
    margin-bottom: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Убрана hover-анимация для изображений service-card */

/* Дополнительные стили для CSS-only меню */
@media (min-width: 769px) {
    .nav-toggle-label {
        display: none !important;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        flex-direction: row;
        padding-top: 0;
        left: 0;
    }
    
    .nav-link {
        padding: 0;
        width: auto;
        border-bottom: none;
    }
    
    /* Обеспечиваем правильную ширину для десктопа */
    body, html {
        overflow-x: auto;
        max-width: none;
    }
    
    .container,
    .nav-container,
    .hero-content,
    .about-content,
    .advantages-grid,
    .services-grid,
    .process-steps,
    .testimonials-grid,
    .contact-form-grid,
    .contact-grid,
    .footer-container {
        max-width: 1200px;
        width: auto;
    }
    
    .main-footer {
        overflow-x: visible;
        max-width: none;
        width: 100%;
    }
}

/* Глобальная защита от горизонтального скролла только для мобильных */
@media (max-width: 768px) {
    body, html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    .container,
    .nav-container,
    .hero-content,
    .about-content,
    .advantages-grid,
    .services-grid,
    .process-steps,
    .testimonials-grid,
    .contact-form-grid,
    .contact-grid,
    .footer-container {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .main-header,
    .hero,
    .about,
    .advantages,
    .services,
    .process,
    .testimonials,
    .contact-form,
    .contact-info-section,
    .policy-page {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    .main-footer {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1A1A2E;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #E94560, #0F3460);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #E94560;
} 