/* WIACOM - Основные стили */

/* CSS Variables */
:root {
    --color-accent: #df3550;
    --color-accent-hover: #2a4a7a;
    --color-primary: #1f365c;
    --color-text: #000000;
    --color-text-light: #ffffff;
    --color-bg: #ffffff;
    --color-bg-light: #f5f5f5;
    --font-heading: "Open Sans Condensed", Helvetica, Arial, Verdana, sans-serif;
    --font-body: "Roboto", "Open Sans", Helvetica, Arial, Verdana, sans-serif;
    --container-width: 1300px;
    --container-padding: 50px;
}

/* Responsive Variables */
@media (max-width: 1024px) {
    :root {
        --container-padding: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 20px; /* Увеличено с 15px для лучших отступов */
    }
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 22px;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Оптимизация изображений для мобильных */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
        line-height: 23px;
    }

    /* Улучшаем читаемость на мобильных */
    p, li, span {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Дополнительная проверка отступов на мобильных */
@media (max-width: 480px) {
    .container {
        padding-left: 20px !important; /* Гарантируем минимальные отступы */
        padding-right: 20px !important;
    }
}

/* ============================================
   МОБИЛЬНАЯ ОПТИМИЗАЦИЯ СТРАНИЦ С ОБОРУДОВАНИЕМ
   ============================================ */
@media (max-width: 768px) {
    /* Перестраиваем все grid-ы внутри content-section в одну колонку */
    .content-section > div[style*="display: grid"],
    .content-section > div[style*="grid-template-columns"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* Для карточек продуктов с градиентным фоном */
    .content-section > div[style*="background"] > div[style*="display: grid"],
    .content-section > div[style*="background"] > div[style*="grid-template-columns"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    /* Изменяем порядок: название/цена → картинка → описание */
    /* Для grid с картинкой слева (1fr 2fr или 200px 1fr): текст → картинка */
    .content-section > div[style*="grid-template-columns: 1fr 2fr"] > div:first-child,
    .content-section > div[style*="grid-template-columns: 200px 1fr"] > div:first-child {
        order: 2 !important; /* Картинка идет второй */
    }

    .content-section > div[style*="grid-template-columns: 1fr 2fr"] > div:last-child,
    .content-section > div[style*="grid-template-columns: 200px 1fr"] > div:last-child {
        order: 1 !important; /* Текст идет первым */
    }

    /* Для grid с текстом слева (1fr 1fr): текст → картинка */
    .content-section > div[style*="grid-template-columns: 1fr 1fr"] > div:first-child {
        order: 1 !important; /* Текст идет первым */
    }

    .content-section > div[style*="grid-template-columns: 1fr 1fr"] > div:last-child {
        order: 2 !important; /* Картинка идет второй */
    }

    /* Для карточек продуктов: название/цена → картинка */
    .content-section > div[style*="background"] > div[style*="grid-template-columns: 1fr 2fr"] > div:first-child,
    .content-section > div[style*="background"] > div[style*="grid-template-columns: 200px 1fr"] > div:first-child {
        order: 2 !important; /* Картинка идет второй */
    }

    .content-section > div[style*="background"] > div[style*="grid-template-columns: 1fr 2fr"] > div:last-child,
    .content-section > div[style*="background"] > div[style*="grid-template-columns: 200px 1fr"] > div:last-child {
        order: 1 !important; /* Текст с названием/ценой идет первым */
    }

    /* Увеличиваем размер всех картинок на мобильных */
    .content-section img {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 280px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* Специально для маленьких картинок в карточках (200px) */
    .content-section > div[style*="background"] img,
    .content-section > div[style*="text-align: center"] img {
        min-width: 280px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* Top Bar */
.top-bar {
    background-color: var(--color-primary);
    padding: 10px 0;
    font-size: 12px;
    color: var(--color-text-light);
    transition: all 0.3s ease;
}

/* Скрываем top-bar на мобильных */
@media (max-width: 992px) {
    .top-bar {
        display: none;
    }
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.address {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
}

.phone-mobile {
    display: none;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--color-text);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.support-text p {
    margin: 0;
    font-size: 12px;
    color: var(--color-text-light);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.social-icons a img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.social-icons a:hover {
    opacity: 0.8;
}

.btn-call {
    padding: 8px 20px;
    background-color: var(--color-accent);
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-call:hover {
    background-color: var(--color-accent-hover);
}

/* Header and Footer Containers */
#header-container,
#footer-container {
    display: block !important;
    width: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 60px;
}

#footer-container {
    min-height: 100px;
}

#header-container {
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

#header-container.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Header при прокрутке - компактный вид: одна полоса */
#header-container.header-scrolled .top-bar {
    display: none;
}

#header-container.header-scrolled .header {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    background-color: #ffffff;
    padding: 0;
}

#header-container.header-scrolled .header-top {
    display: none;
}

#header-container.header-scrolled .main-nav {
    padding: 0;
    border-top: none;
}

/* Компактная полоса: логотип + меню + иконки в одну строку */
#header-container.header-scrolled .header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    gap: 20px;
}

/* Мобильная оптимизация sticky header */
@media (max-width: 992px) {
    #header-container.header-scrolled .header > .container {
        padding: 10px 15px;
        gap: 15px;
    }

    #header-container.header-scrolled     .logo-mobile img {
        height: 35px;
    }

    #header-container.header-scrolled .menu-item > a {
        padding: 6px 10px;
        font-size: 14px;
    }

    #header-container.header-scrolled .header-icons .telegram-icon,
    #header-container.header-scrolled .header-icons .phone-icon {
        width: 32px;
        height: 32px;
    }

    #header-container.header-scrolled .header-icons .telegram-icon svg,
    #header-container.header-scrolled .header-icons .phone-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    #header-container.header-scrolled .header > .container {
        padding: 8px 12px;
        gap: 10px;
    }

    #header-container.header-scrolled .logo-compact img {
        height: 30px;
    }

    #header-container.header-scrolled .menu-item > a {
        padding: 5px 8px;
        font-size: 13px;
    }

    #header-container.header-scrolled .header-icons {
        gap: 10px;
    }

    #header-container.header-scrolled .header-icons .telegram-icon,
    #header-container.header-scrolled .header-icons .phone-icon {
        width: 30px;
        height: 30px;
    }
}

