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

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 136, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 158, 217, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1419 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

main {
    position: relative;
    z-index: 1;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 136, 204, 0.03) 2px, rgba(0, 136, 204, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(34, 158, 217, 0.03) 2px, rgba(34, 158, 217, 0.03) 4px);
    pointer-events: none;
    z-index: -1;
}

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

/* Header */
.header {
    background: rgba(10, 14, 39, 0.85);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(0, 136, 204, 0.2);
    width: 100%;
    box-sizing: border-box;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    z-index: 1001;
}

.logo-icon {
    min-width: 140px;
    height: 45px;
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 100%);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.5), 0 0 30px rgba(0, 212, 255, 0.3);
    gap: 8px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

.logo-separator {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.logo-ai {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-shrink: 1;
}

.nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Мобильное меню - кнопка гамбургер */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav a:hover {
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0088cc);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    transition: width 0.3s;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: rgba(10, 14, 39, 0.4);
    backdrop-filter: blur(10px);
}

.hero-background {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 4px 10px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    hyphens: auto;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    hyphens: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.5), 0 0 30px rgba(0, 212, 255, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 212, 255, 0.7), 0 0 40px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #00e5ff 0%, #0099dd 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #00d4ff;
    border: 2px solid #00d4ff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
    border-color: #00e5ff;
}

.btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

#contactForm .btn-block {
    margin-top: 0.5rem;
    padding: 12px 25px;
    font-size: 1rem;
}

/* Sections */
section {
    padding: 50px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    word-wrap: break-word;
    hyphens: auto;
}

/* Services */
.services {
    background: rgba(10, 14, 39, 0.4);
    backdrop-filter: blur(10px);
}

.services-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.accordion-item:hover {
    box-shadow: 0 5px 30px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.accordion-header {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    user-select: none;
    position: relative;
}

.accordion-header:hover {
    background-color: rgba(0, 212, 255, 0.1);
}

.accordion-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.service-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.accordion-header h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
}

.accordion-arrow {
    font-size: 0.9rem;
    color: #00d4ff;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 1rem;
    display: inline-block;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease-in-out,
                padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 1.25rem;
}

.accordion-item.active .accordion-content {
    max-height: 2000px;
    opacity: 1;
    padding: 0 1.25rem 1.25rem 1.25rem;
}

.accordion-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
    transform: translateY(-10px);
    transition: transform 0.4s ease-out;
}

.accordion-item.active .accordion-content p {
    transform: translateY(0);
}

.accordion-text-content {
    padding-top: 0.5rem;
}

.accordion-text-content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    font-size: 1rem;
}

.accordion-text-content p:last-child {
    margin-bottom: 0;
}

.accordion-text-content p strong {
    color: #00d4ff;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

/* Benefits */
.benefits {
    background: rgba(10, 14, 39, 0.4);
    backdrop-filter: blur(10px);
}

.benefits-content {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(10, 14, 39, 0.95);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(15px);
    width: 100%;
    box-sizing: border-box;
}

.benefits-text {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    text-indent: 1.5em;
    word-wrap: break-word;
    hyphens: auto;
}

.benefits-text:last-child {
    margin-bottom: 0;
}

/* Cases */
.cases {
    background: rgba(10, 14, 39, 0.4);
    backdrop-filter: blur(10px);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.case-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.4);
}

.case-image {
    height: 200px;
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 212, 255, 0.3);
}

.case-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255, 255, 255, 0.1) 20px, rgba(255, 255, 255, 0.1) 40px);
    opacity: 0.5;
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.case-content p {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.footer {
    background: rgba(10, 14, 39, 0.95);
    color: white;
    padding: 2.5rem 0 1rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-text p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-contact p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-social {
    margin-top: 1rem;
}

.telegram-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0088cc 0%, #229ED9 100%);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.telegram-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.5);
    background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%);
}

.telegram-icon svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(10, 14, 39, 0.95);
    margin: 2% auto;
    padding: 1.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 95vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    animation: slideDown 0.3s;
    position: relative;
    backdrop-filter: blur(20px);
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 1.75rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s;
    line-height: 1;
}

.close:hover {
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
}

