/* Shared footer stage: contactbackground + skyline + black corp panel */

.about-footer-stage {
    --about-footer-bg-width: 1448px;
    --about-footer-bg-height: 520px;
    --about-footer-skyline-width: 1077px;
    --about-footer-skyline-height: 255px;
    --about-footer-corp-panel-top: calc(54% - 30px);
    --about-footer-corp-panel-bottom: 5%;
    --about-footer-corp-panel-shift-y: 5px;
    --about-footer-corp-panel-width: min(1240px, calc(94% - 80px));
    --about-footer-corp-text-color: #f2f2f2;
    --about-footer-corp-font-base: 0.74rem;
    --about-footer-corp-font-title: 0.8rem;
    --about-footer-corp-font-brand: 0.74rem;
    --about-footer-corp-font-body: 0.7rem;
    --about-footer-corp-font-tagline: 16px;
    --about-footer-corp-font-disclaimer: 12px;
    --about-footer-corp-font-thanks: 14px;
    --about-footer-corp-font-link: 0.66rem;
    --about-footer-corp-font-social-title: 0.72rem;
    --about-footer-corp-font-social-icon: 0.9rem;
    position: relative;
    display: block;
    width: var(--about-footer-bg-width);
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    line-height: 0;
    font-size: 0;
    box-sizing: border-box;
    background: #f7f7f7;
    overflow: hidden;
}

.about-footer-stage img.about-footer-bg {
    display: block;
    width: var(--about-footer-bg-width);
    height: var(--about-footer-bg-height);
    min-width: 0;
    min-height: var(--about-footer-bg-height);
    max-width: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    object-fit: fill;
    object-position: center center;
    opacity: 1;
}

.about-footer-stage img.about-footer-skyline {
    position: absolute;
    top: 30%;
    left: 50%;
    width: var(--about-footer-skyline-width);
    height: var(--about-footer-skyline-height);
    max-width: calc(100% - 24px);
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center center;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.about-footer-corp-panel {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: var(--about-footer-corp-panel-top);
    bottom: var(--about-footer-corp-panel-bottom);
    width: var(--about-footer-corp-panel-width);
    max-width: calc(100% - 32px);
    transform: translate(-50%, var(--about-footer-corp-panel-shift-y));
    box-sizing: border-box;
    background: #000000;
    color: var(--about-footer-corp-text-color);
    padding: 0 22px 14px;
    line-height: 1.35;
    font-size: var(--about-footer-corp-font-base);
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
    pointer-events: auto;
}

.about-footer-corp-panel .about-footer-corp-grid {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.85fr) minmax(0, 1.05fr);
    gap: 8px 32px;
    align-items: stretch;
}

.about-footer-corp-panel .footer-col--locations {
    text-align: left;
    align-self: center;
}

.about-footer-corp-panel .footer-col--center {
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto auto 1fr;
    align-items: center;
    justify-items: center;
    text-align: center;
    row-gap: 8px;
    padding: 0 8px;
    align-self: stretch;
}

.about-footer-corp-panel .footer-col--legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    align-self: center;
}

.about-footer-corp-panel .footer-location-block + .footer-location-block {
    margin-top: 18px;
}

.about-footer-corp-panel .footer-title {
    font-size: var(--about-footer-corp-font-title);
    margin-bottom: 5px;
    line-height: 1.35;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
}

.about-footer-corp-panel .footer-col--locations .footer-title {
    margin-bottom: 0;
}

.about-footer-corp-panel .footer-title--social {
    font-size: var(--about-footer-corp-font-social-title);
    margin-top: 6px;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 700;
    text-align: right;
    width: 100%;
}

.about-footer-corp-panel .footer-address p,
.about-footer-corp-panel .footer-legal-block p {
    font-size: var(--about-footer-corp-font-body);
    line-height: 1.5;
    margin-bottom: 3px;
    opacity: 0.95;
}

.about-footer-corp-panel .footer-col--locations .footer-address p:last-child {
    margin-bottom: 0;
}

.about-footer-corp-panel .footer-address .brand-font {
    font-size: var(--about-footer-corp-font-brand);
    margin-bottom: 4px;
    color: var(--about-footer-corp-text-color);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 1;
}

.about-footer-corp-panel .footer-tagline {
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    white-space: normal;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--about-footer-corp-text-color);
}

.about-footer-corp-panel .footer-disclaimer {
    grid-row: 2;
    font-size: 14px;
    line-height: 1.35;
    opacity: 0.9;
    max-width: none;
    width: max-content;
    margin: 0;
    white-space: nowrap;
}

.about-footer-corp-panel .footer-thanks {
    grid-row: 3;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
}

.about-footer-corp-panel .footer-legal-block {
    width: 100%;
}

.about-footer-corp-panel .footer-links--legal {
    margin: 8px 0;
    padding: 0;
    width: 100%;
}

.about-footer-corp-panel .footer-links--legal li {
    margin: 0;
    line-height: 1.35;
}

.about-footer-corp-panel .footer-links--legal a {
    font-size: var(--about-footer-corp-font-link);
    line-height: 1.35;
    color: var(--about-footer-corp-text-color);
    text-decoration: none;
    opacity: 0.95;
}

.about-footer-corp-panel .footer-links--legal li:first-child a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.about-footer-corp-panel .footer-links--legal a:hover {
    color: var(--primary);
    opacity: 1;
}

.about-footer-corp-panel .social-links--footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    width: 100%;
}

.about-footer-corp-panel .social-links--footer a {
    font-size: var(--about-footer-corp-font-social-icon);
    color: var(--about-footer-corp-text-color);
}

.about-footer-corp-panel .footer-address p,
.about-footer-corp-panel .footer-legal-block p,
.about-footer-corp-panel .footer-disclaimer {
    color: var(--about-footer-corp-text-color);
}

@media (max-width: 980px) {
    .about-footer-corp-panel {
        padding: 10px 12px;
        font-size: var(--about-footer-corp-font-base);
        overflow-y: auto;
        align-items: flex-start;
    }

    .about-footer-corp-panel .about-footer-corp-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px 18px;
    }

    .about-footer-corp-panel .footer-col--center {
        grid-column: 1 / -1;
        order: -1;
    }
}

@media (max-width: 640px) {
    .about-footer-corp-panel .about-footer-corp-grid {
        grid-template-columns: 1fr;
    }

    .about-footer-corp-panel .footer-col--center,
    .about-footer-corp-panel .footer-col--locations,
    .about-footer-corp-panel .footer-col--legal {
        text-align: center;
    }
}