/* Логотип компактный - скрыт по умолчанию */
.logo-compact {
    display: none;
}

/* Логотип для мобильных - скрыт по умолчанию */
.logo-mobile {
    display: none;
}

/* Логотип слева - показываем компактный при прокрутке */
#header-container.header-scrolled .logo-compact {
    display: block;
    flex-shrink: 0;
}

#header-container.header-scrolled .logo-compact img {
    height: 40px;
    width: auto;
    transition: height 0.3s ease;
}

/* Меню в центре - разворачиваем контейнер */
#header-container.header-scrolled .main-nav {
    flex: 1;
    display: flex;
    align-items: center;
}

#header-container.header-scrolled .main-nav > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    gap: 20px;
}

#header-container.header-scrolled .menu {
    flex: 1;
    justify-content: flex-start;
    margin: 0;
}

#header-container.header-scrolled .menu-item > a {
    padding: 8px 12px;
    font-size: 15px;
    line-height: 18px;
}

#header-container.header-scrolled .menu-divider {
    height: 16px;
    margin: 0 10px;
}

/* Иконки - скрыты по умолчанию, видны только при прокрутке на десктопе */
.header-icons {
    display: none;
}

/* Компактные иконки справа - отображаются при прокрутке на десктопе */
#header-container.header-scrolled .header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    order: 3;
}

/* На мобильных иконки всегда видны */
@media (max-width: 992px) {
    .header-icons {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
        order: 3;
    }

    .header-icons .telegram-icon,
    .header-icons .phone-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        border-radius: 50%;
        transition: all 0.3s ease;
        touch-action: manipulation;
    }

    .header-icons .telegram-icon {
        background-color: #0088cc;
    }

    .header-icons .telegram-icon:active {
        background-color: #006ba3;
        transform: scale(0.95);
    }

    .header-icons .phone-icon {
        background-color: var(--color-accent);
    }

    .header-icons .phone-icon:active {
        background-color: #c52a45;
        transform: scale(0.95);
    }

    .header-icons .telegram-icon svg,
    .header-icons .phone-icon svg {
        width: 20px;
        height: 20px;
        fill: #ffffff;
    }
}

#header-container.header-scrolled .header-icons .telegram-icon,
#header-container.header-scrolled .header-icons .phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#header-container.header-scrolled .header-icons .telegram-icon {
    background-color: #0088cc;
}

#header-container.header-scrolled .header-icons .telegram-icon:hover {
    background-color: #006ba3;
    transform: scale(1.1);
}

#header-container.header-scrolled .header-icons .phone-icon {
    background-color: var(--color-accent);
}

#header-container.header-scrolled .header-icons .phone-icon:hover {
    background-color: #c52a45;
    transform: scale(1.1);
}

#header-container.header-scrolled .header-icons .telegram-icon svg,
#header-container.header-scrolled .header-icons .phone-icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

