/* =========================================================
   Footer global del sitio (todas las páginas /food): sección
   promocional "Una Plataforma 100% mexicana" + pie de página
   con enlaces y aviso legal. Cargado globalmente en
   layouts/food.blade.php igual que site_nav_redesign.css, así
   que no se anida bajo ninguna clase de página — aplica en
   todo el sitio por diseño.
   ========================================================= */

.rd-footer-promo,
.rd-site-footer {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Promo ---------- */

.rd-footer-promo {
    background: #ee072c;
    padding: 64px 0;
    overflow: hidden;
}

.rd-footer-promo-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 40px;
}

.rd-footer-promo-image {
    display: flex;
    justify-content: center;
}

.rd-footer-promo-image img {
    max-height: 420px;
    width: auto;
}

.rd-footer-promo-text h3 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}

.rd-footer-promo-text p {
    font-size: 14.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    max-width: 52ch;
    margin: 0 0 24px;
}

.rd-footer-promo-apps {
    display: none;
    gap: 12px;
}

.rd-app-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 14px;
    background: #14141a;
    color: #fff !important;
    font-size: 12.5px;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.rd-app-btn:hover {
    transform: translateY(-2px);
}

.rd-app-btn i {
    font-size: 20px;
}

.rd-app-btn strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
}

@media (max-width: 768px) {
    .rd-footer-promo {
        padding: 40px 0;
    }

    .rd-footer-promo-inner {
        grid-template-columns: 1fr;
    }

    .rd-footer-promo-image {
        display: none;
    }

    .rd-footer-promo-apps {
        display: flex;
        flex-wrap: wrap;
    }
}

/* ---------- Footer ---------- */

.rd-site-footer {
    background: #14141a;
    padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px));
}

.rd-site-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.rd-site-footer-links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.rd-site-footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 13px;
    transition: color 0.2s ease;
}

.rd-site-footer-links a:hover {
    color: #fff !important;
}

.rd-site-footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12.5px;
}

.rd-site-footer-legal a {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: underline;
}

.rd-site-footer-legal a:hover {
    color: #fff !important;
}

@media (max-width: 768px) {
    .rd-site-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .rd-site-footer-legal {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
