/* Public corporate footer — research desk chrome (no panel login CTA). */
.site-corporate-footer {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 151, 29, .22);
    color: #aab4c4;
    background:
        radial-gradient(ellipse 70% 50% at 88% 0%, rgba(49, 199, 213, .06), transparent 55%),
        radial-gradient(ellipse 55% 40% at 8% 100%, rgba(255, 151, 29, .07), transparent 50%),
        #050a12;
}

.site-footer-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 28%),
        radial-gradient(circle at 18% 8%, rgba(255, 151, 29, .11), transparent 28%);
}

.site-footer-orbit {
    position: absolute;
    inset-inline-end: -8%;
    top: -18%;
    width: min(520px, 55vw);
    height: min(520px, 55vw);
    pointer-events: none;
    opacity: .55;
}

.site-footer-orbit__ring {
    position: absolute;
    inset: 12%;
    border: 1px solid rgba(255, 151, 29, .12);
    border-radius: 50%;
}

.site-footer-orbit__ring--md {
    inset: 24%;
    border-color: rgba(49, 199, 213, .1);
}

.site-footer-orbit__ring--lg {
    animation: site-footer-orbit-spin 32s linear infinite;
}

.site-footer-orbit__ring--lg::before {
    position: absolute;
    inset-inline-start: 8%;
    top: 18%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--site-primary, #f9b707);
    box-shadow: 0 0 18px rgba(255, 151, 29, .55);
    content: "";
}

@keyframes site-footer-orbit-spin {
    to { transform: rotate(360deg); }
}

.site-footer-orbit__grid {
    position: absolute;
    inset: 18%;
    border-radius: 50%;
    opacity: .35;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(circle, #000 35%, transparent 72%);
}

.site-footer-shell { position: relative; z-index: 1; padding-top: 0; }

/* Match desk-shell / header rail so footer corners align with page content */
.site-corporate-footer .container.site-footer-shell {
    max-width: min(100% - 2.5rem, 1400px) !important;
    padding-inline: 0;
}

.site-footer-capabilities {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-inline: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .015);
}

.site-footer-capabilities > span {
    display: flex;
    min-width: 0;
    min-height: 68px;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .75rem;
    border-inline-end: 1px solid rgba(255, 255, 255, .06);
    color: #c6ceda;
    font-size: .73rem;
    font-weight: 600;
    text-align: center;
}

.site-footer-capabilities > span:last-child { border-inline-end: 0; }
.site-footer-capabilities .fa { color: var(--site-primary, #f9b707); font-size: 1rem; }

.site-footer-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #20c997;
    box-shadow: 0 0 12px #20c997;
    animation: site-footer-pulse 2.4s ease-in-out infinite;
}

@keyframes site-footer-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
}

.site-footer-main {
    display: grid;
    grid-template-columns: minmax(280px, 1.7fr) minmax(130px, .7fr) minmax(130px, .7fr) minmax(260px, 1.2fr);
    gap: clamp(1.5rem, 4vw, 4rem);
    padding-block: clamp(3rem, 6vw, 5.5rem);
}

.site-footer-brand,
.site-footer-column,
.site-footer-connect { min-width: 0; }

.site-footer-logo {
    display: inline-flex;
    max-width: 220px;
    min-height: 52px;
    align-items: center;
}

.site-footer-logo img {
    max-width: 100%;
    max-height: 54px;
    object-fit: contain;
}

.site-footer-positioning {
    margin: 1.25rem 0 .65rem;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.7;
}

.site-footer-about {
    max-width: 430px;
    margin: 0;
    color: #778296;
    font-size: .8rem;
    line-height: 1.9;
}

.site-footer-socials { display: flex; gap: .5rem; margin-top: 1.25rem; }

.site-footer-socials a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: .65rem;
    color: #9ca7b8;
    background: rgba(255, 255, 255, .025);
    transition: .2s ease;
}