/* Header */
.header {
    background-color: var(--color-bg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.logo img {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

.header-contact {
    flex: 1;
    text-align: right;
}

.consultation-text {
    margin: 0;
}

.consultation-label {
    font-size: 17px;
    line-height: 17px;
    color: var(--color-accent);
    font-weight: 700;
}

.consultation-phone {
    font-size: 29px;
    line-height: 31px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    transition: opacity 0.3s;
    display: inline-block;
}

.consultation-phone:hover {
    opacity: 0.8;
}

/* Navigation */
.main-nav {
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 18px 0;
}

.menu {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.menu-item {
    position: relative;
}

.menu-divider {
    width: 1px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    margin: 0 15px;
}

.menu-item > a {
    color: var(--color-primary);
    text-decoration: none;
    font-family: "Roboto Condensed", Helvetica, Arial, Verdana, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 21px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    text-transform: uppercase;
    white-space: nowrap;
}

.menu-item > a:hover {
    color: var(--color-accent);
}

.menu-item.active > a {
    color: var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 8px;
}

.menu-item.has-submenu > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 250px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
}

.menu-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    position: relative;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: var(--color-text);
    text-decoration: none;
    transition: background-color 0.3s;
    text-transform: uppercase;
    font-family: "Roboto Condensed", Helvetica, Arial, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.submenu a:hover {
    background-color: rgba(223, 53, 80, 0.1);
    color: var(--color-accent);
}

.submenu-level-2 {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--color-bg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    list-style: none;
    min-width: 300px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.submenu li:hover .submenu-level-2 {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu-level-2 a {
    text-transform: uppercase;
    font-family: "Roboto Condensed", Helvetica, Arial, Verdana, sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    position: relative;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s;
    display: block;
}

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

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

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

@media (max-width: 768px) {
    .mobile-menu-toggle {
        min-width: 40px;
        min-height: 40px;
        padding: 6px;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2.5px;
    }
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

@media (max-width: 768px) {
    .main-content {
        min-height: calc(100vh - 150px);
    }
}

/* Hero Section */
.hero {
    background-color: var(--color-primary);
    padding: 80px 0;
    color: var(--color-text-light);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 46px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.hero-divider {
    width: 200px;
    height: 5px;
    background-color: var(--color-accent);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 20px;
    margin-bottom: 30px;
    color: var(--color-text-light);
}

@media (max-width: 1024px) {
    .hero {
        padding: 60px 0;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 36px;
        line-height: 42px;
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }

    .hero-content {
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 12px;
    }

    .hero-divider {
        width: 150px;
        height: 4px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 25px;
    }

    .hero-image img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero-text h1 {
        font-size: 24px;
        line-height: 30px;
    }

    .hero-divider {
        width: 120px;
        height: 3px;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 20px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-text-light);
    width: 400px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
}

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

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

.btn-secondary:hover {
    background-color: var(--color-accent);
    color: var(--color-text-light);
}

/* Features Section */
.features {
    background-color: var(--color-bg);
    padding: 70px 0;
}

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

.feature-item {
    text-align: center;
    color: var(--color-text);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    border-radius: 50%;
    font-size: 32px;
    color: var(--color-text-light);
}

.feature-icon i {
    font-size: 32px;
    line-height: 1;
    display: inline-block;
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .feature-item h3 {
        font-size: 18px; /* Уменьшено с 20px */
        line-height: 26px; /* Уменьшено с 30px */
    }
}

.feature-item p {
    font-size: 14px;
    line-height: 22px;
    color: var(--color-text);
}

/* Welcome Section */
.welcome {
    padding: 70px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 46px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-primary);
}

.welcome-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.welcome-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

    .welcome-item h3 {
        font-family: var(--font-heading);
        font-size: 26px;
        line-height: 32px;
        font-weight: 700;
        margin-bottom: 20px;
    }

    @media (max-width: 768px) {
        .welcome-item h3 {
            font-size: 22px; /* Уменьшено с 26px */
            line-height: 28px; /* Уменьшено с 32px */
        }
    }

    @media (max-width: 480px) {
        .welcome-item h3 {
            font-size: 20px; /* Уменьшено для маленьких экранов */
            line-height: 26px;
        }
    }

.welcome-item p {
    margin-bottom: 20px;
    line-height: 24px;
}

.welcome-services {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.service-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #333;
    border-radius: 50%;
    font-size: 16px;
    color: var(--color-text);
}

.service-content h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-content p {
    font-size: 13px;
    line-height: 20px;
}

/* DUT Section */
.dut-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    color: var(--color-text-light);
}

.dut-text h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 46px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

/* Pricing Section */

.price {
    text-align: center;
    margin-bottom: 30px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
}

.price-features ul {
    list-style: none;
    padding-left: 0;
}

.price-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.price-features li:last-child {
    border-bottom: none;
}

/* Order Section */
.order-section {
    padding: 70px 0;
    background-color: var(--color-bg-light);
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    padding: 35px 0 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    margin-bottom: 10px;
    line-height: 20px;
}

.contact-info span {
    font-weight: 700;
    color: var(--color-accent);
}

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

.contact-info a:hover {
    opacity: 0.8;
}

.footer-column p {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-column img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

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

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   RESPONSIVE DESIGN - TABLETS (768px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .top-bar-content {
        gap: 12px;
    }

    .top-bar-right {
        flex-wrap: wrap;
        gap: 10px;
    }

    .support-text {
        display: none;
    }

    .header-top {
        display: none; /* Скрываем header-top на мобильных */
    }

    .logo {
        order: 1;
    }

    .logo img {
        height: 45px;
    }

    .header {
        padding: 0;
    }

    .header > .container {
        padding: 0;
    }

    .main-nav {
        padding: 0;
        border-top: none;
    }

    .main-nav > .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px var(--container-padding);
        gap: 15px;
        width: 100%;
        max-width: 100%;
    }

    .logo-compact {
        display: none !important; /* Скрываем старый логотип на мобильных */
    }

    .logo-mobile {
        display: block !important;
        order: 1;
        flex-shrink: 0;
        margin: 0 auto;
    }

    .logo-mobile img {
        height: 40px;
        width: auto;
    }

    .header-icons {
        order: 2;
    }

    .mobile-menu-toggle {
        order: 3;
    }

    .consultation-phone {
        font-size: 24px;
        line-height: 26px;
    }

    .consultation-label {
        font-size: 15px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .welcome-top-row {
        gap: 30px;
    }

    .welcome-services-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .dut-content {
        gap: 40px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - TABLETS (до 992px)
   ============================================ */
@media (max-width: 992px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        width: 100%;
    }

    .phone-mobile {
        display: flex;
    }

    .header-content {
        flex-wrap: wrap;
    }

    .header-contact {
        display: none;
    }

    .main-nav {
        position: relative;
    }

    .menu {
        display: none;
        position: fixed;
        top: 0 !important;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh; /* Динамическая высота viewport для мобильных */
        background-color: #ffffff !important;
        flex-direction: column;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 0;
        padding-top: 0 !important;
        padding-bottom: 20px;
        padding-left: 0;
        padding-right: 0;
        box-shadow: none;
        z-index: 10000 !important;
        overflow-y: auto;
        overflow-x: hidden;
        margin: 0;
        box-sizing: border-box;
        -webkit-overflow-scrolling: touch;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .menu.active {
        padding-top: 0 !important;
        display: flex !important;
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
        background-color: #ffffff !important;
    }

    /* Убираем затемнение фона - оно мешает закрытию меню */
    body.menu-open::before {
        display: none !important;
    }

    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    /* Сохраняем позицию прокрутки при открытии меню */
    body.menu-open {
        --scroll-top: 0;
    }

    .menu-item {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        background-color: transparent;
    }

    .menu-item:last-child {
        border-bottom: none;
    }

    .menu-item > a {
        width: 100%;
        padding: 15px 20px;
        display: block;
        box-sizing: border-box;
        background-color: #ffffff !important;
        color: var(--color-primary) !important;
        text-decoration: none;
        border: none !important;
    }

    .menu-item > a:hover,
    .menu-item > a:active,
    .menu-item > a:focus {
        background-color: rgba(223, 53, 80, 0.1) !important;
        color: var(--color-accent) !important;
    }

    .menu-item.active > a {
        background-color: rgba(223, 53, 80, 0.1) !important;
        color: var(--color-accent) !important;
        border-bottom: 2px solid var(--color-accent) !important;
    }

    .menu-divider {
        display: none;
    }

    /* Подменю в мобильном меню - аккордеон (свернуты по умолчанию) */
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.02);
        margin-top: 0;
        margin-left: 0;
        padding: 0;
        min-width: auto;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .menu-item.has-submenu.active .submenu {
        max-height: 2000px;
        padding: 0;
    }

    .submenu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .submenu li:last-child {
        border-bottom: none;
    }

    .submenu a {
        padding: 12px 15px 12px 30px;
        font-size: 14px;
    }

    /* Стрелка для пунктов с подменю в мобильном меню */
    .menu-item.has-submenu > a {
        position: relative;
        padding-right: 40px;
    }

    .menu-item.has-submenu > a::after {
        content: '▶';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        transition: transform 0.3s ease;
        font-size: 12px;
        color: var(--color-primary);
    }

    .menu-item.has-submenu.active > a::after {
        transform: translateY(-50%) rotate(90deg);
    }

    .submenu-level-2 {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.04);
        margin-left: 0;
        padding: 0;
        min-width: auto;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }

    .submenu li.has-submenu.active .submenu-level-2 {
        max-height: 2000px;
        padding: 0;
    }

    .submenu li.has-submenu > a {
        position: relative;
        padding-right: 40px;
    }

    .submenu li.has-submenu > a::after {
        content: '▶';
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        transition: transform 0.3s ease;
        font-size: 12px;
        color: var(--color-text);
    }

    .submenu li.has-submenu.active > a::after {
        transform: translateY(-50%) rotate(90deg);
    }

    .submenu-level-2 a {
        padding: 12px 15px 12px 45px;
        font-size: 13px;
    }

    .mobile-menu-toggle {
        display: flex !important;
        pointer-events: auto !important;
        z-index: 10001 !important;
        position: relative !important;
        cursor: pointer !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .hero-content,
    .welcome-content,
    .dut-content,
    .wialon-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .wialon-image {
        order: -1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .welcome-services-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .section-title {
        font-size: 28px; /* Уменьшено с 32px */
        line-height: 34px; /* Уменьшено с 38px */
        margin-bottom: 30px; /* Уменьшено с 50px */
    }

    .pricing-section .section-title,
    .welcome-section .section-title,
    .how-we-work-section .section-title {
        font-size: 28px; /* Уменьшено с 32px */
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE (до 768px)
   ============================================ */
@media (max-width: 768px) {
    .top-bar {
        font-size: 11px;
        padding: 8px 0;
    }

    .address {
        font-size: 10px;
    }

    .btn-call {
        padding: 6px 15px;
        font-size: 11px;
    }

    .header-top {
        display: none; /* Скрываем header-top на мобильных */
    }

    .logo img {
        height: 40px;
    }

    .header {
        padding: 0;
    }

    .main-nav {
        padding: 0;
    }

    .main-nav > .container {
        padding: 10px var(--container-padding);
        gap: 12px;
    }

    .header-icons .telegram-icon,
    .header-icons .phone-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
    }

    .header-icons .telegram-icon svg,
    .header-icons .phone-icon svg {
        width: 18px;
        height: 18px;
    }

    .menu {
        padding: 20px var(--container-padding);
        padding-top: 80px;
    }

    .menu-item > a {
        font-size: 15px;
        padding: 10px 12px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .features {
        padding: 50px 0;
    }

    .feature-item h3 {
        font-size: 18px;
        line-height: 24px;
    }

    .feature-item p {
        font-size: 13px;
        line-height: 20px;
    }

    .btn-primary {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    .welcome-section {
        padding: 60px 0;
    }

    .welcome-top-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .welcome-services-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .service-item {
        padding: 20px 15px;
    }

    .dut-section {
        padding: 60px 0;
    }

    .dut-content h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .pricing-section {
        padding: 60px 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pricing-card {
        padding: 20px 15px;
    }

    .how-we-work-section {
        padding: 60px 0;
    }

    .reason-item {
        padding: 18px 20px;
        flex-direction: row;
        gap: 15px;
    }

    .reason-icon {
        width: 45px;
        height: 45px;
    }

    .reason-icon i {
        font-size: 24px;
    }

    .wialon-section {
        padding: 50px 0;
    }

    .wialon-text h3 {
        font-size: 22px;
    }

    .order-section {
        padding: 60px 0;
    }

    .order-form {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 35px;
    }

    .page-title {
        font-size: 28px;
        line-height: 34px;
    }

    .page-subtitle {
        font-size: 16px;
        line-height: 22px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - SMALL MOBILE (до 480px)
   ============================================ */
/* Дополнительные улучшения для мобильных */
@media (max-width: 768px) {
    /* Улучшаем отступы секций */
    .features,
    .welcome-section,
    .dut-section,
    .pricing-section,
    .how-we-work-section,
    .wialon-section,
    .order-section {
        padding-left: 0;
        padding-right: 0;
    }

    /* Улучшаем читаемость текста */
    .content-list li {
        font-size: 16px;
        line-height: 24px;
        padding: 12px 0 12px 35px;
    }

    .benefit-card {
        padding: 25px 18px;
    }

    .benefit-card h3 {
        font-size: 18px;
    }

    .benefit-card p {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .top-bar {
        padding: 6px 0;
        font-size: 10px;
    }

    .top-bar-content {
        gap: 8px;
    }

    .address {
        font-size: 9px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-call {
        padding: 5px 12px;
        font-size: 10px;
    }

    .header-top {
        display: none !important; /* Скрываем header-top на мобильных */
    }

    .logo img {
        height: 35px;
    }

    .main-nav > .container {
        padding: 8px var(--container-padding);
        gap: 10px;
    }

    .logo-mobile img {
        height: 30px;
    }

    .header-icons {
        gap: 10px;
    }

    .header-icons .telegram-icon,
    .header-icons .phone-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }

    .header-icons .telegram-icon svg,
    .header-icons .phone-icon svg {
        width: 17px;
        height: 17px;
    }

    .menu {
        padding: 20px var(--container-padding);
        padding-top: 70px;
    }

    .menu-item > a {
        font-size: 14px;
        padding: 8px 10px;
    }

    .hero {
        padding: 35px 0;
    }

    .hero-text h1 {
        font-size: 22px;
        line-height: 28px;
    }

    .hero-divider {
        width: 100px;
        height: 3px;
    }

    .hero-subtitle {
        font-size: 13px;
        line-height: 18px;
    }

    .features {
        padding: 40px 0;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .feature-item h3 {
        font-size: 16px;
        line-height: 22px;
    }

    .welcome-section {
        padding: 50px 0;
    }

    .welcome-card {
        padding: 20px 15px;
    }

    .welcome-card h3 {
        font-size: 20px;
    }

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

    .founder-card img.team-logo {
        width: 180px;
    }

    .service-item {
        padding: 15px 12px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-item h4 {
        font-size: 16px;
    }

    .service-item p {
        font-size: 12px;
    }

    .dut-section {
        padding: 50px 0;
    }

    .dut-content h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .dut-divider {
        width: 150px;
    }

    .pricing-section {
        padding: 50px 0;
    }

    .pricing-card {
        padding: 18px 12px;
    }

    .pricing-card h3 {
        font-size: 18px;
    }

    .pricing-price {
        font-size: 24px;
    }

    .how-we-work-section {
        padding: 50px 0;
    }

    .reason-item {
        padding: 15px 15px;
        flex-direction: column;
        text-align: center;
    }

    .reason-icon {
        margin: 0 auto 10px;
    }

    .wialon-section {
        padding: 40px 0;
    }

    .wialon-text h3 {
        font-size: 20px;
    }

    .wialon-text p {
        font-size: 13px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .carousel-prev {
        left: 5px;
    }

    .carousel-next {
        right: 5px;
    }

    .order-section {
        padding: 50px 0;
    }

    .order-form {
        padding: 25px 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 14px;
    }

    .section-title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 30px;
    }

    .page-title {
        font-size: 24px;
        line-height: 30px;
    }

    .page-subtitle {
        font-size: 14px;
        line-height: 20px;
    }

    .floating-chat-button {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .floating-chat-button svg {
        width: 22px;
        height: 22px;
    }

    .chat-modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 10px;
    }

    .chat-form {
        padding: 20px 15px;
    }
}

/* Page Content Styles */
.page-header {
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 40px;
    line-height: 46px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-text-light);
}

.page-subtitle {
    font-size: 20px;
    line-height: 24px;
    color: var(--color-text-light);
    margin-top: 20px;
}

.page-content {
    background-color: var(--color-bg);
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 35px;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-primary);
    text-align: center;
}

.content-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.content-list li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    font-size: 18px;
    line-height: 24px;
    color: var(--color-text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.content-list li:last-child {
    border-bottom: none;
}

.content-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
    font-size: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.benefit-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(31, 54, 92, 0.15);
    border-color: var(--color-primary);
}

.benefit-card:hover::before {
    transform: scaleX(1);
}

.benefit-card-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 18px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a7a 100%);
    border-radius: 10px;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(31, 54, 92, 0.2);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 18px rgba(31, 54, 92, 0.3);
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    margin: 0;
    color: var(--color-primary);
    flex: 1;
}

.benefit-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0;
    flex: 1;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .benefit-card {
        padding: 25px 20px;
    }

    .benefit-card-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .benefit-card h3 {
        font-size: 18px;
    }
}

/* IcoMoon Icon Font */
@font-face {
    font-family: 'icomoon-icomoonfree-16x16';
    src: url('fonts/icomoon-icomoonfree-16x16/icomoon-icomoonfree-16x16.eot');
    src: url('fonts/icomoon-icomoonfree-16x16/icomoon-icomoonfree-16x16.eot') format('embedded-opentype'),
         url('fonts/icomoon-icomoonfree-16x16/icomoon-icomoonfree-16x16.ttf') format('truetype'),
         url('fonts/icomoon-icomoonfree-16x16/icomoon-icomoonfree-16x16.woff') format('woff'),
         url('fonts/icomoon-icomoonfree-16x16/icomoon-icomoonfree-16x16.svg') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

[class^="icomoon-icomoonfree-16x16-"],
[class*=" icomoon-icomoonfree-16x16-"] {
    font-family: 'icomoon-icomoonfree-16x16' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icomoon-icomoonfree-16x16-flag:before { content: "\e9cc"; }
.icomoon-icomoonfree-16x16-users:before { content: "\e972"; }
.icomoon-icomoonfree-16x16-clock:before { content: "\e94e"; }
.icomoon-icomoonfree-16x16-equalizer:before { content: "\e992"; }
.icomoon-icomoonfree-16x16-stack:before { content: "\e92e"; }
.icomoon-icomoonfree-16x16-leaf:before { content: "\e9a4"; }
.icomoon-icomoonfree-16x16-user-tie:before { content: "\e976"; }
.icomoon-icomoonfree-16x16-spinner4:before { content: "\e97d"; }

/* Icons - базовые стили для иконок (fallback) */
.icon-map::before { content: '📍'; }
.icon-phone::before { content: '📞'; }
.icon-telegram::before { content: '✈'; }
.icon-cog::before { content: '⚙️'; }
.icon-flag::before { content: '🏁'; }
.icon-users::before { content: '👥'; }
.icon-clock::before { content: '⏰'; }
.icon-equalizer::before { content: '📊'; }
.icon-stack::before { content: '📚'; }
.icon-leaf::before { content: '🍃'; }
.icon-user-tie::before { content: '👔'; }
.icon-spinner::before { content: '🔄'; }
.icon-check::before { content: '✓'; }

/* Welcome Section */
.welcome-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.welcome-section .section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 20px;
}

.welcome-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 5px;
    background-color: var(--color-accent);
}

.welcome-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 40px;
}

.welcome-services-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}

@media (max-width: 1200px) {
    .welcome-services-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .welcome-top-row {
        grid-template-columns: 1fr;
    }

    .welcome-services-row {
        grid-template-columns: 1fr;
    }
}

.welcome-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.welcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.welcome-card img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.welcome-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.welcome-card p {
    flex: 1;
}

.welcome-services {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    padding: 25px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-accent);
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, #2a4a7a 100%);
    border-radius: 12px;
    color: #ffffff;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(223, 53, 80, 0.3);
}

.service-content {
    flex: 1;
    width: 100%;
}

.service-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.service-item:hover h4 {
    color: var(--color-accent);
}

.service-item p {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin: 0;
}

.founder-card {
    text-align: center;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.founder-card img.team-logo {
    width: 240px;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    margin: 0 auto 30px;
    border: none;
    box-shadow: none;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.founder-card:hover img.team-logo {
    transform: scale(1.05);
}

.founder-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-primary);
}


.founder-card .founder-text {
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 14px;
    flex: 1;
}

.founder-contact {
    margin-top: auto;
    padding-top: 25px;
    border-top: 2px solid #e9ecef;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.founder-contact p {
    margin: 0;
    display: flex;
    align-items: center;
    font-size: 16px;
}

.founder-contact .contact-phone,
.founder-contact .contact-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.founder-contact .contact-phone svg,
.founder-contact .contact-email svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.founder-contact a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.founder-contact a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.founder-contact .contact-email a {
    color: var(--color-accent);
}

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

@media (max-width: 768px) {
    .founder-contact {
        flex-direction: column;
        gap: 15px;
    }

    .founder-card img.team-logo {
        width: 200px;
        max-height: 100px;
    }
}

/* DUT Section */
.dut-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a6f 100%);
    color: var(--color-text-light);
    position: relative;
    overflow: hidden;
}

.dut-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.3;
}

.dut-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.dut-content h2 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-light);
    line-height: 1.2;
}

.dut-divider {
    height: 5px;
    width: 200px;
    background-color: var(--color-accent);
    margin-bottom: 30px;
}

.dut-image-wrapper {
    text-align: center;
}

.dut-image-wrapper img {
    max-width: 270px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: #ffffff;
}

.pricing-section .section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 20px;
}

.pricing-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 5px;
    background-color: var(--color-accent);
}

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

@media (max-width: 1400px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    border: 2px solid #e0e0e0;
    padding: 25px 20px;
    text-align: center;
    border-radius: 10px;
    background: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(31, 54, 92, 0.15);
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.pricing-price {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.pricing-features {
    text-align: left;
    flex: 1;
}

.pricing-features p {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-size: 14px;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 6px 0;
    padding-left: 22px;
    position: relative;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* How We Work Section */
.how-we-work-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(245,245,245,0.3) 0%, rgba(255,255,255,1) 100%);
}

.how-we-work-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.reasons-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 2px solid #e9ecef;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.reason-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(31, 54, 92, 0.15);
    border-color: var(--color-primary);
}

.reason-item:hover::before {
    transform: scaleX(1);
}

.reason-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a7a 100%);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(31, 54, 92, 0.2);
    transition: all 0.3s ease;
    margin-top: 2px;
}

