/* =========================================================
   QATREH FOOTER
   ========================================================= */

/* Keep padding and borders inside the canonical footer frame on every page. */
.site-footer,
.site-footer *,
.site-footer::before,
.site-footer::after,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer {
    --footer-pink: 255, 94, 168;
    --footer-blue: 70, 190, 255;
    --footer-mint: 74, 222, 190;
    --footer-purple: 139, 102, 241;

    position: relative;
    isolation: isolate;
    direction: rtl;

    width: min(1180px, calc(100% - 32px));
    margin: 72px auto 22px;
    padding: clamp(22px, 4vw, 44px);

    overflow: hidden;
    color: #312a46;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.82),
            rgba(255, 246, 252, 0.62)
        ) padding-box,
        linear-gradient(
            115deg,
            rgba(var(--footer-pink), 0.75),
            rgba(var(--footer-blue), 0.68),
            rgba(var(--footer-mint), 0.68),
            rgba(var(--footer-purple), 0.72)
        ) border-box;

    border: 2px solid transparent;
    border-radius: clamp(28px, 5vw, 52px);

    box-shadow:
        0 28px 70px rgba(88, 63, 122, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%);

    animation: footer-arrive 0.9s cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

/* =========================================================
   FOOTER BACKGROUND
   ========================================================= */

.site-footer::before {
    content: "";
    position: absolute;
    inset: -45%;
    z-index: -2;

    border-radius: 50%;

    background:
        conic-gradient(
            from 0deg,
            rgba(var(--footer-pink), 0.20),
            rgba(var(--footer-blue), 0.16),
            rgba(var(--footer-mint), 0.14),
            rgba(var(--footer-purple), 0.18),
            rgba(var(--footer-pink), 0.20)
        );

    filter: blur(44px);
    opacity: 0.85;
    pointer-events: none;

    animation: footer-aurora 18s linear infinite;
}

.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    border-radius: inherit;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(255, 255, 255, 0.95) 0 2px,
            transparent 3px
        ),
        radial-gradient(
            circle at 86% 78%,
            rgba(255, 255, 255, 0.82) 0 3px,
            transparent 4px
        ),
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255, 255, 255, 0.38) 43%,
            transparent 62%
        );

    opacity: 0.78;
    transform: translateX(-120%);

    animation: footer-glass-shine 8s ease-in-out infinite;
}


/* =========================================================
   FOOTER GRID
   ========================================================= */

.footer-grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        repeat(2, minmax(190px, 1fr));

    align-items: stretch;
    gap: 18px;

    width: 100%;
    margin: 0;
}

.site-footer .footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-menu .menu-item {
    margin: 0;
    padding: 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    min-width: 0;
    padding: clamp(18px, 2.4vw, 28px);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.62),
            rgba(255, 255, 255, 0.28)
        );

    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 30px;

    box-shadow:
        0 14px 34px rgba(89, 65, 120, 0.09),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.footer-col:hover {
    transform: translateY(-6px);

    border-color: rgba(var(--footer-pink), 0.38);

    box-shadow:
        0 22px 48px rgba(89, 65, 120, 0.15),
        inset 0 1px 0 #fff;
}


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

.footer-brand {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 12px;

    color: #43345f;
}

.footer-brand img {
    width: 52px;
    height: 52px;

    object-fit: contain;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.76);

    box-shadow:
        0 8px 24px rgba(var(--footer-pink), 0.20),
        0 0 0 7px rgba(255, 255, 255, 0.36);

    animation: footer-logo-float 4.6s ease-in-out infinite;
}

.footer-brand span {
    font-size: 21px;
    font-weight: 900;
    color: #3f315a;
}

.footer-description {
    max-width: 360px;
    margin: 4px 0 0;

    color: #655b77;
    font-size: 13px;
    line-height: 2;
}

.footer-social-title {
    margin: 8px 0 0;
    color: #4f4264;
    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.footer-heading {
    position: relative;

    margin: 0 0 8px;
    padding-bottom: 12px;

    color: #3f315a;
    font-size: 16px;
    font-weight: 900;

    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.footer-heading::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;

    width: 46px;
    height: 4px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            rgb(var(--footer-blue)),
            rgb(var(--footer-mint)),
            rgb(var(--footer-pink))
        );

    background-size: 200% 100%;

    box-shadow:
        0 4px 12px rgba(var(--footer-blue), 0.22);

    animation: footer-gradient-line 4s linear infinite;
}


