/* footer.css */
.footer {
    position: relative;
    padding: 5rem 0 2rem;
    background-color: #800020; /* Borgoña */
    color: #ffffff;
    overflow: hidden;
}

/* Borde superior degradado para armonía con el header */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #800020 0%, #DC143C 25%, #FFB7C5 50%, #DC143C 75%, #800020 100%);
    box-shadow: 0 -4px 16px rgba(255, 183, 197, 0.5); /* Resplandor hacia arriba */
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Columna de Marca */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-brand .logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.footer-brand .logo {
    max-height: 45px;
    width: auto;
}

.footer-brand p {
    color: rgba(255, 183, 197, 0.8); /* Rosa claro con opacidad para jerarquía */
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; /* Cumple con Touch Target */
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    transition: all var(--transition-base, 0.25s ease);
    text-decoration: none;
}

.social-btn svg {
    stroke: #FFB7C5;
    transition: stroke 0.25s ease;
}

.social-btn:hover {
    background-color: #DC143C; /* Carmesí en hover */
    transform: translateY(-3px);
}

.social-btn:hover svg {
    stroke: #ffffff;
}

/* Títulos del Footer */
.footer-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #FFB7C5;
}

/* Listas de enlaces */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: rgba(255, 183, 197, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s ease, padding-left 0.25s ease;
    display: inline-block;
    padding: 6px 0; /* Aumenta el área táctil en vertical */
}

.footer-link:hover {
    color: #ffffff;
    padding-left: 6px;
}

/* Sección Newsletter */
.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-newsletter p {
    color: rgba(255, 183, 197, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.newsletter-input {
    width: 100%;
    height: 48px; /* Táctil */
    padding: 0 1rem;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 183, 197, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s ease;
}

.newsletter-input::placeholder {
    color: rgba(255, 183, 197, 0.5);
}

.newsletter-input:focus {
    border-color: #FFB7C5;
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 183, 197, 0.25);
}

.newsletter-btn {
    height: 48px; /* Táctil */
    border-radius: 50px;
    border: none;
    background-color: #DC143C; /* Carmesí */
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.newsletter-btn:hover {
    background-color: #FFB7C5;
    color: #800020;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 183, 197, 0.4);
}

.newsletter-btn:active {
    transform: translateY(0);
}

/* Fila de Derechos de Autor */
.footer-bottom {
    border-top: 1px solid rgba(255, 183, 197, 0.15);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 183, 197, 0.6);
    font-size: 0.88rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-link {
    color: rgba(255, 183, 197, 0.6);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.25s ease;
}

.footer-bottom-link:hover {
    color: #ffffff;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        align-items: center;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 480px;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-links-list {
        align-items: center;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
    }
}
