:root {
    --dark-bg: #0a0c10;
    --neon-cyan: #00e5ff;
    --accent-red: #b91c1c;
    --text-gray: #9ca3af;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--dark-bg);
    color: #ffffff;
    padding-top: 90px; /* Відступ, щоб контент не ховався під шапку */
}

/* ШАПКА */
.navbar {
    background-color: rgba(10, 12, 16, 0.95);
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 20000;
    height: 90px; /* Фіксуємо висоту для ідеального центрування */
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
}
.navbar .container {
    max-width: 95%; /* Дозволяємо шапці розтягуватися майже на весь екран */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
/* ЛОГОТИП */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px; /* Відступ між іконкою та текстом */
}

.logo-img {
    height: 60px; /* Фіксуємо висоту іконки */
    width: auto;
    display: block;
    /* Якщо в SVG є зайві поля, цей фільтр допоможе виділити іконку */
    filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.2));
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1; /* Прибираємо зайвий простір між рядками */
}

.logo-main {
    font-size: 20px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 17px;
    font-weight: 700;
    color: var(--neon-cyan);
    margin-top: 2px;
}

.logo-services {
    display: flex;
    gap: 4px;
    font-size: 8px;
    font-weight: 600;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.separator { color: var(--accent-red); }

/* МЕНЮ */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--neon-cyan);
}

/* CTA ТА ТЕЛЕФОН */
.nav-cta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--accent-red);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-primary:hover {
    box-shadow: 0 0 15px rgba(185, 28, 28, 0.5);
    transform: translateY(-2px);
}

/* =========================================
   📍 АДАПТИВНІСТЬ ШАПКИ (HEADER)
   ========================================= */

/* Стилізація самої кнопки бургера */
.burger {
    display: none; /* Показуємо тільки на мобільних */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 20002;
    padding: 0;
}

.burger span {
    width: 30px;
    height: 3px;
    background: var(--neon-cyan);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    position: relative;
}

/* Анімація іконки в "X" */
.burger.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.burger.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}
.burger.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Адаптивне меню */





/* Змінюємо з 992px на 1200px */
@media (max-width: 1200px) {
    .burger {
        display: flex; /* Показуємо бургер раніше */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%; /* Меню на весь екран планшета */
        height: 100vh;
        background: rgba(10, 12, 16, 0.98); 
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: 0.5s ease;
        z-index: 20001;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: 0.4s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    /* Плавна поява пунктів по черзі */
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }

    .nav-links a {
        font-size: 28px; /* Великий шрифт для зручності */
        font-weight: 800;
        letter-spacing: 2px;
        color: #fff;
    }

    /* CTA (кнопки), які ми раніше ховали, можна додати в кінець списку в JS */
    .nav-cta {
        display: none; /* Залишаємо прихованим у хедері */
    }
}


@media (max-width: 480px) {
    /* 1. Зменшуємо загальні відступи контейнера, щоб дати більше простору */
    .navbar .container {
        padding: 0 15px; /* Менші бокові відступи */
    }

    /* 2. Зменшуємо логотип ще трохи */
    .logo-img {
        height: 40px; /* Було 45px */
    }

    .logo-main {
        font-size: 14px; /* Було 16px */
    }

    .logo-sub {
        font-size: 11px; /* Було 13px */
    }

    /* 3. Зменшуємо відступ між іконкою та текстом лого */
    .logo-link {
        gap: 6px; 
    }

    /* 4. Налаштовуємо бургер, щоб він не займав зайвого місця */
    .burger {
        width: 25px; /* Було 30px */
        height: 20px;
    }
    
    .burger span {
        width: 25px;
    }
}








/* --- HERO SECTION - REBORN --- */
.hero {
    /* Прибираємо жорсткий padding-left: 10%, якщо він заважає */
    padding-left: 0; 
    
}

/* Знаходимо цей блок і міняємо */
.hero .container {
    max-width: 96%; /* Замість 1600px ставимо відсотки, щоб текст "пішов" до краю */
    display: flex;
    justify-content: flex-start;
    padding: 0; /* Прибираємо бокові відступи контейнера */
}

.hero-content {
    margin-left: 2%; /* Залишаємо лише символічний відступ 2%, щоб текст не "впирався" в рамку монітора */
    max-width: 650px; /* Обмежуємо ширину, щоб текст не ліз на кулю */
    padding-left: 20px;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Відео на весь екран */
    z-index: -2;
    filter: brightness(0.5); /* Затемнюємо саме відео */
}

