/* Підключення шрифтів e-Ukraine */
@font-face {
    font-family: 'e-Ukraine';
    src: url('../font/e-Ukraine-Thin.otf') format('opentype');
    font-weight: 100;
}
@font-face {
    font-family: 'e-Ukraine';
    src: url('../font/e-Ukraine-Light.otf') format('opentype');
    font-weight: 300;
}
@font-face {
    font-family: 'e-Ukraine';
    src: url('../font/e-Ukraine-Regular.otf') format('opentype');
    font-weight: 400;
}
@font-face {
    font-family: 'e-Ukraine';
    src: url('../font/e-Ukraine-Medium.otf') format('opentype');
    font-weight: 500;
}
@font-face {
    font-family: 'e-Ukraine';
    src: url('../font/e-Ukraine-Bold.otf') format('opentype');
    font-weight: 700;
}

:root {
    --primary-blue: #0056b3;
    --dark-bg: #1a1a1a;
    --text-main: #333;
    --font-family: 'e-Ukraine', sans-serif;
}

* { box-sizing: border-box; }

body { 
    font-family: var(--font-family); 
    margin: 0; padding: 0; 
    color: var(--text-main);
    background-color: #fff;
}

.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

/* Hero Section Оновлений */
.hero-slider { position: relative; width: 100%; height: 600px; overflow: hidden; }
.container1 { max-width: 1400px; margin-left: 5%; padding: 0 20px; }

.slide { 
    display: none; 
    align-items: center; 
    height: 100%; 
    background-size: cover; 
    background-position: center;
}

.slide.active { display: flex; }

.hero-content { 
    width: 55%; 
    background: none; /* Прибираємо фон */
    padding: 40px 0; 
    border-left: 4px solid #fff; /* Біла лінія зліва для акценту */
    padding-left: 20px;
}

/* Градієнтний текст */
.hero-content h1 { 
    font-weight: 700; 
    font-size: 3rem; 
    margin-bottom: 20px;
    font-style: italic; /* Курсив */
    background: linear-gradient(90deg, #FFFFFF 0%, #E0B0FF 100%); /* Від білого до світло-фіолетового */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    -webkit-text-stroke: 1px #001f3f; /* Товщина та колір (напр. темно-синій) */
    paint-order: stroke fill; /* Спочатку малюється обводка, потім заливка */

}

.hero-content p { 
    font-weight: 300; 
    font-size: 1.2rem; 
    color: #f0f0f0; /* Світло-сірий текст для читабельності */
    font-style: italic; 
    max-width: 800px;
    line-height: 1.6;
}

.hero-content cite {
    display: block;
    margin-top: 20px;
    color: #dcdcdc;
    font-style: italic;
    font-size: 1rem;
    font-weight: 300;
}

.hero-content strong {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.hero-slider.fade-mode {
    position: relative;
    width: 100%;
    height: 600px;
    background: #000; /* Чорний фон, щоб не було білих спалахів */
    overflow: hidden;
}

.fade-mode .slide {
    position: absolute; /* Всі слайди лежать один на одному */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out; /* Плавність розчинення */
    display: flex;
    align-items: center;
}

.fade-mode .slide.active {
    opacity: 1;
    z-index: 2; /* Активний слайд завжди зверху */
}

/* Анімація тексту всередині Fade */
.fade-mode .hero-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.6s; /* Текст з'являється трохи пізніше */
}

.fade-mode .slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Стиль градієнтного тексту */
.gradient-text {
   font-weight: 900;
    background: linear-gradient(90deg, #001f3f, #00a8ff, #001f3f);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    -webkit-text-stroke: 1px #001f3f; /* Товщина та колір (напр. темно-синій) */
    paint-order: stroke fill; /* Спочатку малюється обводка, потім заливка */
}

@keyframes shine {
    to { background-position: 200% center; }
}
/* Кнопки */
.prev-slide, .next-slide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    padding: 20px;
    cursor: pointer;
    font-size: 24px;
    transition: 0.3s;
}

.prev-slide { left: 20px; }
.next-slide { right: 20px; }
.prev-slide:hover, .next-slide:hover { background: var(--primary-blue); }

/* Крапки */
.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active { background-color: var(--primary-blue); }

.btn-more {
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #fff; /* Білий текст */
    border: 2px solid var(--primary-blue); /* Синя рамка */
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Символ стрілки */
.btn-more span {
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.4s ease;
}

/* Фоновий ефект заповнення при наведенні */
.btn-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Початкова позиція за межами кнопки */
    width: 100%;
    height: 100%;
    background: #862dc2;
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

/* Ефекти при наведенні (Hover) */
.btn-more:hover {
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4); /* Легке світіння */
}

.btn-more:hover::before {
    left: 0; /* Заповнюємо синім зліва направо */
}

.btn-more:hover span {
    transform: translateX(5px) scale(1.2); /* Стрілка відлітає трохи вправо і збільшується */
}

/* Grids */
/* Заголовок секції */
.section-title { 
    font-weight: 700; 
    text-align: center; 
    margin: 80px 0 50px; 
    text-transform: uppercase;
    font-size: 2rem;
    letter-spacing: 1px;
}

.grid-2, .grid-3 { display: grid; gap: 20px; margin-bottom: 20px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Контейнери карток */
.card, .card-small { 
    position: relative; 
    overflow: hidden; /* Важливо для обрізки картинки */
    display: block; 
    text-decoration: none; 
    border-radius: 15px; /* Збільшив для більш сучасного вигляду */
    isolation: isolate; /* Фікс для стабільності border-radius в браузерах */
    background: #000; /* Фон, щоб не було білих кутів при завантаженні */
}

.card img, .card-small img { 
    width: 100%; 
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
    display: block; 
}

/* Ефект при наведенні */
.card:hover img, .card-small:hover img { 
    transform: scale(1.1); 
    filter: brightness(0.7); /* Трохи затемнюємо фон, щоб текст виділявся */
}

/* Градієнтний текст */
.card span, .card-small span { 
    position: absolute; 
    bottom: 30px; 
    left: 30px; 
    font-weight: 700; 
    font-size: 1.6rem; 
    z-index: 2;
    color: #fff;    
    
    /* Тінь для кращої читаємості на світлих фото */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    transition: all 0.3s ease;
}

.card:hover span, .card-small:hover span {
    transform: translateY(-5px); /* Текст трохи піднімається */
}

/* Затемнення нижньої частини картки для читабельності тексту */
.card::after, .card-small::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

/* Products Section (30/70) */
.products-tabs { 
    display: flex; 
    margin-top: 50px; 
    border-top: 1px solid #eee; 
    background: #fff;
}

.tabs-list { 
    width: 30%; 
    border-right: 1px solid #eee; /* Чітка лінія розділу */
}

.tab-link { 
    width: 100%; 
    padding: 40px 25px; /* Висота збільшена вдвічі */
    text-align: left; 
    border: none; 
    background: none; 
    border-bottom: 1px solid #eee; 
    cursor: pointer;
    font-family: var(--font-family); 
    font-weight: 500; 
    font-size: 16px;
    transition: 0.3s;
    
    /* Додаємо Flexbox для вирівнювання іконки та тексту */
    display: flex;
    align-items: center;
    gap: 20px; /* Відстань між іконкою та текстом */
}

/* Обов'язкові параметри для відображення іконок */
.tab-link::before {
    content: ""; /* БЕЗ ЦЬОГО ІКОНКА НЕ З'ЯВИТЬСЯ */
    display: inline-block;
    width: 40px;  /* Ширина іконки */
    height: 40px; /* Висота іконки */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0; /* Щоб іконка не стискалася */
}

/* Призначаємо іконки */
.tab-link:nth-child(1)::before { background-image: url('../images/p_icon1.png'); }
.tab-link:nth-child(2)::before { background-image: url('../images/p_icon2.png'); }
.tab-link:nth-child(3)::before { background-image: url('../images/p_icon3.png'); }
.tab-link:nth-child(4)::before { background-image: url('../images/p_icon4.png'); }

/* Активний стан */
.tab-link.active { 
    color: var(--primary-blue); 
    border-left: 6px solid var(--primary-blue); 
    background: #f9faff; 
}


.tab-link:hover:not(.active) {
    background: #fcfcfc;
    padding-left: 35px; /* Ефект зсуву при наведенні */
}

.tabs-content { width: 70%; padding: 30px; }
.tab-panel { display: none; animation: fadeIn 0.5s ease-in-out; }
.tab-panel.active { display: block; }

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

.main-banner { 
    position: relative; 
    margin-bottom: 20px; 
    height: 300px; 
    background-color: #f4f4f4; /* Світлий фон для пустої лівої частини */
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    justify-content: flex-end; /* Вирівнює контент (картинку) по правому краю */
}

.main-banner img {
    width: auto;      /* Не розтягуємо по ширині */
    height: 100%;     /* Тільки по висоті блоку */
    object-fit: contain; /* Зберігаємо оригінальні пропорції без збільшення */
    position: relative;
    z-index: 1;
}

.banner-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    /* Градієнт тепер йде зліва (де текст) до центру, щоб не закривати картинку справа */
    background: linear-gradient(to right, rgba(255,255,255,0.9) 30%, rgba(255,255,255,0) 70%);
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    padding: 30px 50px; 
    color: #333; /* Змінив колір тексту на темний, бо фон тепер світлий */
    z-index: 2;
}

.banner-overlay h3 { 
    font-size: 1.8rem; 
    margin-bottom: 10px;
    color: var(--primary-blue); /* Синій заголовок */
}

.banner-overlay a { 
    color: var(--primary-blue); 
    font-weight: 600; 
    text-decoration: underline;
    display: inline-flex;
    
}

/* Налаштування тексту всередині банера */
.banner-overlay h3 { 
    font-size: 1.8rem; 
    margin-bottom: 8px; 
    font-weight: 700;
    background: linear-gradient(90deg, #FFFFFF 0%, #dee4ff 100%);

}

.banner-overlay p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.banner-overlay a { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Фіксуємо ширину або робимо по контенту */
    width: fit-content; 
    margin-top: 15px;
    padding: 8px 20px; /* Зменшені відступи */
    
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #fff;
    
    background: var(--primary-blue);
    border-radius: 4px; /* Легке закруглення (не пігулка, а солідний софт-рітейл) */
    
    transition: all 0.3s ease;
    border: 1px solid var(--primary-blue);
}

/* Компактна стрілка */
.banner-overlay a::after {
    content: "→";
    margin-left: 10px;
    font-size: 16px;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* Ефект при наведенні */
.banner-overlay a:hover {
    background: #0044cc; /* Темніший синій */
    border-color: #0044cc;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.2);
    color: #fff;
}

.banner-overlay a:hover::after {
    transform: translateX(3px);
}


.sub-products { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
}

.sub-products a { 
    text-decoration: none; 
    color: #333; 
    text-align: center; 
    padding: 20px; 
    border: 1px solid #eee; 
    border-radius: 10px;
    background: #fff;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 220px; /* Фіксуємо висоту нижніх карток */
}

.sub-products img { 
    height: 120px; /* Зменшуємо картинку, щоб вліз текст */
    object-fit: contain; 
    margin: 0 auto 15px; 
}

.sub-products span {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Clients Experience */
.experience-grid { 
    display: flex; justify-content: space-between; gap: 10px; margin-bottom: 80px;
}
.exp-item { width: 200px; position: relative; }
.exp-item img { width: 200px; height: 380px; object-fit: cover; filter: grayscale(100%); transition: 0.5s; }
.exp-item:hover img { filter: grayscale(0%); }
.exp-item p { 
    position: absolute; bottom: 20px; width: 100%; text-align: center; 
    color: white; font-weight: 500; text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

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

/* Header Styles */

.site-header {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 5px 0; /* Зменшив паддінг, бо лого велике */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Логотип 100x100 */
.site-header {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Логотип 100x100 */
.header-left { flex: 0 0 100px; }
.logo img { width: 50px; height: 50px; display: block; object-fit: contain; }

/* Меню по центру */
.header-center { flex-grow: 1; display: flex; justify-content: center; }
.header-right { flex: 0 0 100px; } /* Балансир */

.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 40px; }
.nav-menu > li { position: relative; padding: 20px 0; }
.nav-menu > li > a { 
    text-decoration: none; 
    color: var(--primary-blue); 
    font-weight: 500; 
    font-size: 16px; 
    text-transform: uppercase;
}

/* MEGA MENU (як було раніше) */
.has-megamenu:hover .megamenu { display: block; }
.megamenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-top: 3px solid var(--primary-blue);
}

.megamenu-wrapper { display: flex; }

.megamenu-sidebar {
    width: 45%;
    background: #f8f9fa;
    border-right: 1px solid #eee;
}

.menu-cat {
    padding: 15px 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}

.menu-cat.active { background: #fff; color: var(--primary-blue); }

/* Права частина: Списки посилань */
.megamenu-content { 
    width: 55%; 
    padding: 20px; 
}

/* Приховуємо всі списки за замовчуванням */
.cat-links { 
    display: none; 
}

/* Відображаємо тільки активний список у дві колонки */

.menu-title {
    flex: 0 0 100%; /* Займає 100% ширини, виштовхуючи сервери нижче */
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee; /* Легка лінія під заголовком */
    text-transform: none; /* Щоб не було капсом, якщо в батьківському елементі стоїть uppercase */
}

/* Оновлений стиль для посилань, щоб вони не підкреслювали заголовок */
.cat-links a {
    flex: 0 0 50%;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    padding: 8px 10px 8px 0;
    transition: 0.3s;
    box-sizing: border-box;
}

.cat-links.active {
    display: flex;      /* Включаємо Flexbox */
    flex-wrap: wrap;    /* Дозволяємо перенос на новий рядок */
    align-content: flex-start;
}

.cat-links a {
    flex: 0 0 50%;      /* Кожне посилання займає рівно 50% ширини */
    text-decoration: none;
    color: #666;
    font-size: 13px;
    padding: 8px 10px 8px 0; /* Відступи для зручності кліку */
    transition: 0.2s;
    box-sizing: border-box; /* Важливо, щоб padding не розширював блок */
    display: block;
}

.cat-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
    text-decoration: underline; /* Або можна використовувати border-bottom: 1px solid var(--primary-blue); */
    text-underline-offset: 4px; /* Відступ лінії від тексту для кращої читаємості */
}
/* Submenu для "Рішення" */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 450px; /* Збільшено ширину для довгих назв */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 15px 0;
    border-top: 3px solid var(--primary-blue);
    z-index: 1000;
}

.has-submenu:hover .submenu { 
    display: block; 
}

.submenu li {
    list-style: none;
}

.submenu a { 
    display: block; 
    padding: 12px 25px; 
    text-decoration: none; 
    color: #333; 
    font-size: 15px;
    font-weight: 400;
    transition: all 0.2s ease;
}

/* Ефект при наведенні на пункти всередині списку Рішень */
.submenu a:hover { 
    background-color: #f9f9f9;
    color: var(--primary-blue);
    font-weight: 700; /* Стає жирним */
    text-decoration: underline; /* Підкреслення */
    text-underline-offset: 4px;

    /* Спеціальний клас для списку в одну колонку */
.cat-links.only-one-col.active {
    display: flex;
    flex-direction: column; /* Вишиковуємо елементи вертикально */
    flex-wrap: nowrap;     /* Забороняємо перенос у другий ряд */
}

.cat-links.only-one-col a {
    flex: 0 0 100%;        /* Кожне посилання займає 100% ширини */
    padding: 12px 10px 12px 0; /* Трохи збільшив вертикальні відступи для зручності */
    border-bottom: 1px solid #f0f0f0; /* Додав тонку роздільну лінію */
}

.cat-links.only-one-col a:last-child {
    border-bottom: none;   /* Прибираємо лінію у останнього пункту */
}

.cat-links.only-one-col a:hover {
    padding-left: 8px;     /* Трохи сильніший зсув при наведенні */
    background-color: #f9f9f9; /* Легкий фон при наведенні */
}
}

/* Очищуємо попередні налаштування для блоків, де потрібна лише одна колонка */
.megamenu-content .cat-links.only-one-col.active {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
}

/* Примусово ставимо посилання в один рядок */
.megamenu-content .cat-links.only-one-col a {
    flex: 0 0 100% !important; /* Тепер точно на всю ширину */
    width: 100% !important;
    display: block;
    padding: 12px 10px;
    border-bottom: 1px solid #f0f0f0;
    box-sizing: border-box;
}

.megamenu-content .cat-links.only-one-col a:last-child {
    border-bottom: none;
}

/* Ефект наведення для списку в одну колонку */
.megamenu-content .cat-links.only-one-col a:hover {
    background-color: #f9f9f9;
    padding-left: 15px; /* Більш помітний зсув */
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: underline;
}


/* Форма пошуку */
.search-form {
    display: flex;
    align-items: center;
    background: #f4f4f4;
    border-radius: 20px;
    padding: 5px 15px;
    border: 1px solid #ddd;
    transition: 0.3s;
}

.search-form:focus-within {
    background: #fff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 5px rgba(0, 86, 179, 0.2);
}

.search-form input {
    border: none;
    background: transparent;
    outline: none;
    padding: 5px;
    font-family: var(--font-family);
    font-size: 14px;
    width: 120px; /* Компактний розмір */
    transition: width 0.3s;
}

.search-form input:focus {
    width: 180px; /* Розширюється при кліку */
}

.search-form button {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
}

.search-form button:hover {
    color: var(--primary-blue);
}


/* Footer Styles */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
    font-family: var(--font-family);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Робимо логотип білим для темного фону */
}

.footer-about p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    max-width: 300px;
}

.footer-links h4, 
.footer-contact h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--primary-blue);
}

