/* Footer Section */
.footer {
    position: relative;
    background: var(--color-secondary);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    overflow: hidden;
    padding-bottom: var(--spacing-xl);
}

.footer-background {
    position: absolute;
    left: -299px;
    top: 40%;
    transform: translateY(-50%);
    width: 1933px;
    height: 529.915px;
    z-index: 0;
}

.footer-background img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-content {
    position: relative;
    z-index: 1;
    padding: 305px 0 0;
}

.footer-cta {
    margin-bottom: 71px;
    text-align: center;
    max-width: 792px;
    margin-left: auto;
    margin-right: auto;
}

.footer-title {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-light);
    margin-bottom: 44px;
    margin-top: 0;
    max-width: 792px;
    font-variation-settings: var(--font-variation-settings);
}

.footer-cta-button {
    margin-top: 0;
}

.footer-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 28% 22% 22% 28%;
    gap: 25px;
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 24px;
    width: 149px;
    height: 42px;
}

.footer-logo img {
    height: 100%;
    width: 100%;
    max-width: 149px;
    object-fit: contain;
    display: block;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-info p,
.footer-info a {
    font-family: var(--font-family-body);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-muted);
    margin: 0;
    text-decoration: none;
}

.footer-info a:hover {
    color: var(--color-text-light);
    text-decoration: underline;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-nav a {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-h5);
    line-height: var(--line-height-h5);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-light);
    text-decoration: none;
    font-variation-settings: var(--font-variation-settings);
}

.footer-nav a:hover {
    color: var(--color-text-muted);
}

.footer-locale-wrapper {
    position: relative;
    display: inline-block;
}

.footer-locale-toggle {
    display: flex;
    align-items: center;
    gap: 13px;
    white-space: nowrap;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.footer-locale-toggle img {
    width: 22px;
    height: 22px;
    display: block;
}

.footer-locale-current {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    color: #ffffff;
}

.footer-locale-arrow {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-small);
    line-height: var(--line-height-small);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-light);
    transform: rotate(90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
    font-variation-settings: var(--font-variation-settings);
}

.footer-locale-wrapper.active .footer-locale-arrow {
    transform: rotate(-90deg);
}

.footer-locale-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--color-secondary);
    border-radius: var(--radius-sm);
    padding: var(--spacing-xs) 0;
    margin: 0;
    list-style: none;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    z-index: var(--z-index-dropdown);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-locale-wrapper.active .footer-locale-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.footer-locale-dropdown li {
    margin: 0;
}

.footer-locale-dropdown a {
    display: block;
    padding: 10px 16px;
    font-family: var(--font-family-body);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    font-weight: var(--font-weight-normal);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.footer-locale-dropdown a:hover,
.footer-locale-dropdown a[aria-current="true"] {
    color: var(--color-text-light);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-cta {
        padding-left: 96px;
    }
}

@media (max-width: 768px) {
    .footer {
        min-height: auto;
        padding-bottom: 60px;
    }

    .footer-content {
        padding: 60px 0 0;
    }

    .footer-cta {
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 40px;
    }

    .footer-title {
        font-size: 48px;
        line-height: 52px;
        margin-bottom: 24px;
    }

    .footer-divider {
        margin: 0 20px 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

    .footer-column-locale {
        order: -1;
    }
}

