/* One footer presentation across the homepage and all public views. */
.anchor-footer {
    --footer-accent: #ffb31a;
    --footer-muted: #9aa3b1;
    --footer-line: rgba(255, 255, 255, .1);
    position: relative;
    overflow: hidden;
    direction: rtl;
    color: #f3f1eb;
    background: #090c11;
    border-top: 1px solid var(--footer-line);
    font-family: "IBM Plex Sans Arabic", sans-serif;
    text-align: start;
}

.anchor-footer .container {
    width: 100%;
    max-width: 1360px;
    padding-inline: clamp(20px, 4vw, 48px);
}

.anchor-footer .anchor-footer-main {
    padding: clamp(48px, 6vw, 80px) 0 38px;
}

.anchor-footer .anchor-footer-grid {
    direction: rtl;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .7fr) minmax(0, 1.2fr);
    align-items: start;
    gap: clamp(32px, 4vw, 64px);
}

.anchor-footer :is(.anchor-footer-brand, .anchor-footer-column) {
    min-width: 0;
    max-width: none;
    grid-column: auto;
    text-align: start;
}

.anchor-footer .anchor-footer-logo {
    display: inline-flex;
    align-items: center;
    margin: 0 0 20px;
}

.anchor-footer .anchor-footer-logo img {
    display: block;
    width: auto;
    max-width: 180px;
    max-height: 58px;
    object-fit: contain;
}

.anchor-footer .anchor-footer-description {
    max-width: 34ch;
    margin: 0;
    color: var(--footer-muted);
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-size: 15px;
    line-height: 2;
}

.anchor-footer .anchor-footer-heading {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 14px;
    color: #f3f1eb;
    font-family: "Alexandria", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

.anchor-footer .anchor-footer-heading::after {
    content: "";
    position: absolute;
    right: 0;
    left: auto;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--footer-accent);
}

.anchor-footer :is(.anchor-footer-links, .anchor-footer-contact) {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.anchor-footer .anchor-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: #bac1cc;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-size: 15px;
    text-decoration: none;
    transition: color .2s ease;
}

.anchor-footer .anchor-footer-contact {
    gap: 14px;
}

.anchor-footer .anchor-footer-contact li {
    display: grid;
    justify-items: start;
    gap: 0;
    color: var(--footer-muted);
    line-height: 1.6;
}

.anchor-footer .anchor-footer-contact-label {
    color: var(--footer-muted);
    font-size: 12px;
}

.anchor-footer .anchor-footer-contact-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    max-width: 100%;
    color: #f3f1eb;
    font-family: "IBM Plex Mono", monospace;
    font-size: 14px;
    line-height: 1.5;
    unicode-bidi: isolate;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color .2s ease;
}

.anchor-footer .anchor-footer-phone-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 18px;
    min-width: 0;
}

.anchor-footer :is(.anchor-footer-contact-link, .anchor-footer-links a):hover {
    color: var(--footer-accent);
}

.anchor-footer .anchor-footer-contact-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid var(--footer-line);
}

.anchor-footer .anchor-footer-contact-action {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-width: 0;
    min-height: 104px;
    padding: 20px;
    color: #f3f1eb;
    background: var(--footer-action-surface, #10151d);
    border: 1px solid var(--footer-action-border, var(--footer-line));
    border-radius: 14px;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    text-align: start;
    text-decoration: none;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.anchor-footer .anchor-footer-contact-action--whatsapp {
    --footer-action-accent: #75bd98;
    --footer-action-tint: rgba(75, 153, 108, .12);
    --footer-action-border: rgba(117, 189, 152, .19);
    --footer-action-hover-border: rgba(117, 189, 152, .46);
    --footer-action-surface: #101b18;
    --footer-action-hover-surface: #14241e;
}

.anchor-footer .anchor-footer-contact-action--facebook {
    --footer-action-accent: #82a5df;
    --footer-action-tint: rgba(91, 134, 202, .12);
    --footer-action-border: rgba(130, 165, 223, .19);
    --footer-action-hover-border: rgba(130, 165, 223, .46);
    --footer-action-surface: #111925;
    --footer-action-hover-surface: #162135;
}

.anchor-footer .anchor-footer-action-icon {
    display: grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--footer-action-accent, var(--footer-accent));
    background: var(--footer-action-tint, rgba(255, 179, 26, .08));
}

.anchor-footer .anchor-footer-action-icon svg {
    width: 23px;
    height: 23px;
}

.anchor-footer .anchor-footer-action-text {
    flex: 1;
    min-width: 0;
}

.anchor-footer .anchor-footer-action-text strong {
    display: block;
    color: inherit;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.7;
}

.anchor-footer .anchor-footer-action-text small {
    display: block;
    margin-top: 3px;
    color: var(--footer-muted);
    font-size: 12px;
    line-height: 1.8;
}

.anchor-footer .anchor-footer-action-arrow {
    flex: none;
    width: 18px;
    height: 18px;
    color: #788395;
    transition: color .25s ease, transform .25s ease;
}

.anchor-footer .anchor-footer-contact-action:hover {
    color: #f3f1eb;
    background: var(--footer-action-hover-surface, #151b25);
    border-color: var(--footer-action-hover-border, rgba(255, 179, 26, .45));
    transform: translateY(-3px);
}

.anchor-footer .anchor-footer-contact-action:hover .anchor-footer-action-arrow {
    color: var(--footer-action-accent, var(--footer-accent));
    transform: translate(2px, -2px);
}

.anchor-footer a:focus-visible {
    outline: 2px solid var(--footer-accent);
    outline-offset: 4px;
    border-radius: 4px;
}

.anchor-footer .anchor-footer-bottom {
    background: transparent;
    border-top: 1px solid var(--footer-line);
}

.anchor-footer .anchor-footer-bottom-inner {
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 20px;
    min-height: 72px;
    padding-block: 16px;
    color: #788395;
    font-family: "IBM Plex Sans Arabic", sans-serif;
    font-size: 12px;
    line-height: 1.8;
}

.anchor-footer .anchor-footer-tagline {
    direction: ltr;
    color: var(--footer-accent);
    font-family: "IBM Plex Mono", monospace;
    font-size: 10px;
    letter-spacing: .04em;
}

.anchor-footer .anchor-footer-bottom-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 24px;
}

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

    .anchor-footer .anchor-footer-brand {
        grid-column: 1 / -1;
    }

    .anchor-footer .anchor-footer-description {
        max-width: 52ch;
    }

    .anchor-footer .anchor-footer-contact-action {
        gap: 10px;
        padding: 16px 14px;
    }

    .anchor-footer .anchor-footer-action-text strong {
        font-size: 14px;
    }

    .anchor-footer .anchor-footer-action-arrow {
        display: none;
    }
}

@media (max-width: 700px) {
    .anchor-footer .anchor-footer-contact-actions {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 30px;
        padding-top: 24px;
    }

    .anchor-footer .anchor-footer-contact-action {
        min-height: 88px;
        padding: 16px;
        gap: 14px;
    }

    .anchor-footer .anchor-footer-action-text strong {
        font-size: 16px;
    }

    .anchor-footer .anchor-footer-action-arrow {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .anchor-footer .anchor-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .anchor-footer .anchor-footer-brand {
        grid-column: auto;
    }

    .anchor-footer .anchor-footer-main {
        padding-bottom: 28px;
    }

    .anchor-footer .anchor-footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding-block: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .anchor-footer :is(a, svg) {
        transition: none;
    }

    .anchor-footer .anchor-footer-contact-action:hover,
    .anchor-footer .anchor-footer-contact-action:hover .anchor-footer-action-arrow {
        transform: none;
    }
}