.footer-contact p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}

.footer-contact a {
    color: var(--primary-blue);
    text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #888;
}

.legal-links a {
    color: #888;
    text-decoration: none;
    margin-left: 20px;
}

.legal-links a:hover {
    color: #fff;
}

/* Адаптивність */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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




/* Продукти */
/* Основний контейнер сторінки продукту */
.product-page {
    /* Віднімаємо приблизну висоту хешдера і футера, якщо хочете ідеально, 
       або просто ставимо 100vh для гарантії */
    min-height: 100vh; 
    padding: 80px 0;
    background: #fff;
    
    /* Додаємо flex, щоб футер завжди виштовхувався донизу */
    display: flex;
    flex-direction: column;
}

/* Якщо ви хочете, щоб контент сторінки займав весь простір, 
   навіть якщо опису мало */
.product-tabs-container {
    flex-grow: 1; 
    margin-top: 40px;
}
/* Header продукту */

.product-header { display: flex; gap: 50px; margin-bottom: 60px; align-items: center; }
.product-image { width: 25%; background: #f9f9f9; border-radius: 15px; padding: 40px; }
.product-image img { width: 100%; transition: transform 0.5s; }
.product-intro { width: 55%; }

.product-badges { display: flex; gap: 15px; margin: 20px 0; }
.badge { 
    background: #f0f4ff; color: var(--primary-blue); 
    padding: 8px 15px; border-radius: 5px; font-size: 0.9rem;
}

/* Tabs */
/* --- TABS HEADER (Кнопки) --- */
.tabs-header { 
    display: flex; 
    justify-content: center; 
    border-bottom: 2px solid #eee; 
    margin-bottom: 30px; 
}

.p-tab-link { 
    padding: 15px 10px; 
    border: none; 
    background: none; 
    cursor: pointer;
    font-weight: 600; 
    font-size: 1.1rem; 
    color: #666; 
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.p-tab-link.active { color: var(--primary-blue); }
.p-tab-link.active::after {
    content: ''; 
    position: absolute; 
    bottom: -2px; 
    left: 0; 
    width: 100%; 
    height: 3px; 
    background: var(--primary-blue);
}

/* --- ПАНЕЛІ ТАБІВ --- */
.p-tab-panel {
    display: none;
    padding: 40px 0;
}

.p-tab-panel.active {
    display: block;
}

/* --- ОБМЕЖЕННЯ ШИРИНИ ТА ЦЕНТРУВАННЯ --- */

/* Вузький контент (Опис та Характеристики) */
#p-desc .tab-content-wrapper,
#p-features .features-grid {
    max-width: 95%; 
    margin: 0 auto;
}

/* Ширший контент для великої таблиці */
#p-specs .specs-table {
    max-width: 95%; 
    width: 100%;
    margin: 0 auto;
}

/* --- ТИПОГРАФІКА (Justify) --- */
#p-desc p, 
.feature-col p {
    text-align: justify;
    line-height: 1.8;
    hyphens: auto; 
    color: #444;
}

#p-desc h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: #1a1a1a;
    text-align: center; 
}

/* --- СІТКА ХАРАКТЕРИСТИК --- */
.features-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
}

.feature-col {
    text-align: center;
}

/* Специфікації (Таблиця) */
.specs-table {
    border-collapse: collapse;
}

.specs-table td {
    border-bottom: 1px solid #eee;
}

/* 4 стовпчики характеристик */
.features-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 25px; 
    margin-top: 20px;
}

.feature-col {
    text-align: center; 
    padding: 20px;
    transition: 0.3s;
}