.reason-item:hover .reason-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(31, 54, 92, 0.3);
}

.reason-icon i {
    font-size: 28px;
    color: #ffffff;
    line-height: 1;
}

.reason-text {
    flex: 1;
    min-width: 0;
}

.reason-item h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.reason-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.reason-item strong {
    color: var(--color-primary);
    font-size: 15px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .reasons-list {
        max-width: 100%;
        gap: 15px;
    }

    .reason-item {
        padding: 15px 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .reason-icon {
        margin-top: 0;
        margin-bottom: 10px;
    }
}

/* GlonassSoft Platform Section */
.wialon-section {
    padding: 60px 0;
    background: #ffffff;
}

.wialon-section .section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 45px;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 20px;
}

.wialon-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 5px;
    background-color: var(--color-accent);
}

.wialon-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.wialon-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wialon-text h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-primary);
    line-height: 1.2;
}

.wialon-text p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 12px;
}

.wialon-features {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.wialon-features li {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text);
    padding: 8px 0 8px 28px;
    position: relative;
}

.wialon-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 18px;
}

.wialon-image {
    position: relative;
}

.image-carousel {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-image {
    min-width: 100%;
    width: 100%;
    height: auto;
    display: none;
    object-fit: contain;
}

.carousel-image.active {
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

@media (max-width: 968px) {
    .wialon-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .wialon-image {
        order: -1;
    }

    .wialon-text h3 {
        font-size: 24px;
    }

    .wialon-text p {
        font-size: 14px;
    }

    .wialon-features li {
        font-size: 14px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }
}

/* Order Section */
.order-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
}

.order-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(31, 54, 92, 0.2), transparent);
}