/* =========================================================
   QUICK ACCESS LINKS
   ========================================================= */

.footer-link {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    min-height: 42px;
    padding: 8px 10px 8px 12px;

    overflow: hidden;

    color: #655b77;
    font-size: 13px;
    font-weight: 600;

    border: 1px solid transparent;
    border-radius: 14px;

    transition:
        color 0.25s ease,
        transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.3s ease;
}

.footer-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            100deg,
            rgba(var(--footer-pink), 0.13),
            rgba(var(--footer-blue), 0.09),
            rgba(255, 255, 255, 0.50)
        );

    opacity: 0;
    transform: translateX(35%);

    transition:
        opacity 0.25s ease,
        transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-link::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;

    width: 3px;
    height: 0;

    border-radius: 999px;

    background:
        linear-gradient(
            to bottom,
            rgb(var(--footer-blue)),
            rgb(var(--footer-pink))
        );

    transform: translateY(-50%);

    transition: height 0.3s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
    color: #d43d91;

    background: rgba(255, 255, 255, 0.52);
    border-color: rgba(var(--footer-pink), 0.22);

    transform: translateX(-7px);

    box-shadow:
        0 10px 24px rgba(110, 77, 145, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.footer-link:hover::before,
.footer-link:focus-visible::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-link:hover::after,
.footer-link:focus-visible::after {
    height: 58%;
}

.footer-link:focus-visible {
    outline: 3px solid rgba(var(--footer-blue), 0.22);
    outline-offset: 2px;
}

.footer-link-arrow {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;

    width: 27px;
    height: 27px;

    color: #8c789e;
    font-size: 13px;
    line-height: 1;

    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(var(--footer-pink), 0.14)
        );

    box-shadow:
        0 6px 15px rgba(var(--footer-purple), 0.11),
        inset 0 1px 0 #fff;

    transition:
        color 0.25s ease,
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.footer-link:hover .footer-link-arrow,
.footer-link:focus-visible .footer-link-arrow {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgb(var(--footer-pink)),
            rgb(var(--footer-purple))
        );

    transform: translateX(-3px) rotate(-12deg) scale(1.08);

    box-shadow:
        0 8px 18px rgba(var(--footer-pink), 0.28);
}


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

.footer-contact-row {
    position: relative;
    isolation: isolate;

    display: flex;
    align-items: center;
    gap: 11px;

    width: 100%;
    min-height: 48px;
    padding: 8px 9px 8px 12px;

    overflow: hidden;

    color: #655b77;
    font-size: 13px;
    line-height: 1.8;

    border: 1px solid transparent;
    border-radius: 15px;

    transition:
        color 0.25s ease,
        transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.3s ease;
}

.footer-contact-row::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background:
        linear-gradient(
            105deg,
            rgba(var(--footer-blue), 0.10),
            rgba(var(--footer-pink), 0.11),
            rgba(255, 255, 255, 0.55)
        );

    opacity: 0;
    transform: scaleX(0.88);
    transform-origin: right center;

    transition:
        opacity 0.25s ease,
        transform 0.35s ease;
}

.footer-contact-row::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 50%;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: rgb(var(--footer-pink));

    box-shadow:
        0 0 0 0 rgba(var(--footer-pink), 0.25);

    opacity: 0;
    transform: translateY(-50%) scale(0.5);

    transition:
        opacity 0.25s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.footer-contact-row:hover {
    color: #49395e;

    background: rgba(255, 255, 255, 0.52);
    border-color: rgba(var(--footer-blue), 0.22);

    transform: translateX(-5px) translateY(-2px);

    box-shadow:
        0 11px 25px rgba(91, 72, 120, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.footer-contact-row:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.footer-contact-row:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1);

    box-shadow:
        0 0 0 6px rgba(var(--footer-pink), 0.10);
}

.footer-contact-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;

    width: 34px;
    height: 34px;

    color: #7b668d;

    border: 1px solid rgba(255, 255, 255, 0.90);
    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(var(--footer-pink), 0.14)
        );

    box-shadow:
        0 7px 18px rgba(var(--footer-purple), 0.12),
        inset 0 1px 0 #fff;

    transition:
        color 0.25s ease,
        transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.footer-contact-icon svg {
    width: 17px;
    height: 17px;

    transition: transform 0.35s ease;
}

