/* ============================================
   FOOTER COMPLETO - VERSIÓN RESPONSIVE
============================================ */

/* FOOTER PRINCIPAL */
.main-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    padding: 80px 0 60px;
}

/* BRAND DEL FOOTER */
.footer-brand .brand-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-brand .brand-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #c19595);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.footer-brand h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-description {
    margin-bottom: 30px;
    line-height: 1.7;
    opacity: 0.9;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.contact-item i {
    width: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}

/* SECCIÓN SOCIAL DEL FOOTER */
.footer-social h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.social-link.instagram {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.whatsapp {
    background: var(--whatsapp-green);
}

.social-link.tiktok {
    background: linear-gradient(45deg, #ff0050, #00f2ea);
}

.social-link {
    color: white;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
}

.social-text {
    line-height: 1.6;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* FORMULARIO DE CONTACTO DEL FOOTER */
.footer-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-subtitle {
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #A5ADB6;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-button {
    background: linear-gradient(135deg, var(--primary-color), #c19595);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 164, 164, 0.3);
}

/* PARTE INFERIOR DEL FOOTER */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    opacity: 1;
    color: var(--primary-color);
}

/* ============================================
   MEDIA QUERIES PARA RESPONSIVE
============================================ */

/* TABLETS GRANDES (768px - 1023px) */
@media (max-width: 1023px) {
    .footer-container {
        padding: 0 25px;
    }
    
    .footer-top {
        gap: 50px;
        padding: 60px 0 50px;
    }
    
    .footer-brand h2 {
        font-size: 1.8rem;
    }
    
    .footer-brand .brand-logo {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
    }
}

/* TABLETS (768px - 991px) */
@media (max-width: 991px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: 1 / -1; /* Ocupa toda la fila */
        margin-bottom: 20px;
    }
    
    .footer-brand .brand-info {
        justify-content: center;
        text-align: center;
    }
    
    .footer-description {
        text-align: center;
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* MÓVILES GRANDES (481px - 767px) */
@media (max-width: 767px) {
    .main-footer {
        margin-top: 60px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 50px 0 40px;
        text-align: center;
    }
    
    .footer-brand .brand-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-brand h2 {
        font-size: 1.6rem;
    }
    
    .footer-social h3,
    .footer-contact h3 {
        font-size: 1.3rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 12px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    
    .form-input {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .form-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 25px 0;
    }
    
    .footer-links {
        gap: 20px;
        justify-content: center;
    }
}

/* MÓVILES MEDIANOS (376px - 480px) */
@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-top {
        gap: 35px;
        padding: 40px 0 35px;
    }
    
    .footer-brand .brand-logo {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .footer-brand h2 {
        font-size: 1.4rem;
    }
    
    .footer-social h3,
    .footer-contact h3 {
        font-size: 1.2rem;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .form-input {
        padding: 10px;
    }
    
    .form-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* MÓVILES PEQUEÑOS (hasta 375px) */
@media (max-width: 375px) {
    .footer-top {
        gap: 30px;
        padding: 35px 0 30px;
    }
    
    .footer-brand h2 {
        font-size: 1.3rem;
    }
    
    .footer-brand .brand-logo {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .social-text,
    .footer-description,
    .contact-subtitle {
        font-size: 0.9rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .footer-copyright {
        font-size: 0.85rem;
    }
    
    .footer-link {
        font-size: 0.85rem;
    }
}

/* ORIENTACIÓN HORIZONTAL EN MÓVILES */
@media (max-height: 500px) and (orientation: landscape) {
    .footer-top {
        padding: 30px 0 25px;
        gap: 25px;
    }
    
    .footer-brand .brand-info {
        flex-direction: row;
        gap: 15px;
    }
    
    .social-links {
        gap: 8px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
}

/* MEJORAS ADICIONALES PARA ACCESIBILIDAD */
@media (prefers-reduced-motion: reduce) {
    .social-link:hover,
    .form-button:hover {
        transform: none;
    }
    
    .form-input,
    .social-link,
    .form-button,
    .footer-link {
        transition: none;
    }
}