.order-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.order-section .section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 20px;
}

.order-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), #2a4a7a);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-top: 20px;
    line-height: 1.6;
}

.order-form {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(31, 54, 92, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    background-color: #fafafa;
    color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(31, 54, 92, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
    font-family: var(--font-body);
}

.checkbox-group {
    margin-top: 30px;
    margin-bottom: 30px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    line-height: 1.5;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 3px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.checkbox-group a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color 0.3s;
}

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

.btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(31, 54, 92, 0.2);
}

.btn:hover {
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(223, 53, 80, 0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #2a4a7a 100%);
    box-shadow: 0 4px 15px rgba(223, 53, 80, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c52a45 0%, #e09a1a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(223, 53, 80, 0.4);
}

.btn-large {
    padding: 18px 45px;
    font-size: 18px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 17px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .welcome-top-row,
    .welcome-services-row,
    .dut-content {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .order-form {
        padding: 30px 20px;
    }

    .order-section {
        padding: 60px 0;
    }

    .order-section .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 16px;
    }
}

/* Floating Chat Button */
.floating-chat-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a7a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(31, 54, 92, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    color: #ffffff;
}

.floating-chat-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(31, 54, 92, 0.5);
    background: linear-gradient(135deg, var(--color-accent) 0%, #2a4a7a 100%);
}

.floating-chat-button svg {
    width: 28px;
    height: 28px;
}

/* Chat Modal */
.chat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.chat-modal.active {
    display: flex;
}

.chat-modal-content {
    background: #ffffff;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

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

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

.chat-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 2px solid #e9ecef;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2a4a7a 100%);
    border-radius: 15px 15px 0 0;
}

.chat-modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
}

.chat-modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chat-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.callback-options {
    padding: 25px;
    border-bottom: 1px solid #e9ecef;
}

.callback-telegram-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #0088cc 0%, #0066aa 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.callback-telegram-btn:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0077bb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.callback-telegram-btn svg {
    width: 22px;
    height: 22px;
}

.callback-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.callback-divider::before,
.callback-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #e0e0e0;
}