/* Спільний стиль для іконок - РОЗМІР ЗМЕНШЕНО НА 50% */
.feature-col::before {
    content: "";
    display: block;
    width: 30px; /* Було 60px, тепер 30px */
    height: 30px; /* Було 60px, тепер 30px */
    margin: 0 auto 15px; /* Трохи менший відступ знизу */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    /* Плавне обертання */
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Призначаємо іконки */
.feature-col:nth-child(1)::before { background-image: url('../images/icon1.png'); }
.feature-col:nth-child(2)::before { background-image: url('../images/icon2.png'); }
.feature-col:nth-child(3)::before { background-image: url('../images/icon3.png'); }
.feature-col:nth-child(4)::before { background-image: url('../images/icon4.png'); }

/* Ефект прокручування при наведенні */
.feature-col:hover::before {
    transform: rotateY(360deg);
}

.feature-col h4 { 
    color: var(--primary-blue); 
    font-size: 0.9rem; 
    margin-bottom: 10px; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 10px;
}

.feature-col p {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #666;
}

/* Таблиця */
.specs-table td {
    border-bottom: 1px solid #eee;
    vertical-align: top; /* Текст завжди зверху, якщо ліва колонка коротка */
    font-size: 0.8rem;
}

.specs-table td strong {
    display: block;
    margin-top: 10px;
    color: var(--primary-blue);
    font-size: 0.9rem;
}

.specs-table td:first-child {
    background: #fcfcfc;
    width: 250px; /* Фіксована ширина для назв параметрів */
    color: #333;
    font-weight: 700;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 35px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    
    /* Основні кольори: Синій текст та синя рамка */
    color: var(--primary-blue);
    background: transparent;
    border: 2px solid var(--primary-blue);
    border-radius: 4px; /* Легке закруглення для солідності */
    
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

/* Стрілка після тексту */
.btn-primary::after {
    content: "→";
    margin-left: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Ефект заповнення (як у btn-more) */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Починається за межами кнопки */
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

/* Стан при наведенні (Hover) */
.btn-primary:hover {
    color: #fff; /* Текст стає білим тільки при заповненні фону */
}

.btn-primary:hover::before {
    left: 0; /* Фон виїжджає вправо */
}

.btn-primary:hover::after {
    transform: translateX(5px); /* Стрілка трохи зміщується */
}

/* Стан при натисканні */
.btn-primary:active {
    transform: scale(0.98);
}

.product-actions {
    display: flex;
    gap: 15px; /* Відстань між кнопками */
    margin-top: 25px;
    flex-wrap: wrap; /* Щоб на мобільних кнопках переносилися одна під одну */
}

/* Сторінка iot.php  Промислове рішення для Інтернету речей (IIoT) */
/* Hero Section */
.iot-hero { 
background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/iot.webp') center/cover;
    height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white;
}
.iot-hero h1 { font-size: 2.5rem; text-transform: uppercase; letter-spacing: 1px; }

.container-iot { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Загальні класи */
.section-padding { padding: 40px 0; }
.section-title { color: var(--primary-blue); margin-bottom: 25px; text-align: left; }
.bg-light { background-color: #f9f9f9; padding: 40px; border-radius: 10px; }

/* Текстовий блок під сценаріями */
.info-highlight { 
    background: #fff; 
    border: 1px solid #eee; 
    padding: 30px; 
    margin: 30px 0; 
    border-radius: 10px; 
    font-size: 1.1rem; 
    line-height: 1.7;
    color: #444;
}

/* Сценарії - іконки зменшені до 40px (було 80px) */
.scenario-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.scenario-card { padding: 25px; border-radius: 10px; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-align: center; }
.icon-rotate { width: 40px; height: 40px; margin-bottom: 15px; transition: transform 0.8s ease-in-out; }
.scenario-card:hover .icon-rotate { transform: rotate(360deg); }

/* Strategy Box */
.strategy-banner { 
    background: var(--accent-blue); 
    border-left: 5px solid var(--primary-blue); 
    padding: 30px; 
    margin: 40px 0; 
    border-radius: 0 10px 10px 0; 
}
.strategy-banner h3 { color: var(--primary-blue); margin-top: 0; margin-bottom: 15px; }

/* Solution Layers */
.solution-step { display: flex; align-items: flex-start; margin-bottom: 20px; background: #fdfdfd; padding: 15px; border-radius: 8px; border: 1px solid #f0f0f0; }
.step-num { background: var(--primary-blue); color: white; width: 35px; height: 35px; border-radius: 50%; display: flex; 
            align-items: center; justify-content: center; font-weight: bold; margin-right: 15px; flex-shrink: 0; }

/* CTA */
.cta-section { text-align: center; margin-top: 50px; padding: 50px; border-top: 1px solid #eee; }
.btn-request { background: var(--primary-blue); color: white; padding: 14px 30px; border: none; border-radius: 5px; cursor: pointer; font-size: 1.1rem; transition: 0.3s; }
.btn-request:hover { background: #004494; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* Секція Цінність програми */
.programme-value {
    background: #f9f9f9; 
    padding: 60px 40px; 
    border-radius: 15px; 
    margin-top: 40px;
}

.value-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px; 
    margin-top: 20px;
}

.value-item { 
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.value-icon { 
    width: 40px; /* Зменшено до ~50% від стандартного розміру */
    height: auto;
    flex-shrink: 0;
}

.value-text strong {
    display: block;
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.value-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* Сторінка retail.php  Промислове рішення для Інтернету речей (IIoT) */
/* Hero для Рітейлу */
.retail-hero { 
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/retail.webp') center/cover;
    height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white;
}
.retail-hero h1 { font-size: 2.5rem; text-transform: uppercase; letter-spacing: 1px; }

.container-retail { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Використовуйте існуючі класи .section-padding, .scenario-grid, .value-icon тощо з iot.php */
/* Hero для Медичного рішення */
.medical-hero { 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/retail.webp') center/cover;
    height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white;
}
.medical-hero h1 { font-size: 2.5rem; line-height: 1.2; max-width: 900px; padding: 0 20px; }

.container-medical { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Іконки (зменшені на 50%) */
.icon-rotate, .value-icon { width: 40px; height: 40px; }
/* Related Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
}

.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.product-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.4;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    color: white;
}

.read-more {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.read-more span {
    font-family: 'icomoon'; /* або ваш шрифт іконок */
    font-size: 1.1rem;
}

.read-more:hover {
    text-decoration: underline;
}
/* Hero для Держсектору */
.gov-hero { 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/government.webp') center/cover;
    height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white;
    flex-direction: column;
}
.gov-hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.gov-hero p { font-size: 1.2rem; opacity: 0.9; }

.container-gov { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Використовуйте ті ж класи .product-card, .strategy-banner тощо, що й на попередніх сторінках */

/* Hero для Корпоративного сектору */
.enterprise-hero { 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/business.webp') center/cover;
    height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white;
    flex-direction: column;
}
.enterprise-hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.enterprise-hero p { font-size: 1.2rem; max-width: 800px; opacity: 0.9; }

.container-ent { max-width: 1200px; margin: 0 auto; padding: 20px; }
/* Hero для Кампусу */
.campus-hero { 
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/retail.webp') center/cover;
    height: 400px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: white;
    flex-direction: column;
}
.campus-hero h1 { font-size: 2.5rem; margin-bottom: 15px; }
.campus-hero p { font-size: 1.2rem; max-width: 800px; opacity: 0.9; }

.container-campus { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* Сторінка Підтримки */

/* --- MODERN SUPPORT HERO --- */
.s-hero-modern {
    background: #000b1a;
    padding: 140px 20px 180px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}

/* Декоративна світлова пляма на фоні */
.hero-bg-accent {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.support-label {
    display: inline-block;
    background: rgba(0, 168, 255, 0.1);
    color: #00a8ff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 168, 255, 0.2);
}

.s-hero-modern h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -2px;
    background: linear-gradient(to bottom, #ffffff, #a0aec0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container2 { 
    margin: 0 auto;    /* Центруємо сам контейнер на сторінці */
    padding: 0 20px; 
    position: relative; 
    z-index: 10;
    
    /* Додаємо центрування вмісту */
    display: flex;
    flex-direction: column;
    align-items: center; /* Центруємо по горизонталі */
    justify-content: center; /* Центруємо по вертикалі (якщо задана висота секції) */
    text-align: center; /* Вирівнюємо текст по центру */
}

/* Якщо всередині контейнера є сітка (grid), її теж треба центрувати */
.container2 .strat-grid, 
.container2 .s-strategy-modern {
    width: 100%;
    justify-content: center; /* Центруємо картки всередині сітки */
}
.s-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 50px auto 0;
}

.stat-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 24px;
    transition: 0.3s;
}

.stat-glass-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
    border-color: rgba(0, 168, 255, 0.4);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #00a8ff;
    margin-bottom: 5px;
}

.stat-glass-card label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1px;
}

/* --- MODERN STRATEGY SECTION --- */
.s-strategy-container {
    max-width: 1200px;
    margin: -80px auto 100px;
    padding: 0 20px;
    position: relative;
    z-index: 20;
}

.s-strategy-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.strat-card-premium {
    background: #ffffff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: 0.4s;
    position: relative;
}

.strat-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 86, 179, 0.1);
}

.strat-number {
    font-size: 0.85rem;
    font-weight: 800;
    color: #0056b3;
    background: #f0f7ff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 25px;
}

.strat-card-premium h4 {
    font-size: 1.25rem;
    color: #001f3f;
    margin-bottom: 15px;
    font-weight: 800;
}

.strat-card-premium p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Адаптивність */
@media (max-width: 768px) {
    .s-hero-modern h1 { font-size: 2.8rem; }
    .s-stats-grid { grid-template-columns: 1fr; }
    .s-strategy-container { margin-top: -40px; }
}


/* --- VERTICAL TIMELINE STYLES --- */
.v-main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: #001f3f;
    margin-bottom: 60px;
}
.v-container {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 20px 100px;
    position: relative;
}
.v-timeline-wrapper {
    position: relative;
    padding: 100px 0;
    min-height: 1000px;
}

.v-timeline-svg {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 200px; /* Ширина розмаху синусоїди */
    height: 100%;
    z-index: 1;
}

.v-moving-dot-svg {
    position: absolute;
    left: 50%;
    top: 0;
    width: 24px;
    height: 24px;
    background: #0056b3;
    border: 4px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.5);
}

.v-timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 150px;
}
/* Коригуємо позиції контенту, щоб вони не перекривали вигини хвилі */
.v-timeline-content { width: 40%; }
.v-timeline-icon { width: 40%; }
/* Контентні блоки */
.v-timeline-content {
    width: 42%;
    padding: 40px;
    background: #f8fafc;
    border-radius: 24px;
    transition: 0.4s ease;
    border: 1px solid #f1f5f9;
}

.v-timeline-content.left { text-align: right; }
.v-timeline-content.right { text-align: left; }

.v-timeline-item:hover .v-timeline-content {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.1);
    border-color: #00a8ff;
}

/* Іконки навпроти контенту */
.v-timeline-icon {
    width: 42%;
    font-size: 3rem;
    display: flex;
    justify-content: center;
}

.v-timeline-item:nth-child(even) { flex-direction: row-reverse; }

/* Текстові елементи */
.v-step-num {
    display: block;
    color: #00a8ff;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.v-timeline-content h4 {
    font-size: 1.5rem;
    color: #001f3f;
    font-weight: 800;
    margin-bottom: 15px;
}

.v-timeline-content p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.v-icon-img {
    /* Розмір та пропорції */
    width: 400px;           /* Оптимальний розмір для десктопа */
    height: 400px;
    object-fit: cover;      /* Заповнює квадрат без деформації */
    
    /* Закруглення та межі */
    border-radius: 24px;    /* Сучасне "apple-style" закруглення */
    border: 1px solid rgba(0, 86, 179, 0.15); /* Тонка технологічна рамка */
    
    /* Ефекти */
    display: block;
    margin: 0 auto;
    background: #ffffff;    /* Чистий фон під іконкою */
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.05), 
        0 4px 10px rgba(0, 168, 255, 0.1);
    
    /* Плавність */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Ефект при наведенні на картку етапу */
.v-item:hover .v-icon-img {
    transform: scale(1.15) rotate(-3deg);
    border-color: #00a8ff;
    box-shadow: 0 15px 35px rgba(0, 168, 255, 0.2);
    background: #fdfdff;
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
    .v-icon-img {
        width: 80px;
        height: 80px;
        border-radius: 18px;
    }
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
    .v-timeline-line { left: 30px; }
    .v-timeline-dot { left: 30px; }
    .v-timeline-item { flex-direction: column !important; align-items: flex-start; padding-left: 70px; }
    .v-timeline-content { width: 100% !important; text-align: left !important; padding: 25px; }
    .v-timeline-icon { display: none; }
}

/* --- PROFESSIONAL SUPPORT CONTACT SECTION --- */
.sp-focus-wrapper {
    max-width: 90vw;
    margin: 0 auto;
    padding: 0 20px;
}
.sp-contact-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
}

.sp-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: flex-start;
    width: 100%;
}
.sp-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    
    /* Кольори та градієнт */
    color: #00a8ff;
    background: rgba(0, 168, 255, 0.08); /* Напівпрозорий фон */
    
    /* Скляний ефект та рамка */
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 50px; /* Повністю округлені краї */
    
    /* Ефект світіння */
    box-shadow: 0 0 15px rgba(0, 168, 255, 0.1);
    
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Додаємо анімовану крапку "онлайн", щоб підкреслити 24/7 */
.sp-badge::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #00a8ff;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 8px #00a8ff;
    animation: pulse-dot 2s infinite;
}

/* Ховер ефект */
.sp-badge:hover {
    background: rgba(0, 168, 255, 0.15);
    border-color: rgba(0, 168, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 0 20px rgba(0, 168, 255, 0.2);
}

/* Анімація пульсації для статусу 24/7 */
@keyframes pulse-dot {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* Ліва частина: Контакти */
.sp-contact-info h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #001f3f;
    line-height: 1.1;
    margin: 20px 0;
}

.sp-phone-block {
    margin: 40px 0;
}

.sp-phone-link {
    font-size: 3rem;
    font-weight: 900;
    color: #0056b3;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.sp-phone-link:hover { color: #00a8ff; }

.sp-call-status {
    font-size: 0.9rem;
    color: #2ecc71;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sp-alt-contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-top: 1px solid #e2e8f0;
    padding-top: 40px;
}

.alt-item label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 5px;
}

.alt-item a {
    color: #1e293b;
    font-weight: 600;
    text-decoration: none;
}

/* Права частина: Картка тікета */
.sp-ticket-card {
    background: #ffffff;
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 86, 179, 0.08);
    border: 1px solid #f1f5f9;
}

.ticket-header { margin-bottom: 35px; }
.ticket-header h3 { font-size: 1.8rem; color: #001f3f; margin-bottom: 10px; }
.ticket-header p { color: #64748b; font-size: 0.95rem; }

.form-group { margin-bottom: 25px; }
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.sp-ticket-form input, 
.sp-ticket-form select, 
.sp-ticket-form textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    background: #fcfdfe;
    font-size: 1rem;
    transition: 0.3s;
}

.sp-ticket-form input:focus, 
.sp-ticket-form select:focus, 
.sp-ticket-form textarea:focus {
    border-color: #0056b3;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.05);
}

.sp-btn-submit {
    width: 100%;
    background: #001f3f;
    color: #fff;
    padding: 20px;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    transition: 0.4s;
}

.sp-btn-submit:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 86, 179, 0.2);
}

@media (max-width: 992px) {
    .sp-contact-layout { grid-template-columns: 1fr; gap: 60px; }
    .sp-contact-info { text-align: center; }
    .sp-alt-contacts { justify-content: center; }
}