.footer-contact-row:hover .footer-contact-icon {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            rgb(var(--footer-blue)),
            rgb(var(--footer-purple))
        );

    transform: rotate(-7deg) scale(1.08);

    box-shadow:
        0 10px 22px rgba(var(--footer-blue), 0.28);
}

.footer-contact-row:hover .footer-contact-icon svg {
    transform: scale(1.08);
}


/* =========================================================
   SOCIAL MEDIA
   ========================================================= */

.footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;

    margin-top: 8px;
    padding-block: 12px 4px;
}

.footer-social-float {
    position: relative;

    display: grid;
    place-items: center;
}

.footer-social.is-floating .footer-social-float {
    animation: footer-social-float var(--social-float-duration, 4.4s) ease-in-out infinite;
    animation-delay: calc(var(--social-index, 0) * -0.58s);
    will-change: transform;
}

.footer-social-float::after {
    content: attr(data-label);

    position: absolute;
    z-index: 5;
    bottom: calc(100% + 10px);
    left: 50%;

    width: max-content;
    max-width: 150px;
    padding: 6px 10px;

    color: #4f4161;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.4;
    white-space: nowrap;

    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 20px rgba(79, 65, 97, 0.14);
    backdrop-filter: blur(9px);

    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 6px) scale(0.94);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.footer-social-float:hover::after,
.footer-social-float:focus-within::after {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
}

.footer-social-item {
    position: relative;

    display: grid;
    place-items: center;

    width: var(--social-icon-size, 44px);
    height: var(--social-icon-size, 44px);

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.94),
            rgba(255, 255, 255, 0.40)
        );

    box-shadow:
        0 9px 22px rgba(80, 60, 115, 0.13),
        inset 0 1px 0 #fff;

    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.25s ease,
        box-shadow 0.32s ease;
}

.footer-social-item.social-bale {
    --social-accent: 91, 86, 224;
}

.footer-social-item.social-eitaa {
    --social-accent: 45, 155, 226;
}

.footer-social-item.social-instagram {
    --social-accent: 225, 48, 108;
}

.footer-social-item.social-custom {
    --social-accent: 139, 102, 241;
}

.footer-social-item::before {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(var(--social-accent, var(--footer-pink)), 0.26),
            rgba(var(--footer-blue), 0.16)
        );

    opacity: 0;
    transition: opacity 0.25s ease;
}

