/* =====================================================
 * components/contact-links.css
 * Sidebar contact links: heading and three actions.
 * Depends on: base.css.
 * ===================================================== */

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.dark .contact-links {
    border-top-color: rgba(255, 255, 255, 0.10);
}

.contact-links-heading { text-align: left; }

.contact-links-title {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.3;
    color: #18181b;
}

.dark .contact-links-title { color: #ffffff; }

.contact-links-subtitle {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #71717a;
}

.dark .contact-links-subtitle { color: #a1a1aa; }

.contact-links-row {
    display: grid;
    gap: 0.625rem;
}

.contact-method {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) 1rem;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    min-height: 4.25rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: 0.875rem;
    color: #27272a;
    background: rgba(255, 255, 255, 0.46);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.dark .contact-method {
    border-color: rgba(255, 255, 255, 0.10);
    color: #e4e4e7;
    background: rgba(15, 15, 20, 0.56);
}

.contact-method:hover {
    transform: translateY(-2px);
}

.contact-method:focus-visible {
    outline: 2px solid #f97316;
    outline-offset: 3px;
}

.contact-method-icon {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    font-size: 1.125rem;
}

.contact-method--email .contact-method-icon {
    color: #f97316;
    background: rgba(249, 115, 22, 0.12);
}

.contact-method--linkedin .contact-method-icon {
    color: #0a66c2;
    background: rgba(10, 102, 194, 0.12);
}

.contact-method--whatsapp .contact-method-icon {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
}

.contact-method-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.contact-method-copy strong {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.contact-method-copy span {
    overflow-wrap: anywhere;
    font-size: 0.7rem;
    line-height: 1.4;
    color: #71717a;
}

.dark .contact-method-copy span { color: #a1a1aa; }

.contact-method-arrow {
    color: #71717a;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}

.contact-method:hover .contact-method-arrow { transform: translateX(3px); }

.contact-method--email:hover { border-color: rgba(249, 115, 22, 0.45); }
.contact-method--linkedin:hover { border-color: rgba(10, 102, 194, 0.45); }
.contact-method--whatsapp:hover { border-color: rgba(34, 197, 94, 0.45); }