/* --- ABOUT PAGE STYLES --- */
.about-page { --p-blue: #0056b3; --d-blue: #001f3f; --accent: #00a8ff; }

.a-hero {
    /* Використовуємо ../images/, якщо CSS файл лежить у папці css/ */
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/about_hero.webp') center/cover;
    color: white; 
    padding: 120px 0; 
    text-align: center;
}
.a-hero h1 { font-size: 3.5rem; font-weight: 800; text-transform: uppercase; }

/* --- Секція Профілю Компанії --- */
.profile-section {
    padding: 120px 0;
    background: #ffffff;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.tag-line {
    color: #0056b3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2rem;
    margin-bottom: 10px;
}

.stock-code {
    display: inline-block;
    font-family: monospace;
    background: #f0f7ff;
    color: #0056b3;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.profile-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #001529;
    font-weight: 800;
    margin-bottom: 35px;
}
/* --- Стиль для бейджа TOP 3 --- */
.profile-image-wrap {
    position: relative; /* Контейнер для позиціонування бейджа */
    display: inline-block;
}

.main-profile-img {
    width: 100%;
    height: auto;
    border-radius: 40px; /* Велике заокруглення для сучасного вигляду */
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -30px; /* Виступає за межі картинки знизу */
    left: 40px; /* Зміщення зліва */
    background: #0056b3; /* Корпоративний синій */
    color: #ffffff;
    padding: 25px 35px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 86, 179, 0.3);
    text-align: center;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.experience-badge span {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.experience-badge p {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    opacity: 0.9;
    white-space: nowrap; /* Щоб текст не переносився */
}

/* Адаптивність для мобільних пристроїв */
@media (max-width: 768px) {
    .experience-badge {
        position: relative;
        bottom: 0;
        left: 0;
        margin-top: 20px;
        display: inline-block;
        padding: 15px 25px;
    }
    
    .experience-badge span {
        font-size: 1.8rem;
    }
}
/* --- Секція Стратегічних переваг --- */
.a-strategy-box {
    background-color: #001529; /* Глибокий темно-синій */
    background-image: radial-gradient(circle at top right, rgba(0, 168, 255, 0.1), transparent);
    padding: 100px 20px;
    border-radius: 40px;
    margin: 60px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.strategy-container {
    max-width: 1200px;
    margin: 0 auto;
}

.strategy-main-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 60px;
    color: #ffffff;
    letter-spacing: -1px;
}

.strat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.strat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.strat-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-10px);
    border-color: #00a8ff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.strat-icon-wrap {
    font-size: 0.85rem;
    font-weight: 900;
    color: #00a8ff;
    margin-bottom: 20px;
    letter-spacing: 2px;
    opacity: 0.6;
}

.strat-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.3;
}

.strat-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a0aec0; /* Світло-сірий для кращого читання на темному */
    margin: 0;
}

/* Адаптивність */
@media (max-width: 768px) {
    .strategy-main-title { font-size: 2rem; }
    .a-strategy-box { padding: 60px 20px; border-radius: 24px; }
}


/* --- Секція Pillars AI+ --- */
.pillars-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.pillars-main-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 70px;
    letter-spacing: -1px;
}

.text-blue {
    color: #0056b3;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.pillar-item {
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-top: 1px solid #e2e8f0; /* Тонка лінія зверху */
    transition: all 0.4s ease;
}

.pillar-item:hover {
    border-top-color: #0056b3;
    background-color: #f8faff;
}

.pillar-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #f1f5f9; /* Дуже світлий колір для фонового числа */
    line-height: 1;
    margin-bottom: -20px; /* Накладання тексту на число */
    transition: 0.3s;
}

.pillar-item:hover .pillar-number {
    color: #e0e7ff;
    transform: translateX(10px);
}

.pillar-content {
    position: relative;
    z-index: 2;
}

.pillar-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #001f3f;
    margin-bottom: 15px;
}

.pillar-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Адаптивність */
@media (max-width: 768px) {
    .pillars-main-title { font-size: 2rem; margin-bottom: 40px; }
    .pillar-item { padding: 20px; }
}

/* --- Секція Статистики та Місії --- */
.stats-section {
    padding: 80px 0 120px;
    background: #f8fafc; /* Легкий сірий фон для відокремлення */
}

.stats-banner {
    background: #ffffff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.stat-box {
    padding: 0 20px;
    border-right: 1px solid #e2e8f0;
}

.stat-box:last-child {
    border-right: none;
}

.stat-number {
    font-size: 4.5rem;
    font-weight: 900;
    color: #0056b3; /* Корпоративний синій */
    display: block;
    line-height: 1;
    margin-bottom: 15px;
    letter-spacing: -2px;
}

.stat-box label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Текстовий блок під банером */
.ecosystem-message {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ecosystem-message p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #1e293b;
    font-weight: 500;
    position: relative;
    padding-top: 30px;
}

/* Декоративна лінія над текстом */
.ecosystem-message p::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #00a8ff;
    border-radius: 2px;
}

/* Адаптивність */
@media (max-width: 992px) {
    .stats-banner {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 20px;
    }
    
    .stat-box {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 30px;
    }
    
    .stat-box:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
}
/* --- Юридична секція --- */
.legal-section {
    padding: 80px 0;
    background-color: #ffffff;
    border-top: 1px solid #edf2f7;
}

.legal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.legal-info-card, .legal-activity-card {
    background: #f8fafc;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.legal-info-card h3, .legal-activity-card h3 {
    color: #001f3f;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.legal-list {
    list-style: none;
    padding: 0;
}

.legal-list li {
    margin-bottom: 12px;
    color: #4a5568;
}

.legal-list strong {
    color: #0056b3;
    display: inline-block;
    width: 140px;
}

.kved-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #00a8ff;
}

.kved-code {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0056b3;
}

.legal-note {
    font-size: 0.9rem;
    color: #718096;
    font-style: italic;
}

/* Документи */
.documents-section {
    margin-top: 60px;
}

.documents-section h3 {
    text-align: center;
    margin-bottom: 40px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.doc-item:hover {
    border-color: #0056b3;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-3px);
}

.doc-icon {
    font-size: 2rem;
}

.doc-text span {
    display: block;
    font-weight: 700;
    color: #001f3f;
}

.doc-text small {
    color: #a0aec0;
}

@media (max-width: 768px) {
    .legal-grid { grid-template-columns: 1fr; }
    .legal-list strong { width: auto; display: block; margin-bottom: 5px; }
}

/* Пошукова видача */
.search-results-page { padding: 40px 20px; min-height: 60vh; }
.results-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }

.search-item { 
    background: #fff; 
    border-radius: 12px; 
    padding: 25px; 
    border-left: 5px solid #0056b3; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    transition: 0.3s;
}

.search-item:hover { transform: translateX(10px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

.search-item h3 a { color: #0056b3; text-decoration: none; font-size: 1.5rem; }
.category-tag { background: #f0f7ff; color: #0056b3; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }
.search-item p { color: #666; margin: 10px 0; font-size: 0.95rem; }

.no-results { text-align: center; padding: 50px; background: #f9f9f9; border-radius: 20px; }

/* --- TDI HERO UNIQUE STYLES --- */
.tdi-hero-viewport {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    background: #000b1a;
    overflow: hidden;
}

.tdi-hero-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    filter: saturate(1.2);
    z-index: 1;
}

.tdi-hero-shroud {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0,11,26,0.95) 0%, rgba(0,11,26,0.5) 100%);
    z-index: 2;
}

.tdi-hero-grid {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

/* Статус-пігулка */
.tdi-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: #00a8ff;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.tdi-pulse {
    width: 8px; height: 8px;
    background: #00a8ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00a8ff;
    animation: tdiPulse 2s infinite;
}

/* Заголовок та текст */
.tdi-title {
    font-size: 5rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin-bottom: 30px;
}

.tdi-accent {
    color: transparent;
    -webkit-text-stroke: 1px #fff;
    background: linear-gradient(90deg, #00a8ff, #0056b3);
    -webkit-background-clip: text;
    background-clip: text;
}

.tdi-subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 650px;
    line-height: 1.7;
    margin-bottom: 50px;
}

/* Метрики праворуч */
.tdi-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tdi-stat-node {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 30px;
    border-left: 5px solid #00a8ff;
    transition: 0.4s ease;
}

.tdi-stat-node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.08);
}

.tdi-node-val {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
}

.tdi-node-info p {
    color: #64748b;
    font-weight: 600;
    margin-top: 5px;
}

/* Кнопки */
.tdi-btn-primary {
    padding: 20px 40px;
    background: #0056b3;
    color: #fff;
    border-radius: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.tdi-btn-outline {
    margin-left: 20px;
    padding: 20px 40px;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

@keyframes tdiPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 992px) {
    .tdi-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .tdi-title { font-size: 3.5rem; }
    .tdi-hero-stats { flex-direction: row; justify-content: center; flex-wrap: wrap; }
}
/* --- STRATEGIC OUTCOMES UNIQUE STYLES --- */
.tdi-out-section {
    padding: 120px 0;
    background: #ffffff;
}

.tdi-out-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.tdi-out-title {
    font-size: 3rem;
    font-weight: 800;
    color: #001f3f;
    margin: 20px 0;
}

.tdi-out-intro {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Grid System */
.tdi-out-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tdi-out-card {
    background: #f8fafc;
    border-radius: 32px;
    padding: 40px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tdi-out-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: #0056b3;
    opacity: 0;
    transition: 0.3s;
}

.tdi-out-card:hover {
    transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0 30px 60px rgba(0, 31, 63, 0.08);
    border-color: #0056b3;
}

.tdi-out-card:hover::before {
    opacity: 1;
}

/* Спеціальний стиль для головної метрики (225%) */
.tdi-out-highlight {
    background: #001f3f;
    color: #ffffff;
}

.tdi-out-highlight .tdi-out-intro, 
.tdi-out-highlight p {
    color: #cbd5e1;
}

.tdi-out-highlight h3 {
    color: #ffffff;
}

/* Елементи всередині картки */
.tdi-out-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.tdi-out-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #0056b3;
}

.tdi-out-highlight .tdi-out-label { color: #00a8ff; }

.tdi-out-growth {
    font-size: 2.2rem;
    font-weight: 900;
    color: #00a8ff;
}

.tdi-out-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: #001f3f;
}

.tdi-out-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.tdi-out-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.tdi-out-highlight .tdi-out-footer {
    border-top-color: rgba(255,255,255,0.1);
}

.tdi-out-tag {
    font-size: 0.8rem;
    font-weight: 600;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .tdi-out-title { font-size: 2.2rem; }
    .tdi-out-card { padding: 30px; }
}
/* --- JDM INTERACTIVE SECTION STYLES --- */
.tdi-jdm-section {
    padding: 100px 0;
    background: #000b1a; /* Глибокий темний фон */
    color: #fff;
    overflow: hidden;
}

.tdi-jdm-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.tdi-jdm-title {
    font-size: 3.2rem;
    font-weight: 850;
    line-height: 1.1;
    margin: 20px 0 30px;
}

.tdi-jdm-desc {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Особливості JDM */
.tdi-jdm-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.jdm-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.jdm-f-icon {
    font-size: 1.5rem;
    background: rgba(0, 168, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(0, 168, 255, 0.2);
}

.jdm-f-text h4 {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 8px;
}

.jdm-f-text p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Візуалізація потоку */
.tdi-jdm-visual {
    position: relative;
    padding: 40px;
}

.jdm-flow-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 300px;
}

.jdm-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 2;
    border: 2px solid rgba(255,255,255,0.1);
}

.jdm-circle.client {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    box-shadow: 0 0 30px rgba(255,255,255,0.05);
}

.jdm-circle.ieit {
    background: linear-gradient(135deg, #0056b3 0%, #00a8ff 100%);
    box-shadow: 0 0 40px rgba(0, 168, 255, 0.3);
}

.jdm-connection {
    flex-grow: 1;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jdm-pulse-line {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #00a8ff, transparent);
    animation: jdmPulse 2s infinite linear;
}

.jdm-center-core {
    background: #fff;
    color: #000b1a;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    box-shadow: 0 0 20px #fff;
    z-index: 3;
}

.jdm-result-box {
    margin-top: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px dashed rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

@keyframes jdmPulse {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@media (max-width: 992px) {
    .tdi-jdm-layout { grid-template-columns: 1fr; gap: 60px; }
    .tdi-jdm-visual { order: -1; }
}

/* --- GLOBAL CLOUD FACTORIES STYLES --- */
.tdi-fact-section {
    padding: 120px 0;
    background: #fcfdfe;
}

.tdi-fact-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.tdi-fact-title {
    font-size: 3.5rem;
    font-weight: 850;
    color: #001f3f;
    margin-bottom: 25px;
}

/* Карта та точки */
.tdi-fact-map-wrap {
    position: relative;
    background: #000b1a;
    border-radius: 40px;
    padding: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.td-factory-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #00a8ff;
    border-radius: 50%;
    box-shadow: 0 0 15px #00a8ff;
    cursor: pointer;
    z-index: 5;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 168, 255, 0.7); }
    70% { transform: scale(1.2); box-shadow: 0 0 0 15px rgba(0, 168, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 168, 255, 0); }
}

/* Грид карток під картою */
.tdi-fact-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: -60px; /* Накладання на карту */
    position: relative;
    z-index: 10;
    padding: 0 40px;
}

.tdi-f-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
}

.tdi-f-card.highlight {
    background: #0056b3;
    color: #fff;
}

.tdi-f-num {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.tdi-f-card.highlight .tdi-f-num { color: #00a8ff; }

.tdi-f-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tdi-f-card.highlight .tdi-f-label { color: rgba(255,255,255,0.7); }

.tdi-fact-footer {
    margin-top: 50px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 30px;
    background: #e6f0ff;
    border-radius: 20px;
    color: #0056b3;
}

@media (max-width: 992px) {
    .tdi-fact-stats-grid { grid-template-columns: 1fr; margin-top: 30px; padding: 0; }
    .tdi-fact-title { font-size: 2.5rem; }
}
.tdi-fact-map-wrap {
    position: relative;
    background: #000b1a;
    border-radius: 40px;
    overflow: hidden; /* Щоб картинка не виступала за закруглення */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    line-height: 0; /* Прибирає зайвий відступ знизу картинки */
}

.tdi-map-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.7; /* Трохи приглушуємо, щоб точки світилися яскравіше */
    transition: opacity 0.5s ease;
    border-radius: 40px;
}

.tdi-fact-map-wrap:hover .tdi-map-img {
    opacity: 0.9; /* При наведенні картинка стає чіткішою */
}

.tdi-map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Точки завжди над картинкою */
    pointer-events: none; /* Щоб кліки проходили крізь контейнер оверлею, якщо треба */
}

.td-factory-dot {
    pointer-events: auto; /* Повертаємо можливість клікати на самі точки */
}
/* --- AI SERVICE ECOSYSTEM STYLES --- */
.tdi-ai-section {
    padding: 120px 0;
    background: radial-gradient(circle at 80% 20%, #001f3f 0%, #000b1a 100%);
    color: #fff;
    overflow: hidden;
}

.tdi-ai-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

/* Візуалізація Робота */
.tdi-ai-robot-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 40px;
    padding: 60px;
    backdrop-filter: blur(20px);
    text-align: center;
}

.tdi-ai-avatar {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.tdi-ai-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
    position: relative;
}

.tdi-ai-halo {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 250px; height: 250px;
    background: radial-gradient(circle, rgba(0, 168, 255, 0.3) 0%, transparent 70%);
    animation: aiPulse 4s infinite ease-in-out;
}

.chat-bubble {
    background: #fff;
    color: #000b1a;
    padding: 20px;
    border-radius: 20px 20px 0 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 15px 30px rgba(0, 168, 255, 0.3);
    max-width: 280px;
    margin: 0 auto;
}

/* Контент */
.tdi-ai-title {
    font-size: 3.5rem;
    font-weight: 850;
    line-height: 1.1;
    margin: 20px 0;
}

.tdi-ai-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.ai-stat-val {
    font-size: 2.5rem;
    font-weight: 900;
    color: #00a8ff;
    display: block;
}

.ai-stat-item p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.tdi-ai-features {
    display: grid;
    gap: 20px;
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 20px;
    border-left: 4px solid #00a8ff;
    transition: 0.3s;
}

.ai-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
}

.ai-feature-card h4 {
    color: #00a8ff;
    margin-bottom: 8px;
}

@keyframes aiPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

@media (max-width: 992px) {
    .tdi-ai-layout { grid-template-columns: 1fr; gap: 60px; }
    .tdi-ai-robot-card { order: -1; }
}
/* --- G7 PRODUCT CAROUSEL STYLES --- */
.tdi-g7-section {
    padding: 120px 0;
    background: #f8fafc;
}

.tdi-g7-header {
    text-align: center;
    margin-bottom: 80px;
}

.tdi-g7-title {
    font-size: 3.5rem;
    font-weight: 850;
    color: #001f3f;
}

.tdi-g7-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.tdi-g7-card {
    background: #fff;
    border-radius: 40px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.tdi-g7-card.active {
    border-color: #0056b3;
    box-shadow: 0 40px 80px rgba(0, 86, 179, 0.1);
    transform: translateY(-20px);
}

.tdi-g7-img-wrap {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.tdi-g7-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
    transition: 0.5s;
}

.tdi-g7-card:hover .tdi-g7-img {
    transform: scale(1.08) rotate(-2deg);
}

.g7-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 12px;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.g7-tag.highlight {
    background: #0056b3;
    color: #fff;
}

.tdi-g7-card h3 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 15px;
}

.tdi-g7-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 25px;
    flex-grow: 1;
}

