/**
 * Archivo: public/assets/css/components/contact-card.css
 * Descripción: Componente estable para los iconos y acciones de la tarjeta de contacto.
 * Versión: 3.1.5
 *
 * Este archivo se carga después de las hojas visuales generales para evitar que
 * futuros parches de diseño oculten o alteren los iconos de contacto.
 */
.contact-card .contact-icon,
.contact-card .method-icon {
    position: relative;
    display: inline-grid;
    place-items: center;
    overflow: visible;
    line-height: 0;
}

.contact-card .contact-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    color: #ffffff;
}

.contact-card .method-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #713e11;
}

.contact-card .contact-icon svg,
.contact-card .method-icon svg,
.contact-card .contact-whatsapp svg {
    display: block;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    color: currentColor;
    fill: currentColor !important;
    stroke: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.contact-card .contact-icon svg path,
.contact-card .method-icon svg path,
.contact-card .contact-whatsapp svg path {
    fill: currentColor !important;
    stroke: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.contact-card .contact-method {
    color: #ffffff;
}

.contact-card .contact-whatsapp {
    color: #ffffff !important;
}

.contact-card .contact-whatsapp::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin-right: 8px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.53 15.22L2 22l4.93-1.42A10 10 0 1 0 12 2Zm0 18a7.95 7.95 0 0 1-4.07-1.12l-.29-.17-2.92.84.87-2.84-.19-.3A8 8 0 1 1 12 20Zm4.38-5.84c-.24-.12-1.42-.7-1.64-.78-.22-.08-.38-.12-.54.12-.16.24-.62.78-.76.94-.14.16-.28.18-.52.06-.24-.12-1.01-.37-1.93-1.19-.71-.63-1.2-1.42-1.34-1.66-.14-.24-.01-.37.11-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.3-.74-1.78-.19-.47-.39-.4-.54-.41h-.46c-.16 0-.42.06-.64.3-.22.24-.84.82-.84 2 0 1.18.86 2.32.98 2.48.12.16 1.69 2.58 4.1 3.62.57.25 1.02.4 1.37.51.58.18 1.1.16 1.51.1.46-.07 1.42-.58 1.62-1.14.2-.56.2-1.04.14-1.14-.06-.1-.22-.16-.46-.28Z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.53 15.22L2 22l4.93-1.42A10 10 0 1 0 12 2Zm0 18a7.95 7.95 0 0 1-4.07-1.12l-.29-.17-2.92.84.87-2.84-.19-.3A8 8 0 1 1 12 20Zm4.38-5.84c-.24-.12-1.42-.7-1.64-.78-.22-.08-.38-.12-.54.12-.16.24-.62.78-.76.94-.14.16-.28.18-.52.06-.24-.12-1.01-.37-1.93-1.19-.71-.63-1.2-1.42-1.34-1.66-.14-.24-.01-.37.11-.49.11-.11.24-.28.36-.42.12-.14.16-.24.24-.4.08-.16.04-.3-.02-.42-.06-.12-.54-1.3-.74-1.78-.19-.47-.39-.4-.54-.41h-.46c-.16 0-.42.06-.64.3-.22.24-.84.82-.84 2 0 1.18.86 2.32.98 2.48.12.16 1.69 2.58 4.1 3.62.57.25 1.02.4 1.37.51.58.18 1.1.16 1.51.1.46-.07 1.42-.58 1.62-1.14.2-.56.2-1.04.14-1.14-.06-.1-.22-.16-.46-.28Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 620px) {
    .contact-card .contact-icon {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .contact-card .method-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}