.callback-divider::before {
    left: 0;
}

.callback-divider::after {
    right: 0;
}

.callback-divider span {
    background: #ffffff;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
    position: relative;
}

.chat-form {
    padding: 30px 25px;
}

.chat-form-group {
    margin-bottom: 20px;
}

.chat-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 14px;
}

/* Переопределение для чекбоксов в модальных окнах */
.chat-form-group.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 400;
    color: #666;
    margin-bottom: 0;
}

.chat-form-group input,
.chat-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.chat-form-group input:focus,
.chat-form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.chat-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Стили для чекбоксов в модальных окнах */
.chat-form-group.checkbox-group {
    margin-bottom: 20px;
}

.chat-form-group.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    line-height: 1.5;
    font-weight: 400;
    min-height: 44px;
    padding: 5px 0;
}

.chat-form-group.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--color-accent);
    touch-action: manipulation;
}

.chat-form-group.checkbox-group a {
    color: var(--color-accent);
    text-decoration: underline;
    transition: color 0.3s;
    touch-action: manipulation;
}

.chat-form-group.checkbox-group a:hover {
    color: var(--color-primary);
}

.chat-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    margin-top: 10px;
}

/* Touch-friendly стили для мобильных */
@media (max-width: 768px) {
    /* Улучшаем кнопки для touch */
    .btn,
    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 15px;
        touch-action: manipulation;
    }

    /* Улучшаем инпуты для touch */
    .form-group input,
    .form-group textarea,
    .chat-form-group input,
    .chat-form-group textarea {
        min-height: 44px;
        font-size: 16px; /* Предотвращает зум на iOS */
        padding: 12px 15px;
        touch-action: manipulation;
    }

    /* Улучшаем чекбоксы */
    .checkbox-group input[type="checkbox"],
    .chat-form-group.checkbox-group input[type="checkbox"] {
        min-width: 20px;
        min-height: 20px;
        width: 20px;
        height: 20px;
    }

    /* Улучшаем ссылки */
    a,
    .menu-item > a,
    .footer-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        touch-action: manipulation;
    }

    .floating-chat-button {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
        touch-action: manipulation;
    }

    .floating-chat-button svg {
        width: 24px;
        height: 24px;
    }

    .chat-modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 10px;
        border-radius: 12px;
    }

    .chat-form {
        padding: 20px 15px;
    }

    .chat-modal-header {
        padding: 15px 20px;
    }

    .chat-modal-header h3 {
        font-size: 20px;
    }

    .chat-modal-close {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        font-size: 28px;
    }

    .callback-telegram-btn {
        min-height: 48px;
        padding: 14px 20px;
        font-size: 15px;
    }

    .carousel-btn {
        min-width: 44px;
        min-height: 44px;
        width: 44px;
        height: 44px;
        touch-action: manipulation;
    }

    .carousel-dot {
        min-width: 12px;
        min-height: 12px;
        width: 12px;
        height: 12px;
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .floating-chat-button {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
    }

    .floating-chat-button svg {
        width: 22px;
        height: 22px;
    }

    .chat-modal-content {
        width: 95%;
        max-height: 90vh;
        margin: 10px;
        border-radius: 10px;
    }

    .chat-form {
        padding: 15px 12px;
    }

    .chat-modal-header {
        padding: 12px 15px;
    }

    .chat-modal-header h3 {
        font-size: 18px;
    }

    .chat-modal-close {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        font-size: 24px;
    }

    .callback-telegram-btn {
        min-height: 44px;
        padding: 12px 18px;
        font-size: 14px;
    }

    .carousel-btn {
        min-width: 40px;
        min-height: 40px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