/* Градієнтна маска: найтемніша зліва під текстом, прозора справа під відео */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(10, 11, 13, 1) 0%, 
        rgba(10, 11, 13, 0.8) 30%, 
        rgba(10, 11, 13, 0) 70%
    );
    z-index: -1;
}
.hero-content {
    max-width: 650px; /* Обмежуємо ширину, щоб текст не ліз на кулю */
    padding-left: 20px;
}

.hero h1 {
    font-size: 64px; /* Робимо заголовок масивним */
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.neon-glow {
    color: var(--neon-cyan);
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.hero p {
    font-size: 20px;
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 550px;
    font-weight: 400;
}

/* Кнопка в Hero (червона, як у макеті) */
.btn-hero {
    display: inline-block;
    background-color: #b91c1c; 
    color: #ffffff;
    padding: 22px 55px;
    border-radius: 50px; /* Повністю кругла */
    text-decoration: none;
    font-weight: 900;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
}

.btn-hero:hover {
    transform: scale(1.05) translateY(-5px);
    background-color: #e62222;
    box-shadow: 0 15px 30px rgba(185, 28, 28, 0.4);
}

/* --- HERO SECTION BASE --- */
.hero {
    position: relative;
    padding-left: 0; 

    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.5);
    display: block; /* Показуємо на ПК */
}

.hero-mobile-img {
    display: none; /* Ховаємо на ПК */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('img/ChatGPT Image 31 січ. 2026 р., 23_38_52 1.webp') no-repeat center center;
    background-size: cover;
    z-index: -2;
}

/* Градієнтна маска */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(10, 11, 13, 1) 0%, 
        rgba(10, 11, 13, 0.8) 30%, 
        rgba(10, 11, 13, 0) 70%
    );
    z-index: -1;
}

/* =========================================
   📍 АДАПТИВНІСТЬ HERO (iPad & Mobile)
   ========================================= */

@media (max-width: 1100px) {
    /* 1. Вимикаємо відео на планшетах та телефонах */
    .hero-video {
        display: none !important;
    }

    /* 2. Вмикаємо фото */
    .hero-mobile-img {
        display: block !important;
    }

    /* 3. Підсилюємо маску для кращого читання на фото */
    .hero::before {
        background: linear-gradient(
            to bottom, 
            rgba(10, 12, 16, 0.85) 0%, 
            rgba(10, 12, 16, 0.5) 50%, 
            rgba(10, 12, 16, 0.9) 100%
        );
    }

    .hero {
        text-align: center;
    }

    .hero .container {
        justify-content: center;
    }

    .hero-content {
        margin-left: 0;
        padding: 0 20px;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    .hero p {
        font-size: 15px;
    }
}









/* --- СЕКЦІЯ FEATURES (Виправлено) --- */
.features {
    margin-top: 300px;
    padding: 160px 0; /* Збільшуємо відступ від Hero, щоб блок "дихав" */
    background-color: var(--dark-bg);
    color: #fff;
}

.section-title {
    text-align: center;
    font-size: 42px; /* Більший заголовок як у Figma */
    font-weight: 800;
    margin-bottom: 100px; /* Великий відступ до карток */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Montserrat', sans-serif;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* Збільшуємо простір між картками */
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: #0f1218; /* Темніший колір фону картки для контрасту */
    border: 1px solid rgba(0, 229, 255, 0.1); /* Ледь помітна неонова рамка */
    padding: 80px 40px; /* Робимо картку високою та солідною */
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Ефект неонового підсвічування при наведенні */
.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.15);
}

.feature-icon-wrapper {
    width: 180px; 
    height: 180px;
    border-radius: 50%;
    
    /* Зовнішнє неонове кільце */
    border: 3px solid var(--neon-cyan); 
    
    /* Створюємо біле коло всередині через background-clip */
    background-color: #ffffff; 
    background-clip: content-box; /* Магія: фон малюється ТІЛЬКИ всередині padding */
    
    /* Цей padding і є той самий "відступ" між неоном і білим колом */
    padding: 12px; 
    
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    
    /* Додаємо сяйво самому неону */
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.feature-icon1 {
    width: 150px; 
    height: auto;
    object-fit: contain;
}

.feature-icon3 {
    width: 100px; 
    height: auto;
    object-fit: contain;
}

.feature-icon {
    /* Оскільки у нас з'явився padding, іконку треба трохи зменшити, 
       щоб вона була красиво вписана в біле коло */
    width: 75px; 
    height: auto;
    object-fit: contain;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 25px;
    text-transform: uppercase;
    color: #ffffff;
}

.feature-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #9ca3af; /* Текст опису робимо м'якшим */
    max-width: 300px;
}














