.mf-footer {
    background-color: #F9FAFC;
    color: #64748b;
    font-family: var(--font-dmsans), 'DM Sans', sans-serif;
    position: relative;
}

@keyframes mf-gradient-shift {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.mf-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.mf-main {
    padding: 64px 0 0;
}

.mf-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.1fr 1.4fr;
    gap: 48px;
}

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

.mf-column-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 26px 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mf-decoration {
    width: 3px;
    height: 18px;
    background: linear-gradient(180deg, #053880 0%, #3b82f6 100%);
    border-radius: 3px;
    flex-shrink: 0;
}

.mf-about-text {
    font-size: 14px;
    line-height: 1.85;
    color: #64748b;
    margin: 0 0 24px 0;
}

.mf-logo {
    display: inline-block;
    margin-bottom: 28px;
}

.mf-logo img {
    width: 180px;
    height: auto;
    transition: opacity 0.3s ease;
}

.mf-logo:hover img {
    opacity: 0.7;
}

.mf-social-wrapper {
    margin-top: auto;
}

.mf-social-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.mf-social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mf-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.mf-social-link:hover {
    background: #053880;
    border-color: #053880;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow:
        0 8px 16px rgba(5, 56, 128, 0.2),
        0 2px 4px rgba(5, 56, 128, 0.1);
}

.mf-social-link svg,
.mf-social-link i {
    width: 15px;
    height: 15px;
    font-size: 14px;
}

.mf-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mf-menu-list li {
    list-style: none;
}

.mf-menu-list li a,
.mf-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.25s ease;
    padding: 7px 0;
    position: relative;
}

.mf-menu-list li a::before,
.mf-menu-link::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    width: 0;
    height: 2px;
    background: #053880;
    border-radius: 1px;
    transition: width 0.25s ease;
    transform: translateY(-50%);
}

.mf-menu-list li a:hover,
.mf-menu-link:hover {
    color: #053880;
    transform: translateX(6px);
}

.mf-menu-list li a:hover::before,
.mf-menu-link:hover::before {
    width: 8px;
}

