/* ============================================================
   AMNIKON — FOOTER
   Clean / Compact / Responsive / Chatbot Safe
   ============================================================ */


/* ============================================================
   FOOTER BASE
   ============================================================ */

.site-footer {
    position: relative;

    overflow: hidden;

    background: #020617;

    color: #ffffff;

    isolation: isolate;
}


/* ============================================================
   HUGE BACKGROUND WORDMARK
   ============================================================ */

.footer-wordmark {
    position: absolute;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

    pointer-events: none !important;

    z-index: 0;
}


.footer-wordmark span {
    display: block;

    width: 100%;

    text-align: center;

    font-weight: 900;

    line-height: 0.8;

    letter-spacing: -0.08em;

    text-transform: uppercase;

    font-size: clamp(4rem, 20vw, 24rem);

    white-space: nowrap;

    background:
        linear-gradient(
            180deg,
            rgba(237, 236, 236, 0.379),
            rgba(255, 255, 255, 0.044)
        );

    -webkit-background-clip: text;

    background-clip: text;

    -webkit-text-fill-color: transparent;
}


/* ============================================================
   BLUE GLOW
   ============================================================ */

.footer-wordmark::after {
    content: "";

    position: absolute;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -50%);

    width: 1200px;

    height: 400px;

    background:
        radial-gradient(
            circle,
            rgba(37, 99, 235, 0.18),
            transparent 70%
        );

    filter: blur(120px);

    z-index: -1;

    pointer-events: none !important;
}


/* ============================================================
   FOOTER CTA
   ============================================================ */

.footer-cta {
    position: relative;

    z-index: 2;

    padding: 90px 0 45px;
}


.footer-cta-content {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 60px;
}


/* ============================================================
   FOOTER CTA EYEBROW
   ============================================================ */

.footer-cta .eyebrow {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 10px 30px;

    margin-bottom: 28px;

    font-family: inherit;

    font-size: 0.85rem;

    font-weight: 400;

    letter-spacing: 0.22em;

    line-height: 1;

    text-transform: uppercase;

    color: #ffffff;

    background: rgba(37, 99, 235, 0.18);

    border: 1.5px solid rgba(56, 189, 248, 0.8);

    border-radius: 999px;

    box-shadow:
        0 0 12px rgba(56, 189, 248, 0.35),
        0 0 30px rgba(37, 99, 235, 0.20);

    backdrop-filter: blur(10px);

    -webkit-backdrop-filter: blur(10px);

    text-shadow:
        0 0 8px rgba(56, 189, 248, 0.9);

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


/* ============================================================
   FOOTER EYEBROW HOVER
   ============================================================ */

.footer-cta .eyebrow:hover {

    background: rgba(37, 99, 235, 0.28);

    border-color: #67e8f9;

    box-shadow:
        0 0 15px rgba(56, 189, 248, 0.6),
        0 0 40px rgba(37, 99, 235, 0.35);

    transform: translateY(-2px);
}


/* ============================================================
   REMOVE OLD EYEBROW DOT
   ============================================================ */

.footer-cta .eyebrow::before {

    display: none;
}


/* ============================================================
   CTA HEADING
   ============================================================ */

.footer-cta h2 {
    font-size: clamp(2.8rem, 5vw, 5rem);

    line-height: 1;

    margin-bottom: 18px;

    color: #ffffff;
}


/* ============================================================
   CTA DESCRIPTION
   ============================================================ */

.footer-cta p {
    max-width: 650px;

    line-height: 1.7;

    color: rgba(255, 255, 255, 0.7);

    margin: 0;
}


/* ============================================================
   CTA ACTIONS
   ============================================================ */

.footer-cta-actions {
    display: flex;

    gap: 15px;

    flex-shrink: 0;
}


/* ============================================================
   FOOTER MAIN
   ============================================================ */

.footer-main {
    position: relative;

    z-index: 2;

    padding: 45px 0 40px;
}


/* ============================================================
   FOOTER GRID
   ============================================================ */

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1.35fr;

    gap: 45px;

    align-items: start;
}


/* ============================================================
   BRAND
   ============================================================ */

.footer-brand h4 {
    font-size: 2.2rem;

    margin: 0 0 15px;

    color: #ffffff;

    font-weight: 800;

    letter-spacing: -1px;
}


