/* ============================================
   COMPONENTS
   ============================================ */

/* Accesibilidad: respeta preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* WhatsApp Button */
.whatsapp-btn {
    width: 54px;
    height: 54px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease;
    border: none;
    padding: 0;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

/* Pulso animado sutil detrás del botón */
.whatsapp-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    z-index: -1;
    animation: whatsappPulse 2.4s ease-out infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    display: block;
    fill: #ffffff;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-btn:hover .whatsapp-icon {
    transform: rotate(8deg) scale(1.05);
}

.whatsapp-btn:active {
    transform: scale(0.94);
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-btn {
        width: 48px;
        height: 48px;
    }

    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
}

/* Footer */
.footer {
    background: #f5f5f5;
    padding: 3.5rem 2rem 2rem;
    border-top: 1px solid #ddd;
    text-align: center;
}

.footer-brand {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 4px;
    font-family: Georgia, serif;
    color: #000;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.8rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.social-link {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.35s ease,
                background 0.35s ease;
}

.social-link svg {
    width: 26px;
    height: 26px;
    transition: fill 0.35s ease, transform 0.35s ease;
}

/* Instagram */
.social-instagram svg {
    fill: #833AB4;
}

.social-instagram:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 10px 22px rgba(221, 42, 123, 0.4);
}

.social-instagram:hover svg {
    fill: #fff;
    transform: scale(1.1);
}

/* WhatsApp */
.social-whatsapp svg {
    fill: #25D366;
}

.social-whatsapp:hover {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.4);
}

.social-whatsapp:hover svg {
    fill: #fff;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    font-size: 11px;
    color: #999;
    padding-top: 1.8rem;
    border-top: 1px solid #ddd;
    max-width: 1200px;
    margin: 0 auto;
}
