/* ================================================
   FOOTER - Información de contacto y redes sociales
   ================================================ */

.footer {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    padding: 3rem 6rem 4rem;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

/* Línea superior de colores */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--color-blue), 
        var(--color-green), 
        var(--color-yellow), 
        var(--color-red)
    );
}

/* Grid principal */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 0.5fr 0.5fr;
    gap: 3rem;
    align-items: start;
}

/* ================================================
   SECCIÓN DE MARCA
   ================================================ */

.brand-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Logo del footer */
.logo-footer {
    width: 60px;
    height: 60px;
    background: transparent;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.logo-footer:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}


.logo-footer img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    border-radius: 50%;
    z-index: 1;
    position: relative;
    left: 1px;
}



/* Animación especial del logo */
@keyframes logoHover {
    0% { 
        transform: scale(1.1) rotate(0deg);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }
    25% { 
        transform: scale(1.2) rotate(5deg);
        box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
    }
    50% { 
        transform: scale(1.15) rotate(0deg);
        box-shadow: 0 12px 35px rgba(236, 72, 153, 0.4);
    }
    75% { 
        transform: scale(1.2) rotate(-5deg);
        box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
    }
    100% { 
        transform: scale(1.1) rotate(0deg);
        box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
    }
}

/* Nombre de la empresa */
.company-name {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(180deg, #000000, #000000, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Descripción */
.description-footer {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Sección de redes sociales */
.social-section h4 {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: #baf2ff55 2px solid;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 0.1;
}

.social-icon:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.544);
}

.social-icons .facebook:hover {
    color: #0349c1;
    background: transparent;
    border-color: #0349c1;
}

.social-icons .instagram:hover {
    color: #c103be;
    background: transparent;
    border-color: #c103be;
}

.social-icons .youtube:hover {
    color: #c10303;
    background: transparent;
    border-color: #c10303;
}

/* Colores específicos de redes sociales */
.facebook { 
    background: linear-gradient(135deg, #182ef2, #1600d8); 
}

.instagram { 
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
}

.youtube { 
    background: linear-gradient(135deg, #ab0101, #b71c1c); 
}

/* ================================================
   SECCIONES DE CONTACTO Y SERVICIOS
   ================================================ */

.contact-section, 
.services-section {
    padding-left: 1rem;
}

.section-title {
    color: #1f2937;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-blue), #0349c1);
    border-radius: 2px;
}

/* Items de contacto y servicios */
.contact-item, 
.service-item { 
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover, 
.service-item:hover {
    background: rgba(99, 102, 241, 0.05);
    transform: translateX(5px);
}

/* Iconos */
.contact-icon, 
.service-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    font-size: 16px;
}

/* Textos */
.contact-text, 
.service-text {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ================================================
   ELEMENTOS DECORATIVOS
   ================================================ */

.decorative-elementss {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(241, 99, 99, 0.1), rgba(246, 92, 92, 0.1));
    border-radius: 50%;
    transform: translate(50%, -50%);
    z-index: -1;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.5rem 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .brand-section {
        align-items: center;
    }

    .contact-section, 
    .services-section {
        padding-left: 0;
    }

    .company-name {
        font-size: 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 1rem 2rem;
    }
    
    .company-name {
        font-size: 1.3rem;
    }
    
    .description-footer {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .contact-text, 
    .service-text {
        font-size: 0.9rem;
    }
}