/* Keep the existing footer links and controls; update only their presentation. */
.main-footer,
.main-footer .footer-content {
    background: #f1f1f1 !important;
    color: #213e30;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.main-footer { margin-top: 42px; }
.main-footer .footer-content {
    padding: 34px clamp(16px, 3vw, 48px) 24px;
    border-top: 1px solid #dce6df;
    border-bottom: 0;
}

.main-footer .footer-bar {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) minmax(0, 3.3fr);
    gap: 24px clamp(28px, 5vw, 70px);
    width: 100%;
    max-width: 1500px;
    padding: 0;
}

.main-footer .page-bottom-info-inner { min-width: 0; }
.main-footer .page-bottom-info-inner .text-center { text-align: left !important; }
.main-footer .page-bottom-info-inner img { width: 170px; max-width: 100%; height: auto; }
.main-footer .page-bottom-info-inner p {
    max-width: 220px;
    margin: 15px 0 0;
    color: #64766a;
    font-size: 13px !important;
    line-height: 1.7;
}

.main-footer .footer-bar > .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px clamp(24px, 3vw, 44px);
    min-width: 0;
    margin: 0;
}

.main-footer .footer-bar > .row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    min-width: 0;
    padding: 0;
}

.main-footer .footer-bar > .row > [style*="clear"] { display: none; }
.main-footer .footer-bar > .row > .col-xl-12 { grid-column: 1 / -1; }
.main-footer .footer-title {
    margin: 0 0 16px;
    padding: 0;
    color: #213e30;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.5;
    text-transform: none;
}

.main-footer .footer-nav { margin: 0; padding: 0; }
.main-footer .footer-nav li { margin: 0; padding: 0; }
.main-footer .footer-nav li a {
    display: inline-block;
    padding: 6px 0;
    border: 0;
    color: #64766a;
    font-size: 12px;
    line-height: 1.6;
    text-decoration: none;
}
.main-footer .footer-nav li a:hover { color: #416b4e; text-decoration: underline; text-underline-offset: 3px; }
.main-footer .footer-nav li a:focus-visible { outline: 3px solid #669d74; outline-offset: 2px; }

.main-footer .mobile-app-content,
.main-footer .mobile-app-content * { color: #64766a; font-size: 12px; line-height: 1.6; }
.main-footer .paymanet-method-logo {
    margin: 6px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid #dce6df;
    border-bottom: 0;
}
.main-footer .copy-info { margin: 10px 0 0; color: #64766a; font-size: 11px; }

@media (max-width: 900px) {
    .main-footer .footer-bar { grid-template-columns: 1fr; gap: 28px; }
    .main-footer .footer-bar > .row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .main-footer .footer-content { padding: 28px 18px 22px; }
    .main-footer .footer-bar > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
    .main-footer .footer-nav li a { min-height: 36px; }
}
