﻿/* Footer Styles */
.main-footer {
    background: rgba(90, 122, 90, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    margin-top: 80px;
    margin-left: -20px;
    margin-right: -20px;
    padding: 60px 0 0;
}

.footer-promo {
    margin-left: -20px;
    margin-right: -20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.75fr 0.95fr 0.95fr 1.15fr 1.7fr;
    gap: 34px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    align-items: start;
}

.footer-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Footer Logo & About */
.footer-about {
    max-width: 420px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.footer-logo-image {
    display: block;
    height: 64px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.footer-description {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 18px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Footer Headings */
.footer-heading {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
    letter-spacing: 0.01em;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    word-break: break-word;
}

.footer-contact a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact-hours {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.65fr);
    gap: 20px;
    align-items: start;
}

.footer-payment-provider {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.footer-payment-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    align-items: center;
}

.footer-payment-icons-single {
    display: block;
}

.footer-payment-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
}

.footer-payment-icon-link-single {
    display: inline-block;
    max-width: 100%;
}

.footer-payment-icon {
    height: 28px;
    width: auto;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 3px 6px;
}

.footer-payment-icon-strip {
    height: auto;
    width: min(100%, 520px);
    max-height: none;
    border-radius: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    display: block;
}

.footer-payment-contact {
    margin-bottom: 0;
}

.footer-payment-contact li {
    line-height: 1.55;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.8;
}

/* Footer Hours */
.footer-hours {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    margin-top: 0;
}

.footer-hours h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.footer-hours p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 4px 0;
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: white;
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.3);
}

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

@media (max-width: 768px) {
    .footer-contact-hours {
        grid-template-columns: 1fr;
    }

    .main-footer {
        margin-top: 60px;
        padding: 40px 0 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .footer-about {
        grid-column: 1;
    }

    .footer-column {
        padding: 18px 18px 16px;
        border-radius: 16px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    }

    .footer-about {
        background: rgba(255, 255, 255, 0.08);
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-hours {
        text-align: center;
    }
}

/* Responsive hardening: footer */
.footer-links a,
.footer-contact a {
    overflow-wrap: anywhere;
}

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

    .footer-about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .main-footer {
        margin-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-logo {
        font-size: 22px;
    }

    .footer-logo-image {
        height: 54px;
        max-width: 220px;
    }

    .footer-description {
        font-size: 13px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-contact li {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding-top: 28px;
    }

    .footer-container {
        padding: 0 10px;
    }

    .footer-grid {
        gap: 20px;
        padding-bottom: 22px;
    }

    .footer-column {
        padding: 16px 14px 14px;
        border-radius: 14px;
    }

    .footer-heading {
        margin-bottom: 12px;
        font-size: 15px;
    }

    .footer-hours {
        padding: 12px;
    }

    .footer-logo-image {
        height: 46px;
        max-width: 190px;
    }

    .footer-bottom {
        padding: 16px 0;
    }
}

.footer-payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 3px 10px;
    border-radius: 6px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #1f2937;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
}

.footer-payment-badge:hover {
    color: #111827;
    text-decoration: none;
    transform: translateY(-1px);
    padding-left: 0;
}



.footer-payment-icon-link {
    overflow: hidden;
}

.footer-payment-icon-link:nth-child(1) .footer-payment-icon {
    height: 26px;
}

.footer-payment-icon-link:nth-child(2) .footer-payment-icon,
.footer-payment-icon-link:nth-child(3) .footer-payment-icon {
    height: 24px;
    background: transparent;
    border: 0;
    padding: 0;
}

.footer-payment-icon-link:nth-child(4) .footer-payment-icon,
.footer-payment-icon-link:nth-child(5) .footer-payment-icon {
    height: 30px;
}

.footer-grid--no-payment {
    grid-template-columns: 1.9fr 1fr 1fr 1.45fr;
}
