.footer {
    background: #fff;
    color: #1F2937;
    padding: 1.35rem 0 0.75rem;
    border-top: 1px solid #E5E7EB;
}

.footer-content {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff !important;
    background-color: #fff !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 0.9rem;
    width: 100%;
}

.footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.65rem;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    text-align: left;
}

.footer-list,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-left: 0;
}

.footer-max-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    object-fit: contain;
}

.footer-documents a,
.footer-documents button {
    color: #4B5563;
    font-size: 0.92rem;
    line-height: 1.4;
    text-align: left;
}

.footer-documents .cookie-settings-button {
    min-height: auto;
    line-height: 1.4;
}

.footer-documents a:hover,
.footer-documents button:hover {
    color: #111827;
}

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

.footer-owner {
    width: 100%;
    margin-bottom: 0.65rem;
    padding: 0.75rem 1rem;
    color: #4B5563;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 0.84rem;
    line-height: 1.45;
    text-align: center;
}

.inline-icon {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.footer-list a > .inline-icon,
.footer-social a > .inline-icon,
.footer-network-mark {
    margin-right: 0;
}

.footer-network-mark {
    width: 1.05rem;
    height: 1.05rem;
    color: #6B7280;
    border: 1px solid #9CA3AF;
    border-radius: 4px;
    font-size: 0.58rem;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-list a,
.footer-social a {
    color: #4B5563;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    position: relative;
    white-space: nowrap;
    width: auto;
}

.footer-list .footer-email-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    width: auto;
    min-height: 28px;
    padding: 0;
    color: #4B5563;
    background: transparent;
    border: 0;
    font: inherit;
    font-size: 0.95rem;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.footer-list .footer-email-copy:hover {
    color: #111827;
}

.footer-list .footer-email-copy:focus-visible {
    outline: 2px solid #335f47;
    outline-offset: 3px;
    border-radius: 4px;
}

.footer-phone-block {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: #4B5563;
}

.footer-phone-block > .inline-icon {
    margin-top: 0.17rem;
}

.footer-phone-block__numbers {
    display: grid;
    gap: 0.48rem;
}

.footer-list .footer-phone-block__entry {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.08rem;
    margin: 0;
    color: #4B5563;
    cursor: default;
    white-space: normal;
}

.footer-phone-block__entry span::after {
    display: none !important;
}

.footer-phone-block__label {
    color: #9CA3AF;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-transform: uppercase;
}

.footer-phone-block__number {
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.35;
    white-space: nowrap;
    transition: color 0.22s ease;
}

.footer-phone-block__entry:hover .footer-phone-block__number {
    color: #111827;
}

@media (max-width: 760px) {
    .footer-list .footer-phone-block__entry {
        cursor: pointer;
    }

    .footer-list .footer-email-copy {
        min-height: 44px;
    }
}

.footer-list a:hover,
.footer-social a:hover {
    color: #111827;
}

.footer-list a i,
.footer-social a i {
    margin-right: 0.75rem;
    width: 1.2rem;
    height: 1rem;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
    font-size: 0.9rem;
    transform: translateY(0px);
}

.footer-list a .arrow-icon,
.footer-social a .arrow-icon {
    margin-left: 0.1rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    width: 10px;
    height: 10px;
}

.footer-list a span,
.footer-social a span {
    position: relative;
}

.footer-list a span:not(.footer-network-mark)::after,
.footer-social a span:not(.footer-network-mark)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.footer-list a:hover span:not(.footer-network-mark)::after,
.footer-social a:hover span:not(.footer-network-mark)::after {
    width: 100%;
}

.footer-list a:hover .arrow-icon,
.footer-social a:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    text-align: center;
    color: #6B7280;
    font-size: 0.85rem;
    padding-top: 0.25rem;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.3rem;
}

.footer-bottom span {
    display: inline-block;
    line-height: 1;
}

/* Mobile adjustments */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem;
    }
    .footer-list a span::after,
    .footer-social a span::after {
        bottom: 0px;
    }
}

@media (max-width: 760px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 2rem;
        width: 100%;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }
    
}

@media (max-width: 560px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .footer-col:last-child {
        grid-column: auto;
    }

    .footer-col,
    .footer-documents {
        align-items: flex-start;
    }

    .footer-list a span::after,
    .footer-social a span::after {
        bottom: 1px;
    }
}

@media (max-width: 360px) {
    .footer-grid {
        gap: 1rem;
    }
    .footer-list a span::after,
    .footer-social a span::after {
        bottom: 2px;
    }
}
