footer {
    background: linear-gradient(135deg, #8B0000 0%, #6B0000 100%);
    color: white;
    text-align: center;
    padding: 50px 20px 30px;
    margin-top: 60px;
    border-top: 3px solid #A52A2A;
}

.footer-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 30px;
    gap: 40px;
}

.footer-section {
    min-width: 200px;
    text-align: center;
    flex: 1;
    max-width: 300px;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: white;
    border-bottom: 2px solid #A52A2A;
    padding-bottom: 10px;
}

.footer-section p,
.footer-section a {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ddd;
}

.footer-section a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    margin: 5px 0;
}

.footer-section a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom p {
    margin: 5px 0;
    color: #ccc;
}

/* Responsive para tablets */
@media (max-width: 1024px) {
    .footer-container {
        gap: 30px;
        margin-bottom: 25px;
    }

    .footer-section {
        min-width: 150px;
        max-width: 250px;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    footer {
        padding: 40px 15px 25px;
        margin-top: 40px;
    }

    .footer-container {
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer-section {
        min-width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        margin-top: 20px;
        padding-top: 15px;
        font-size: 0.85rem;
    }
}

/* Responsive para móvil pequeño */
@media (max-width: 480px) {
    footer {
        padding: 30px 10px 20px;
        margin-top: 30px;
    }

    .footer-container {
        gap: 15px;
        margin-bottom: 15px;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.8rem;
    }

    .footer-bottom {
        font-size: 0.75rem;
    }
}