.g7-specs {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.g7-specs li {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.g7-specs li span {
    color: #94a3b8;
    font-weight: 600;
}

.tdi-g7-btn {
    text-align: center;
    background: #001f3f;
    color: #fff;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.tdi-g7-card.active .tdi-g7-btn {
    background: #0056b3;
}

.tdi-g7-btn:hover {
    background: #00a8ff;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .tdi-g7-carousel { grid-template-columns: 1fr; }
    .tdi-g7-card.active { transform: none; }
}

/* --- UNGC HERO UNIQUE STYLES --- */
/* Базові налаштування */
.ungc-fly-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10;
    overflow: hidden;
    transition: transform 0.1s linear;
}

.ungc-hero-layer {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}


.ungc-hero-text h1 {
    font-size: 5rem;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
}

/* Контентний блок */
.containerungc {
    position: relative;
    z-index: 20; /* Контент завжди над "відлітаючою" картинкою */
    background: #ffffff;
    margin-top: 100vh; /* Починається після фулскрін-блоку */
    min-height: 100vh;
    padding: 80px 0;
}

.ungc-inner-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.ungc-stats-banner {
    display: flex;
    gap: 40px;
    background: #001f3f;
    padding: 40px;
    border-radius: 30px;
    color: #fff;
    margin-top: 50px;
}

.stat-box strong { font-size: 3rem; display: block; color: #00a8ff; }

/* --- UNGC TEN PRINCIPLES STYLES --- */
/* Вертикальна секція без зайвих відступів */
.ungc-ten-vertical-section {
    padding: 20px 0 60px; /* Мінімальний відступ зверху */
    background: #ffffff;
}

.ungc-ten-top-visual {
    width: 100%;
    margin-bottom: 30px; /* Компактний відступ від картинки до тексту */
}

.ungc-ten-img-frame {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 31, 63, 0.08);
}

.ungc-ten-img-fluid {
    width: 90%;
    height: auto;
    display: block;
}


/* Контентна частина */
.ungc-ten-bottom-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ungc-ten-main-title {
    font-size: 3rem;
    font-weight: 850;
    color: #001f3f;
    margin: 15px 0 25px;
    line-height: 1.1;
}

.ungc-ten-description-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    margin-top: 30px;
}

.ungc-ten-lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1e293b;
    font-weight: 500;
}

.ungc-ten-details {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #64748b;
    padding-left: 20px;
    border-left: 1px solid #e2e8f0;
}

/* Адаптивність */
@media (max-width: 768px) {
    .ungc-ten-description-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ungc-ten-main-title { font-size: 2.2rem; }
}

/* --- G7 PRODUCTS UNIQUE STYLES --- */
/* Hero секція в стилі PRODUCTS UNIQUE STYLES */
.hdg7-banner-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.hdg7-banner-wrap {
    position: relative;
    width: 100%;
}

.hdg7-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.hdg7-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Градієнт зліва для читабельності тексту, що плавно зникає */
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Вирівнювання по лівому краю */
    line-height: normal;
}

.hdg7-banner-text {
    max-width: 550px;
    color: #ffffff;
    padding-left: 20px; /* Невеликий відступ від краю контейнера */
}

.hdg7-banner-text h1 {
    font-size: 2.2rem; /* Стриманий, професійний розмір */
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hdg7-banner-text p {
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}

/* Адаптивність для мобільних */
@media (max-width: 768px) {
    .hdg7-banner-text h1 { font-size: 1.6rem; }
    .hdg7-banner-text p { font-size: 0.95rem; }
    .hdg7-banner-overlay {
        background: rgba(0,0,0,0.4); /* Рівномірне затемнення на малих екранах */
    }
}

.hdg7-features {
    padding: 60px 0;
    background: #fff;
}

.hdg7-features-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.hdg7-feature-col {
    flex: 1; /* Рівномірний розподіл 33% */
    display: flex;
    flex-direction: column;
    background: #fdfdfd;
    padding: 25px;
    border-radius: 20px;
    transition: 0.3s;
}

.hdg7-feature-col:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hdg7-feature-col h3 {
    font-size: 1.4rem;
    color: #001f3f;
    margin-bottom: 20px;
    font-weight: 700;
}

.hdg7-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1; /* Виштовхує блок з іконкою вниз */
}

.hdg7-list li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #475569;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.hdg7-list li::before {
    content: "•";
    color: #00a8ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.hdg7-icon-bottom {
    text-align: left;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.hdg7-icon-bottom img {
    width: 60px;
    height: auto;
    opacity: 0.8;
}

@media (max-width: 992px) {
    .hdg7-features-grid {
        flex-direction: column;
    }
}

/* --- СТИЛЬ ВІТРИНИ СЕРВЕРІВ G7 --- */

.g7-p-catalog {
    padding: 80px 0;
    background-color: #fcfdfe;
}

.g7-catalog-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 50px;
    text-align: center;
    text-transform: uppercase;
}

.mt-80 { margin-top: 80px; }

/* Сітка карток */
.g7-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Дві колонки */
    gap: 30px;
}

/* Основна картка */
.g7-p-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 30px;
    padding: 30px;
    display: flex;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.g7-p-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 31, 63, 0.1);
    border-color: #00a8ff;
}

/* Широка картка для флагмана (TS860G7) */
.g7-p-card.wide {
    grid-column: span 2;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    border: 1px solid #d0e7ff;
}

/* Блок із зображенням */
.g7-p-img-box {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.g7-p-img-box img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* Інформаційний блок */
.g7-p-info {
    flex: 1;
}

.g7-processor {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0056b3;
    background: #e6f0ff;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.g7-processor.highlight {
    background: #001f3f;
    color: #ffffff;
}

.g7-p-info h4 {
    font-size: 1.6rem;
    color: #001f3f;
    margin-bottom: 15px;
    font-weight: 800;
}

.g7-p-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
}

.g7-p-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.g7-p-info li {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 10px;
    padding-left: 18px;
    position: relative;
    line-height: 1.4;
}