/* Стилі для самої картки, щоб клієнт розумів, що це кнопка */
.feature-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:active {
    transform: scale(0.98); /* Ефект натискання */
}

.read-more {
    display: inline-block;
    margin-top: auto;
    padding-top: 15px;
    color: #00e5ff; /* Змініть на колір вашого бренду */
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Флашка (бекграунд) модального вікна */
.custom-modal {
    display: none; /* Приховано за замовчуванням */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Темний фон */
    backdrop-filter: blur(5px); /* Ефект розмиття заднього плану */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Контентне вікно */
.modal-content {
    background-color: #fff;
    position: relative;
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 500px; /* Максимальна ширина на ПК */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Коли вікно активне (додається через JS) */
.custom-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

/* Кнопка закриття */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #ff0000;
}

/* Текст всередині вікна */
.modal-content h2 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #1a1a1a;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    padding-right: 40px; /* Prevent overlap with the close button */
}

.modal-body {
    margin-top: 15px;
    line-height: 1.6;
    color: #444;
}

.modal-body ul {
    padding-left: 20px;
    margin-top: 10px;
}

/* --- Адаптивність --- */

@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        max-width: 90%; /* Більше місця на мобільних */
    }
    
    .modal-content h2 {
        font-size: 1.2rem;
    }

    .modal-body {
        font-size: 0.95rem;
    }
}

/* Анімація появи */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* =========================================
   📍 АДАПТИВНІСТЬ СЕКЦІЇ FEATURES
   ========================================= */

/* Планшети (до 1024px) */
@media (max-width: 1024px) {
    .features {
        margin-top: 150px; /* Зменшуємо величезний відступ зверху */
        padding: 100px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr); /* Дві колонки замість трьох */
        gap: 30px;
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 60px;
    }
}

/* Мобільні пристрої (до 768px) */
@media (max-width: 768px) {
    .features {
        margin-top: 80px;
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr; /* Одна колонка — картки стають одна під одною */
        max-width: 500px; /* Обмежуємо ширину на вузьких екранах для естетики */
        margin: 0 auto;
    }

    .feature-card {
        padding: 50px 30px; /* Зменшуємо внутрішні відступи */
    }

    .feature-icon-wrapper {
        width: 140px; /* Трохи зменшуємо кола з іконками */
        height: 140px;
        margin-bottom: 30px;
        padding: 10px;
    }

    .feature-icon, .feature-icon1, .feature-icon3 {
        width: 60px; /* Уніфікуємо розмір іконок для мобілок */
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 40px;
        padding: 0 15px;
    }

    .feature-card h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .feature-card p {
        font-size: 14px;
        max-width: 100%;
    }
}

/* Маленькі смартфони (до 480px) */
@media (max-width: 480px) {
    .feature-card {
        border-radius: 15px; /* Менший радіус для маленьких екранів */
    }
    
    .section-title {
        font-size: 22px;
    }
}












/* --- СЕКЦІЯ ЦІННИКА ТА КАЛЬКУЛЯТОРА --- */
.pricing-calc {
    padding-bottom: 150px; /* Відступ знизу сторінки */
    background-color: var(--dark-bg);
}

.pricing-card {
    background: #161a23; /* Колір картки з Figma */
    border-radius: 40px;
    padding: 80px 100px;
    position: relative;
    overflow: hidden;
}

