.tw-footer--acf {
    --tw-footer-bg: #03131e;
    --tw-footer-bg-2: #02101a;
    --tw-footer-panel: rgba(4, 24, 35, .78);
    --tw-footer-border: #13b9e8;
    --tw-footer-border-soft: rgba(19, 185, 232, .34);
    --tw-footer-text: #f7fbfd;
    --tw-footer-muted: rgba(233, 242, 246, .84);
    --tw-footer-gold: #f2bd45;
    --tw-footer-cyan: #17cbee;
    position: relative;
    overflow: hidden;
    padding: clamp(1.75rem, 3vw, 3rem) 0;
    background:
        radial-gradient(42rem 22rem at 0% 15%, rgba(13, 153, 207, .10), transparent 72%),
        radial-gradient(44rem 24rem at 100% 0%, rgba(20, 190, 231, .08), transparent 74%),
        linear-gradient(180deg, var(--tw-footer-bg) 0%, var(--tw-footer-bg-2) 100%);
    color: var(--tw-footer-text);
    border-top: 1px solid rgba(50, 119, 140, .17);
}

.tw-footer--acf::before,
.tw-footer--acf::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.tw-footer--acf::before {
    width: 54rem;
    height: 54rem;
    top: -37rem;
    right: -16rem;
    border: 1px solid rgba(35, 186, 229, .15);
    border-radius: 50%;
    box-shadow: 0 0 80px rgba(18, 176, 220, .045);
}

.tw-footer--acf::after {
    inset: 0;
    opacity: .22;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(25, 188, 229, .20) 1px, transparent 1.2px);
    background-size: 12px 12px;
    mask-image: linear-gradient(135deg, #000 0 10%, transparent 25% 75%, #000 92% 100%);
}

.tw-footer__frame {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid var(--tw-footer-border);
    border-radius: 1.35rem;
    background:
        radial-gradient(25rem 12rem at 7% 12%, rgba(21, 185, 230, .055), transparent 72%),
        linear-gradient(180deg, rgba(3, 23, 34, .86), rgba(2, 15, 24, .92));
    box-shadow:
        0 1.25rem 3.75rem rgba(0,0,0,.22),
        inset 0 0 0 1px rgba(255,255,255,.015),
        0 0 25px rgba(16, 193, 234, .055);
}

.tw-footer__top {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 3.4vw, 3rem) clamp(1.6rem, 3vw, 2.7rem) clamp(1.7rem, 2.9vw, 2.4rem);
}

.tw-footer__grid {
    display: grid;
    direction: ltr;
    grid-template-columns: minmax(21rem, 1.55fr) minmax(9.5rem, .72fr) minmax(13rem, .92fr) minmax(14rem, 1fr);
    gap: clamp(1.6rem, 3vw, 3.25rem);
    align-items: start;
}

.tw-footer__brand,
.tw-footer__column {
    direction: rtl;
    text-align: right;
}

.tw-footer__brand {
    padding-inline-end: clamp(.5rem, 1vw, 1rem);
}

.tw-footer__brand-link {
    display: inline-flex;
    align-items: center;
    min-height: 7rem;
    color: inherit;
    text-decoration: none;
    overflow: visible;
}

.tw-footer__logo {
    width: clamp(18.5rem, 23vw, 22rem) !important;
    height: 7rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
}

.tw-footer__logo img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    display: block;
    object-fit: contain !important;
    object-position: right center !important;
    transform: scale(1.08);
    transform-origin: right center;
}

.tw-footer__tagline {
    max-width: 30rem;
    margin: .85rem 0 0;
    color: var(--tw-footer-muted);
    font-size: .96rem;
    font-weight: 500;
    line-height: 2.05;
}

.tw-footer__heading {
    position: relative;
    margin: .25rem 0 1.15rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.45;
}

.tw-footer__heading::after {
    content: "";
    display: block;
    width: 2rem;
    height: 2px;
    margin-top: .55rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(242,189,69,.12), var(--tw-footer-gold), rgba(242,189,69,.12));
}

.tw-footer__links,
.tw-footer__contact-list,
.tw-footer__socials {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tw-footer__links {
    display: grid;
    gap: .7rem;
}

.tw-footer__links a,
.tw-footer__contact-list a,
.tw-footer__legal a {
    color: var(--tw-footer-muted);
    text-decoration: none;
    transition: color .18s ease, transform .18s ease;
}

.tw-footer__links a {
    display: inline-flex;
    font-size: .92rem;
    font-weight: 550;
}

.tw-footer__links a:hover,
.tw-footer__contact-list a:hover,
.tw-footer__legal a:hover {
    color: #fff;
    text-decoration: none;
}

.tw-footer__links a:hover { transform: translateX(-2px); }

.tw-footer__contact-list {
    display: grid;
    gap: .82rem;
}

.tw-footer__contact-list li {
    display: flex;
    align-items: center;
    gap: .62rem;
    color: var(--tw-footer-muted);
    font-size: .92rem;
    line-height: 1.7;
}

.tw-footer__contact-icon {
    width: 1.08rem;
    height: 1.08rem;
    flex: 0 0 1.08rem;
    display: inline-grid;
    place-items: center;
    color: var(--tw-footer-gold);
}

.tw-footer__contact-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tw-footer__socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.1rem;
}

