
.responsable-section {
    background: #eef4f0;
    padding: 80px 24px;
}

.responsable-container {
    max-width: 960px;
    margin: 0 auto;
}

/* Encabezado de sección */
.section-header {
    text-align: center;
    margin-bottom: 52px;
}

.section-header .eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #1a6eb5;
    margin: 0 0 10px;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 14px;
}

.section-header p {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: #5a6478;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Tarjeta principal */
.responsable-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.09), 0 1px 4px rgba(0,0,0,0.05);
}

/* Panel izquierdo — foto + badge */
.responsable-foto {
    position: relative;
    background-image: url('../img/doctora.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #e5ece8;
    min-height: 480px;
}

.responsable-foto-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 30, 60, 0.10) 0%,
        rgba(10, 30, 60, 0.55) 100%
    );
}

.responsable-foto-badge {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.30);
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 40px;
    white-space: nowrap;
}

/* Panel derecho — info */
.responsable-info {
    padding: 44px 44px 40px;
    display: flex;
    flex-direction: column;
}

.responsable-info .eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a6eb5;
    margin: 0 0 8px;
}

.responsable-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #0d1b2a;
    margin: 0 0 6px;
    line-height: 1.2;
}

.responsable-info .cargo {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: #5a6478;
    margin: 0 0 32px;
}

/* Separador decorativo */
.info-divider {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #1a6eb5, #4da3e0);
    border-radius: 2px;
    margin-bottom: 28px;
}

/* Lista de contacto */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 36px;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    overflow: hidden;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid #e8edf3;
    transition: background 0.18s ease;
}

.contact-row:last-child {
    border-bottom: none;
}

.contact-row:hover {
    background: #f7faff;
}

.contact-row-icon {
    width: 36px;
    height: 36px;
    background: #eaf2fc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.contact-row-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.contact-row-text span {
    font-family: 'Outfit', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a96a8;
}

.contact-row-text a,
.contact-row-text p {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #1a6eb5;
    text-decoration: none;
    margin: 0;
}

.contact-row-text p {
    color: #2d3748;
}

.contact-row-text a:hover {
    text-decoration: underline;
}

/* Botones de acción */
.responsable-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.btn-primary-sm {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    background: #1a6eb5;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.15s ease;
}

.btn-primary-sm:hover {
    background: #155fa0;
    transform: translateY(-1px);
}

.btn-ghost-sm {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    background: #f0f4f9;
    color: #2d3748 !important;
    font-family: 'Outfit', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid #dde4ef;
    transition: background 0.18s ease, transform 0.15s ease;
}

.btn-ghost-sm:hover {
    background: #e2eaf5;
    transform: translateY(-1px);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .responsable-card {
        grid-template-columns: 1fr;
    }

    .responsable-foto {
        min-height: 280px;
    }

    .responsable-info {
        padding: 30px 24px;
    }

    .responsable-actions {
        flex-direction: column;
        
    }

    .btn-primary-sm,
    .btn-ghost-sm {
        justify-content: center;
        
}
}
