/* ===================================
   FOOTER MODERNO - HYPNOS MEDIA
   =================================== */

/* Variables del footer */
:root {
    --footer-bg: #0a0e14;
    --footer-text: #b8b8b8;
    --footer-title: #ffffff;
    --footer-accent: #ffb400;
    --footer-hover: #ffc933;
    --footer-border: #1a1f28;
}

/* Contenedor Principal del Footer */
.footer-modern {
    background: var(--footer-bg);
    color: var(--footer-text);
    position: relative;
    overflow: hidden;
}

/* Botón Flotante de WhatsApp - Moderno */
.whatsapp-float-modern {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float-modern:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float-modern i {
    color: #ffffff;
    font-size: 28px;
}

/* Contenido del Footer */
.footer-content {
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

/* Columnas del Footer */
.footer-column {
    display: flex;
    flex-direction: column;
}

/* Columna de Branding */
.footer-brand .footer-logo {
    margin-bottom: 24px;
}

.footer-brand .footer-logo img {
    max-width: 180px;
    height: auto;
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--footer-text);
    margin-bottom: 16px;
    max-width: 320px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--footer-accent);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Títulos de Sección */
.footer-title {
    color: var(--footer-title);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Instagram Grid */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.instagram-item:hover {
    transform: scale(1.05);
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 180, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay i {
    color: #ffffff;
    font-size: 24px;
}

/* Información de Contacto */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact-item i {
    color: var(--footer-accent);
    font-size: 16px;
    margin-top: 2px;
    min-width: 16px;
}

.contact-item .contact-label {
    font-size: 12px;
    color: var(--footer-text);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.contact-item .contact-text {
    font-size: 14px;
    color: var(--footer-text);
    line-height: 1.6;
}

.contact-item a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--footer-accent);
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 180, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-accent);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--footer-accent);
    color: #000000;
    transform: translateY(-3px);
}

.social-links i {
    font-size: 16px;
}

/* Navegación del Footer */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--footer-border);
}

.footer-nav a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.footer-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--footer-accent);
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: var(--footer-accent);
}

.footer-nav a:hover::after {
    width: 100%;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 24px 0;
    border-top: 1px solid var(--footer-border);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    font-size: 13px;
    color: var(--footer-text);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: var(--footer-text);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--footer-accent);
}

.footer-bottom-links .separator {
    color: var(--footer-text);
    opacity: 0.3;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablets */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-content {
        padding: 60px 0 30px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-brand {
        text-align: center;
        grid-column: auto;
    }

    .footer-description {
        max-width: 100%;
    }

    .instagram-grid {
        gap: 10px;
    }

    .footer-content {
        padding: 50px 0 30px;
    }

    .footer-nav {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float-modern {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float-modern i {
        font-size: 26px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .footer-content {
        padding: 40px 0 20px;
    }

    .footer-title {
        font-size: 15px;
    }

    .contact-item {
        gap: 12px;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .footer-nav {
        gap: 16px;
    }
}

/* Animaciones sutiles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-column {
    animation: fadeInUp 0.6s ease-out;
}

.footer-column:nth-child(2) {
    animation-delay: 0.1s;
}

.footer-column:nth-child(3) {
    animation-delay: 0.2s;
}