.modal-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.form-group input.invalid,
.form-group textarea.invalid {
    border-color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.2);
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group textarea {
    resize: vertical;
    min-height: 70px;
    max-height: 100px;
}

.error-message {
    display: block;
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    min-height: 1.1rem;
    animation: fadeIn 0.3s;
    line-height: 1.3;
    text-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Диалоговые окна */
.dialog-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s;
}

.dialog-content {
    background: rgba(10, 14, 39, 0.95);
    margin: 10% auto;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    animation: slideDown 0.3s;
    text-align: center;
    backdrop-filter: blur(20px);
}

.dialog-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.4s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon {
    background: linear-gradient(135deg, #00d4ff 0%, #0088cc 100%);
    color: white;
    box-shadow: 0 5px 30px rgba(0, 212, 255, 0.6), 0 0 40px rgba(0, 212, 255, 0.4);
}

.error-icon {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
    box-shadow: 0 5px 30px rgba(255, 107, 107, 0.6), 0 0 40px rgba(255, 107, 107, 0.4);
}

.dialog-content h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.dialog-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-dialog {
    border-top: 4px solid #00d4ff;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 212, 255, 0.3);
}

.error-dialog {
    border-top: 4px solid #ff6b6b;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(255, 107, 107, 0.3);
}

.dialog-content .btn {
    min-width: 150px;
    margin-top: 0.5rem;
}

/* Responsive - Tablet и Mobile */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Предотвращение горизонтальной прокрутки */
    main, section, .hero, .services, .benefits, .cases, .footer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Header и навигация */
    .header {
        padding: 0.75rem 0;
    }
    
    .header .container {
        position: relative;
        gap: 0.5rem;
    }
    
    /* Мобильное меню - кнопка гамбургер */
    .mobile-menu-toggle {
        display: flex;
        order: 2;
    }
    
    .logo {
        order: 1;
        flex-shrink: 0;
    }
    
    /* Overlay для мобильного меню */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(0, 212, 255, 0.3);
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav a {
        font-size: 1.1rem;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 212, 255, 0.2);
        white-space: normal;
        word-wrap: break-word;
    }
    
    /* Логотип на мобильных */
    .logo-icon {
        min-width: 110px;
        height: 38px;
        padding: 0 12px;
    }
    
    .logo-text {
        font-size: 0.95rem;
    }
    
    .logo-separator {
        font-size: 0.95rem;
    }
    
    .logo-ai {
        font-size: 0.75rem;
    }
    
    /* Hero секция */
    .hero {
        padding: 50px 0;
        min-height: 400px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Заголовки секций */
    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    section {
        padding: 40px 0;
    }
    
    /* Аккордеон */
    .services-accordion {
        width: 100%;
        gap: 0.75rem;
    }
    
    .accordion-item {
        width: 100%;
        box-sizing: border-box;
    }
    
    .accordion-header {
        padding: 1rem;
        flex-wrap: nowrap;
    }
    
    .accordion-header-content {
        flex: 1;
        min-width: 0;
        gap: 0.75rem;
    }
    
    .accordion-header h3 {
        font-size: 0.95rem;
        line-height: 1.4;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .service-icon {
        font-size: 1.75rem;
        flex-shrink: 0;
    }
    
    .accordion-arrow {
        margin-left: 0.5rem;
        flex-shrink: 0;
        font-size: 0.85rem;
    }
    
    .accordion-content {
        padding: 0 1rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 1rem 1rem 1rem;
    }
    
    .accordion-content p,
    .accordion-text-content p {
        font-size: 0.9rem;
        line-height: 1.7;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .accordion-text-content p strong {
        font-size: 0.95rem;
    }
    
    /* Benefits - секция "О нас" */
    .benefits {
        padding: 40px 0;
    }
    
    .benefits-content {
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .benefits-text {
        font-size: 0.95rem;
        line-height: 1.7;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 1rem;
    }
    
    /* Cases */
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .case-card {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .case-content {
        padding: 1.25rem;
    }
    
    .case-content h3 {
        font-size: 1.1rem;
        word-wrap: break-word;
        line-height: 1.4;
    }
    
    .case-content p {
        font-size: 0.9rem;
        word-wrap: break-word;
        line-height: 1.6;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-text,
    .footer-contact {
        width: 100%;
    }
    
    .footer-text p {
        font-size: 1rem;
        word-wrap: break-word;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
        word-wrap: break-word;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.85rem;
        word-wrap: break-word;
    }
    
    /* Модальные окна */
    .modal-content {
        margin: 5% auto;
        padding: 1.5rem;
        max-height: 95vh;
        width: 95%;
        max-width: 95%;
        overflow-y: auto;
        box-sizing: border-box;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        word-wrap: break-word;
        line-height: 1.3;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px; /* Предотвращает зум на iOS */
        padding: 12px;
    }
    
    .dialog-content {
        margin: 5% auto;
        padding: 2rem;
        max-height: 90vh;
        width: 95%;
        max-width: 95%;
        overflow-y: auto;
        box-sizing: border-box;
    }
    
    .dialog-content h3 {
        font-size: 1.5rem;
        word-wrap: break-word;
        line-height: 1.3;
    }
    
    .dialog-content p {
        font-size: 1rem;
        word-wrap: break-word;
        line-height: 1.6;
    }
    
    .dialog-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Предотвращение горизонтальной прокрутки */
    main, section, .hero, .services, .benefits, .cases, .footer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* Header */
    .header {
        padding: 0.625rem 0;
    }
    
    .nav {
        width: 100%;
        right: -100%;
    }
    
    /* Логотип на маленьких экранах */
    .logo-icon {
        min-width: 100px;
        height: 35px;
        padding: 0 10px;
        gap: 6px;
    }
    
    .logo-text {
        font-size: 0.85rem;
    }
    
    .logo-separator {
        font-size: 0.85rem;
    }
    
    .logo-ai {
        font-size: 0.7rem;
    }
    
    /* Hero секция */
    .hero {
        padding: 40px 0;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 0.875rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }
    
    /* Заголовки секций */
    .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1.25rem;
    }
    
    section {
        padding: 30px 0;
    }
    
    /* Аккордеон */
    .accordion-header {
        padding: 0.875rem;
        gap: 0.625rem;
    }
    
    .accordion-header-content {
        gap: 0.625rem;
    }
    
    .accordion-header h3 {
        font-size: 0.9rem;
        line-height: 1.35;
    }
    
    .service-icon {
        font-size: 1.5rem;
    }
    
    .accordion-arrow {
        font-size: 0.75rem;
        margin-left: 0.375rem;
    }
    
    .accordion-content {
        padding: 0 0.875rem;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 0.875rem 0.875rem 0.875rem;
    }
    
    .accordion-content p,
    .accordion-text-content p {
        font-size: 0.85rem;
        line-height: 1.65;
    }
    
    .accordion-text-content p strong {
        font-size: 0.9rem;
    }
    
    /* Benefits */
    .benefits-content {
        padding: 1.25rem;
    }
    
    .benefits-text {
        font-size: 0.9rem;
        line-height: 1.65;
        margin-bottom: 0.875rem;
    }
    
    /* Cases */
    .case-content {
        padding: 1rem;
    }
    
    .case-content h3 {
        font-size: 1rem;
        line-height: 1.35;
    }
    
    .case-content p {
        font-size: 0.85rem;
        line-height: 1.55;
    }
    
    /* Footer */
    .footer {
        padding: 1.5rem 0 0.75rem;
    }
    
    .footer-text p {
        font-size: 0.95rem;
    }
    
    .footer-contact p {
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding-top: 1.25rem;
        font-size: 0.8rem;
    }
    
    /* Модальные окна */
    .modal-content {
        margin: 2% auto;
        padding: 1.25rem;
        max-height: 98vh;
        width: 96%;
        max-width: 96%;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.875rem;
    }
    
    .form-group {
        margin-bottom: 0.875rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    .dialog-content {
        margin: 2% auto;
        padding: 1.5rem;
        max-height: 95vh;
        width: 96%;
        max-width: 96%;
    }
    
    .dialog-content h3 {
        font-size: 1.3rem;
    }
    
    .dialog-content p {
        font-size: 0.95rem;
    }
    
    .dialog-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.875rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

