/* ===== FOOTER ===== */
.ond-ft {
    background: var(--color-grey-2);
    margin-top: auto;
}

.ond-ft-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 48px 28px;
}

/* Top section: brand + columns */
.ond-ft-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: start;
    gap: 40px;
    margin-bottom: 32px;
}

.ond-ft-brand {
    display: flex;
    flex-direction: column;
}

.ond-ft-logo {
    display: inline-block;
    margin-bottom: 8px;
    text-decoration: none;
}

.ond-ft-logo:hover {
    text-decoration: none;
}

.ond-ft-logo-text {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-blue-dark);
    letter-spacing: 2px;
}

.ond-ft-logo-dot {
    font-size: 2rem;
    font-weight: 800;
    color: #e8a838;
}

.ond-ft-desc {
    color: var(--color-grey-dark);
    font-size: 17px;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.ond-ft-subtitle {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-blue-dark);
    margin-top: 16px;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.ond-ft-contacts {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ond-ft-contact {
    color: var(--color-grey-dark);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.15s;
}

a.ond-ft-contact:hover {
    color: var(--color-blue-dark);
    text-decoration: none;
}

.ond-ft-col {
    display: flex;
    flex-direction: column;
}

.ond-ft-col--bordered {
    border-left: 2px solid var(--color-grey-3);
    padding-left: 24px;
}

.ond-ft-title {
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    color: var(--color-blue-dark);
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.ond-ft-link {
    color: var(--color-grey-dark);
    text-decoration: none;
    font-size: 17px;
    line-height: 1.4;
    padding: 4px 0;
    transition: color 0.15s;
}

.ond-ft-link:hover {
    color: var(--color-blue-dark);
    text-decoration: none;
}

/* Bottom row */
.ond-ft-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--color-grey-3);
}

.ond-ft-copy {
    color: var(--color-grey-light);
    font-size: 17px;
}

.ond-ft-social {
    display: flex;
    gap: 10px;
}

.ond-ft-soc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-blue-dark);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.ond-ft-soc:hover {
    background: var(--color-blue-dark);
    color: #fff;
    text-decoration: none;
}

/* Toast */
.ond-ft-toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--color-blue-dark);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    white-space: nowrap;
    max-width: calc(100vw - 32px);
    text-align: center;
}

@media (max-width: 540px) {
    .ond-ft-toast {
        white-space: normal;
        font-size: 0.875rem;
        padding: 10px 18px;
    }
}

.ond-ft-toast.ond-ft-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Responsive: tablet */
@media (max-width: 960px) {
    .ond-ft-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        justify-items: start;
    }

    .ond-ft-col--bordered {
        border-left: none;
        padding-left: 0;
    }
}

/* Responsive: mobile — hide desktop footer, show mobile */
@media (max-width: 540px) {
    .ond-ft--desktop {
        display: none;
    }
}

/* ===== MOBILE FOOTER ===== */
.ond-ft-mobile {
    display: none;
    background: #fff;
    border-top: 1px solid rgba(18, 41, 75, 0.08);
    margin-top: auto;
}

@media (max-width: 540px) {
    .ond-ft-mobile {
        display: block;
    }
}

.ond-ft-mobile-wrap {
    padding: 20px 20px 16px;
}

.ond-ft-mobile-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.ond-ft-mobile-header .ond-ft-logo-text {
    font-size: 1.4rem;
}

.ond-ft-mobile-header .ond-ft-logo-dot {
    font-size: 1.4rem;
}

/* Accordion sections */
.ond-ft-mobile-sections {
    display: flex;
    flex-direction: column;
}

.ond-ft-mobile-section {
    border-bottom: 1px solid rgba(18, 41, 75, 0.06);
}

.ond-ft-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-blue-dark);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.ond-ft-mobile-chevron {
    transition: transform 0.25s;
    opacity: 0.4;
    flex-shrink: 0;
}

.ond-ft-mobile-section.open .ond-ft-mobile-chevron {
    transform: rotate(180deg);
}

.ond-ft-mobile-links {
    display: none;
    flex-direction: column;
    padding: 0 4px 12px;
    gap: 2px;
}

.ond-ft-mobile-section.open .ond-ft-mobile-links {
    display: flex;
}

.ond-ft-mobile-links a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    color: var(--color-grey-dark);
    text-decoration: none;
    transition: background 0.15s;
}

.ond-ft-mobile-links a:hover,
.ond-ft-mobile-links a:active {
    background: rgba(18, 41, 75, 0.04);
    text-decoration: none;
    color: var(--color-blue-dark);
}

/* Social row */
.ond-ft-mobile-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px 0 8px;
}

.ond-ft-mobile-social .ond-ft-soc {
    width: 34px;
    height: 34px;
}

/* Copyright */
.ond-ft-mobile-copy {
    text-align: center;
    font-size: 12px;
    color: var(--color-grey-light);
    padding-top: 4px;
}