.footer-brand p {
    max-width: 380px;

    margin: 0;

    color: rgba(255, 255, 255, 0.65);

    line-height: 1.7;

    font-size: 0.9rem;
}


/* ============================================================
   FOOTER COLUMNS
   ============================================================ */

.footer-col h5 {
    margin: 0 0 14px;

    font-size: 0.9rem;

    font-weight: 700;

    color: #ffffff;
}


.footer-col ul {
    list-style: none;

    margin: 0;

    padding: 0;
}


.footer-col li {
    margin-bottom: 7px;
}


.footer-col a {
    color: rgba(255, 255, 255, 0.65);

    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;

    font-size: 0.85rem;
}


.footer-col a:hover {
    color: #60a5fa;

    padding-left: 3px;
}


/* ============================================================
   EMAIL
   ============================================================ */

.info-email {
    display: inline-block;

    color: #60a5fa !important;

    text-decoration: none;

    white-space: normal;

    overflow-wrap: anywhere;

    word-break: break-word;

    font-size: 0.82rem !important;
}


/* ============================================================
   ADDRESS
   ============================================================ */

.footer-contact {
    min-width: 0;
}


.footer-address {
    margin-top: 12px;

    margin-bottom: 0 !important;
}


.footer-address h5 {
    margin: 0 0 3px !important;

    font-size: 0.72rem !important;

    font-weight: 600 !important;

    color: rgba(255, 255, 255, 0.9) !important;
}


.info-address {
    margin: 0;

    color: rgba(255, 255, 255, 0.58);

    font-size: 0.72rem;

    line-height: 1.4;

    max-width: 270px;
}


/* ============================================================
   FOOTER BOTTOM
   ============================================================ */

.footer-bottom {
    margin-top: 25px;

    padding-top: 18px;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;
}


.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.45);

    font-size: 0.78rem;
}


.footer-bottom-links {
    display: flex;

    gap: 18px;
}


.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.45);

    text-decoration: none;

    font-size: 0.78rem;

    transition: color 0.25s ease;
}


.footer-bottom-links a:hover {
    color: #ffffff;
}


/* ============================================================
   CHATBOT CLICK SAFETY
   ============================================================ */

#chatbot-container {
    position: fixed !important;

    right: 28px;

    bottom: 28px;

    z-index: 2147483647 !important;

    pointer-events: none !important;

    width: max-content;

    height: max-content;

    margin: 0;

    padding: 0;
}


#chatbot-container #chatbot-toggle {
    pointer-events: auto !important;

    position: relative;

    z-index: 2147483647 !important;
}


#chatbot-container #chatbot-window {
    pointer-events: none !important;
}


#chatbot-container #chatbot-window.open {
    pointer-events: auto !important;
}


/* ============================================================
   FOOTER DECORATIVE CLICK SAFETY
   ============================================================ */

.footer-wordmark,
.footer-wordmark::before,
.footer-wordmark::after {
    pointer-events: none !important;
}


/* ============================================================
   LARGE DESKTOP — 1600px+
   ============================================================ */

@media (min-width: 1600px) {

    .footer-grid {
        max-width: 1600px;

        margin: 0 auto;

        gap: 70px;
    }


    .footer-cta-content {
        max-width: 1600px;

        margin: 0 auto;
    }


    .footer-wordmark span {
        font-size: 24rem;
    }

}


/* ============================================================
   LAPTOP — 1200px
   ============================================================ */

@media (max-width: 1200px) {

    .footer-grid {
        gap: 35px;
    }


    .footer-cta-content {
        gap: 40px;
    }


    .footer-wordmark span {
        font-size: clamp(
            8rem,
            22vw,
            18rem
        );
    }

}


/* ============================================================
   TABLET — 992px
   ============================================================ */

@media (max-width: 992px) {

    .footer-cta {
        padding: 75px 30px 45px;
    }


    .footer-cta-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 35px;
    }


    .footer-cta h2 {
        font-size: 2.8rem;

        line-height: 1.1;
    }


    .footer-cta p {
        max-width: 100%;

        font-size: 0.95rem;
    }


    .footer-cta-actions {
        flex-wrap: wrap;

        gap: 12px;
    }


    .footer-main {
        padding: 45px 30px;
    }


    .footer-grid {
        grid-template-columns:
            1fr
            1fr;

        gap: 35px;
    }


    .footer-brand {
        grid-column: 1 / -1;
    }


    .footer-brand p {
        max-width: 650px;
    }


    .footer-wordmark span {
        font-size: 9rem;
    }


    .footer-wordmark::after {
        width: 850px;

        height: 280px;

        filter: blur(90px);
    }

}