.site-footer-socials a:hover {
    border-color: rgba(255, 151, 29, .45);
    color: #050a12;
    background: var(--site-primary, #f9b707);
    transform: translateY(-2px);
}

.site-footer-column {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: .75rem;
}

.site-footer-column h2 {
    position: relative;
    margin: 0 0 .55rem;
    padding-bottom: .75rem;
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
}

.site-footer-column h2::after {
    position: absolute;
    inset-inline-start: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--site-primary, #f9b707);
    content: "";
}

.site-footer-column a {
    position: relative;
    color: #7f8a9d;
    font-size: .78rem;
    line-height: 1.6;
    transition: .2s ease;
}

.site-footer-column a::before {
    display: inline-block;
    width: 0;
    color: var(--site-primary, #f9b707);
    content: "›";
    opacity: 0;
    transition: .2s ease;
}

html[dir="rtl"] .site-footer-column a::before { content: "‹"; }

.site-footer-column a:hover {
    color: #fff;
    transform: translateX(3px);
}

.site-footer-column a:hover::before {
    width: 13px;
    opacity: 1;
}

html[dir="rtl"] .site-footer-column a:hover { transform: translateX(-3px); }

.site-footer-connect {
    display: flex;
    align-items: stretch;
    flex-direction: column;
}

.site-footer-connect--wide {
    grid-column: span 3;
    max-width: 430px;
    justify-self: end;
    width: 100%;
}

.site-footer-desk {
    display: grid;
    gap: .85rem;
    margin-bottom: 1.15rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(255, 151, 29, .18);
    border-radius: .95rem;
    background:
        linear-gradient(145deg, rgba(255, 151, 29, .1), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}

.site-footer-desk__art {
    color: var(--site-primary, #f9b707);
    opacity: .9;
}

.site-footer-desk__art svg {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
}

.site-footer-desk__pulse {
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    animation: site-footer-draw 4.5s ease-in-out infinite;
}

@keyframes site-footer-draw {
    0% { stroke-dashoffset: 220; opacity: .35; }
    35% { stroke-dashoffset: 0; opacity: 1; }
    70% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: -40; opacity: .35; }
}

.site-footer-desk__copy {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.site-footer-desk__copy strong {
    color: #fff;
    font-size: .86rem;
    font-weight: 750;
}

.site-footer-desk__copy small {
    color: #7f8a9d;
    font-size: .68rem;
    line-height: 1.7;
}

.site-footer-connect-label {
    margin-bottom: .55rem;
    color: #7f8a9d;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .05em;
}

.site-footer-email {
    display: flex;
    min-height: 42px;
    align-items: center;
    gap: .6rem;
    overflow-wrap: anywhere;
    color: #d5dbe4;
    font-size: .78rem;
}

.site-footer-email i { color: var(--site-primary, #f9b707); }

.site-footer-risk {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: .75rem;
    color: #687386;
    background: rgba(255, 255, 255, .018);
}

.site-footer-risk i { margin-top: .2rem; color: #8c97a8; }
.site-footer-risk p { margin: 0; font-size: .68rem; line-height: 1.85; }

.site-footer-bottom {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .06);
    color: #596477;
    font-size: .68rem;
}

.site-footer-bottom p { margin: 0; }

.site-footer-bottom span {
    direction: ltr;
    color: #727e90;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .13em;
}

@media (max-width: 991.98px) {
    .site-footer-capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer-capabilities > span:nth-child(2) { border-inline-end: 0; }
    .site-footer-capabilities > span:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .site-footer-main { grid-template-columns: 1.35fr .65fr .65fr; gap: 2rem; }
    .site-footer-connect { grid-column: 1 / -1; }
    .site-footer-connect--wide { max-width: none; justify-self: stretch; }
    .site-footer-orbit { opacity: .35; }
}

@media (max-width: 575.98px) {
    .site-footer-capabilities { margin-inline: -15px; }
    .site-footer-capabilities > span { min-height: 58px; padding: .6rem .35rem; font-size: .62rem; }
    .site-footer-main { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; padding-block: 2.75rem; }
    .site-footer-brand { grid-column: 1 / -1; }
    .site-footer-logo { max-width: 180px; }
    .site-footer-positioning { font-size: .9rem; }
    .site-footer-column { gap: .62rem; }
    .site-footer-connect { grid-column: 1 / -1; }
    .site-footer-risk { padding: .8rem; }
    .site-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 1rem;
        text-align: start;
    }
}

@media (max-width: 359px) {
    .site-footer-capabilities { grid-template-columns: 1fr; }
    .site-footer-capabilities > span {
        border-inline-end: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .06) !important;
    }
    .site-footer-main { grid-template-columns: 1fr; }
    .site-footer-brand,
    .site-footer-connect { grid-column: 1; }
    .site-footer-column { padding-block: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer-socials a,
    .site-footer-column a,
    .site-footer-column a::before,
    .site-footer-desk__pulse,
    .site-footer-status i,
    .site-footer-orbit__ring--lg { animation: none; transition: none; }
    .site-footer-desk__pulse { stroke-dashoffset: 0; opacity: 1; }
}