.footer-social-item::after {
    content: "";
    position: absolute;
    inset: 2px;

    border: 1px solid rgba(var(--social-accent, var(--footer-purple)), 0.22);
    border-radius: inherit;

    opacity: 0;
    transform: rotate(-18deg) scale(0.8);
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social .footer-social-item:hover,
.footer-social a.footer-social-item:focus-visible {
    border-color: rgba(var(--social-accent, var(--footer-pink)), 0.38);
    transform: translateY(-7px) rotate(-5deg) scale(1.1);

    box-shadow:
        0 16px 30px rgba(var(--social-accent, var(--footer-pink)), 0.24),
        0 0 0 5px rgba(var(--social-accent, var(--footer-pink)), 0.07),
        inset 0 1px 0 #fff;
}

.footer-social .footer-social-item:hover::before,
.footer-social a.footer-social-item:focus-visible::before {
    opacity: 1;
}

.footer-social .footer-social-item:hover::after,
.footer-social a.footer-social-item:focus-visible::after {
    opacity: 1;
    transform: rotate(0) scale(1);
}

.footer-social a.footer-social-item:focus-visible {
    outline: 3px solid rgba(var(--footer-blue), 0.25);
    outline-offset: 3px;
}

.footer-social-icon {
    position: relative;
    z-index: 1;

    display: grid;
    place-items: center;

    width: 100%;
    height: 100%;

    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social .footer-social-item:hover .footer-social-icon,
.footer-social a.footer-social-item:focus-visible .footer-social-icon {
    transform: rotate(5deg) scale(1.08);
}

.footer-social img {
    width: calc(var(--social-icon-size, 44px) * 0.54);
    height: calc(var(--social-icon-size, 44px) * 0.54);

    object-fit: contain;
}

.footer-social-item.is-placeholder {
    cursor: default;
    opacity: 0.68;
    filter: grayscale(0.2);
}

.footer-contact-row.is-placeholder {
    cursor: default;
}


/* =========================================================
   TRUST SECTION
   ========================================================= */

.footer-trust,
.footer-bottom {
    position: relative;
    z-index: 2;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.58),
            rgba(255, 255, 255, 0.27)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 12px 28px rgba(89, 65, 120, 0.08);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.footer-trust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 18px;
    padding: 16px 20px;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trust-title {
    margin: 0;

    color: #443657;
    font-size: 13px;
    font-weight: 800;
}

.trust-subtitle {
    margin: 0;

    color: #756b83;
    font-size: 11px;
    line-height: 1.8;
}

.enamad-link {
    display: grid;
    place-items: center;
    flex: 0 0 auto;

    width: 78px;
    height: 78px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.58);

    box-shadow:
        0 8px 20px rgba(75, 58, 105, 0.10);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.enamad-link:hover,
.enamad-link:focus-visible {
    transform: translateY(-5px) rotate(2deg);

    box-shadow:
        0 15px 28px rgba(var(--footer-pink), 0.20);
}

.enamad-link:focus-visible {
    outline: 3px solid rgba(var(--footer-blue), 0.24);
    outline-offset: 3px;
}

.enamad-link img {
    width: 68px;
    height: 68px;

    object-fit: contain;
}

.enamad-link.is-placeholder {
    cursor: default;
    opacity: 0.72;
}


/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin-top: 14px;
    padding: 15px 20px;

    color: #756b83;
    font-size: 11px;
}

.footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
}

.footer-bottom-links a {
    position: relative;

    color: #756b83;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-bottom-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;

    width: 0;
    height: 2px;

    border-radius: 999px;
    background: rgb(var(--footer-pink));

    transition: width 0.25s ease;
}

.footer-bottom-links a:hover {
    color: #d43d91;
    transform: translateY(-2px);
}

.footer-bottom-links a:hover::after {
    width: 100%;
}


/* =========================================================
   DECORATIVE BUBBLES
   ========================================================= */

.q-footer-bubbles {
    position: absolute;
    inset: 0;
    z-index: 0;

    overflow: hidden;
    border-radius: inherit;

    pointer-events: none;
}

.q-footer-bubbles span {
    position: absolute;
    bottom: -90px;
    left: var(--left);

    width: var(--size);
    height: var(--size);

    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 24%,
            rgba(255, 255, 255, 0.90) 0 8%,
            transparent 18%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.35),
            rgba(var(--tone), 0.12)
        );

    box-shadow:
        inset 0 0 16px rgba(255, 255, 255, 0.50),
        0 8px 28px rgba(var(--tone), 0.12);

    animation: footer-bubble-rise var(--duration) ease-in infinite;
    animation-delay: var(--delay);
}

.q-footer-bubbles .extracted-style-1 {
    --size: 42px;
    --left: 5%;
    --duration: 13s;
    --delay: -2s;
    --drift: 28px;
    --tone: 255, 105, 180;
}

.q-footer-bubbles .extracted-style-2 {
    --size: 25px;
    --left: 18%;
    --duration: 10s;
    --delay: -7s;
    --drift: -18px;
    --tone: 85, 190, 255;
}

.q-footer-bubbles .extracted-style-3 {
    --size: 58px;
    --left: 34%;
    --duration: 16s;
    --delay: -10s;
    --drift: 36px;
    --tone: 145, 105, 255;
}

.q-footer-bubbles .extracted-style-4 {
    --size: 31px;
    --left: 51%;
    --duration: 12s;
    --delay: -5s;
    --drift: -26px;
    --tone: 95, 225, 190;
}

.q-footer-bubbles .extracted-style-5 {
    --size: 48px;
    --left: 69%;
    --duration: 15s;
    --delay: -12s;
    --drift: 24px;
    --tone: 255, 105, 180;
}

.q-footer-bubbles .extracted-style-6 {
    --size: 22px;
    --left: 82%;
    --duration: 9s;
    --delay: -4s;
    --drift: -20px;
    --tone: 85, 190, 255;
}

