/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E2D88;
    --accent-color: #FF6B35;
    --light-peach: #FFEBD4;
    --champagne: #F9F6EE;
    --dark-gray: #262626;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(46, 45, 136, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-color);
}

/* Контейнеры */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--champagne);
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--dark-gray);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-menu a:hover {
    background-color: var(--light-peach);
    color: var(--primary-color);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.contact-info a {
    color: var(--accent-color);
    font-weight: 500;
}

/* CSS-только мобильное меню */
.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
}

/* Анимация гамбургера при активации */
.mobile-menu-checkbox:checked + .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-checkbox:checked + .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-checkbox:checked + .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(46, 45, 136, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero секция */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--light-peach);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Карточки услуг */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(46, 45, 136, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-peach);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* Этапы работы */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-item {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Преимущества */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.advantage-icon {
    width: 40px;
    height: 40px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

/* Отзывы */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Форма */
.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
}

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: var(--light-peach);
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(250, 247, 244, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: var(--light-peach);
}

/* Cookie баннер */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    color: var(--white);
}

.cookie-text p {
    color: var(--white);
    margin: 0;
}

.cookie-text a {
    color: var(--light-peach);
    text-decoration: underline;
}

.cookie-text a:hover {
    color: var(--white);
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cookie-btn.accept {
    background-color: var(--accent-color);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background-color: #e55a2b;
}

.cookie-btn.decline {
    background-color: transparent;
    color: var(--light-peach);
    border: 1px solid var(--light-peach);
}

.cookie-btn.decline:hover {
    background-color: var(--light-peach);
    color: var(--primary-color);
}

/* Анимации CSS-only */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Автоматические анимации при прокрутке */
.service-card {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.step-item {
    animation: slideInLeft 0.6s ease-out;
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.step-item:nth-child(2) {
    animation-delay: 0.2s;
}

.step-item:nth-child(3) {
    animation-delay: 0.3s;
}

.step-item:nth-child(4) {
    animation-delay: 0.4s;
}

.advantage-item {
    animation: slideInRight 0.6s ease-out;
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.advantage-item:nth-child(2) {
    animation-delay: 0.2s;
}

.advantage-item:nth-child(3) {
    animation-delay: 0.3s;
}

.advantage-item:nth-child(4) {
    animation-delay: 0.4s;
}

.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    /* УЛЬТРА-КОМПАКТНАЯ ШАПКА */
    .header {
        padding: 0;
        box-shadow: 0 2px 15px rgba(46, 45, 136, 0.1);
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.8rem 0;
        gap: 1rem;
        position: relative;
    }
    
    .logo {
        font-size: 1.3rem;
        z-index: 1002;
    }
    
    .logo svg {
        width: 26px;
        height: 26px;
        margin-right: 5px;
    }
    
    /* ПОКАЗАТЬ ГАМБУРГЕР НА МОБИЛЬНЫХ */
    .mobile-menu-toggle {
        display: flex;
        order: 3;
    }
    
    /* СКРЫТЬ КОНТАКТЫ НА МОБИЛЬНЫХ */
    .contact-info {
        display: none;
    }
    
    /* МОБИЛЬНОЕ МЕНЮ CSS-ONLY */
    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 999;
    }
    
    .nav-menu {
        background-color: var(--white);
        flex-direction: column;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
        box-shadow: 0 5px 20px rgba(46, 45, 136, 0.15);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        max-height: 0;
        overflow: hidden;
    }
    
    /* Открытие меню через CSS */
    .mobile-menu-checkbox:checked ~ .mobile-nav .nav-menu {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        max-height: 400px;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--champagne);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        color: var(--primary-color);
        font-weight: 500;
        text-decoration: none;
        border-radius: 0;
        background: none;
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background-color: var(--light-peach);
        color: var(--primary-color);
        padding-left: 2rem;
    }
    
    /* HERO СЕКЦИЯ */
    .hero {
        padding: 100px 0 50px;
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.8rem;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* ТИПОГРАФИКА */
    h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    /* СЕТКИ */
    .services-grid,
    .steps-grid,
    .advantages-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    /* КАРТОЧКИ */
    .service-card {
        padding: 1.5rem;
        margin: 0 5px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
        margin: 0 5px;
    }
    
    .advantage-item {
        padding: 1.2rem;
        flex-direction: row;
        align-items: center;
    }
    
    /* ФУТЕР */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        margin: 0 15px;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.9rem;
        font-size: 1rem;
    }
    
    .checkbox-group label {
        font-size: 0.85rem;
    }
    
    /* COOKIE БАННЕР */
    .cookie-banner {
        padding: 0.8rem;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 0 8px;
    }
    
    .cookie-text {
        font-size: 0.85rem;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .cookie-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        border-radius: 20px;
        min-width: 100px;
    }
}

/* МАЛЕНЬКИЕ ЭКРАНЫ */
@media (max-width: 480px) {
    .container {
        padding: 0 8px;
    }
    
    /* УЛЬТРА-КОМПАКТНАЯ ШАПКА */
    .header-content {
        padding: 0.3rem 0;
        gap: 0.3rem;
    }
    
    .logo {
        font-size: 1.2rem;
        padding: 0.2rem 0;
    }
    
    .logo svg {
        width: 24px;
        height: 24px;
        margin-right: 4px;
    }
    
    .nav-menu {
        gap: 0.6rem;
        padding: 0.1rem 0;
    }
    
    .nav-menu a {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
        border-radius: 12px;
    }
    
    .contact-info {
        font-size: 0.7rem;
        gap: 0.6rem;
        padding: 0.1rem 0 0.3rem 0;
    }
    
    .contact-info a {
        padding: 0.15rem 0.4rem;
        border-radius: 10px;
    }
    
    /* HERO */
    .hero {
        padding: 80px 0 40px;
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
        line-height: 1.3;
    }
    
    .hero-actions {
        gap: 0.6rem;
    }
    
    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        max-width: 260px;
    }
    
    /* КОНТЕНТ */
    .section {
        padding: 40px 0;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    /* КАРТОЧКИ */
    .service-card {
        padding: 1.2rem;
        margin: 0 3px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .testimonial-card {
        padding: 1.2rem;
        margin: 0 3px;
    }
    
    .advantage-item {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem;
    }
    
    .step-item {
        padding: 0.8rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* ПОЛНОСТЬЮ АДАПТИВНАЯ ФОРМА */
    .contact-form {
        padding: 1.5rem 1rem;
        margin: 0;
        border-radius: 12px;
        max-width: 100%;
        box-shadow: 0 8px 30px rgba(46, 45, 136, 0.1);
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    .form-group label {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.8rem;
        color: var(--primary-color);
    }
    
    .form-group input,
    .form-group select {
        padding: 1rem;
        font-size: 1rem;
        border: 2px solid #e0e0e0;
        border-radius: 10px;
        width: 100%;
        background-color: var(--white);
        transition: all 0.3s ease;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .form-group input:focus,
    .form-group select:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
        transform: translateY(-1px);
    }
    
    .form-group select {
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        background-size: 1.2rem;
        padding-right: 3rem;
    }
    
    /* АДАПТИВНЫЕ ЧЕКБОКСЫ */
    .checkbox-group {
        display: flex;
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 1.2rem;
        padding: 1rem;
        background-color: var(--champagne);
        border-radius: 10px;
        border: 1px solid #e0e0e0;
    }
    
    .checkbox-group input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin: 0;
        margin-top: 0.1rem;
        accent-color: var(--accent-color);
    }
    
    .checkbox-group label {
        font-size: 0.9rem;
        line-height: 1.4;
        color: var(--dark-gray);
        margin: 0;
        flex: 1;
    }
    
    .checkbox-group a {
        color: var(--accent-color);
        font-weight: 500;
    }
    
    /* БОЛЬШАЯ КНОПКА ОТПРАВКИ */
    .contact-form .btn {
        width: 100%;
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        font-weight: 600;
        border-radius: 12px;
        margin-top: 1rem;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
        text-transform: none;
        letter-spacing: 0.5px;
    }
    
    .contact-form .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    }
    
    /* ОБЩИЕ МОБИЛЬНЫЕ УЛУЧШЕНИЯ */
    
    /* Touch-friendly элементы */
    button, .btn, a {
        min-height: 44px;
        min-width: 44px;
        touch-action: manipulation;
    }
    
    /* Улучшенная типографика */
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.2rem;
    }
    
    /* Адаптивные карточки и секции */
    .service-card,
    .testimonial-card,
    .advantage-item {
        margin-bottom: 1.5rem;
        transform: none;
        transition: box-shadow 0.3s ease;
    }
    
    .service-card:hover,
    .testimonial-card:hover {
        transform: none;
        box-shadow: 0 12px 35px rgba(46, 45, 136, 0.2);
    }
    
    /* Улучшенные этапы работы */
    .step-item {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        margin-bottom: 1rem;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }
    
    /* Адаптивная сетка */
    .services-grid,
    .steps-grid,
    .advantages-grid,
    .testimonials-grid {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    /* Футер мобильный */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-section {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: var(--white);
    }
    
    .footer-section ul {
        padding: 0;
        margin: 0;
    }
    
    .footer-section li {
        margin-bottom: 0.8rem;
    }
    
    .footer-section a {
        font-size: 0.95rem;
        padding: 0.5rem 0;
        display: block;
    }
    
    /* Оптимизация Hero секции */
    .hero-content {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .hero-actions {
        padding: 0 1rem;
        max-width: 350px;
        margin: 0 auto;
    }
    
    /* Контактная информация в мобильной версии */
    #contact .container > div {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    /* Отзывы оптимизированные */
    .testimonial-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .testimonial-author {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
}

/* ОЧЕНЬ МАЛЕНЬКИЕ ЭКРАНЫ - ФИНАЛЬНАЯ ОПТИМИЗАЦИЯ */
@media (max-width: 360px) {
    .container {
        padding: 0 5px;
    }
    
    .section {
        padding: 30px 0;
    }
    
    /* Ультра-компактная шапка */
    .header-content {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1.1rem;
    }
    
    .logo svg {
        width: 22px;
        height: 22px;
    }
    
    .mobile-menu-toggle {
        width: 26px;
        height: 18px;
    }
    
    /* Hero минимальный */
    .hero {
        padding: 70px 0 30px;
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        max-width: 240px;
    }
    
    /* Типографика минимальная */
    h1 {
        font-size: 1.4rem;
    }
    
    h2 {
        font-size: 1.2rem;
    }
    
    h3 {
        font-size: 1rem;
    }
    
    /* Карточки ультра-компактные */
    .service-card,
    .testimonial-card {
        padding: 1rem 0.8rem;
        margin: 0 2px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Форма минимальная */
    .contact-form {
        padding: 1rem 0.8rem;
        border-radius: 8px;
    }
    
    /* ДОПОЛНИТЕЛЬНАЯ АДАПТАЦИЯ ДЛЯ МАЛЕНЬКИХ ЭКРАНОВ */
    
    /* Грид-секции на маленьких экранах */
    .about-grid,
    .advantages-section,
    .contact-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    /* Изображения компактные */
    .about-image .responsive-image {
        max-width: 280px;
        aspect-ratio: 1/1;
        border-radius: 20px;
    }
    
    .advantages-image .responsive-image {
        max-width: 300px;
        aspect-ratio: 1/1;
        border-radius: 20px;
    }
    
    .contact-image {
        max-width: 250px;
        aspect-ratio: 1/1;
        margin-bottom: 1rem;
    }
    
    /* Контент адаптированный */
    .about-content h3 {
        font-size: 1.1rem;
    }
    
    .about-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .about-content ul {
        max-width: 250px;
        padding: 1rem;
    }
    
    .about-content li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    /* Преимущества компактные */
    .advantage-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .advantage-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .advantage-item h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .advantage-item p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    /* Контакты минимальные */
    .contact-info-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-info-section h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .contact-info-section p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0.8rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .checkbox-group {
        padding: 0.8rem;
        gap: 0.6rem;
    }
    
    .checkbox-group label {
        font-size: 0.8rem;
    }
    
    .contact-form .btn {
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Преимущества вертикальные */
    .advantage-item {
        flex-direction: column;
        text-align: center;
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    /* Футер компактный */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section {
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section a {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
}

/* ПОЛНАЯ АДАПТАЦИЯ ИЗОБРАЖЕНИЙ */
@media (max-width: 768px) {
    /* Все изображения адаптивные */
    img {
        height: auto;
        max-width: 100%;
        border-radius: 10px;
        object-fit: cover;
    }
    
    /* Изображения в секциях */
    .section img {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        display: block;
        box-shadow: 0 8px 25px rgba(46, 45, 136, 0.15);
    }
    
    /* Иконки сервисов */
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
        background: linear-gradient(135deg, var(--light-peach) 0%, var(--champagne) 100%);
        border: 2px solid var(--accent-color);
    }
    
    /* SVG иконки адаптивные */
    svg {
        max-width: 100%;
        height: auto;
    }
    
    /* Специальные стили для изображений в разных секциях */
    #about img,
    #advantages img,
    #contact img {
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(46, 45, 136, 0.2);
        margin-bottom: 2rem;
    }
    
    /* Адаптивные логотипы в мобильной версии */
    .logo svg {
        vertical-align: middle;
    }
}

/* Утилиты */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* НОВЫЕ АДАПТИВНЫЕ КЛАССЫ ДЛЯ МОБИЛЬНЫХ */

/* Общие стили для грид-секций */
.about-grid,
.advantages-section,
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: center;
}

.advantages-section {
    align-items: start;
}

.contact-grid {
    align-items: start;
}

/* Адаптивные изображения */
.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(46, 45, 136, 0.15);
    object-fit: cover;
    transition: all 0.3s ease;
}

.responsive-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(46, 45, 136, 0.2);
}

.contact-image {
    margin-bottom: 2rem;
}

/* Дополнительные мобильные утилиты */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-center {
        text-align: center !important;
    }
    
    .mobile-full-width {
        width: 100% !important;
    }
    
    /* ПОЛНАЯ АДАПТАЦИЯ ГРИД-СЕКЦИЙ */
    .about-grid,
    .advantages-section,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
    }
    
    /* Порядок элементов на мобильных */
    .mobile-order-1 {
        order: 1;
    }
    
    .mobile-order-2 {
        order: 2;
    }
    
    /* Контент первым на мобильных */
    .about-content,
    .advantages-content,
    .contact-form-section {
        order: 1;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .about-image,
    .advantages-image,
    .contact-info-section {
        order: 2;
    }
    
    /* ОПТИМИЗАЦИЯ ИЗОБРАЖЕНИЙ ДЛЯ МОБИЛЬНЫХ */
    .responsive-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        border-radius: 15px;
        box-shadow: 0 10px 35px rgba(46, 45, 136, 0.2);
        object-fit: cover;
        margin: 0 auto;
        display: block;
    }
    
    /* Специальные размеры для разных экранов */
    .about-image .responsive-image {
        max-width: 350px;
        aspect-ratio: 4/3;
    }
    
    .advantages-image .responsive-image {
        max-width: 400px;
        aspect-ratio: 16/10;
    }
    
    .contact-image {
        max-width: 300px;
        aspect-ratio: 1/1;
        margin-bottom: 1.5rem;
        border-radius: 20px;
    }
    
    /* Адаптивные грид-системы */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    /* АДАПТАЦИЯ КОНТЕНТА ДЛЯ МОБИЛЬНЫХ */
    
    /* Секция "О компании" */
    .about-content h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        text-align: center;
        color: var(--primary-color);
    }
    
    .about-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .about-content ul {
        text-align: left;
        max-width: 300px;
        margin: 0 auto 2rem;
        padding: 1.5rem;
        background-color: var(--light-peach);
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(46, 45, 136, 0.1);
    }
    
    .about-content li {
        font-size: 1rem;
        margin-bottom: 0.8rem;
        color: var(--primary-color);
        font-weight: 500;
    }
    
    /* Преимущества адаптивные */
    .advantage-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        background-color: var(--white);
        border-radius: 20px;
        box-shadow: 0 8px 25px rgba(46, 45, 136, 0.1);
        border: 2px solid var(--light-peach);
        transition: all 0.3s ease;
    }
    
    .advantage-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(46, 45, 136, 0.15);
        border-color: var(--accent-color);
    }
    
    .advantage-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1.5rem;
        background: linear-gradient(135deg, var(--accent-color), #ff8c5a);
        font-size: 1.8rem;
        border-radius: 50%;
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    }
    
    .advantage-item h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
    }
    
    .advantage-item p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: var(--dark-gray);
    }
    
    /* Контактная информация */
    .contact-info-section h3 {
        font-size: 1.4rem;
        text-align: center;
        margin-bottom: 2rem;
        color: var(--primary-color);
    }
    
    .contact-info-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        color: var(--accent-color);
        text-align: center;
    }
    
    .contact-info-section p {
        text-align: center;
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 1rem;
        background-color: var(--champagne);
        border-radius: 15px;
        border-left: 4px solid var(--accent-color);
    }
    
    .contact-info-section a {
        color: var(--primary-color);
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .contact-info-section a:hover {
        color: var(--accent-color);
        text-decoration: underline;
    }
    
    /* Скрытие скроллбаров на мобильных */
    ::-webkit-scrollbar {
        width: 3px;
    }
    
    ::-webkit-scrollbar-track {
        background: transparent;
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 10px;
    }
    
    /* Оптимизация фокуса для мобильных */
    *:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }
    
    /* Предотвращение зума при фокусе на input */
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    select {
        font-size: 16px !important;
    }
    
    /* ПОЛНАЯ TOUCH-ОПТИМИЗАЦИЯ */
    
    /* Все интерактивные элементы touch-friendly */
    button, 
    .btn, 
    a, 
    input, 
    select, 
    .nav-menu a, 
    .mobile-menu-toggle,
    .service-card,
    .testimonial-card,
    .advantage-item {
        min-height: 48px;
        min-width: 48px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.2);
        cursor: pointer;
    }
    
    /* Увеличенные области касания для кнопок */
    .btn {
        padding: 1rem 2rem;
        margin: 0.5rem;
        border-radius: 15px;
        position: relative;
        overflow: hidden;
    }
    
    .btn::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        right: -10px;
        bottom: -10px;
        border-radius: 20px;
    }
    
    /* Навигация touch-friendly */
    .nav-menu a {
        padding: 1.2rem 1.8rem;
        margin: 0.3rem;
        border-radius: 12px;
        font-size: 1.1rem;
        position: relative;
    }
    
    /* Карточки с touch-эффектами */
    .service-card,
    .testimonial-card {
        cursor: pointer;
        position: relative;
        transition: all 0.2s ease;
    }
    
    .service-card:active,
    .testimonial-card:active {
        transform: scale(0.98);
    }
    
    /* Форма оптимизированная для touch */
    .form-group input,
    .form-group select {
        padding: 1.2rem;
        font-size: 1.1rem;
        border-radius: 12px;
        margin-bottom: 0.5rem;
        border: 2px solid #e0e0e0;
        transition: all 0.3s ease;
    }
    
    .form-group input:focus,
    .form-group select:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
        transform: scale(1.02);
    }
    
    /* Чекбоксы большие для touch */
    .checkbox-group input[type="checkbox"] {
        width: 24px;
        height: 24px;
        margin: 0;
        margin-top: 0.2rem;
        cursor: pointer;
    }
    
    .checkbox-group label {
        cursor: pointer;
        padding: 0.5rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .checkbox-group:hover {
        background-color: rgba(255, 107, 53, 0.05);
    }
    
    /* Мобильное меню touch-friendly */
    .mobile-menu-toggle {
        padding: 1rem;
        border-radius: 10px;
        background-color: transparent;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle:focus {
        background-color: var(--light-peach);
    }
    
    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }
    
    /* Стили для автозакрытия меню */
    .nav-menu a {
        position: relative;
    }
    
    .nav-menu a:focus {
        outline: 2px solid var(--accent-color);
        outline-offset: 2px;
    }
    

    
    /* Hover эффекты заменены на touch для мобильных */
    .advantage-item:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(46, 45, 136, 0.1);
    }
    
    .advantage-item:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Оптимизация скролла */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Отступы для якорных ссылок */
    section[id] {
        scroll-margin-top: 100px;
    }
    
    /* Предотвращение случайного выделения текста */
    .btn,
    .nav-menu,
    .mobile-menu-toggle,
    .service-card,
    .advantage-item {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Жесты для карточек */
    .service-card,
    .testimonial-card,
    .advantage-item {
        touch-action: pan-y pinch-zoom;
    }
} 