.pricing-header h2 {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.pricing-header p {
    color: #9ca3af;
    font-size: 18px;
    margin-bottom: 60px;
}

.pricing-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

/* КАРТА */
.map-wrapper {
    flex: 1;
    position: relative;
    max-width: 500px;
    display: flex;
    justify-content: center;
}

.poland-map {
    width: 100%;
    height: auto;
    opacity: 0.8;
}



/* ІНФО ТА КНОПКА */
.calc-info {
    flex: 1;
    max-width: 500px;
}

.calc-info h3 {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 700;
    margin-bottom: 40px;
}

.calc-action {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.frame-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
}

.btn-calc {
    display: inline-block;
    background-color: var(--accent-red);
    color: white;
    text-decoration: none;
    padding: 22px 45px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    text-align: center;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-calc:hover {
    background-color: #ff0000;
    box-shadow: 0 10px 30px rgba(185, 28, 28, 0.4);
    transform: translateY(-3px);
}

/* Адаптація */
@media (max-width: 992px) {
    .pricing-content {
        flex-direction: column;
        text-align: center;
    }
    .pricing-card {
        padding: 40px;
    }
}

/* --- FOOTER SECTION --- */

.main-footer {
    padding: 120px 0 60px;
    background: radial-gradient(circle at 20% 20%, #0f1a22, #05090d 70%);
    position: relative;
}

.footer-card {
    background: linear-gradient(145deg, #1a1a1a, #111111);
    border-radius: 40px;
    padding: 90px 80px 50px;
    border: 1px solid rgba(0, 229, 255, 0.08);
    box-shadow: 
        0 0 60px rgba(0, 229, 255, 0.05),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

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

.footer-label {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 35px;
    color: #ffffff;
    letter-spacing: 3px;
    position: relative;
}

.footer-label::after {
    content: "";
    width: 40px;
    height: 2px;
    background: var(--neon-cyan);
    position: absolute;
    left: 0;
    bottom: -10px;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Логотип */
.footer-logo-img {
    height: 90px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.4));
    transition: 0.4s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

/* Текст */
.footer-col p {
    color: #9ca3af;
    line-height: 1.7;
    font-size: 15px;
    max-width: 320px;
}

/* Меню */
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #9ca3af;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: 0.3s ease;
}

.footer-col ul li a::before {
    content: "";
    position: absolute;
    left: -15px;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--neon-cyan);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 10px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
}

/* Контакти */
.contact-item {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 17px;
    transition: 0.3s ease;
}

.contact-item a:hover {
    color: var(--neon-cyan);
}

/* Соцмережі */
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(0, 229, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 229, 255, 0.2);
    transition: 0.4s ease;
}

.social-icon:hover {
    background: var(--neon-cyan);
    box-shadow: 0 0 20px var(--neon-cyan);
    transform: translateY(-5px);
}

.social-icon img {
    width: 22px;
    filter: brightness(0) invert(1);
}

/* Нижній текст */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: #6b7280;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}



.floating-phone {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #b91c1c, #ff1a1a);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    z-index: 9999;
    transition: all 0.4s ease;
    animation: pulseGlow 1.8s infinite;
}

/* Прибираємо старий box-shadow */
.floating-phone:hover {
    transform: scale(1.08) translateY(-6px);
}

/* Більш помітна пульсація */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 25px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}
.phone-icon {
    animation: shake 2s infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-15deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(6deg); }
    50% { transform: rotate(0deg); }
}

@media (max-width: 768px) {

    .phone-text {
        display: none;
    }

    .floating-phone {
        width: 56px;
        height: 56px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
        align-items: center;

        right: 8px;
        bottom: 15px;

        animation: none; /* вимикаємо пульс */
        box-shadow: 0 6px 15px rgba(185, 28, 28, 0.4);
    }

    .phone-icon {
        font-size: 20px;
    }

}


/* =========================================
   📍 АДАПТИВНІСТЬ ФУТЕРА ТА CTA КНОПКИ
   ========================================= */

@media (max-width: 1024px) {
    .footer-card {
        padding: 60px 40px 40px; /* Трохи менші внутрішні відступи */
    }
    
    .footer-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .main-footer {
        padding: 60px 0 40px;
    }

    .footer-card {
        padding: 40px 20px;
        border-radius: 20px;
        text-align: center; /* Центруємо вміст для мобільних */
    }

    /* Колонки в один ряд */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-label::after {
        left: 50%; /* Центруємо декоративну лінію під заголовком */
        transform: translateX(-50%);
    }

    .footer-col p {
        margin: 0 auto; /* Центруємо опис фірми */
    }

    /* Контакти */
    .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 25px;
    }

    /* Плаваюча кнопка дзвінка */
    .floating-phone {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 13px;
    }

    .footer-bottom {
        padding-top: 30px;
    }
}

@media (max-width: 480px) {
    .footer-logo-img {
        height: 60px; /* Зменшуємо логотип у футері */
    }

    .footer-label {
        font-size: 18px;
    }

    .floating-phone .phone-text {
        display: none; /* На зовсім маленьких екранах залишаємо тільки іконку трубку */
    }

    .floating-phone {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
    }

    .floating-phone .phone-icon {
        margin: 0;
        font-size: 24px;
    }
}
