.mf-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mf-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: #ffffff;
    border: 1px solid #eef1f6;
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.mf-contact-item:hover {
    border-color: #dbe3ee;
    box-shadow:
        0 4px 12px rgba(5, 56, 128, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

.mf-contact-icon-wrapper {
    flex-shrink: 0;
}

.mf-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: none;
    border-radius: 10px;
    color: #053880;
    transition: all 0.3s ease;
}

.mf-contact-icon svg {
    width: 16px;
    height: 16px;
}

.mf-contact-item:hover .mf-contact-icon {
    background: linear-gradient(135deg, #053880 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(5, 56, 128, 0.25);
}

.mf-whatsapp-wrapper .mf-whatsapp-icon {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #16a34a;
}

.mf-contact-item:hover .mf-whatsapp-wrapper .mf-whatsapp-icon {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.mf-contact-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 2px;
}

.mf-contact-label {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mf-address {
    font-style: normal;
    font-size: 13px;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

.mf-contact-link {
    font-size: 14px;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.mf-contact-link:hover {
    color: #053880;
}

.mf-bento-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    margin-top: 48px;
    padding-bottom: 48px;
}

.mf-bento-row.mf-bento-single {
    grid-template-columns: 1fr;
}

.mf-bento-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

.mf-bento-map {
    background: #ffffff;
    border: 1px solid #eef1f6;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.4s ease;
}

.mf-bento-map:hover {
    box-shadow:
        0 8px 30px rgba(5, 56, 128, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.03);
}

.mf-map {
    border-radius: 24px;
    overflow: hidden;
}

.mf-map iframe {
    display: block;
    width: 100%;
    height: 200px;
    filter: saturate(0.7) contrast(0.95);
    transition: filter 0.5s ease;
}

.mf-bento-map:hover .mf-map iframe {
    filter: saturate(1) contrast(1);
}

.mf-map-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.mf-bento-map:hover .mf-map-overlay {
    opacity: 0;
    transform: translateY(4px);
}

.mf-map-overlay svg {
    color: #053880;
    flex-shrink: 0;
}

.mf-bento-cert {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 36px 28px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #eef1f6;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02);
    position: relative;
}

.mf-bento-cert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #053880, #3b82f6, #06b6d4);
    border-radius: 24px 24px 0 0;
}

.mf-cert-image {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.mf-cert-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mf-cert-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mf-cert-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.01em;
}

.mf-cert-text {
    font-size: 13px;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
    max-width: 320px;
}

.mf-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    padding: 8px 18px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #bbf7d0;
    border-radius: 24px;
    color: #15803d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.mf-cert-badge svg {
    flex-shrink: 0;
}

.mf-copyright {
    border-top: 1px solid #e8ecf1;
    padding: 22px 0;
}

.mf-copyright-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.mf-copyright-text {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.mf-copyright-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.mf-copyright-link {
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.25s ease;
    position: relative;
}

.mf-copyright-link:hover {
    color: #053880;
}

.mf-copyright-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: #053880;
    transition: width 0.3s ease;
}

.mf-copyright-link:hover::after {
    width: 100%;
}

@media (max-width: 1200px) {
    .mf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }

    .mf-column-about {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .mf-column-about .mf-column-title {
        width: 100%;
    }

    .mf-column-about .mf-about-text {
        flex: 1;
        min-width: 260px;
        margin: 0;
    }

    .mf-column-about .mf-logo {
        display: none;
    }

    .mf-social-wrapper {
        margin-top: 0;
    }

    .mf-bento-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mf-footer {
        background-color: #ffffff;
    }

    .mf-main {
        padding: 40px 0 0;
    }

    .mf-container {
        padding: 0 20px;
    }

    
    .mf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 20px;
    }

    .mf-column-about {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
        padding-bottom: 24px;
        border-bottom: 1px solid #eef1f6;
    }

    .mf-column-about .mf-column-title {
        display: none;
    }

    .mf-column-about .mf-logo {
        display: inline-block;
        margin-bottom: 0;
        order: -1;
    }

    .mf-column-about .mf-logo img {
        width: 140px;
    }

    .mf-column-about .mf-about-text {
        width: 100%;
        margin: 0;
        font-size: 13px;
        line-height: 1.7;
        color: #94a3b8;
    }

    .mf-social-wrapper {
        width: 100%;
        margin-top: 4px;
    }

    .mf-social-label {
        display: none;
    }

    .mf-social-links {
        gap: 6px;
    }

    .mf-social-link {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: #f8fafc;
        border-color: #eef1f6;
    }

    
    .mf-column-menu {
        grid-column: auto;
    }

    .mf-column-title {
        font-size: 11px;
        margin-bottom: 14px;
        gap: 8px;
    }

    .mf-decoration {
        height: 14px;
        width: 2.5px;
    }

    .mf-menu-list {
        gap: 0;
    }

    .mf-menu-list li a,
    .mf-menu-link {
        font-size: 13px;
        padding: 5px 0;
    }

    
    .mf-column-contact {
        grid-column: 1 / -1;
        padding-top: 4px;
        border-top: 1px solid #eef1f6;
    }

    .mf-contact-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .mf-contact-address {
        grid-column: 1 / -1;
    }

    .mf-contact-item {
        padding: 10px 12px;
        border-radius: 12px;
        gap: 10px;
        background: #f8fafc;
        border-color: #eef1f6;
    }

    .mf-contact-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }

    .mf-contact-icon svg {
        width: 14px;
        height: 14px;
    }

    .mf-contact-label {
        font-size: 9px;
    }

    .mf-contact-link {
        font-size: 12px;
    }

    .mf-address {
        font-size: 12px;
        line-height: 1.5;
    }

    
    .mf-bento-row {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
        padding-bottom: 24px;
    }

    .mf-bento-card {
        border-radius: 16px;
    }

    .mf-map {
        border-radius: 16px;
    }

    .mf-map iframe {
        height: 160px;
    }

    .mf-map-overlay {
        bottom: 10px;
        left: 10px;
        padding: 8px 14px;
        font-size: 12px;
        border-radius: 10px;
    }

    .mf-bento-cert {
        flex-direction: row;
        text-align: left;
        padding: 20px;
        gap: 16px;
        align-items: center;
        background: #f8fafc;
    }

    .mf-bento-cert::before {
        display: none;
    }

    .mf-cert-image {
        width: 48px;
        height: 48px;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .mf-cert-content {
        flex: 1;
        gap: 4px;
    }

    .mf-cert-title {
        font-size: 14px;
    }

    .mf-cert-text {
        font-size: 12px;
        line-height: 1.5;
        max-width: none;
    }

    .mf-cert-badge {
        display: none;
    }

    
    .mf-copyright {
        padding: 16px 0;
        border-top-color: #eef1f6;
    }

    .mf-copyright-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .mf-copyright-text {
        font-size: 12px;
    }

    .mf-copyright-links {
        justify-content: center;
        gap: 16px;
    }

    .mf-copyright-link {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .mf-container {
        padding: 0 16px;
    }

    .mf-main {
        padding: 32px 0 0;
    }

    .mf-grid {
        gap: 24px 16px;
    }

    .mf-column-about .mf-logo img {
        width: 120px;
    }

    .mf-column-about .mf-about-text {
        font-size: 12px;
    }

    .mf-social-link {
        width: 34px;
        height: 34px;
    }

    .mf-social-link svg,
    .mf-social-link i {
        width: 13px;
        height: 13px;
    }

    .mf-contact-list {
        grid-template-columns: 1fr;
    }

    .mf-bento-row {
        margin-top: 20px;
        padding-bottom: 20px;
    }

    .mf-map iframe {
        height: 140px;
    }

    .mf-copyright {
        padding: 14px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mf-logo img,
    .mf-social-link,
    .mf-menu-list li a,
    .mf-menu-link,
    .mf-contact-link,
    .mf-contact-icon,
    .mf-contact-item,
    .mf-copyright-link::after,
    .mf-map iframe,
    .mf-map-overlay,
    .mf-bento-map {
        transition: none;
    }

    .mf-social-link:hover,
    .mf-menu-list li a:hover,
    .mf-menu-link:hover,
    .mf-contact-item:hover {
        transform: none;
    }
}

@media print {
    .mf-footer {
        background: #fff;
        color: #000;
    }
    .mf-column-title {
        color: #000;
    }

    .mf-menu-list li a,
    .mf-menu-link,
    .mf-about-text,
    .mf-address,
    .mf-contact-link {
        color: #333;
    }

    .mf-bento-map,
    .mf-social-links {
        display: none;
    }

    .mf-contact-item,
    .mf-bento-cert {
        border-color: #ccc;
        box-shadow: none;
    }
}
