/*
 * Staff Members — Base styles (Mobile-First)
 * Estas clases son el esqueleto estructural. Aplica tu branding encima.
 */

/* ── Layout principal ── */
.staff-profile {
    padding: 1.5rem 1rem;
    max-width: 480px;
    margin: 0 auto;
}

.staff-profile__card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Foto ── */
.staff-profile__photo {
    text-align: center;
}

.staff-profile__photo-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* ── Identity (QR + Info en fila) ── */
.staff-profile__identity {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.staff-profile__qr img {
    display: block;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

/* ── Info ── */
.staff-profile__info {
    text-align: left;
}

.staff-profile__name {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 .25rem;
}

.staff-profile__role {
    font-size: 1rem;
    margin: 0 0 .125rem;
    opacity: .75;
}

.staff-profile__org {
    font-size: .875rem;
    margin: 0;
    opacity: .55;
    text-transform: uppercase;
    letter-spacing: .06em;
}

/* ── Bio ── */
.staff-profile__bio {
    font-size: .9375rem;
    line-height: 1.6;
    text-align: center;
}

/* ── Enlaces de contacto (teléfono / email) ── */
.staff-profile__contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
}

.staff-profile__contact-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-decoration: none;
    font-size: .9375rem;
    color: inherit;
    opacity: .75;
    transition: opacity .15s ease;
}

.staff-profile__contact-link i {
    font-size: 1rem;
    flex-shrink: 0;
    width: 1.125rem;
    text-align: center;
}

.staff-profile__contact-link:hover,
.staff-profile__contact-link:focus {
    opacity: 1;
    text-decoration: underline;
}

/* ── Botón guardar contacto ── */
.staff-profile__actions {
    display: flex;
    justify-content: center;
}

.staff-profile__btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem 1.125rem;
    border-radius: .5rem;
    text-decoration: none;
    font-size: .875rem;
    font-weight: 500;
    transition: opacity .15s ease;
}

.staff-profile__btn:hover,
.staff-profile__btn:focus {
    opacity: .85;
    text-decoration: none;
}

/* Variantes — personaliza colores aquí */
.staff-profile__btn--vcard { background: #1a1a1a; color: #fff; }

/* ── Redes sociales ── */
.staff-profile__social {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: center;
}

.staff-profile__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.125rem;
    text-decoration: none;
    background: #f0f0f0;
    color: #333;
    transition: opacity .15s ease;
}

.staff-profile__social-link:hover,
.staff-profile__social-link:focus { opacity: .8; text-decoration: none; }

/* Variantes por red */
.staff-profile__social-link--linkedin  { background: #0A66C2; color: #fff; }
.staff-profile__social-link--instagram { background: #E1306C; color: #fff; }
.staff-profile__social-link--twitter   { background: #1DA1F2; color: #fff; }
.staff-profile__social-link--facebook  { background: #1877F2; color: #fff; }
.staff-profile__social-link--youtube   { background: #FF0000; color: #fff; }
.staff-profile__social-link--tiktok    { background: #010101; color: #fff; }

/* ── Tablet y escritorio ── */
@media ( min-width: 600px ) {
    .staff-profile {
        padding: 2.5rem 1.5rem;
    }

    .staff-profile__photo { text-align: left; }
    .staff-profile__photo-img { margin: 0; }

    .staff-profile__identity { justify-content: flex-start; }

    .staff-profile__bio { text-align: left; }

    .staff-profile__contact-links {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .staff-profile__actions { justify-content: flex-start; }

    .staff-profile__social { justify-content: flex-start; }
}