/* ============================================================
   MOBILE — 768px
   ============================================================ */

@media (max-width: 768px) {

    .footer-cta {
        padding: 65px 20px 40px;
    }


    .footer-cta-content {
        align-items: center;

        text-align: center;

        gap: 28px;
    }


    /* --------------------------------------------------------
       MOBILE EYEBROW
       -------------------------------------------------------- */

    .footer-cta .eyebrow {

        padding: 8px 20px;

        font-size: 0.72rem;

        letter-spacing: 0.16em;

        margin-bottom: 22px;
    }


    .footer-cta h2 {
        font-size: 2.1rem;

        line-height: 1.15;
    }


    .footer-cta p {
        font-size: 0.88rem;

        line-height: 1.6;
    }


    .footer-cta-actions {
        width: 100%;

        flex-direction: column;

        gap: 10px;
    }


    .footer-cta-actions .btn,
    .footer-cta-actions a {
        width: 100%;

        min-height: 48px;

        text-align: center;
    }


    /* --------------------------------------------------------
       FOOTER MAIN
       -------------------------------------------------------- */

    .footer-main {
        padding: 35px 20px;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 28px;

        text-align: center;
    }


    .footer-brand {
        grid-column: auto;
    }


    .footer-brand h4 {
        font-size: 1.7rem;

        margin-bottom: 10px;
    }


    .footer-brand p {
        max-width: 100%;

        margin: 0 auto;

        font-size: 0.85rem;

        line-height: 1.6;
    }


    /* --------------------------------------------------------
       FOOTER COLUMNS
       -------------------------------------------------------- */

    .footer-col h5 {
        font-size: 0.85rem;

        margin-bottom: 10px;
    }


    .footer-col li {
        margin-bottom: 5px;
    }


    .footer-col a {
        font-size: 0.82rem;
    }


    /* --------------------------------------------------------
       CONTACT
       -------------------------------------------------------- */

    .footer-contact {
        width: 100%;
    }


    .info-email {
        font-size: 0.76rem !important;
    }


    .footer-address {
        margin-top: 10px;
    }


    .footer-address h5 {
        font-size: 0.68rem !important;

        margin-bottom: 2px !important;
    }


    .info-address {
        max-width: 280px;

        margin: 0 auto;

        font-size: 0.68rem;

        line-height: 1.35;
    }


    /* --------------------------------------------------------
       FOOTER BOTTOM
       -------------------------------------------------------- */

    .footer-bottom {
        flex-direction: column;

        align-items: center;

        text-align: center;

        gap: 12px;

        margin-top: 20px;

        padding-top: 16px;
    }


    .footer-bottom p {
        font-size: 0.72rem;
    }


    .footer-bottom-links {
        justify-content: center;

        flex-wrap: wrap;

        gap: 10px;
    }


    .footer-bottom-links a {
        font-size: 0.72rem;
    }


    /* --------------------------------------------------------
       WATERMARK
       -------------------------------------------------------- */

    .footer-wordmark span {
        font-size: 6rem;

        letter-spacing: -0.04em;
    }


    .footer-wordmark::after {
        width: 600px;

        height: 250px;

        filter: blur(80px);
    }


    /* --------------------------------------------------------
       CHATBOT
       -------------------------------------------------------- */

    #chatbot-container {
        right: 18px;

        bottom: 18px;

        z-index: 2147483647 !important;

        pointer-events: none !important;
    }


    #chatbot-container #chatbot-toggle {
        pointer-events: auto !important;
    }


    #chatbot-container #chatbot-window.open {
        pointer-events: auto !important;
    }

}


/* ============================================================
   SMALL MOBILE — 480px
   ============================================================ */

