/* --- */
/* Estilos para el Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    font-size: 0.9em;
    line-height: 1.8;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px; /* Space between sections */
}

.footer-section {
    flex: 1;
    min-width: 250px; /* Minimum width before wrapping */
    margin-bottom: 20px; /* Space if columns wrap */
}

.footer-section h3 {
    color: #ffe0b2; /* Lighter color for headings */
    margin-bottom: 20px;
    font-size: 1.3em;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 2px;
    background-color: #846103; /* Matches your accent color */
}

.footer-section p {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-section.about .contact-info p {
    margin-bottom: 8px;
}

.footer-section.about .contact-info i {
    margin-right: 10px;
    color: #ffe0b2;
}

.footer-section.links ul {
    list-style: none;
    padding: 0;
}

.footer-section.links ul li {
    margin-bottom: 10px;
}

.footer-section.links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section.links ul li a:hover {
    color: #ffe0b2; /* Hover effect for links */
}

.footer-section.social .social-links a {
    display: inline-block;
    color: #fff;
    background-color: #555;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    text-align: center;
    margin-right: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.2em;
}

.footer-section.social .social-links a:hover {
    background-color: #846103; /* Accent color on hover */
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.8em;
}

.footer-social-logo-row {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    justify-content: flex-start;
    margin-top: 0;
    min-width: 250px;
}

.footer-social-logo-row .footer-section.social {
    margin-bottom: 0;
}

.footer-social-logo-row .footer-section.social h3 {
    margin-bottom: 20px;
    margin-top: 0;
    font-size: 1.3em;
    color: #ffe0b2;
    position: relative;
}

.footer-social-logo-row .footer-section.social h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 50px;
    height: 2px;
    background-color: #846103;
}

.footer-logo-footer {
    display: block;
    max-width: 120px;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-top: 24px;
}

.footer-social-logo-row > .footer-logo-footer {
    margin-top: 0;
    align-self: flex-start;
}

.footer-logo-row-centered {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 18px 0 0 0;
}

.footer-logo-row-centered .footer-logo-footer {
    margin: 0 auto;
    display: block;
    float: none;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        min-width: unset; /* Remove min-width for stacking */
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section.social .social-links {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .footer-content {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-social-logo-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        min-width: unset;
    }

    .footer-logo-footer {
        max-width: 90px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}