.g7-p-info li::before {
    content: "→";
    color: #00a8ff;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Адаптивність */
@media (max-width: 1024px) {
    .g7-products-grid { grid-template-columns: 1fr; }
    .g7-p-card.wide { grid-column: span 1; }
}

@media (max-width: 768px) {
    .g7-p-card { flex-direction: column; text-align: center; }
    .g7-p-img-box { margin: 0 auto 20px; flex: 0 0 auto; width: 80%; }
    .g7-p-info li { text-align: left; }
}
/* Стилізація посилань на моделі */
.model-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.model-link:hover {
    color: #00a8ff;
}

/* Блок з кнопкою */
.g7-card-action {
    margin-top: 25px;
}

.btn-primary-g7 {
    background: #001f3f;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%; /* Кнопка на всю ширину текстового блоку */
}

.btn-primary-g7:hover {
    background: #00a8ff;
    box-shadow: 0 10px 20px rgba(0, 168, 255, 0.3);
    transform: translateY(-2px);
}

/* Налаштування для широких карток */
.g7-p-card.wide .btn-primary-g7 {
    width: auto; /* На широких картках кнопка не розтягується */
    padding: 12px 40px;
}
.btn-more-g7 {
    display: inline-flex;
    align-items: center;
    margin-top: 30px;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: var(--primary-blue); /* Синій текст */
    border: 2px solid var(--primary-blue); /* Синя рамка */
    background: transparent;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Символ стрілки */
.btn-more-g7 span {
    display: inline-block;
    margin-right: 10px;
    transition: transform 0.4s ease;
}

/* Фоновий ефект заповнення при наведенні */
.btn-more-g7::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%; /* Початкова позиція за межами кнопки */
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

/* Ефекти при наведенні (Hover) */
.btn-more-g7:hover {
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4); /* Легке світіння */
}

.btn-more-g7:hover::before {
    left: 0; /* Заповнюємо синім зліва направо */
}

.btn-more-g7:hover span {
    transform: translateX(5px) scale(1.2); /* Стрілка відлітає трохи вправо і збільшується */
}

/* --- IDC ANALYTICS STYLES --- */
/* Банер на всю ширину */
.ai-banner-full {
    width: 100%;
    position: relative;
    overflow: hidden;
    line-height: 0; /* Прибирає зазори знизу */
}

.ai-banner-container {
    position: relative;
    width: 100%;
}

.ai-banner-img-fluid {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Гарантує, що картинка не обріжеться по вертикалі */
}

.ai-banner-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Градієнт зліва для читабельності тексту */
    background: linear-gradient(90deg, rgba(0, 11, 26, 0.8) 0%, rgba(0, 11, 26, 0.3) 40%, rgba(0, 11, 26, 0) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: normal; /* Повертаємо інтервал тексту */
}

.ai-banner-text-left {
    max-width: 600px;
    color: #ffffff;
    padding-left: 20px;
}

.ai-banner-text-left h1 {
    font-size: 2.8rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 15px 0;
}

.ai-banner-text-left p {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* Адаптація під мобільні */
@media (max-width: 768px) {
    .ai-banner-text-left h1 { font-size: 1.6rem; }
    .ai-banner-text-left p { font-size: 0.9rem; }
}

/* Банер */
.ai-report-hero { width: 100%; position: relative; overflow: hidden; line-height: 0; }
.ai-report-banner { position: relative; width: 100%; }
.ai-report-img { width: 100%; height: auto; display: block; object-fit: cover; }
.ai-report-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,11,26,0.9) 0%, rgba(0,11,26,0) 100%);
    display: flex; align-items: center; line-height: normal;
}
.ai-report-title-box { max-width: 700px; color: #fff; padding-left: 20px; }
.ai-report-title-box h1 { font-size: 2.8rem; font-weight: 850; text-transform: uppercase; margin: 15px 0; }

/* Текстові блоки */
.ai-content-block { padding: 80px 0; background: #fff; }
.ai-intro-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; }
.ai-lead { font-size: 1.4rem; color: #001f3f; font-weight: 600; margin-bottom: 25px; }
.ai-text-main p { font-size: 1.05rem; line-height: 1.7; color: #475569; margin-bottom: 20px; }

.ai-highlight-card { 
    background: #f8fafc; padding: 30px; border-radius: 20px; border-left: 5px solid #00a8ff; margin-bottom: 20px;
}
.ai-highlight-card strong { display: block; font-size: 2.5rem; color: #001f3f; }

/* Ринок */
.ai-market-section { padding: 80px 0; background: #f1f5f9; }
.ai-market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.market-data-card { background: #fff; padding: 40px; border-radius: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.m-stat { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #e2e8f0; }
.m-stat.highlight { color: #00a8ff; font-weight: 700; border-bottom: 2px solid #00a8ff; }

/* Стратегія */
.ai-strategy-block { padding: 80px 0; background: #fff; }
.ai-flex-box { display: flex; gap: 60px; align-items: center; }
.ai-strategy-points { margin-top: 30px; }
.point { margin-bottom: 15px; padding-left: 25px; position: relative; font-weight: 500; }
.point::before { content: "✓"; position: absolute; left: 0; color: #00a8ff; font-weight: 900; }
.ai-strategy-quote { flex: 0 0 350px; background: #001f3f; color: #fff; padding: 40px; border-radius: 30px; font-style: italic; }

/* Екологія */
.ai-services-eco { padding: 80px 0; }
.ai-eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.ai-service-card, .ai-green-card { padding: 50px; border-radius: 40px; color: #fff; }
.ai-service-card { background: #0056b3; }
.ai-green-card { background: #059669; }
.ai-green-stat { margin-top: 20px; font-size: 1.2rem; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; }

/* Рейтинги */
.ai-rank-layout { display: flex; gap: 80px; padding-bottom: 60px; border-bottom: 1px solid #e2e8f0; }
.ai-rank-list { list-style: none; padding: 0; margin-top: 25px; }
.ai-rank-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; font-weight: 600; }
.ai-rank-list span { width: 30px; height: 30px; background: #001f3f; color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 0.8rem; }
.ai-idc-footer { padding-top: 40px; font-size: 0.9rem; color: #64748b; line-height: 1.6; }

.ai-steps-airy {
    padding: 120px 0;
    background: #ffffff;
    overflow: hidden;
}

.ai-steps-airy-header {
    text-align: left;
    margin-bottom: 100px;
}

.ai-steps-airy-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-top: 20px;
}

.ai-steps-airy-container {
    position: relative;
    max-width: 900px;
}

.airy-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 60px;
    opacity: 0.9;
    transition: all 0.5s ease;
}

.airy-step:hover {
    opacity: 1;
    transform: translateX(10px);
}

.airy-num {
    font-size: 1.2rem;
    font-weight: 900;
    color: #00a8ff;
    padding-top: 5px;
    min-width: 50px;
    letter-spacing: 2px;
}

.airy-content h4 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 10px;
    font-weight: 700;
}

.airy-content p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    max-width: 500px;
}

/* Сходинкове зміщення */
.s2 { margin-left: 10%; }
.s3 { margin-left: 20%; }
.s4 { margin-left: 30%; }
.s5 { margin-left: 40%; }

/* Футер IDC */
.ai-idc-simple-footer {
    margin-top: 100px;
    max-width: 700px;
    margin-left: auto;
}

.idc-footer-line {
    width: 60px;
    height: 4px;
    background: #00a8ff;
    margin-bottom: 30px;
}

.ai-idc-simple-footer p {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .airy-step { margin-left: 0 !important; margin-bottom: 40px; }
    .ai-steps-airy-header h2 { font-size: 2.5rem; }
    .airy-content h4 { font-size: 1.4rem; }
}

.ai-final-airy-section {
    padding: 120px 0;
    background: #ffffff;
}

.ai-airy-header {
    margin-bottom: 100px;
    max-width: 800px;
}

.ai-airy-header h2 {
    font-size: 3.5rem;
    font-weight: 850;
    line-height: 1.1;
    margin: 20px 0;
}

.header-desc {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
}

/* Сходинки */
.ai-airy-steps {
    margin-bottom: 120px;
}

.airy-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
    transition: transform 0.3s ease;
}

.airy-step:hover { transform: translateX(10px); }

.airy-num {
    font-size: 1.1rem;
    font-weight: 900;
    color: #00a8ff;
    min-width: 60px;
    padding-top: 5px;
}

.airy-content h4 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 10px;
}

.airy-content p {
    font-size: 1.05rem;
    color: #475569;
    max-width: 550px;
    line-height: 1.6;
}

/* Сходинкове зміщення */
.s2 { margin-left: 8%; }
.s3 { margin-left: 16%; }
.s4 { margin-left: 24%; }
.s5 { margin-left: 32%; }

/* Блок міст */
.ai-cities-vision {
    background: #f8fafc;
    padding: 60px;
    border-radius: 40px;
    margin-bottom: 100px;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.city-feature h5 {
    font-size: 1.25rem;
    color: #001f3f;
    margin-bottom: 15px;
    border-bottom: 2px solid #00a8ff;
    display: inline-block;
}

.city-feature p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

.cities-extra {
    font-size: 0.9rem;
    color: #94a3b8;
    font-style: italic;
    text-align: center;
}

/* Футер IDC */
.ai-idc-comprehensive-footer {
    max-width: 900px;
    margin-left: auto;
}

.idc-line {
    width: 60px;
    height: 4px;
    background: #00a8ff;
    margin-bottom: 30px;
}

.idc-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.idc-brand {
    flex: 0 0 150px;
}

.idc-brand img {
    width: 100%;
    margin-bottom: 10px;
    opacity: 0.7;
}

.idc-brand span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
}

.idc-full-text p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 992px) {
    .airy-step { margin-left: 0 !important; }
    .cities-grid { grid-template-columns: 1fr; }
    .idc-flex { flex-direction: column; }
}
.ai-algorithms-vision {
    padding: 100px 0;
    background: #ffffff;
}

.ai-vision-intro {
    text-align: center;
    margin-bottom: 80px;
}

.ai-vision-intro h2 {
    font-size: 3rem;
    font-weight: 850;
    text-transform: uppercase;
    margin: 20px 0;
}

/* Гібридна сітка шарів */
.ai-layers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.ai-layer-card {
    padding: 40px;
    background: #fcfdfe;
    border: 1px solid #eef2f6;
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ai-layer-card.active {
    background: #f0f7ff;
    border-color: #00a8ff;
}

.ai-layer-card:hover {
    box-shadow: 0 30px 60px rgba(0,31,63,0.08);
    transform: translateY(-5px);
    border-color: #00a8ff;
}

.layer-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #001f3f;
    color: #fff;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.ai-layer-card h4 {
    font-size: 1.6rem;
    color: #001f3f;
    margin-bottom: 15px;
    font-weight: 800;
}

.ai-layer-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* Футер висновку */
.ai-conclusion-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eef2f6;
}

.conclusion-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .ai-layers-grid { grid-template-columns: 1fr; }
    .ai-vision-intro h2 { font-size: 2rem; }
}
.ai-build-section {
    padding: 120px 0;
    background: #ffffff;
}

.ai-build-header {
    text-align: left;
    margin-bottom: 80px;
}

.ai-build-header h2 {
    font-size: 3rem;
    font-weight: 850;
    line-height: 1.1;
    margin: 20px 0;
}

.ai-steps-blueprint {
    display: flex;
    flex-direction: column;
}

.blueprint-row {
    display: flex;
    padding: 60px 0;
    border-top: 1px solid #f1f5f9;
    gap: 40px;
}

.bp-number {
    flex: 0 0 100px;
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1;
}

.bp-info {
    flex: 1;
}

.bp-info h4 {
    font-size: 1.8rem;
    color: #001f3f;
    margin-bottom: 20px;
    font-weight: 700;
}

.bp-info p {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
    max-width: 800px;
}

.bp-info strong {
    color: #00a8ff;
}

/* Блок поради IDC */
.ai-idc-recommendation {
    margin-top: 60px;
    padding: 40px;
    background: #f0f9ff;
    border-radius: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.rec-icon {
    font-size: 2.5rem;
}

.rec-text {
    font-size: 1.1rem;
    color: #001f3f;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .blueprint-row { flex-direction: column; padding: 40px 0; }
    .bp-number { font-size: 3rem; }
    .ai-build-header h2 { font-size: 2.2rem; }
}

.bp-banner-wrap {
    width: 100%;
    margin: 20px 0 60px 0;
    border-radius: 40px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 20px 50px rgba(0, 31, 63, 0.1);
}

.bp-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.bp-banner-wrap:hover .bp-img {
    transform: scale(1.02);
}
.ai-contact-section {
    padding: 100px 0;
    background: #fcfdfe;
}

.ai-contact-wrap {
    display: flex;
    gap: 80px;
    align-items: center;
    background: #fff;
    padding: 60px;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 31, 63, 0.05);
}

.ai-contact-info {
    flex: 1;
}

.ai-contact-info h2 {
    font-size: 2.8rem;
    font-weight: 850;
    margin: 20px 0;
    line-height: 1.1;
}

.ai-contact-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.ai-contact-list li {
    padding: 12px 0 12px 30px;
    position: relative;
    font-weight: 500;
    color: #475569;
}

.ai-contact-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #00a8ff;
    font-weight: 800;
}

/* Стиль форми */
.ai-contact-form-box {
    flex: 0 0 400px;
    background: #f8fafc;
    padding: 40px;
    border-radius: 30px;
}

.ai-contact-form-box h4 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    color: #001f3f;
}

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

.ai-minimal-form input, 
.ai-minimal-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.ai-minimal-form input:focus, 
.ai-minimal-form textarea:focus {
    border-color: #00a8ff;
}

.ai-minimal-form textarea {
    height: 100px;
    resize: none;
}

.btn-ai-submit {
    width: 100%;
    padding: 18px;
    background: #001f3f;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.btn-ai-submit:hover {
    background: #00a8ff;
    box-shadow: 0 10px 20px rgba(0, 168, 255, 0.3);
}

.ai-footer-note {
    text-align: center;
    margin-top: 60px;
    color: #94a3b8;
    font-size: 1rem;
}

@media (max-width: 992px) {
    .ai-contact-wrap { flex-direction: column; padding: 40px 20px; }
    .ai-contact-form-box { width: 100%; flex: none; }
    .ai-contact-info h2 { font-size: 2rem; }
}
.cfg-hero { width: 100%; position: relative; overflow: hidden; line-height: 0; }
.cfg-hero-img { width: 100%; height: auto; display: block; }
.cfg-hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(0,31,63,0.8) 0%, rgba(0,31,63,0.2) 100%);
    display: flex; align-items: center; line-height: normal;
}
.cfg-hero-text { color: #fff; max-width: 650px; padding-left: 20px; }
.cfg-hero-text h1 { font-size: 3rem; font-weight: 850; margin: 20px 0; }

.cfg-impact-clean {
    padding: 100px 0;
    background: #ffffff;
}

.cfg-grid-vertical {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.cfg-item {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.cfg-item:hover {
    transform: translateY(-10px);
}

.cfg-img-box {
    width: 100%;
    height: 250px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 25px;
    line-height: 0;
}

.cfg-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cfg-item:hover .cfg-img-box img {
    transform: scale(1.1);
}

.cfg-text-box {
    padding: 0 10px;
}

.cfg-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: #00a8ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.cfg-text-box h4 {
    font-size: 1.5rem;
    color: #001f3f;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cfg-text-box p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}
.badge-container {
    margin-bottom: 20px; /* Відступ між бейджем та сервером */
    width: 100%;
    display: flex;
    justify-content: center;
}
.t-green-image {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column; /* Розташовуємо елементи вертикально */
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
}
/* Адаптивність */
@media (max-width: 992px) {
    .cfg-grid-vertical {
        grid-template-columns: 1fr;
    }
    .cfg-img-box {
        height: 300px;
    }
}
/* --- СЕКЦІЯ GREEN TECH --- */
.cfg-green-tech {
    padding: 100px 0;
    background: #ffffff;
}

.cfg-green-box {
    display: flex;
    align-items: center;
    background: #001f3f;
    border-radius: 40px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 30px 60px rgba(0, 31, 63, 0.15);
    min-height: 500px;
}

/* Контейнер тексту */
.cfg-green-text {
    flex: 1;
    padding: 60px 40px 60px 80px;
}

.cfg-green-text h2 {
    font-size: 2.5rem;
    font-weight: 850;
    line-height: 1.2;
    margin-bottom: 25px;
}

.text-green { color: #10b981; }

.cfg-green-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cfg-list { list-style: none; padding: 0; }
.cfg-list li {
    font-size: 1.05rem;
    margin-bottom: 15px;
    padding-left: 35px;
    position: relative;
}
.cfg-list li::before {
    content: "●";
    color: #10b981;
    position: absolute;
    left: 0;
}

/* Контейнер для картинки (ЗОНА) */
.t-green-image {
    flex: 0 0 40%; /* Чітко 40% ширини */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    overflow: hidden;
}

/* САМА КАРТИНКА (ОБ'ЄКТ) */
.green-imgage {
    width: 100%;
    max-width: 350px; /* Ось тут ми приборкуємо розмір */
    height: auto;
    object-fit: contain;
    transition: all 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Ефект наведення */
.cfg-green-box:hover .green-imgage {
transform: scale(1.2) translateY(-20px) rotate(-5deg);
}

/* --- СЕКЦІЯ CTA --- */
.cfg-cta {
    padding: 120px 0;
    background: #f8fafc;
    text-align: center;
}

.cfg-cta-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.cfg-cta-wrap h2 {
    font-size: 3rem;
    font-weight: 850;
    color: #001f3f;
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* АДАПТИВНІСТЬ */
@media (max-width: 992px) {
    .cfg-green-box {
        flex-direction: column;
        padding: 40px 20px;
    }
    .cfg-green-text {
        padding: 40px;
        text-align: center;
    }
    .t-green-image {
        flex: none;
        width: 100%;
        padding: 20px;
    }
    .green-imgage {
        max-width: 280px;
    }
    .cfg-cta-wrap h2 { font-size: 2.2rem; }
}

/* SD СТОРІНКА */

.sd-hero {
    position: relative;
    width: 100%;
    height: 85vh; /* Висота на 85% екрану для "повітряності" */
    overflow: hidden;
    background: #001f3f;
}

.sd-hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.sd-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sd-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Затемнення для читабельності тексту */
}

/* Градієнт для плавного переходу тексту */
.sd-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,31,63,0.9) 0%, rgba(0,31,63,0.4) 50%, rgba(0,31,63,0) 100%);
}

.sd-hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    color: #ffffff;
}

.sd-badge-wrap {
    margin-bottom: 25px;
}

.sd-hero-content h1 {
    font-size: 3.8rem;
    font-weight: 850;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.sd-hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

.sd-hero-actions {
    display: flex;
    gap: 20px;
}

.btn-outline {
    padding: 18px 40px;
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #ffffff;
    color: #001f3f;
}

@media (max-width: 768px) {
    .sd-hero-content h1 { font-size: 2.5rem; }
    .sd-hero-actions { flex-direction: column; }
}
.esg-strategy-v3 {
    padding: 120px 0;
    background: #ffffff;
    color: #001f3f;
}

.esg-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    margin-bottom: 100px;
}

.esg-main-info { flex: 1; }
.esg-visual-frame { flex: 1; border-radius: 4px; overflow: hidden; }
.esg-img-focus { width: 100%; height: 450px; object-fit: cover;border-radius: 40px;  }

.esg-main-info h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin: 24px 0;
    letter-spacing: -2px;
}

.btn-minimal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #001f3f;
    font-weight: 700;
    border-bottom: 2px solid #00a8ff;
    padding-bottom: 5px;
    transition: 0.3s;
}

/* СТИЛЬ КАРТОК: ЧИСТОТА ТА АКЦЕНТИ */
.esg-pillars-row {
    display: flex;
    gap: 20px;
}

.pillar-item {
    flex: 1;
    position: relative;
    padding: 60px 40px;
    background: #fcfdfe;
    border: 1px solid #eef2f6;
    overflow: hidden;
    transition: all 0.4s ease;
}

.pillar-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.pillar-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.pillar-item.active {
    background: #001f3f;
    color: #fff;
    border-color: #001f3f;
}

/* Делікатний градієнт на фоні при наведенні */
.pillar-item:hover {
    border-color: #00a8ff;
}

.pillar-bg-blur {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0,168,255,0.1) 0%, rgba(255,255,255,0) 70%);
    filter: blur(40px);
    transition: 0.5s;
}