@media (max-width: 480px) {

    html {
        font-size: 14px;
    }


    .site-footer {
        text-align: center;
    }


    /* --------------------------------------------------------
       CTA
       -------------------------------------------------------- */

    .footer-cta {
        padding: 55px 15px 30px;
    }


    .footer-cta h2 {
        font-size: 1.7rem;

        line-height: 1.2;
    }


    .footer-cta p {
        font-size: 0.82rem;

        line-height: 1.55;
    }


    /* --------------------------------------------------------
       EYEBROW
       -------------------------------------------------------- */

    .footer-cta .eyebrow {

        padding: 7px 16px;

        font-size: 0.68rem;

        letter-spacing: 0.13em;

        margin-bottom: 20px;
    }


    /* --------------------------------------------------------
       BUTTONS
       -------------------------------------------------------- */

    .footer-cta-actions .btn,
    .footer-cta-actions a {

        min-height: 46px;

        font-size: 0.88rem;
    }


    /* --------------------------------------------------------
       MAIN
       -------------------------------------------------------- */

    .footer-main {
        padding: 30px 15px;
    }


    .footer-grid {
        gap: 25px;
    }


    /* --------------------------------------------------------
       BRAND
       -------------------------------------------------------- */

    .footer-brand h4 {
        font-size: 1.55rem;

        margin-bottom: 10px;
    }


    .footer-brand p {
        font-size: 0.82rem;

        line-height: 1.55;
    }


    /* --------------------------------------------------------
       LINKS
       -------------------------------------------------------- */

    .footer-col h5 {
        font-size: 0.85rem;
    }


    .footer-col a {
        font-size: 0.8rem;
    }


    /* --------------------------------------------------------
       EMAIL
       -------------------------------------------------------- */

    .info-email {
        font-size: 0.7rem !important;
    }


    /* --------------------------------------------------------
       ADDRESSES
       -------------------------------------------------------- */

    .footer-address {
        margin-top: 8px;
    }


    .footer-address h5 {
        font-size: 0.65rem !important;
    }


    .info-address {
        max-width: 260px;

        font-size: 0.65rem;

        line-height: 1.3;
    }


    /* --------------------------------------------------------
       BOTTOM
       -------------------------------------------------------- */

    .footer-bottom {
        gap: 10px;

        padding-top: 15px;
    }


    .footer-bottom p {
        font-size: 0.68rem;
    }


    .footer-bottom-links {
        gap: 8px;
    }


    .footer-bottom-links a {
        font-size: 0.68rem;
    }


    /* --------------------------------------------------------
       WATERMARK
       -------------------------------------------------------- */

    .footer-wordmark span {
        font-size: 3.5rem;

        letter-spacing: -0.03em;
    }


    .footer-wordmark::after {
        width: 320px;

        height: 170px;

        filter: blur(55px);
    }


    /* --------------------------------------------------------
       CHATBOT
       -------------------------------------------------------- */

    #chatbot-container {
        right: 16px;

        bottom: 16px;

        width: max-content;

        height: max-content;

        pointer-events: none !important;

        z-index: 2147483647 !important;
    }


    #chatbot-container #chatbot-toggle {
        pointer-events: auto !important;
    }

}


/* ============================================================
   VERY SMALL PHONES — 360px
   ============================================================ */

@media (max-width: 360px) {

    .footer-cta {
        padding-left: 12px;

        padding-right: 12px;
    }


    .footer-main {
        padding-left: 12px;

        padding-right: 12px;
    }


    .footer-cta h2 {
        font-size: 1.55rem;
    }


    .footer-cta p {
        font-size: 0.78rem;
    }


    .footer-cta .eyebrow {

        padding: 6px 14px;

        font-size: 0.64rem;

        letter-spacing: 0.11em;
    }


    .info-email {
        font-size: 0.67rem !important;
    }


    .info-address {
        font-size: 0.62rem;

        max-width: 240px;
    }


    #chatbot-container {
        right: 12px;

        bottom: 12px;
    }

}


/* ============================================================
   TOUCH DEVICES
   ============================================================ */

@media (hover: none) and (pointer: coarse) {

    .footer-col a:hover {
        padding-left: 0;
    }


    .footer-cta .eyebrow:hover {

        transform: none;
    }


    #chatbot-container #chatbot-toggle:hover {
        transform: none;
    }


    #chatbot-container #chatbot-toggle:active {
        transform: scale(0.94);
    }

}