.q-footer-bubbles .extracted-style-7 {
    --size: 36px;
    --left: 93%;
    --duration: 14s;
    --delay: -9s;
    --drift: -32px;
    --tone: 145, 105, 255;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes footer-arrive {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes footer-aurora {
    to {
        transform: rotate(360deg);
    }
}

@keyframes footer-glass-shine {
    0%,
    18% {
        transform: translateX(-120%);
    }

    50%,
    100% {
        transform: translateX(120%);
    }
}

@keyframes footer-logo-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes footer-social-float {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-6px) rotate(1.5deg);
    }
}

@keyframes footer-gradient-line {
    to {
        background-position: 200% 0;
    }
}

@keyframes footer-bubble-rise {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) scale(0.8);
    }

    15% {
        opacity: 0.8;
    }

    85% {
        opacity: 0.65;
    }

    100% {
        opacity: 0;
        transform:
            translate3d(var(--drift), -680px, 0)
            scale(1.12);
    }
}


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

/* Keep the complete desktop footer visible below the fixed navigation. */
@media (min-width: 901px) {
    .site-footer {
        margin-top: 56px;
        padding: 26px 28px;
        border-radius: 40px;
    }

    .footer-grid {
        gap: 14px;
    }

    .footer-col {
        gap: 6px;
        padding: 18px 20px;
        border-radius: 24px;
    }

    .footer-brand {
        gap: 10px;
    }

    .footer-brand img {
        width: 46px;
        height: 46px;
    }

    .footer-brand span {
        font-size: 19px;
    }

    .footer-description {
        margin-top: 2px;
        font-size: 12px;
        line-height: 1.8;
    }

    .footer-social-title {
        margin-top: 4px;
    }

    .footer-social {
        margin-top: 3px;
        padding-block: 7px 1px;
    }

    .footer-heading {
        margin-bottom: 4px;
        padding-bottom: 9px;
        font-size: 15px;
    }

    .footer-heading::after {
        height: 3px;
    }

    .footer-link {
        min-height: 36px;
        padding: 5px 8px;
        font-size: 12px;
    }

    .footer-link-arrow {
        width: 24px;
        height: 24px;
    }

    .footer-contact-row {
        min-height: 40px;
        padding: 5px 7px;
        font-size: 12px;
    }

    .footer-contact-icon {
        width: 30px;
        height: 30px;
        border-radius: 10px;
    }

    .footer-contact-icon svg {
        width: 15px;
        height: 15px;
    }

    .footer-trust {
        margin-top: 12px;
        padding: 10px 16px;
        border-radius: 21px;
    }

    .enamad-link {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .enamad-link img {
        width: 52px;
        height: 52px;
    }

    .footer-bottom {
        margin-top: 9px;
        padding: 10px 16px;
        border-radius: 18px;
    }
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .site-footer {
        width: calc(100% - 20px);
        margin-top: 46px;
        padding: 14px;

        border-radius: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-col,
    .footer-col:first-child {
        grid-column: auto;
        padding: 19px;

        border-radius: 24px;
    }

    .footer-col:hover {
        transform: translateY(-3px);
    }

    .footer-link:hover,
    .footer-link:focus-visible,
    .footer-contact-row:hover {
        transform: translateX(-3px);
    }

    .footer-trust {
        align-items: flex-start;
        padding: 14px;

        border-radius: 22px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;

        padding: 14px;

        text-align: center;
        border-radius: 22px;
    }

    .footer-heading {
        font-size: 15px;
    }

    .footer-link,
    .footer-contact-row {
        font-size: 12px;
    }

    .enamad-link {
        width: 68px;
        height: 68px;
    }

    .enamad-link img {
        width: 58px;
        height: 58px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    .site-footer,
    .site-footer::before,
    .site-footer::after,
    .footer-brand img,
    .footer-heading::after,
    .footer-social-float,
    .q-footer-bubbles span {
        animation: none;
    }

    .footer-col,
    .footer-link,
    .footer-link::before,
    .footer-link::after,
    .footer-link-arrow,
    .footer-contact-row,
    .footer-contact-row::before,
    .footer-contact-row::after,
    .footer-contact-icon,
    .footer-social-float::after,
    .footer-social-item,
    .footer-social-icon,
    .enamad-link {
        transition: none;
    }
}