.pillar-item.active .pillar-bg-blur {
    background: radial-gradient(circle, rgba(0,168,255,0.3) 0%, rgba(0,31,63,0) 70%);
}

.green-ai-section {
    padding: 100px 0;
    background: #fcfdfe;
}

.green-ai-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.text-green { color: #10b981; }

.green-tech-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 80px;
    background: #ffffff;
    padding: 40px;
    border-radius: 40px; /* Закруглення самої картки */
    box-shadow: 0 10px 30px rgba(0, 31, 63, 0.03);
}

.tech-item:nth-child(even) {
    flex-direction: row-reverse;
}

.tech-visual {
    flex: 1;
    line-height: 0;
}

.rounded-img {
    /* 1. Забезпечуємо повну адаптивність */
    width: 80%; 
    
    /* 2. Встановлюємо фіксовану висоту, щоб всі картинки в ряду були однаковими */
    /* Ви можете змінити 350px на те, що краще підходить під ваш контент */
    height: 400px; 
    
    /* 3. Масштабування без деформації */
    object-fit: cover; 
    
    /* 4. Покращене закруглення (ви просили 40px раніше, 20px теж ок, але 40 виглядає дорожче) */
    border-radius: 20px; 
    
    /* 5. Додаємо легку внутрішню межу, щоб картинка не "зливалася" з білим фоном */
    border: 1px solid rgba(0, 31, 63, 0.05);
    
    /* 6. Тінь робимо трохи м'якшою (менше opacity) */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    
    /* 7. Плавний перехід для інтерактивності */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    
    display: block;
}

/* Додаємо ефект при наведенні для преміальності */
.rounded-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.tech-content {
    flex: 1.2;
}

.tech-content h4 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 20px;
}

.tech-content p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .tech-item, .tech-item:nth-child(even) { flex-direction: column; gap: 30px; }
    .rounded-img { height: 250px; }
}
/* Освіта та інклюзія */
.sd-education {
    padding: 100px 0;
    background: #ffffff;
}

.edu-grid {
    display: flex;
    align-items: center;
    gap: 80px;
}

.edu-content { flex: 1.2; }
.edu-visual { flex: 1; }

/* Звітність та сертифікація */
.sd-certification {
    padding: 80px 0 120px;
    background: #f8fafc;
    text-align: center;
}

.cert-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

.cert-wrap h3 {
    font-size: 2.2rem;
    font-weight: 850;
    color: #001f3f;
    margin-bottom: 20px;
}

.cert-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 50px;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cert-item:hover {
    opacity: 1;
}

.cert-item img {
    height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.cert-item:hover img {
    filter: grayscale(0%);
}

.cert-item span {
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
}

/* Адаптивність */
@media (max-width: 992px) {
    .edu-grid { flex-direction: column; text-align: center; }
    .cert-logos { gap: 30px; }
}
/* Hero Секція */
/* --- HERO БАНЕР (БЕЗ РОЗТЯГУВАННЯ) --- */
/* Посилений оверлей для контрасту */
.serv-hero {
    position: relative;
    width: 100%;
    height: 80vh; /* Високий банер для "повітряності" */
    overflow: hidden;
    background: #001f3f;
}

.serv-hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.serv-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.serv-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* Трохи яскравіше за SD, але достатньо для тексту */
}

/* Градієнт через псевдоелемент для ідеальної читабельності тексту зліва */
.serv-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(0,31,63,1) 0%, 
        rgba(0,31,63,0.5) 50%, 
        rgba(0,31,63,0) 100%);
}

.serv-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #ffffff;
}

.serv-hero-content h1 {
    font-size: 3.8rem;
    font-weight: 850;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.serv-hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
}

.text-blue {
    color: #00a8ff;
}

.sd-hero-actions {
    display: flex;
    gap: 20px;
}

/* Кнопка в аутлайн стилі як у вашому прикладі */
.btn-outline {
    padding: 18px 40px;
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: #ffffff;
    color: #001f3f;
}

@media (max-width: 768px) {
    .serv-hero { height: auto; padding: 100px 0; }
    .serv-hero-content h1 { font-size: 2.5rem; }
    .sd-hero-actions { flex-direction: column; }
}
/* Робимо синій акцент трохи яскравішим для темного фону */
.text-blue {
    color: #00a8ff; 
    text-shadow: 0 0 20px rgba(0, 168, 255, 0.4);
}

.serv-hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9); /* Світло-сірий для м'якості */
    max-width: 650px;
}

/* --- ЕФЕКТИ FEATURE-COL ДЛЯ ІКОНОК --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: -60px; /* Наплив на банер для глибини */
    position: relative;
    z-index: 10;
}

.feature {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 31, 63, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 31, 63, 0.03);
}

.feature:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 31, 63, 0.15);
    border-color: #00a8ff;
}

.feature-icon-box {
    width: 80px;
    height: 80px;
    background: #f8fafc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon-box {
    background: #001f3f;
    transform: rotateY(180deg); /* Ефект перевороту іконки */
}

.feature-icon-box img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.feature:hover .feature-icon-box img {
    filter: brightness(0) invert(1); /* Іконка стає білою на темному фоні */
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 15px;
}

.feature p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

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

@media (max-width: 600px) {
    .features-grid { grid-template-columns: 1fr; }
}
.server-grid-section {
    padding: 100px 0;
    background: #ffffff;
}

