/* =========================================================
   CLEQUA360 FOOTER
   UNIQUE PREFIXED CLASSES TO AVOID CONFLICT
========================================================= */

.cq-footer-wrap {
    position: relative;
    margin-top: auto;
    background:
        radial-gradient(circle at top right, rgba(255, 208, 0, 0.08), transparent 18%),
        radial-gradient(circle at bottom left, rgba(255, 208, 0, 0.05), transparent 20%),
        linear-gradient(180deg, #090909 0%, #050505 100%);
    border-top: 1px solid rgba(255, 208, 0, 0.10);
    padding: 56px 24px 0;
    overflow: hidden;
    z-index: 4;
}

.cq-footer-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 1150px);
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 208, 0, 0.55),
        transparent
    );
}

.cq-footer-wrap::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 208, 0, 0.08), transparent 70%);
    pointer-events: none;
}

.cq-footer-shell {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.cq-footer-col {
    min-width: 0;
}

.cq-footer-about-col {
    padding-right: 10px;
}

/* =========================
   BRAND AREA
========================= */

.cq-footer-brand-row {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.cq-footer-brand-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ffd54a 0%, #e0b400 100%);
    color: #101010;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 12px 28px rgba(255, 208, 0, 0.18);
    flex-shrink: 0;
}

.cq-footer-brand-name {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: #f8fafc;
}

.cq-footer-about-text {
    margin: 0 0 22px;
    max-width: 380px;
    font-size: 14px;
    line-height: 1.9;
    color: #a1a1aa;
}

/* =========================
   SOCIALS
========================= */

.cq-footer-social-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.cq-footer-social-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 208, 0, 0.07);
    border: 1px solid rgba(255, 208, 0, 0.10);
    color: #facc15;
    font-size: 16px;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        color 0.25s ease;
}

.cq-footer-social-link:hover {
    transform: translateY(-4px) scale(1.04);
    background: rgba(255, 208, 0, 0.15);
    border-color: rgba(255, 208, 0, 0.24);
    color: #ffe27a;
    box-shadow: 0 10px 24px rgba(255, 208, 0, 0.14);
}

/* =========================
   TITLES
========================= */

.cq-footer-title {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.2px;
}

.cq-footer-title::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd54a, #e0b400);
}

/* =========================
   LINKS
========================= */

.cq-footer-link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cq-footer-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    text-decoration: none;
    font-size: 14px;
    color: #a1a1aa;
    position: relative;
    transition: color 0.25s ease, transform 0.25s ease;
}

.cq-footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: rgba(255, 208, 0, 0.9);
    transition: width 0.25s ease;
}

.cq-footer-link:hover {
    color: #f8fafc;
    transform: translateX(6px);
}

.cq-footer-link:hover::after {
    width: 100%;
}

/* =========================
   CONTACT
========================= */

.cq-footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cq-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #a1a1aa;
    transition: transform 0.25s ease, color 0.25s ease;
}

.cq-footer-contact-item:hover {
    transform: translateX(4px);
    color: #f8fafc;
}

.cq-footer-contact-icon {
    color: #facc15;
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.cq-footer-contact-text {
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
   BOTTOM BAR
========================= */

.cq-footer-bottom-bar {
    max-width: 1320px;
    margin: 42px auto 0;
    padding: 18px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.cq-footer-bottom-copy,
.cq-footer-bottom-dev {
    font-size: 12px;
    color: #8f96a3;
}

.cq-footer-bottom-dev {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cq-footer-dev-link {
    color: #facc15;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: color 0.25s ease;
}

.cq-footer-dev-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #facc15;
    transition: width 0.25s ease;
}

.cq-footer-dev-link:hover {
    color: #ffe27a;
}

.cq-footer-dev-link:hover::after {
    width: 100%;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
    .cq-footer-shell {
        grid-template-columns: 1.7fr 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .cq-footer-wrap {
        padding: 42px 18px 0;
    }

    .cq-footer-shell {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .cq-footer-about-text {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .cq-footer-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cq-footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        padding: 16px 0 18px;
    }

    .cq-footer-social-row {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .cq-footer-wrap {
        padding: 34px 14px 0;
    }

    .cq-footer-brand-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 12px;
    }

    .cq-footer-brand-name {
        font-size: 18px;
    }

    .cq-footer-title {
        font-size: 14px;
    }

    .cq-footer-link,
    .cq-footer-about-text,
    .cq-footer-contact-text {
        font-size: 12px;
    }

    .cq-footer-social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}