/* =====================================================
   ILYK — Footer (Frosted Dark)
   css/footer.css
   ===================================================== */

.ilyk-footer {
    background: #080c1a;
    color: #fff;
    position: relative;
    overflow: hidden;
    margin-top: auto; /* sticky footer — притискає до низу */
}

/* Фонові декоративні кола (розмитий glow) */
.ilyk-footer::before,
.ilyk-footer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.12;
}
.ilyk-footer::before {
    width: 500px;
    height: 500px;
    background: var(--ilyk-clr-primary);
    top: -120px;
    left: -100px;
}
.ilyk-footer::after {
    width: 400px;
    height: 400px;
    background: #7c3aed;
    bottom: -80px;
    right: -60px;
}

/* Топлайн — тонка лінія з градієнтом */
.ilyk-footer__topline {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(var(--ilyk-clr-primary-rgb), 0.6) 30%,
        rgba(124, 58, 237, 0.6) 70%,
        transparent 100%
    );
}

/* ── Основна частина ── */
.ilyk-footer__main {
    padding: 64px 0 56px;
    position: relative;
    z-index: 1;
}
.ilyk-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ── Колонка бренду ── */
.ilyk-footer__col--brand {}

.ilyk-footer__logo {
    display: inline-block;
    margin-bottom: 16px;
    text-decoration: none;
}
.ilyk-footer__logo img {
    height: 32px;
    width: auto;
    /* Білий логотип на темному фоні */
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.ilyk-footer__logo span {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.ilyk-footer__tagline {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 28px;
    font-weight: 400;
}

/* Соцмережі */
.ilyk-footer__socials {
    display: flex;
    gap: 10px;
}
.ilyk-footer__social {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.22s ease;
}
.ilyk-footer__social:hover {
    background: rgba(var(--ilyk-clr-primary-rgb), 0.2);
    border-color: rgba(var(--ilyk-clr-primary-rgb), 0.4);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Заголовки колонок ── */
.ilyk-footer__heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Контакти ── */
.ilyk-footer__contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ilyk-footer__contacts li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.ilyk-footer__contacts i {
    font-size: 14px;
    color: rgba(var(--ilyk-clr-primary-rgb), 0.8);
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}
.ilyk-footer__contacts span,
.ilyk-footer__contacts a {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}
.ilyk-footer__contacts a:hover {
    color: #fff;
}

/* ── Посилання (документація) ── */
.ilyk-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ilyk-footer__links a {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s, gap 0.2s;
}
.ilyk-footer__links a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(var(--ilyk-clr-primary-rgb), 0.6);
    flex-shrink: 0;
    transition: background 0.2s;
}
.ilyk-footer__links a:hover {
    color: #fff;
    gap: 8px;
}
.ilyk-footer__links a:hover::before {
    background: var(--ilyk-clr-primary);
}

/* ── Нижній рядок ── */
.ilyk-footer__bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 1;
}
.ilyk-footer__bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ilyk-footer__copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
}
.ilyk-footer__made {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}
.ilyk-footer__made i {
    font-size: 11px;
    color: rgba(220, 38, 38, 0.6);
}

/* ── Адаптив ── */
@media (max-width: 900px) {
    .ilyk-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .ilyk-footer__col--brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0 32px;
        align-items: start;
    }
    .ilyk-footer__logo { grid-row: 1; }
    .ilyk-footer__tagline { grid-row: 2; margin-bottom: 0; }
    .ilyk-footer__socials { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}
@media (max-width: 580px) {
    .ilyk-footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 20px;
    }
    .ilyk-footer__col--brand {
        grid-template-columns: 1fr;
    }
    .ilyk-footer__socials { grid-column: 1; grid-row: auto; }
    .ilyk-footer__main { padding: 48px 0 40px; }
    .ilyk-footer__bottom-inner { padding: 0 20px; flex-direction: column; gap: 6px; text-align: center; }
}
/* ── Платіжні іконки ── */
.ilyk-footer__payments {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.35);
    transition: color 0.2s ease;
}

.ilyk-footer__payments i {
    cursor: default;
    transition: color 0.2s ease;
}
.ilyk-footer__payments i:hover {
    color: rgba(255, 255, 255, 0.7);
}


@media (max-width: 580px) {
    .ilyk-footer__bottom-inner {
        flex-direction: column;
        gap: 14px;
    }
}