/* Формуємо сітку 4 колонки */
.server-grid-4x5 {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Рівно 4 колонки */
    gap: 25px;
}

.server-card-v4 {
    background: #fcfdfe;
    border-radius: 30px;
    border: 1px solid #eef2f6;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.card-link {
    text-decoration: none;
    display: block;
    padding: 30px 20px;
    height: 100%;
}

.card-img-wrap {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

/* Ваш фірмовий ефект для зображення */
.green-imgage {
    max-width: 90%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.08));
    transition: all 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

.server-card-v4:hover {
    background: #ffffff;
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 31, 63, 0.1);
    border-color: #00a8ff;
}

.server-card-v4:hover .green-imgage {
    transform: scale(1.18) rotate(-3deg);
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

.card-series {
    font-size: 0.7rem;
    color: #00a8ff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body h3 {
    font-size: 1.3rem;
    font-weight: 850;
    color: #001f3f;
    margin-top: 5px;
}

/* Стиль для виділеної картки i24G7 */
.highlight-blue {
    background: #001f3f;
    border-color: #001f3f;
}
.highlight-blue h3, .highlight-blue p { color: #fff; }

/* Адаптивність: на планшетах 2 колонки, на телефонах 1 */
@media (max-width: 1100px) {
    .server-grid-4x5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .server-grid-4x5 { grid-template-columns: 1fr; }
}
.filter-panel {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 50px;
    border: 1px solid #eef2f6;
}

.filter-group {
    display: flex;
    gap: 10px;
    padding: 0 15px;
    border-right: 1px solid #cbd5e1;
}

.filter-group:last-child {
    border-right: none;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 40px;
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    color: #00a8ff;
    background: rgba(0, 168, 255, 0.05);
}

.filter-btn.active {
    background: #001f3f;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 31, 63, 0.2);
}

@media (max-width: 768px) {
    .filter-group { border-right: none; padding-bottom: 10px; }
    .filter-panel { border-radius: 20px; }
}

.filter-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
    will-change: opacity, transform;
}

/* --- Секція заголовка рішення --- */
.solution-header {
    margin-bottom: 90px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.solution-header h2 {
    font-size: 2.8rem;
    font-weight: 850;
    color: #001f3f;
    margin-bottom: 20px;
    line-height: 1.2;
}

.solution-header p {
    font-size: 1.2rem;
    color: #64748b;
    line-height: 1.6;
}

/* --- Бокс з результатами (Темний блок) --- */
.case-results-modern {
    padding: 100px 0;
    background: #f8fafc;
}

.results-header {
    text-align: center;
    margin-bottom: 60px;
}

.results-header h2 {
    font-size: 2.5rem;
    font-weight: 850;
    color: #001f3f;
}

.results-infographic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.res-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 40px; /* Ваше улюблене закруглення */
    border: 1px solid rgba(0, 31, 63, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.res-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 31, 63, 0.08);
    border-color: #00a8ff;
}

.res-top {
    margin-bottom: 30px;
}

.res-value {
    font-size: 4.5rem;
    font-weight: 900;
    color: #001f3f;
    line-height: 1;
    display: block;
    margin-bottom: 15px;
}

.res-line {
    width: 60px;
    height: 4px;
    background: #00a8ff;
    border-radius: 2px;
}

.res-bottom h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #001f3f;
    margin-bottom: 15px;
}

.res-bottom p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Стиль для центральної акцентної картки */
.res-card.accent {
    background: #001f3f;
    border-color: #001f3f;
}

.res-card.accent .res-value, 
.res-card.accent .res-bottom h4 {
    color: #ffffff;
}

.res-card.accent .res-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 992px) {
    .results-infographic {
        grid-template-columns: 1fr;
    }
}
/* Основний контейнер опису */
.profile-description {
    max-width: 800px;
    line-height: 1.8;
    color: #475569; /* М'який темно-сірий для читабельності */
    font-size: 1.1rem;
}

.profile-description p {
    margin-bottom: 25px;
}

.profile-description strong {
    color: #001f3f; /* Ваш фірмовий темно-синій */
    font-weight: 700;
}

/* Стиль для цитати з покращеним градієнтом та обводкою */
.profile-description .quote {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    text-align: center;
    padding: 40px 20px;
    margin: 40px 0;
    position: relative;
    
    /* Анімований градієнт */
    background: linear-gradient(90deg, #001f3f, #00a8ff, #001f3f);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;

    /* Обводка для чіткості */
    -webkit-text-stroke: 0.5px rgba(0, 31, 63, 0.3);
    paint-order: stroke fill;
    
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

/* Декоративні лапки для цитати */
.profile-description .quote::before {
    content: '«';
    position: absolute;
    left: -10px;
    top: 10px;
    font-size: 4rem;
    opacity: 0.1;
    color: #001f3f;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Адаптивність */
@media (max-width: 768px) {
    .profile-description .quote {
        font-size: 1.4rem;
        padding: 30px 10px;
    }
}

.contacts-hero-v2 {
    padding: 120px 0 60px;
    background: radial-gradient(circle at top right, rgba(0, 168, 255, 0.05), transparent);
    text-align: center;
}

.contacts-header-v2 h1 {
    font-size: 3.5rem;
    font-weight: 850;
    color: #001f3f;
    margin-bottom: 60px;
}

/* Сітка на 3 колонки */
.contacts-centered-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.contact-item-v5 {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 40px;
    border: 1px solid #eef2f6;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-item-v5:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 31, 63, 0.05);
    border-color: #00a8ff;
}

.contact-item-v5.accent {
    background: #001f3f;
    color: #fff;
    border-color: #001f3f;
}

.contact-item-v5.accent a, .contact-item-v5.accent h4 {
    color: #fff;
}

.c-icon-v5 img {
    width: 64px;
    margin-bottom: 25px;
}

.contact-item-v5 h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: #001f3f;
}

.contact-item-v5 p {
    color: #64748b;
    font-size: 1.1rem;
    line-height: 1.5;
}

.contact-item-v5.accent p { color: rgba(255,255,255,0.8); }

/* Віджет статусу */
.status-widget-lite {
    display: inline-flex;
    gap: 40px;
    padding: 20px 40px;
    background: #fff;
    border-radius: 50px;
    border: 1px solid #eef2f6;
    box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.status-item-lite {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #475569;
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.green { background: #10b981; }
.dot.blue { background: #00a8ff; }
.dot.pulse { 
    background: #00a8ff; 
    animation: statusPulse 2s infinite; 
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 992px) {
    .contacts-centered-grid { grid-template-columns: 1fr; }
    .status-widget-lite { flex-direction: column; gap: 15px; border-radius: 30px; }
}

/* Для Варіанту 1 (Status) */
.footer-status {
    margin-top: 15px;
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #10b981; /* Зелений колір */
    margin-bottom: 8px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse-green 2s infinite;
}

.footer-tg-link {
    font-size: 0.9rem;
    color: #00a8ff;
    text-decoration: none;
    border-bottom: 1px dashed #00a8ff;
    transition: 0.3s;
}

.footer-tg-link:hover {
    color: #fff;
    border-color: #fff;
}

@keyframes pulse-green {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.legal-page {
    padding: 100px 0;
    background: #fcfdfe;
}

.legal-header {
    margin-bottom: 80px;
    text-align: left;
}

.legal-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
}

.sidebar-box {
    position: sticky;
    top: 120px;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #eef2f6;
}

.sidebar-box h4 {
    margin-bottom: 20px;
    color: #001f3f;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
}

.sidebar-box li {
    margin-bottom: 12px;
}

.sidebar-box a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.sidebar-box a:hover {
    color: #00a8ff;
}

.legal-text h2 {
    color: #001f3f;
    font-size: 1.8rem;
    margin: 60px 0 25px;
    font-weight: 850;
}

.legal-text p {
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.legal-notice {
    margin-top: 80px;
    padding: 40px;
    background: #001f3f;
    color: #fff;
    border-radius: 30px;
}

.legal-notice a {
    color: #00a8ff;
}

@media (max-width: 992px) {
    .legal-content { grid-template-columns: 1fr; }
    .legal-sidebar { display: none; }
}

/* Стиль кнопки бургер */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #001f3f;
    transition: 0.3s;
}

@media (max-width: 1024px) {
    .mobile-menu-toggle { display: flex; }
    
    .header-center {
        position: fixed;
        top: 0;
        left: -100%; /* Ховаємо меню зліва */
        width: 80%;
        height: 100vh;
        background: #fff;
        padding: 80px 20px;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
        z-index: 1000;
    }

    .header-center.active { left: 0; }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu > li > a {
        display: block;
        padding: 15px 0;
        font-weight: 700;
        font-size: 1.2rem;
    }

    /* Ховаємо десктопне мега-меню, робимо його акордеоном */
    .megamenu {
        display: none; /* Будемо вмикати через JS */
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 0;
    }

    .megamenu-wrapper {
        flex-direction: column;
    }

    .megamenu-sidebar {
        width: 100%;
        border-right: none;
    }

    .menu-cat {
        padding: 12px 15px;
        background: #f8fafc;
        margin-bottom: 5px;
        font-size: 0.95rem;
    }

    .megamenu-content {
        padding: 0 15px;
        display: none; /* Ховаємо контент категорій */
    }

    .megamenu-content.active-mobile {
        display: block;
    }

    .cat-links {
        display: none;
        padding-bottom: 20px;
    }

    .cat-links.active {
        display: flex;
        flex-direction: column;
    }

    /* Анімація бургера в X */
    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
    
    .header-right { display: none; } /* Пошук на мобілках краще винести окремо */
}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem !important; /* Зменшуємо заголовок */
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 20px;
    }

    .btn-more {
        padding: 12px 25px;
        width: 100%; /* Кнопка на всю ширину для зручності */
        text-align: center;
    }

    /* Приховуємо стрілки навігації, залишаючи свайп або автоматичне перемикання */
    .slider-nav {
        display: none;
    }
}
@media (max-width: 768px) {
    /* Провідні напрямки: з 2-х та 3-х в 1 колонку */
    .grid-2, .grid-3 {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .section-title {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 30px;
    }

    /* Досвід клієнтів: робимо 2 колонки замість довгого списку */
    .experience-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    
    .exp-item p {
        font-size: 0.9rem;
    }
}
@media (max-width: 768px) {
    /* Робимо список вкладок прокручуваним горизонтально */
    .tabs-list {
        display: flex !important;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
        border-bottom: 1px solid #eef2f6;
    }

    .tab-link {
        flex: 0 0 auto;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Банер стає вертикальним */
    .tab-panel.active {
        display: flex;
        flex-direction: column;
    }

    .main-banner {
        width: 100% !important;
        margin-bottom: 20px;
    }

    .main-banner img {
        width: 100% !important; /* Картинка сервера на всю ширину */
        height: auto;
    }

    /* Підпродукти (маленькі картки) в один ряд */
    .sub-products {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .sub-products a {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 10px;
        background: #f8fafc;
        border-radius: 12px;
    }

    .sub-products img {
        width: 60px;
        height: auto;
    }
}
@media (max-width: 768px) {
    .container, .container1 {
        padding-left: 15px;
        padding-right: 15px;
    }
}


@media (max-width: 768px) {
    /* Контейнер секції */
    .experience-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; /* Чітко 2 колонки */
        gap: 15px !important; /* Компактні відступи */
        padding: 0 10px;
    }

    /* Стиль окремої картки */
    .exp-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 25px 15px !important;
        background: #ffffff;
        border: 1px solid #eef2f6;
        border-radius: 24px !important; /* Закруглені кути */
        text-decoration: none;
        transition: background 0.2s ease;
    }

    /* Ефект при натисканні пальцем */
    .exp-item:active {
        background: #f0f7ff;
        border-color: #00a8ff;
        transform: scale(0.97);
    }

    /* Іконка в мобільній версії */
    .exp-item img {
        width: 48px !important; /* Оптимальний розмір для мобайла */
        height: 48px !important;
        margin-bottom: 12px !important;
        object-fit: contain;
    }

    /* Текст під іконкою */
    .exp-item p {
        font-size: 0.85rem !important;
        font-weight: 700;
        color: #001f3f;
        margin: 0;
        line-height: 1.2;
        text-align: center;
    }

    /* Заголовок секції на мобільному */
    .section-title {
        font-size: 1.6rem !important;
        text-align: center;
        margin-bottom: 25px !important;
        padding: 0 15px;
    }
}