: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;
}

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: 1000;
    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 (DESKTOP) --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 650px; /* Оптимальна висота для десктопа */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%; /* На десктопі картинка збоку */
    height: 100%;
    z-index: 1;
}

.hero-bg-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.8);
}

/* Градієнт, який робить ліву частину чорною для тексту */
.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        rgba(10, 12, 16, 1) 35%, 
        rgba(10, 12, 16, 0.7) 55%, 
        rgba(10, 12, 16, 0) 100%);
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 850px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-gray);
    max-width: 550px;
}

/* --- АДАПТИВНІСТЬ --- */

/* Планшети (до 1024px) */
@media (max-width: 1024px) {
    .hero-section {
        height: 500px;
        display: flex;
        align-items: center;
        text-align: left;
    }
    .hero-content h1 {
        font-size: 40px;
    }
}

/* Мобільні телефони (до 768px) — тут головні зміни */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh; /* Робимо на весь екран, щоб картинка розкрилася */
        min-height: 500px;
        display: flex;
        align-items: flex-end; /* Текст зміщуємо вниз, щоб не закривати обличчя/деталі на фото */
        padding-bottom: 50px;
        text-align: center;
    }

    .hero-bg-overlay {
        width: 100%;
        height: 100%;
        opacity: 0.8; /* Збільшуємо видимість картинки */
    }

    .hero-section::after {
        /* Міняємо горизонтальний градієнт на вертикальний! */
        /* Це затемнить тільки низ під текстом, а верх картинки буде чистим */
        background: linear-gradient(to top, 
            rgba(0,0,0,1) 0%, 
            rgba(0,0,0,0.6) 40%, 
            rgba(0,0,0,0) 100%);
        width: 100%;
    }

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

    .hero-content h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 16px;
        max-width: 100%;
    }
}

/* Маленькі екрани (до 480px) */
@media (max-width: 480px) {
    .hero-section {
        height: 80vh; /* Трохи зменшуємо, щоб не було занадто довго гортати */
    }
    .hero-content h1 {
        font-size: 28px;
    }
}





/* --- Co oferujemy --- */
/* Підключення Mogra та Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Mogra&family=Montserrat:wght@400;700;900&display=swap');

.offers-section {
    padding: 100px 0;
    background-color: #0a0c10;
}

/* Головний контейнер з м'яким світінням */
.offers-dark-box {
    background: #0d121f;
    border-radius: 40px;
    padding: 80px 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.offers-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

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

/* Картки з ефектом глибини */
.offer-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 50px 25px;
    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;
}

.offer-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-12px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Стилізація іконок (синій неон) */
.offer-icon-wrapper {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-icon-wrapper img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.5));
}

.offer-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    min-height: 40px; /* Для вирівнювання заголовків */
}

.offer-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Шрифт Mogra для посилання Więcej */
.more-link {
    font-family: 'Mogra', cursive;
    font-size: 18px;
    color: #00e5ff;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.more-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
    transform: scale(1.1);
}

/* ================= АДАПТИВНІСТЬ ================= */

@media (max-width: 1280px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .offers-dark-box {
        padding: 60px 25px;
        border-radius: 30px;
    }
    .offers-main-title {
        font-size: 30px;
        text-align: center;
        margin-bottom: 40px;
    }
}

@media (max-width: 580px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
    .offer-card {
        padding: 40px 20px;
    }
    .offer-card h4 {
        font-size: 16px;
    }
}





.nasze_możliwości {
    padding: 120px 0;
    background-color: #070b14;
    color: #fff;
}

.nasze_możliwości .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Картки */
.service-card {
    background: #0f172a;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: 0.4s ease;
    display: flex;
    flex-direction: column;
}

@keyframes highlight-frame {
    0% { box-shadow: 0 0 0 0 rgba(0, 204, 255, 0); transform: scale(1); }
    15% { box-shadow: 0 0 0 5px #00ccff, 0 0 30px rgba(0, 204, 255, 0.8); transform: translateY(-5px); border-radius: 24px; }
    85% { box-shadow: 0 0 0 5px #00ccff, 0 0 30px rgba(0, 204, 255, 0.8); transform: translateY(-5px); border-radius: 24px; }
    100% { box-shadow: 0 0 0 0 rgba(0, 204, 255, 0); transform: translateY(0); }
}

.service-card.featured-card:target {
    animation: highlight-frame 1.5s ease-out;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #00e5ff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-img-wrapper img, .parts-main-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body, .featured-main {
    padding: 30px;
}

.nasze_możliwości h2 {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.nasze_możliwości p {
    color: #9ca3af;
    line-height: 1.6;
    font-size: 15px;
}

/* Четверта картка - стилізація */
.featured-card {
    grid-column: span 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.intro-text {
    margin-top: 20px;
    font-style: italic;
    border-left: 3px solid #00e5ff;
    padding-left: 15px;
}

.parts-grid {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.Zamienniki, .Oryginały {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.Zamienniki h3, .Oryginały h3 {
    color: #00e5ff;
    margin: 10px 0;
}

.logo-Zamienniki, .logo-Oryginały {
    height: 40px;
}

/* Планшети */
@media (max-width: 1100px) {
    .nasze_możliwości .container {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-card {
        grid-column: span 2;
        grid-template-columns: 1fr; /* В одну колонку всередині */
    }
}

/* Мобільні */
@media (max-width: 768px) {
    .nasze_możliwości { padding: 60px 0; }
    
    .nasze_możliwości .container {
        grid-template-columns: 1fr;
    }
    
    .featured-card { grid-column: span 1; }

    .nasze_możliwości h2 { font-size: 20px; }
    
    .card-img-wrapper img { height: 180px; }
}

/* iPhone SE */
@media (max-width: 480px) {
    .card-body, .featured-main, .parts-grid { padding: 20px; }
}





/* --- ЗАГАЛЬНІ СТИЛІ --- */
.section-title-center {
    font-size: 36px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    color: #9ca3af;
    max-width: 900px;
    margin: 0 auto 60px;
    line-height: 1.6;
}

/* --- BRANDS COLUMN --- */
.brands-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.brand-horizontal-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    padding: 30px;
    transition: 0.3s ease;
}

.brand-horizontal-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #00e5ff;
}

.brand-logo-side {
    flex: 0 0 250px;
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-logo-side img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Робимо логотипи білими як на макеті */
}

.brand-description {
    padding-left: 40px;
    color: #cfcfcf;
    font-size: 16px;
    line-height: 1.5;
}

/* --- SECTION ABOUT STRINGS --- */
.about-strings {
    padding: 100px 0;
}

.strings-box {
    background: #0f172a;
    border-radius: 30px;
    padding: 60px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    text-align: center;
}

.neon-text {
    color: #00e5ff;
    font-size: 28px;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.strings-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
    color: #cfcfcf;
}

.strings-list {
    list-style: none;
    padding: 25px 0;
}

.strings-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

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

.strings-cta {
    text-align: center;
    margin-top: 40px;
}

.btn-modern {
    display: inline-block;
    background: #b91c1c; /* Червоний з макета */
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-modern:hover {
    background: #e62222;
    box-shadow: 0 0 20px rgba(185, 28, 28, 0.4);
}


@media (max-width: 992px) {
    .brand-horizontal-card {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .brand-logo-side {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
        flex: none;
        width: 100%;
    }

    .brand-description {
        padding-left: 0;
    }

    .strings-box {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .section-title-center { font-size: 28px; }
    .neon-text { font-size: 22px; }
    .btn-modern { width: 100%; text-align: center; }
}



/* --- 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;
    }
}