.tw-footer__social {
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: .62rem;
    color: rgba(248, 252, 253, .96);
    background: linear-gradient(180deg, rgba(9, 42, 56, .92), rgba(4, 26, 37, .96));
    border: 1px solid rgba(20, 188, 229, .62);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04),
        0 0 0 1px rgba(255,255,255,.012);
    text-decoration: none;
    line-height: 1;
    transition: transform .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.tw-footer__social svg {
    position: static !important;
    display: block !important;
    width: 1.28rem !important;
    height: 1.28rem !important;
    min-width: 1.28rem;
    min-height: 1.28rem;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    translate: none !important;
    overflow: visible;
    flex: 0 0 1.28rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tw-footer__social svg .tw-footer__icon-solid,
.tw-footer__social svg .tw-footer__icon-fill {
    fill: currentColor;
    stroke: none;
}

.tw-footer__social--linkedin svg,
.tw-footer__social--telegram svg,
.tw-footer__social--youtube svg,
.tw-footer__social--x svg,
.tw-footer__social--facebook svg {
    fill: currentColor;
    stroke: none;
}

.tw-footer__social:hover {
    transform: translateY(-2px);
    color: #fff;
    border-color: var(--tw-footer-cyan);
    background: rgba(8, 44, 58, .98);
    box-shadow: 0 .55rem 1.4rem rgba(0,0,0,.18), 0 0 18px rgba(24, 201, 236, .10);
    text-decoration: none;
}

.tw-footer__social--whatsapp:hover { color: #5ee59a; }
.tw-footer__social--instagram:hover { color: #f6c04f; }
.tw-footer__social--linkedin:hover,
.tw-footer__social--telegram:hover { color: #5bd3fa; }
.tw-footer__social--youtube:hover { color: #ff6d6d; }

.tw-footer__bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(33, 176, 214, .44);
    background: rgba(1, 13, 20, .20);
}

.tw-footer__bottom-inner {
    min-height: 4.4rem;
    padding: .8rem clamp(1.6rem, 3vw, 2.7rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.tw-footer__copyright {
    margin: 0;
    display: flex;
    align-items: center;
    gap: .38rem;
    flex-wrap: wrap;
    color: rgba(235, 242, 245, .88);
    font-size: .82rem;
    line-height: 1.7;
}

.tw-footer__copyright-years {
    color: var(--tw-footer-gold);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.tw-footer__legal {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-wrap: wrap;
}

.tw-footer__legal a {
    position: relative;
    font-size: .82rem;
    color: rgba(233, 241, 244, .86);
}

.tw-footer__legal a + a::before {
    content: "";
    position: absolute;
    inset-inline-end: calc(100% + .57rem);
    top: 50%;
    width: 1px;
    height: .85rem;
    transform: translateY(-50%);
    background: rgba(220, 233, 238, .42);
}

@media (max-width: 1120px) {
    .tw-footer__grid {
        grid-template-columns: minmax(18rem, 1.35fr) 1fr 1fr;
        gap: 2.2rem 1.8rem;
    }

    .tw-footer__brand {
        grid-column: 1 / -1;
        max-width: 38rem;
    }
}

@media (max-width: 720px) {
    .tw-footer--acf {
        padding: 1.25rem 0;
    }

    .tw-footer__frame {
        width: min(calc(100% - 1rem), 31rem);
        border-radius: 1.15rem;
    }

    .tw-footer__top {
        padding: 1.6rem 1rem 1.25rem;
    }

    .tw-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
    }

    .tw-footer__brand {
        grid-column: 1 / -1;
        max-width: none;
        padding: 0 0 1.25rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-bottom: 1px solid rgba(31, 177, 214, .38);
    }

    .tw-footer__brand-link {
        min-height: 5.6rem;
        justify-content: center;
    }

    .tw-footer__logo {
        width: min(18rem, 90vw) !important;
        height: 5.6rem;
        justify-content: center;
    }

    .tw-footer__logo img {
        object-position: center center !important;
        transform: scale(1.05);
        transform-origin: center center;
    }

    .tw-footer__tagline {
        max-width: 25rem;
        margin-top: .65rem;
        text-align: center;
        font-size: .9rem;
        line-height: 1.95;
    }

    .tw-footer__socials {
        justify-content: center;
        margin-top: .9rem;
    }

    .tw-footer__social {
        width: 2.5rem;
        height: 2.5rem;
        flex-basis: 2.5rem;
    }

    .tw-footer__quick,
    .tw-footer__contact {
        grid-column: auto;
        min-width: 0;
        padding: 1.25rem .8rem 1.15rem;
    }

    .tw-footer__quick {
        border-inline-end: 1px solid rgba(31, 177, 214, .28);
    }

    .tw-footer__contact {
        border-inline-start: 0;
    }

    .tw-footer__services {
        grid-column: 1 / -1;
        padding: 1.1rem .8rem .25rem;
        border-top: 1px solid rgba(31, 177, 214, .34);
    }

    .tw-footer__services .tw-footer__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem 1rem;
    }

    .tw-footer__heading {
        font-size: .96rem;
        margin-bottom: .85rem;
    }

    .tw-footer__heading::after {
        width: 1.7rem;
    }

    .tw-footer__links {
        gap: .52rem;
    }

    .tw-footer__links a,
    .tw-footer__contact-list li {
        font-size: .82rem;
    }

    .tw-footer__contact-list {
        gap: .58rem;
    }

    .tw-footer__bottom-inner {
        min-height: auto;
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: .7rem;
    }

    .tw-footer__legal,
    .tw-footer__copyright {
        justify-content: center;
    }
}

@media (max-width: 430px) {
    .tw-footer__top {
        padding-inline: .75rem;
    }

    .tw-footer__quick,
    .tw-footer__contact {
        padding-inline: .55rem;
    }

    .tw-footer__links a,
    .tw-footer__contact-list li {
        font-size: .78rem;
    }

    .tw-footer__social {
        width: 2.35rem;
        height: 2.35rem;
        flex-basis: 2.35rem;
    }

    .tw-footer__social svg {
        width: 1.18rem !important;
        height: 1.18rem !important;
        min-width: 1.18rem;
        min-height: 1.18rem;
    }

    .tw-footer__copyright,
    .tw-footer__legal a {
        font-size: .75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tw-footer__social,
    .tw-footer__links a {
        transition: none;
    }
}

/* v4 — exact social icon centering + deterministic two-column mobile grid */
.tw-footer__socials > li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.55rem;
    height: 2.55rem;
    flex: 0 0 2.55rem;
    margin: 0;
    padding: 0;
    line-height: 0;
}

.tw-footer__social {
    position: relative;
    display: block !important;
    width: 2.55rem !important;
    height: 2.55rem !important;
    min-width: 2.55rem;
    min-height: 2.55rem;
    flex: 0 0 2.55rem;
    padding: 0 !important;
    line-height: 0 !important;
}

.tw-footer__social > svg {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: 1.28rem !important;
    height: 1.28rem !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, -50%) !important;
    translate: none !important;
    transform-origin: center center !important;
    overflow: visible;
}

@media (max-width: 720px) {
    .tw-footer__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas:
            "brand brand"
            "quick contact"
            "services services";
        gap: 0;
        align-items: stretch;
    }

    .tw-footer__brand {
        grid-area: brand;
        grid-column: auto;
        grid-row: auto;
    }

    .tw-footer__quick {
        grid-area: quick;
        grid-column: auto;
        grid-row: auto;
        min-width: 0;
        padding: 1.25rem .72rem 1.15rem;
        border-inline-end: 1px solid rgba(31, 177, 214, .28);
        border-inline-start: 0;
    }

    .tw-footer__contact {
        grid-area: contact;
        grid-column: auto;
        grid-row: auto;
        min-width: 0;
        padding: 1.25rem .72rem 1.15rem;
        border-inline-start: 0;
        border-inline-end: 0;
    }

    .tw-footer__services {
        grid-area: services;
        grid-column: auto;
        grid-row: auto;
        min-width: 0;
        padding: 1.1rem .72rem .35rem;
        border-top: 1px solid rgba(31, 177, 214, .34);
    }

    .tw-footer__quick .tw-footer__heading,
    .tw-footer__contact .tw-footer__heading,
    .tw-footer__services .tw-footer__heading {
        margin-top: 0;
    }

    .tw-footer__quick .tw-footer__links,
    .tw-footer__contact-list {
        min-width: 0;
    }

    .tw-footer__contact-list li {
        min-width: 0;
        align-items: flex-start;
    }

    .tw-footer__contact-list a,
    .tw-footer__contact-list span:not(.tw-footer__contact-icon) {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .tw-footer__services .tw-footer__links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: .9rem;
        row-gap: .58rem;
    }

    .tw-footer__services .tw-footer__links > li {
        min-width: 0;
        position: relative;
        padding-inline-start: .8rem;
    }

    .tw-footer__services .tw-footer__links > li::before {
        content: "";
        position: absolute;
        inset-inline-start: 0;
        top: .72em;
        width: .34rem;
        height: .34rem;
        border-radius: 50%;
        background: var(--tw-footer-gold);
        box-shadow: 0 0 8px rgba(242, 189, 69, .22);
    }

    .tw-footer__socials > li,
    .tw-footer__social {
        width: 2.5rem !important;
        height: 2.5rem !important;
        min-width: 2.5rem;
        min-height: 2.5rem;
        flex-basis: 2.5rem;
    }
}

@media (max-width: 430px) {
    .tw-footer__quick,
    .tw-footer__contact,
    .tw-footer__services {
        padding-inline: .5rem;
    }

    .tw-footer__socials > li,
    .tw-footer__social {
        width: 2.35rem !important;
        height: 2.35rem !important;
        min-width: 2.35rem;
        min-height: 2.35rem;
        flex-basis: 2.35rem;
    }

    .tw-footer__social > svg {
        width: 1.18rem !important;
        height: 1.18rem !important;
    }

    .tw-footer__services .tw-footer__links {
        column-gap: .65rem;
        row-gap: .5rem;
    }
}

/* v5 — Desktop reference lock (approved screenshot) */
@media (min-width: 1121px) {
    .tw-footer--acf {
        padding: 0;
        min-height: 28.45rem;
        background: #031722;
        border-top: 1px solid rgba(37, 113, 134, .18);
    }

    .tw-footer--acf::before,
    .tw-footer--acf::after {
        display: none;
    }

    .tw-footer__frame {
        width: min(calc(100% - 2rem), var(--tw-shell));
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .tw-footer__top {
        padding: 2.55rem 0 3.25rem;
    }

    .tw-footer__grid {
        display: grid;
        direction: ltr;
        grid-template-columns: 25rem 9.5rem 13rem 15rem;
        justify-content: space-between;
        gap: 0;
        align-items: start;
    }

    .tw-footer__brand,
    .tw-footer__column {
        direction: rtl;
        text-align: right;
        min-width: 0;
    }

    .tw-footer__brand {
        padding: 0;
    }

    .tw-footer__brand-link {
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 7.1rem;
        overflow: visible;
    }

    .tw-footer__logo {
        width: 22.9rem !important;
        height: auto !important;
        min-height: 0;
        display: inline-flex !important;
        align-items: center;
        justify-content: flex-end;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible;
    }

    .tw-footer__logo img {
        width: 100% !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
        display: block;
        object-fit: contain !important;
        object-position: right center !important;
        transform: scale(1.03);
        transform-origin: right center;
    }

    .tw-footer__tagline {
        width: 24rem;
        max-width: 24rem;
        margin: .95rem 0 0;
        color: rgba(229, 240, 245, .88);
        font-size: .96rem;
        font-weight: 500;
        line-height: 2;
        text-align: right;
    }

    .tw-footer__heading {
        margin: .25rem 0 1.05rem;
        color: #fff;
        font-size: 1rem;
        font-weight: 900;
        line-height: 1.45;
        text-align: right;
    }

    .tw-footer__heading::after {
        width: 1.55rem;
        height: 2px;
        margin-top: .62rem;
        margin-inline-start: auto;
        margin-inline-end: 0;
        background: linear-gradient(90deg, rgba(242, 189, 69, .18), #d8a429, rgba(242, 189, 69, .08));
    }

    .tw-footer__links {
        gap: .79rem;
    }

    .tw-footer__links a {
        font-size: .93rem;
        font-weight: 560;
        line-height: 1.7;
    }

    .tw-footer__contact-list {
        gap: .78rem;
    }

    .tw-footer__contact-list li {
        gap: .62rem;
        font-size: .92rem;
        line-height: 1.7;
    }

    .tw-footer__contact-icon {
        width: 1rem;
        height: 1rem;
        flex-basis: 1rem;
    }

    .tw-footer__socials {
        direction: rtl;
        width: 24rem;
        max-width: 24rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: .58rem;
        margin-top: 1.15rem;
    }

    .tw-footer__socials > li {
        width: 2.15rem;
        height: 2.15rem;
        flex: 0 0 2.15rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
        line-height: 0;
    }

    .tw-footer__social {
        position: relative;
        display: block !important;
        width: 2.15rem !important;
        height: 2.15rem !important;
        min-width: 2.15rem;
        min-height: 2.15rem;
        flex: 0 0 2.15rem;
        padding: 0 !important;
        border-radius: .55rem;
        border: 1px solid rgba(29, 126, 151, .38);
        background: rgba(6, 35, 47, .88);
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
        line-height: 0 !important;
    }

    .tw-footer__social > svg {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        right: auto !important;
        bottom: auto !important;
        width: 1.08rem !important;
        height: 1.08rem !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: translate(-50%, -50%) !important;
        transform-origin: 50% 50% !important;
        overflow: visible !important;
    }

    .tw-footer__bottom {
        border-top: 1px solid rgba(47, 104, 122, .34);
        background: transparent;
    }

    .tw-footer__bottom-inner {
        min-height: 4.75rem;
        padding: .8rem 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.25rem;
    }

    .tw-footer__copyright {
        color: rgba(197, 220, 228, .72);
        font-size: .78rem;
        line-height: 1.7;
    }

    .tw-footer__copyright-years {
        color: #f1b638;
        font-weight: 800;
    }

    .tw-footer__legal {
        gap: 1rem;
    }

    .tw-footer__legal a {
        color: rgba(186, 213, 223, .72);
        font-size: .78rem;
    }

    .tw-footer__legal a + a::before {
        inset-inline-end: calc(100% + .5rem);
        height: .72rem;
        background: rgba(178, 207, 216, .28);
    }
}

/* ========================================================================
 * v6 — APPROVED DESKTOP REFERENCE LOCK
 * Geometry is locked to the approved 2048×768 reference, scaled fluidly.
 * Mobile rules from the previous patch remain untouched and continue below
 * the desktop breakpoint only.
 * ===================================================================== */
@media (min-width: 1121px) {
    .tw-footer--acf {
        --tw-footer-reference-ratio: 37.5vw;
        min-height: clamp(34rem, var(--tw-footer-reference-ratio), 48rem) !important;
        padding: 0 !important;
        overflow: hidden;
        background: #031722 !important;
        border-top: 1px solid rgba(37, 113, 134, .16) !important;
    }

    .tw-footer--acf::before,
    .tw-footer--acf::after {
        display: none !important;
    }

    .tw-footer__frame {
        width: min(89.25vw, 114.25rem) !important;
        max-width: none !important;
        margin-inline: auto !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .tw-footer__top {
        position: relative !important;
        height: clamp(27.7rem, 30.52vw, 39.05rem) !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }

    .tw-footer__grid {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        direction: ltr !important;
    }

    .tw-footer__brand,
    .tw-footer__quick,
    .tw-footer__services,
    .tw-footer__contact {
        position: absolute !important;
        min-width: 0 !important;
        direction: rtl !important;
        text-align: right !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Brand block — matches the approved left column. */
    .tw-footer__brand {
        left: 4.2% !important;
        top: 2.8rem !important;
        width: 31% !important;
        max-width: none !important;
    }

    .tw-footer__brand-link {
        display: block !important;
        width: 25rem !important;
        height: 12rem !important;
        min-height: 0 !important;
        overflow: hidden !important;
        color: inherit;
        text-decoration: none;
    }

    .tw-footer__logo {
        position: relative !important;
        display: block !important;
        width: 25rem !important;
        height: 12rem !important;
        min-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .tw-footer__logo img {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 25rem !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        object-fit: contain !important;
        object-position: right top !important;
        transform: none !important;
        transform-origin: right top !important;
    }

    .tw-footer__tagline {
        width: 25rem !important;
        max-width: 25rem !important;
        margin: .72rem 0 0 !important;
        color: rgba(226, 238, 244, .88) !important;
        font-size: .98rem !important;
        font-weight: 500 !important;
        line-height: 2.05 !important;
        text-align: right !important;
    }

    /* Navigation columns — vertical and horizontal placement from reference. */
    .tw-footer__quick {
        left: 42% !important;
        top: 7rem !important;
        width: 12% !important;
    }

    .tw-footer__services {
        left: 61.5% !important;
        top: 7rem !important;
        width: 15% !important;
    }

    .tw-footer__contact {
        right: 1.8% !important;
        top: 7rem !important;
        width: 20% !important;
    }

    .tw-footer__heading {
        margin: 0 0 1.2rem !important;
        color: #fff !important;
        font-size: 1.06rem !important;
        font-weight: 900 !important;
        line-height: 1.45 !important;
        text-align: right !important;
    }

    .tw-footer__heading::after {
        display: block !important;
        width: 2rem !important;
        height: 2px !important;
        margin: .62rem 0 0 auto !important;
        border-radius: 999px !important;
        background: #d8a429 !important;
        opacity: .95 !important;
    }

    .tw-footer__links {
        display: grid !important;
        gap: .95rem !important;
    }

    .tw-footer__links a {
        display: inline-flex !important;
        color: rgba(226, 238, 244, .86) !important;
        font-size: .98rem !important;
        font-weight: 520 !important;
        line-height: 1.65 !important;
    }

    .tw-footer__contact-list {
        display: grid !important;
        gap: 1rem !important;
    }

    .tw-footer__contact-list li {
        display: flex !important;
        align-items: center !important;
        gap: .72rem !important;
        color: rgba(226, 238, 244, .86) !important;
        font-size: .96rem !important;
        line-height: 1.7 !important;
        white-space: nowrap;
    }

    .tw-footer__contact-icon {
        width: 1.12rem !important;
        height: 1.12rem !important;
        flex: 0 0 1.12rem !important;
        display: grid !important;
        place-items: center !important;
        color: #f2bd45 !important;
    }

    .tw-footer__contact-icon svg {
        width: 1.12rem !important;
        height: 1.12rem !important;
        display: block !important;
    }

    /* Social row — boxes and glyphs are both mathematically centered. */
    .tw-footer__socials {
        width: 25rem !important;
        max-width: 25rem !important;
        margin: 1.12rem 0 0 !important;
        padding: 0 !important;
        display: flex !important;
        direction: rtl !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        gap: .72rem !important;
    }

    .tw-footer__socials > li {
        width: 2.75rem !important;
        height: 2.75rem !important;
        min-width: 2.75rem !important;
        min-height: 2.75rem !important;
        flex: 0 0 2.75rem !important;
        display: grid !important;
        place-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    .tw-footer__social {
        position: relative !important;
        width: 2.75rem !important;
        height: 2.75rem !important;
        min-width: 2.75rem !important;
        min-height: 2.75rem !important;
        display: grid !important;
        place-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: .72rem !important;
        border: 1px solid rgba(32, 125, 151, .52) !important;
        background: rgba(5, 31, 43, .88) !important;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.012) !important;
        color: rgba(247, 251, 253, .96) !important;
        line-height: 0 !important;
        text-align: center !important;
    }

    .tw-footer__social > svg {
        position: static !important;
        inset: auto !important;
        width: 1.42rem !important;
        height: 1.42rem !important;
        min-width: 1.42rem !important;
        min-height: 1.42rem !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        translate: none !important;
        transform-origin: center center !important;
        overflow: visible !important;
        justify-self: center !important;
        align-self: center !important;
    }

    /* Divider and bottom row. */
    .tw-footer__bottom {
        position: relative !important;
        height: clamp(6.3rem, 6.98vw, 8.95rem) !important;
        border-top: 1px solid rgba(53, 105, 121, .42) !important;
        background: transparent !important;
    }

    .tw-footer__bottom-inner {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1.25rem !important;
    }

    .tw-footer__copyright {
        margin: 0 !important;
        color: rgba(194, 216, 225, .78) !important;
        font-size: .86rem !important;
        line-height: 1.7 !important;
    }

    .tw-footer__copyright-years {
        color: #f2b73a !important;
        font-weight: 850 !important;
    }

    .tw-footer__legal {
        display: flex !important;
        align-items: center !important;
        gap: 1.05rem !important;
        flex-wrap: nowrap !important;
    }

    .tw-footer__legal a {
        color: rgba(191, 215, 224, .78) !important;
        font-size: .86rem !important;
        line-height: 1.7 !important;
    }

    .tw-footer__legal a + a::before {
        inset-inline-end: calc(100% + .52rem) !important;
        height: .78rem !important;
        background: rgba(178, 207, 216, .32) !important;
    }
}

/* ========================================================================
 * MOBILE v1 — approved footer mobile composition
 * Desktop reference lock remains untouched (min-width: 1121px).
 * ===================================================================== */
.tw-footer__mobile-badge {
    display: none;
}

@media (max-width: 720px) {
    .tw-footer--acf {
        padding: 0 !important;
        background:
            radial-gradient(24rem 16rem at 100% 0%, rgba(0, 155, 210, .10), transparent 72%),
            linear-gradient(180deg, #031722 0%, #02131d 100%) !important;
    }

    .tw-footer__frame {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    .tw-footer__top {
        padding: 2rem .9rem 1.2rem !important;
    }

    .tw-footer__grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-areas:
            "brand brand"
            "quick services"
            "contact contact" !important;
        gap: .95rem !important;
        align-items: stretch !important;
    }

    .tw-footer__brand {
        grid-area: brand !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 .4rem 1.1rem !important;
        border: 0 !important;
        max-width: none !important;
    }

    .tw-footer__brand-link {
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        justify-content: center !important;
        overflow: visible !important;
    }

    .tw-footer__logo {
        width: min(20rem, 82vw) !important;
        height: auto !important;
        min-height: 0 !important;
        justify-content: center !important;
        overflow: visible !important;
    }

    .tw-footer__logo img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
        transform: none !important;
        max-width: none !important;
        max-height: none !important;
    }

    .tw-footer__tagline {
        width: min(30rem, 92vw) !important;
        max-width: 30rem !important;
        margin: .85rem auto 0 !important;
        text-align: center !important;
        font-size: .92rem !important;
        line-height: 2.05 !important;
    }

    .tw-footer__socials {
        justify-content: center !important;
        margin-top: 1rem !important;
        gap: .7rem !important;
    }

    .tw-footer__socials > li,
    .tw-footer__social {
        width: 2.7rem !important;
        height: 2.7rem !important;
        min-width: 2.7rem !important;
        min-height: 2.7rem !important;
        flex: 0 0 2.7rem !important;
    }

    .tw-footer__social {
        border-radius: .72rem !important;
        border-color: rgba(15, 158, 198, .58) !important;
        background: linear-gradient(180deg, rgba(7, 41, 55, .96), rgba(3, 28, 39, .98)) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.03) !important;
    }

    .tw-footer__social > svg {
        width: 1.28rem !important;
        height: 1.28rem !important;
    }

    .tw-footer__quick,
    .tw-footer__services,
    .tw-footer__contact {
        position: relative !important;
        min-width: 0 !important;
        border: 1px solid rgba(20, 132, 165, .34) !important;
        border-radius: 1rem !important;
        background:
            radial-gradient(14rem 8rem at 100% 0%, rgba(6, 114, 145, .10), transparent 72%),
            linear-gradient(180deg, rgba(5, 30, 42, .84), rgba(3, 24, 34, .94)) !important;
        box-shadow:
            inset 0 0 0 1px rgba(255,255,255,.012),
            0 .8rem 2.2rem rgba(0,0,0,.12) !important;
    }

    .tw-footer__quick {
        grid-area: quick !important;
        padding: 1.15rem .95rem 1rem !important;
        border-inline-end: 1px solid rgba(20, 132, 165, .34) !important;
    }

    .tw-footer__services {
        grid-area: services !important;
        padding: 1.15rem .95rem 1rem !important;
        border-top: 1px solid rgba(20, 132, 165, .34) !important;
    }

    .tw-footer__contact {
        grid-area: contact !important;
        padding: 1.25rem 1rem 1.05rem !important;
        overflow: hidden !important;
        border: 1px solid transparent !important;
        background:
            linear-gradient(#031923, #031923) padding-box,
            linear-gradient(135deg, #f0ba36 0%, #f0ba36 22%, #0ad6ff 76%, #0ad6ff 100%) border-box !important;
        box-shadow:
            0 0 0 1px rgba(255,255,255,.01) inset,
            -1.2rem 0 2.7rem rgba(242, 186, 54, .08),
            1.2rem 0 2.7rem rgba(10, 214, 255, .08) !important;
    }

    .tw-footer__contact::before,
    .tw-footer__contact::after {
        content: "";
        position: absolute;
        pointer-events: none;
        border-radius: 50%;
        filter: blur(10px);
        opacity: .32;
    }

    .tw-footer__contact::before {
        width: 7rem;
        height: 7rem;
        left: -3.6rem;
        bottom: -2.6rem;
        background: radial-gradient(circle, rgba(242,186,54,.6), transparent 70%);
    }

    .tw-footer__contact::after {
        width: 8rem;
        height: 8rem;
        right: -4.5rem;
        top: -3rem;
        background: radial-gradient(circle, rgba(10,214,255,.55), transparent 70%);
    }

    .tw-footer__mobile-badge {
        display: grid !important;
        place-items: center !important;
        position: absolute !important;
        top: 1rem !important;
        inset-inline-end: 1rem !important;
        width: 2.9rem !important;
        height: 2.9rem !important;
        border-radius: 999px !important;
        z-index: 2 !important;
        color: #f2bd45 !important;
        background: rgba(31, 34, 30, .82) !important;
        border: 1px solid rgba(242,189,69,.32) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
    }

    .tw-footer__mobile-badge--services {
        color: #f2bd45 !important;
    }

    .tw-footer__mobile-badge--contact {
        width: 3.25rem !important;
        height: 3.25rem !important;
        color: #f6bf3f !important;
        background: rgba(8, 35, 46, .96) !important;
        border-color: rgba(22, 198, 236, .82) !important;
        box-shadow: 0 0 18px rgba(10, 214, 255, .10) !important;
    }

    .tw-footer__mobile-badge svg {
        width: 1.35rem !important;
        height: 1.35rem !important;
        fill: none !important;
        stroke: currentColor !important;
        stroke-width: 1.8 !important;
        stroke-linecap: round !important;
        stroke-linejoin: round !important;
    }

    .tw-footer__quick .tw-footer__heading,
    .tw-footer__services .tw-footer__heading,
    .tw-footer__contact .tw-footer__heading {
        margin: 0 0 1rem !important;
        padding-inline-end: 3.2rem !important;
        font-size: 1.04rem !important;
        line-height: 1.45 !important;
        text-align: right !important;
    }

    .tw-footer__contact .tw-footer__heading {
        font-size: 1.15rem !important;
        padding-inline-end: 3.75rem !important;
    }

    .tw-footer__heading::after {
        width: 1.75rem !important;
        margin-top: .5rem !important;
    }

    .tw-footer__quick .tw-footer__links,
    .tw-footer__services .tw-footer__links {
        gap: .58rem !important;
    }

    .tw-footer__services .tw-footer__links {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .tw-footer__services .tw-footer__links > li {
        padding-inline-start: 0 !important;
    }

    .tw-footer__services .tw-footer__links > li::before {
        display: none !important;
    }

    .tw-footer__links a {
        font-size: .84rem !important;
        line-height: 1.65 !important;
    }

    .tw-footer__contact-list {
        position: relative !important;
        z-index: 2 !important;
        display: grid !important;
        gap: .58rem !important;
        margin-top: .35rem !important;
    }

    .tw-footer__contact-list li {
        min-height: 3.45rem !important;
        display: flex !important;
        align-items: center !important;
        gap: .75rem !important;
        padding: .35rem .45rem .35rem .8rem !important;
        border-radius: .78rem !important;
        border: 1px solid rgba(20, 139, 172, .34) !important;
        background: linear-gradient(180deg, rgba(4, 31, 43, .82), rgba(3, 25, 35, .88)) !important;
        color: rgba(242, 247, 250, .92) !important;
        font-size: .88rem !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.014) !important;
    }

    .tw-footer__contact-icon {
        width: 2.55rem !important;
        height: 2.55rem !important;
        flex: 0 0 2.55rem !important;
        display: grid !important;
        place-items: center !important;
        border-radius: .7rem !important;
        color: #f4c041 !important;
        background: linear-gradient(180deg, rgba(47, 49, 35, .78), rgba(27, 33, 31, .88)) !important;
        border: 1px solid rgba(242, 189, 69, .32) !important;
    }

    .tw-footer__contact-list li:nth-child(3) .tw-footer__contact-icon {
        color: #ffd54e !important;
        background: rgba(3, 42, 54, .94) !important;
        border-color: rgba(18, 189, 228, .62) !important;
    }

    .tw-footer__contact-icon svg {
        width: 1.15rem !important;
        height: 1.15rem !important;
    }

    .tw-footer__contact-list a,
    .tw-footer__contact-list span:not(.tw-footer__contact-icon) {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        font-size: .9rem !important;
        line-height: 1.55 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .tw-footer__bottom {
        margin-top: 0 !important;
        border-top: 1px solid rgba(26, 132, 163, .42) !important;
        background: transparent !important;
    }

    .tw-footer__bottom-inner {
        padding: 1rem .9rem 1.15rem !important;
        gap: .7rem !important;
    }

    .tw-footer__legal,
    .tw-footer__copyright {
        justify-content: center !important;
        text-align: center !important;
    }

    .tw-footer__legal {
        gap: .8rem !important;
    }

    .tw-footer__legal a,
    .tw-footer__copyright {
        font-size: .76rem !important;
    }
}

@media (max-width: 460px) {
    .tw-footer__top {
        padding-inline: .65rem !important;
    }

    .tw-footer__grid {
        gap: .7rem !important;
    }

    .tw-footer__quick,
    .tw-footer__services {
        padding: 1rem .7rem .9rem !important;
    }

    .tw-footer__contact {
        padding: 1.05rem .72rem .85rem !important;
    }

    .tw-footer__quick .tw-footer__heading,
    .tw-footer__services .tw-footer__heading {
        font-size: .96rem !important;
        padding-inline-end: 2.75rem !important;
    }

    .tw-footer__mobile-badge {
        width: 2.55rem !important;
        height: 2.55rem !important;
        top: .82rem !important;
        inset-inline-end: .72rem !important;
    }

    .tw-footer__mobile-badge--contact {
        width: 2.8rem !important;
        height: 2.8rem !important;
    }

    .tw-footer__links a {
        font-size: .78rem !important;
    }

    .tw-footer__contact-list li {
        min-height: 3.15rem !important;
        padding: .3rem .35rem !important;
    }

    .tw-footer__contact-icon {
        width: 2.25rem !important;
        height: 2.25rem !important;
        flex-basis: 2.25rem !important;
    }

    .tw-footer__contact-list a,
    .tw-footer__contact-list span:not(.tw-footer__contact-icon) {
        font-size: .82rem !important;
    }

    .tw-footer__socials > li,
    .tw-footer__social {
        width: 2.45rem !important;
        height: 2.45rem !important;
        min-width: 2.45rem !important;
        min-height: 2.45rem !important;
        flex-basis: 2.45rem !important;
    }
}

/* v2 — strict social icon centering fix (desktop + mobile) */
.tw-footer__socials > li {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 0 !important;
}

.tw-footer__social {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 0 !important;
}

.tw-footer__social > svg,
.tw-footer__social > img,
.tw-footer__social > i {
    position: static !important;
    inset: auto !important;
    display: block !important;
    margin: auto !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    justify-self: center !important;
    transform: none !important;
    translate: none !important;
    transform-origin: center center !important;
}

/* optical balance for the four active icons */
.tw-footer__social--whatsapp > svg,
.tw-footer__social--youtube > svg,
.tw-footer__social--linkedin > svg,
.tw-footer__social--instagram > svg {
    width: 1.55rem !important;
    height: 1.55rem !important;
}
